summaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/4th/01-directories.patch8
-rw-r--r--development/4th/02-to_preserve_32bit_compatibility.patch15
-rw-r--r--development/4th/4th.SlackBuild50
-rw-r--r--development/4th/4th.info8
-rw-r--r--development/4th/slack-desc2
-rw-r--r--development/Archi/Archi.SlackBuild70
-rw-r--r--development/Archi/Archi.info10
-rw-r--r--development/Archi/README13
-rw-r--r--development/Archi/doinst.sh (renamed from development/Naked/doinst.sh)0
-rw-r--r--development/Archi/slack-desc19
-rw-r--r--development/Arduino/Arduino.SlackBuild113
-rw-r--r--development/Arduino/Arduino.info148
-rw-r--r--development/Arduino/patches/avr-gcc6-fix.patch117
-rw-r--r--development/Arduino/patches/gcc-add-missing-isl-includes.patch13
-rw-r--r--development/Arduino/patches/toolchain-fixes.diff65
-rw-r--r--development/Bear/Bear.SlackBuild111
-rw-r--r--development/Bear/Bear.info10
-rw-r--r--development/Bear/README9
-rw-r--r--development/Bear/slack-desc19
-rw-r--r--development/Bottleneck/Bottleneck.SlackBuild16
-rw-r--r--development/Bottleneck/Bottleneck.info2
-rw-r--r--development/CImg/CImg.SlackBuild20
-rw-r--r--development/CImg/CImg.info8
-rw-r--r--development/CVSTools/CVSTools.SlackBuild29
-rw-r--r--development/CVSTools/CVSTools.info2
-rw-r--r--development/CVSTools/README2
-rw-r--r--development/Catch/Catch.SlackBuild55
-rw-r--r--development/Catch/Catch.info12
-rw-r--r--development/Catch/README4
-rw-r--r--development/Catch2/Catch2.SlackBuild138
-rw-r--r--development/Catch2/Catch2.info10
-rw-r--r--development/Catch2/README10
-rw-r--r--development/Catch2/slack-desc19
-rw-r--r--development/ChezScheme/ChezScheme.SlackBuild17
-rw-r--r--development/Coin/Coin.SlackBuild94
-rw-r--r--development/Coin/Coin.info8
-rw-r--r--development/Coin/coin-include_and_js.patch91
-rw-r--r--development/Editra/Editra.SlackBuild93
-rw-r--r--development/Editra/Editra.desktop9
-rw-r--r--development/Editra/Editra.info10
-rw-r--r--development/Editra/README14
-rw-r--r--development/Editra/doinst.sh3
-rw-r--r--development/Editra/slack-desc19
-rw-r--r--development/Fennel/Fennel.SlackBuild69
-rw-r--r--development/Fennel/Fennel.info6
-rw-r--r--development/Fennel/README11
-rw-r--r--development/FreeBASIC/FreeBASIC.SlackBuild137
-rw-r--r--development/FreeBASIC/FreeBASIC.info12
-rw-r--r--development/FreeBASIC/README5
-rw-r--r--development/GHDL/GHDL.SlackBuild124
-rw-r--r--development/GHDL/GHDL.info10
-rw-r--r--development/GHDL/README11
-rw-r--r--development/GHDL/slack-desc19
-rw-r--r--development/GitEye/GitEye.SlackBuild16
-rw-r--r--development/GitEye/GitEye.info2
-rw-r--r--development/Hex2bin/Hex2bin.SlackBuild22
-rw-r--r--development/ICTester/ICTester.SlackBuild125
-rw-r--r--development/ICTester/ICTester.info10
-rw-r--r--development/ICTester/README9
-rw-r--r--development/ICTester/slack-desc19
-rw-r--r--development/J-Link/J-Link.SlackBuild85
-rw-r--r--development/J-Link/J-Link.info16
-rw-r--r--development/J-Link/README40
-rw-r--r--development/J-Link/slack-desc8
-rw-r--r--development/JSONObject/JSONObject.SlackBuild103
-rw-r--r--development/JSONObject/JSONObject.info10
-rw-r--r--development/JSONObject/README7
-rw-r--r--development/JSONObject/incl-iostream.patch11
-rw-r--r--development/JSONObject/slack-desc19
-rw-r--r--development/KKEdit/KKEdit.SlackBuild93
-rw-r--r--development/KKEdit/KKEdit.info10
-rw-r--r--development/KKEdit/README1
-rw-r--r--development/KKEdit/slack-desc19
-rw-r--r--development/LLgen/LLgen.SlackBuild16
-rw-r--r--development/MinForth/MinForth.SlackBuild119
-rw-r--r--development/MinForth/MinForth.desktop9
-rw-r--r--development/MinForth/MinForth.info10
-rw-r--r--development/MinForth/MinForth.pngbin0 -> 3620 bytes
-rw-r--r--development/MinForth/README52
-rw-r--r--development/MinForth/doinst.sh (renamed from development/fuel/doinst.sh)0
-rw-r--r--development/MinForth/slack-desc19
-rw-r--r--development/Mk4tcl/01-Makefile.patch21
-rw-r--r--development/Mk4tcl/Mk4tcl.SlackBuild97
-rw-r--r--development/Mk4tcl/Mk4tcl.info10
-rw-r--r--development/Mk4tcl/README16
-rw-r--r--development/Mk4tcl/slack-desc19
-rw-r--r--development/MySQL-python/MySQL-python.SlackBuild27
-rw-r--r--development/MySQL-python/MySQL-python.info6
-rw-r--r--development/MySQL-python/patches/MySQL-python-1.2.4-include-my_config-first.patch33
-rw-r--r--development/MySQL-python/patches/no_distribute_download.patch12
-rw-r--r--development/Naked/Naked.SlackBuild17
-rw-r--r--development/Naked/Naked.info2
-rw-r--r--development/OpenCobolIDE/OpenCobolIDE.SlackBuild89
-rw-r--r--development/OpenCobolIDE/OpenCobolIDE.desktop8
-rw-r--r--development/OpenCobolIDE/OpenCobolIDE.info10
-rw-r--r--development/OpenCobolIDE/README2
-rw-r--r--development/OpenCobolIDE/slack-desc19
-rw-r--r--development/OpenHantek6022/OpenHantek6022.SlackBuild16
-rw-r--r--development/OpenHantek6022/OpenHantek6022.info2
-rw-r--r--development/OpenJDK11/OpenJDK11.SlackBuild247
-rw-r--r--development/OpenJDK11/OpenJDK11.info18
-rw-r--r--development/OpenJDK11/README32
-rw-r--r--development/OpenJDK11/doinst.sh15
-rw-r--r--development/OpenJDK11/java.pngbin0 -> 4955 bytes
-rw-r--r--development/OpenJDK11/slack-desc19
-rw-r--r--development/OpenJDK17/OpenJDK17.SlackBuild247
-rw-r--r--development/OpenJDK17/OpenJDK17.info18
-rw-r--r--development/OpenJDK17/README32
-rw-r--r--development/OpenJDK17/doinst.sh15
-rw-r--r--development/OpenJDK17/java.pngbin0 -> 4955 bytes
-rw-r--r--development/OpenJDK17/slack-desc19
-rw-r--r--development/ParadisEO/ParadisEO.SlackBuild33
-rw-r--r--development/ParadisEO/ParadisEO.info8
-rw-r--r--development/PhpStorm/PhpStorm.SlackBuild49
-rw-r--r--development/PhpStorm/PhpStorm.desktop9
-rw-r--r--development/PhpStorm/PhpStorm.info12
-rw-r--r--development/Pivy/Pivy.SlackBuild49
-rw-r--r--development/Pivy/Pivy.info8
-rw-r--r--development/Pivy/slack-desc2
-rw-r--r--development/PythonToolkit/PythonToolkit.SlackBuild16
-rw-r--r--development/QStlink/QStlink.SlackBuild16
-rw-r--r--development/QtPy/QtPy.SlackBuild99
-rw-r--r--development/QtPy/QtPy.info10
-rw-r--r--development/QtPy/README5
-rw-r--r--development/QtPy/slack-desc19
-rw-r--r--development/REDasm/README7
-rw-r--r--development/REDasm/REDasm.SlackBuild120
-rw-r--r--development/REDasm/REDasm.info14
-rw-r--r--development/REDasm/doinst.sh (renamed from development/OpenCobolIDE/doinst.sh)0
-rw-r--r--development/REDasm/slack-desc19
-rw-r--r--development/SDL2_gfx/README3
-rw-r--r--development/SDL2_gfx/SDL2_gfx.SlackBuild99
-rw-r--r--development/SDL2_gfx/SDL2_gfx.info10
-rw-r--r--development/SDL2_gfx/slack-desc19
-rw-r--r--development/SQLAlchemy/SQLAlchemy.SlackBuild77
-rw-r--r--development/SQLAlchemy/SQLAlchemy.info12
-rw-r--r--development/SQLiteStudio/README19
-rw-r--r--development/SQLiteStudio/SQLiteStudio.SlackBuild145
-rw-r--r--development/SQLiteStudio/SQLiteStudio.desktop9
-rw-r--r--development/SQLiteStudio/SQLiteStudio.info10
-rw-r--r--development/SQLiteStudio/SQLiteStudio.pngbin0 -> 218806 bytes
-rw-r--r--development/SQLiteStudio/doinst.sh15
-rw-r--r--development/SQLiteStudio/slack-desc19
-rw-r--r--development/STM32CubeIDE/STM32CubeIDE.SlackBuild16
-rw-r--r--development/ShellCheck-bin/ShellCheck-bin.SlackBuild53
-rw-r--r--development/ShellCheck-bin/ShellCheck-bin.info8
-rw-r--r--development/ShellCheck-bin/shellcheck.1244
-rw-r--r--development/SmallBASIC/README35
-rw-r--r--development/SmallBASIC/SmallBASIC.SlackBuild146
-rw-r--r--development/SmallBASIC/SmallBASIC.info14
-rw-r--r--development/SmallBASIC/doinst.sh (renamed from development/scratch/doinst.sh)0
-rw-r--r--development/SmallBASIC/slack-desc19
-rw-r--r--development/SoQt/SoQt.SlackBuild61
-rw-r--r--development/SoQt/SoQt.info8
-rw-r--r--development/Sphinx/README11
-rw-r--r--development/Sphinx/Sphinx.SlackBuild35
-rw-r--r--development/Sphinx/Sphinx.info12
-rw-r--r--development/StarPU/README17
-rw-r--r--development/StarPU/StarPU.SlackBuild150
-rw-r--r--development/StarPU/StarPU.info10
-rw-r--r--development/StarPU/slack-desc19
-rw-r--r--development/SystemC/README17
-rw-r--r--development/SystemC/SystemC.SlackBuild136
-rw-r--r--development/SystemC/SystemC.info10
-rw-r--r--development/SystemC/slack-desc19
-rw-r--r--development/THE/THE-configure.patch11
-rw-r--r--development/THE/THE-file-c.patch11
-rw-r--r--development/THE/THE-xcurses.patch11
-rw-r--r--development/THE/THE.SlackBuild73
-rw-r--r--development/THE/THE.info6
-rw-r--r--development/THE/libpdcurses-x11.pc14
-rw-r--r--development/VisUAL/VisUAL.SlackBuild16
-rw-r--r--development/VisUAL/VisUAL.info2
-rw-r--r--development/WebStorm/WebStorm.SlackBuild16
-rw-r--r--development/WebStorm/WebStorm.info2
-rw-r--r--development/Xdialog/Xdialog.SlackBuild22
-rw-r--r--development/abseil-cpp/README2
-rw-r--r--development/abseil-cpp/abseil-cpp.SlackBuild103
-rw-r--r--development/abseil-cpp/abseil-cpp.info10
-rw-r--r--development/abseil-cpp/slack-desc19
-rw-r--r--development/acc/README6
-rw-r--r--development/acc/acc.SlackBuild25
-rw-r--r--development/acc/acc.info8
-rw-r--r--development/acc/slack-desc2
-rw-r--r--development/acpica/acpica.SlackBuild61
-rw-r--r--development/acpica/acpica.info8
-rw-r--r--development/actionlint/README4
-rw-r--r--development/actionlint/actionlint.SlackBuild180
-rw-r--r--development/actionlint/actionlint.info32
-rw-r--r--development/actionlint/slack-desc19
-rw-r--r--development/adms/adms.SlackBuild33
-rw-r--r--development/adoptopenjdk-openj9/LICENSE7
-rw-r--r--development/adoptopenjdk-openj9/README12
-rw-r--r--development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild126
-rw-r--r--development/adoptopenjdk-openj9/adoptopenjdk-openj9.info10
-rw-r--r--development/adoptopenjdk-openj9/profile.d/adoptopenjdk-openj9.csh4
-rw-r--r--development/adoptopenjdk-openj9/profile.d/adoptopenjdk-openj9.sh4
-rw-r--r--development/adoptopenjdk-openj9/slack-desc19
-rw-r--r--development/adoptopenjdk/LICENSE7
-rw-r--r--development/adoptopenjdk/README12
-rw-r--r--development/adoptopenjdk/adoptopenjdk.SlackBuild108
-rw-r--r--development/adoptopenjdk/adoptopenjdk.csh4
-rw-r--r--development/adoptopenjdk/adoptopenjdk.info10
-rw-r--r--development/adoptopenjdk/adoptopenjdk.sh4
-rw-r--r--development/adoptopenjdk/profile.d/adoptopenjdk.csh4
-rw-r--r--development/adoptopenjdk/profile.d/adoptopenjdk.sh4
-rw-r--r--development/adoptopenjdk/slack-desc19
-rw-r--r--development/afl/README21
-rw-r--r--development/afl/afl.SlackBuild138
-rw-r--r--development/afl/afl.info10
-rw-r--r--development/afl/slack-desc19
-rw-r--r--development/aflplusplus/README26
-rw-r--r--development/aflplusplus/aflplusplus.SlackBuild123
-rw-r--r--development/aflplusplus/aflplusplus.info10
-rw-r--r--development/aflplusplus/build_qemu_support.diff47
-rw-r--r--development/aflplusplus/mkqemutarball.sh27
-rw-r--r--development/aflplusplus/slack-desc19
-rw-r--r--development/ahven/README6
-rw-r--r--development/ahven/ahven.SlackBuild90
-rw-r--r--development/ahven/ahven.gpr8
-rw-r--r--development/ahven/ahven.info10
-rw-r--r--development/ahven/slack-desc19
-rw-r--r--development/alembic/alembic.SlackBuild18
-rw-r--r--development/alembic/alembic.info2
-rw-r--r--development/alex/alex.SlackBuild16
-rw-r--r--development/alloy/README4
-rw-r--r--development/alloy/alloy.SlackBuild90
-rw-r--r--development/alloy/alloy.desktop10
-rw-r--r--development/alloy/alloy.info10
-rw-r--r--development/alloy/alloy.pngbin6390 -> 0 bytes
-rw-r--r--development/alloy/slack-desc19
-rw-r--r--development/amazon-corretto/README11
-rw-r--r--development/amazon-corretto/amazon-corretto.SlackBuild24
-rw-r--r--development/amazon-corretto/amazon-corretto.info12
-rw-r--r--development/amd-app-sdk/amd-app-sdk.SlackBuild16
-rw-r--r--development/android-studio/android-studio.SlackBuild16
-rw-r--r--development/android-studio/android-studio.info2
-rw-r--r--development/android-tools/README5
-rw-r--r--development/android-tools/android-tools.SlackBuild91
-rw-r--r--development/android-tools/android-tools.info16
-rw-r--r--development/android-tools/fix_build_core.patch81
-rw-r--r--development/android-tools/fix_build_selinux.patch26
-rw-r--r--development/android-tools/generate_build.rb283
-rw-r--r--development/anjuta/README10
-rw-r--r--development/anjuta/anjuta.SlackBuild104
-rw-r--r--development/anjuta/anjuta.info10
-rw-r--r--development/anjuta/slack-desc19
-rw-r--r--development/antlr2/README5
-rw-r--r--development/antlr2/antlr2.SlackBuild16
-rw-r--r--development/apache-ant/README4
-rw-r--r--development/apache-ant/apache-ant.SlackBuild18
-rw-r--r--development/apache-ant/apache-ant.info10
-rw-r--r--development/apache-ant/slack-desc4
-rw-r--r--development/apache-ivy/apache-ivy.SlackBuild16
-rw-r--r--development/apache-ivy/apache-ivy.info2
-rw-r--r--development/apache-jmeter/apache-jmeter.SlackBuild39
-rw-r--r--development/apache-jmeter/apache-jmeter.info8
-rw-r--r--development/apache-log4cxx/apache-log4cxx.SlackBuild32
-rw-r--r--development/apache-log4cxx/apache-log4cxx.info6
-rw-r--r--development/apache-log4cxx/fixincludes.patch.gzbin372 -> 0 bytes
-rw-r--r--development/apache-maven/apache-maven.SlackBuild17
-rw-r--r--development/apache-maven/apache-maven.info8
-rw-r--r--development/arcan/README9
-rw-r--r--development/arcan/arcan.SlackBuild117
-rw-r--r--development/arcan/arcan.info10
-rw-r--r--development/arcan/gnu-install-dirs-3.diff324
-rw-r--r--development/arcan/slack-desc19
-rw-r--r--development/arduino-cli/README4
-rw-r--r--development/arduino-cli/arduino-cli.SlackBuild80
-rw-r--r--development/arduino-cli/arduino-cli.info10
-rw-r--r--development/arduino-cli/slack-desc19
-rw-r--r--development/arduino/arduino.SlackBuild22
-rw-r--r--development/arduino/arduino.info12
-rw-r--r--development/argagg/argagg.SlackBuild21
-rw-r--r--development/argagg/argagg.info6
-rw-r--r--development/argouml/argouml.SlackBuild20
-rw-r--r--development/argouml/argouml.info10
-rw-r--r--development/arm-binutils/arm-binutils.SlackBuild44
-rw-r--r--development/arm-binutils/arm-binutils.info6
-rw-r--r--development/arm-gcc/arm-gcc.SlackBuild21
-rw-r--r--development/arm-gcc/arm-gcc.info6
-rw-r--r--development/arm-gcc/configure_options.txt252
-rw-r--r--development/arm-gdb/arm-gdb.SlackBuild21
-rw-r--r--development/arm-gdb/arm-gdb.info6
-rw-r--r--development/arm-gdb/configure_options.txt247
-rw-r--r--development/as31/as31.SlackBuild15
-rw-r--r--development/as31/as31.info6
-rw-r--r--development/asem51/asem51.SlackBuild38
-rw-r--r--development/asl/README16
-rw-r--r--development/asl/asl.SlackBuild99
-rw-r--r--development/asl/asl.info8
-rw-r--r--development/asl/fixup_manpage_install.diff12
-rw-r--r--development/asl/slack-desc2
-rw-r--r--development/asm6809/asm6809.SlackBuild20
-rw-r--r--development/asm6809/asm6809.info6
-rw-r--r--development/aspnetcore-runtime-7.0/README10
-rw-r--r--development/aspnetcore-runtime-7.0/aspnetcore-runtime-7.0.SlackBuild79
-rw-r--r--development/aspnetcore-runtime-7.0/aspnetcore-runtime-7.0.info10
-rw-r--r--development/aspnetcore-runtime-7.0/slack-desc19
-rw-r--r--development/aspnetcore-runtime-8.0/README10
-rw-r--r--development/aspnetcore-runtime-8.0/aspnetcore-runtime-8.0.SlackBuild79
-rw-r--r--development/aspnetcore-runtime-8.0/aspnetcore-runtime-8.0.info10
-rw-r--r--development/aspnetcore-runtime-8.0/slack-desc19
-rw-r--r--development/astyle/README8
-rw-r--r--development/astyle/astyle.1127
-rw-r--r--development/astyle/astyle.SlackBuild82
-rw-r--r--development/astyle/astyle.info10
-rw-r--r--development/astyle/privacy.patch48
-rw-r--r--development/atasm/atasm.SlackBuild59
-rw-r--r--development/atasm/atasm.info10
-rw-r--r--development/atom-amd64/atom-amd64.SlackBuild18
-rw-r--r--development/atom-amd64/atom-amd64.info6
-rw-r--r--development/atom/README34
-rw-r--r--development/atom/atom.SlackBuild167
-rw-r--r--development/atom/atom.desktop14
-rw-r--r--development/atom/atom.info10
-rw-r--r--development/atom/fix-atom.sh.patch115
-rw-r--r--development/atom/fix-ime-events-handler-electron-1.4.patch47
-rw-r--r--development/atom/slack-desc19
-rw-r--r--development/atom/use-system-electron.patch113
-rw-r--r--development/autoconf-archive/README15
-rw-r--r--development/autoconf-archive/autoconf-archive.SlackBuild79
-rw-r--r--development/autoconf-archive/autoconf-archive.info10
-rw-r--r--development/autoconf-archive/slack-desc19
-rw-r--r--development/autogen/autogen.SlackBuild27
-rw-r--r--development/autogen/autogen.info2
-rw-r--r--development/autogen/guile-2.2.patch78
-rw-r--r--development/avarice/README2
-rw-r--r--development/avarice/avarice.SlackBuild31
-rw-r--r--development/avarice/avarice.info6
-rw-r--r--development/avarice/bug-777789-gcc-5.patch23
-rw-r--r--development/avarice/drop_keyword_unused.patch.gzbin0 -> 563 bytes
-rw-r--r--development/avr-binutils/avr-binutils.SlackBuild43
-rw-r--r--development/avr-binutils/avr-binutils.info6
-rw-r--r--development/avr-binutils/avr-size.patch541
-rw-r--r--development/avr-gcc/avr-gcc.SlackBuild66
-rw-r--r--development/avr-gcc/avr-gcc.info8
-rw-r--r--development/avr-gdb/avr-gdb.SlackBuild31
-rw-r--r--development/avr-gdb/avr-gdb.info8
-rw-r--r--development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild48
-rw-r--r--development/avr8-burn-o-mat/avr8-burn-o-mat.desktop9
-rw-r--r--development/avr8-burn-o-mat/avr8-burn-o-mat.info2
-rw-r--r--development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild16
-rw-r--r--development/avr8-gnu-toolchain/avr8-gnu-toolchain.info8
-rw-r--r--development/avra/avra.SlackBuild22
-rw-r--r--development/avrdude/avrdude.SlackBuild84
-rw-r--r--development/avrdude/avrdude.info6
-rw-r--r--development/aws-cdk/README6
-rw-r--r--development/aws-cdk/aws-cdk.SlackBuild80
-rw-r--r--development/aws-cdk/aws-cdk.info10
-rw-r--r--development/aws-cdk/slack-desc19
-rw-r--r--development/azuredatastudio/README26
-rw-r--r--development/azuredatastudio/azuredatastudio.SlackBuild117
-rw-r--r--development/azuredatastudio/azuredatastudio.desktop18
-rw-r--r--development/azuredatastudio/azuredatastudio.info10
-rw-r--r--development/azuredatastudio/doinst.sh (renamed from development/KKEdit/doinst.sh)0
-rw-r--r--development/azuredatastudio/slack-desc19
-rw-r--r--development/bacon/README33
-rw-r--r--development/bacon/bacon.SlackBuild146
-rw-r--r--development/bacon/bacon.info12
-rw-r--r--development/bacon/doinst.sh6
-rw-r--r--development/bacon/slack-desc16
-rw-r--r--development/bakefile/bakefile.SlackBuild22
-rw-r--r--development/bas/bas.SlackBuild32
-rw-r--r--development/bas/bas.info10
-rw-r--r--development/bas55/README3
-rw-r--r--development/bas55/bas55.SlackBuild66
-rw-r--r--development/bas55/bas55.info6
-rw-r--r--development/bas55/doinst.sh6
-rw-r--r--development/bascat/README7
-rw-r--r--development/bascat/bascat.1114
-rw-r--r--development/bascat/bascat.SlackBuild96
-rw-r--r--development/bascat/bascat.info14
-rw-r--r--development/bascat/bascat.rst98
-rw-r--r--development/bascat/git2tarxz.sh47
-rw-r--r--development/bascat/slack-desc19
-rw-r--r--development/bashdb/bashdb.SlackBuild24
-rw-r--r--development/bashdb/bashdb.info8
-rw-r--r--development/bats-core/README (renamed from development/bats/README)0
-rw-r--r--development/bats-core/bats-core.SlackBuild77
-rw-r--r--development/bats-core/bats-core.info10
-rw-r--r--development/bats-core/slack-desc19
-rw-r--r--development/bats/bats.SlackBuild88
-rw-r--r--development/bats/bats.info10
-rw-r--r--development/bats/slack-desc19
-rw-r--r--development/bazel/README6
-rw-r--r--development/bazel/bazel.SlackBuild125
-rw-r--r--development/bazel/bazel.info10
-rw-r--r--development/bazel/slack-desc19
-rw-r--r--development/bbcsdl/README30
-rw-r--r--development/bbcsdl/bbc256x.pngbin0 -> 2172 bytes
-rw-r--r--development/bbcsdl/bbcsdl.SlackBuild142
-rw-r--r--development/bbcsdl/bbcsdl.desktop10
-rw-r--r--development/bbcsdl/bbcsdl.info14
-rw-r--r--development/bbcsdl/doinst.sh13
-rw-r--r--development/bbcsdl/makefile-console-32.patch13
-rw-r--r--development/bbcsdl/makefile-console-64.patch13
-rw-r--r--development/bbcsdl/makefile-sdl-32.patch50
-rw-r--r--development/bbcsdl/slack-desc19
-rw-r--r--development/bcc/README21
-rw-r--r--development/bcc/bcc.SlackBuild120
-rw-r--r--development/bcc/bcc.info10
-rw-r--r--development/bcc/slack-desc19
-rw-r--r--development/bcpp/README12
-rw-r--r--development/bcpp/bcpp.SlackBuild91
-rw-r--r--development/bcpp/bcpp.info10
-rw-r--r--development/bcpp/slack-desc19
-rw-r--r--development/beautysh/README9
-rw-r--r--development/beautysh/beautysh.SlackBuild92
-rw-r--r--development/beautysh/beautysh.info12
-rw-r--r--development/beautysh/slack-desc12
-rw-r--r--development/beav/beav.SlackBuild15
-rw-r--r--development/beav/beav.info6
-rw-r--r--development/bed/bed.SlackBuild27
-rw-r--r--development/bed/bed.info2
-rw-r--r--development/berkeley-abc/README13
-rw-r--r--development/berkeley-abc/berkeley-abc.SlackBuild124
-rw-r--r--development/berkeley-abc/berkeley-abc.info10
-rw-r--r--development/berkeley-abc/slack-desc19
-rw-r--r--development/bfg/bfg.SlackBuild20
-rw-r--r--development/bfg/bfg.info8
-rw-r--r--development/bigloo/bigloo.SlackBuild22
-rw-r--r--development/binwalk/binwalk.SlackBuild23
-rw-r--r--development/binwalk/binwalk.info2
-rw-r--r--development/blassic/blassic.SlackBuild24
-rw-r--r--development/blassic/blassic.info6
-rw-r--r--development/bless/bless.SlackBuild130
-rw-r--r--development/bless/bless.info8
-rw-r--r--development/bless/doinst.sh6
-rw-r--r--development/bless/help_script.sh39
-rw-r--r--development/bless/patches/default_overwrite.patch12
-rw-r--r--development/bless/patches/fix_save.patch12
-rw-r--r--development/bless/patches/fixxmltextwriter.patch31
-rw-r--r--development/bless/patches/force_gtk_action_namespace.patch72
-rw-r--r--development/blocksruntime/blocksruntime.SlackBuild16
-rw-r--r--development/bluefish/README14
-rw-r--r--development/bluefish/bluefish.SlackBuild25
-rw-r--r--development/bluefish/bluefish.info8
-rw-r--r--development/bluefish/slack-desc2
-rw-r--r--development/bmake/README2
-rw-r--r--development/bmake/bmake.SlackBuild23
-rw-r--r--development/bmake/bmake.info10
-rw-r--r--development/boost-di/boost-di.SlackBuild16
-rw-r--r--development/boron/README4
-rw-r--r--development/boron/boron.SlackBuild94
-rw-r--r--development/boron/boron.info10
-rw-r--r--development/boron/slack-desc19
-rw-r--r--development/bpftrace/README8
-rw-r--r--development/bpftrace/bpftrace.SlackBuild119
-rw-r--r--development/bpftrace/bpftrace.info10
-rw-r--r--development/bpftrace/slack-desc19
-rw-r--r--development/bpython/README2
-rw-r--r--development/bpython/bpython.SlackBuild23
-rw-r--r--development/bpython/bpython.info8
-rw-r--r--development/brackets/README10
-rw-r--r--development/brackets/brackets.SlackBuild77
-rw-r--r--development/brackets/brackets.info10
-rw-r--r--development/brackets/doinst.sh9
-rw-r--r--development/brackets/slack-desc19
-rw-r--r--development/brotli/README7
-rw-r--r--development/brotli/brotli.SlackBuild101
-rw-r--r--development/brotli/brotli.info10
-rw-r--r--development/brotli/slack-desc19
-rw-r--r--development/bsdiff/bsdiff.SlackBuild15
-rw-r--r--development/bsdiff/bsdiff.info6
-rw-r--r--development/build2/01-destlibdir.patch42
-rw-r--r--development/build2/README4
-rw-r--r--development/build2/build2.SlackBuild118
-rw-r--r--development/build2/build2.info10
-rw-r--r--development/build2/slack-desc19
-rw-r--r--development/bvi/bvi.SlackBuild24
-rw-r--r--development/bvi/bvi.info6
-rw-r--r--development/bviplus/bviplus.SlackBuild15
-rw-r--r--development/bviplus/bviplus.info2
-rw-r--r--development/bwbasic/README12
-rw-r--r--development/bwbasic/bwbasic.SlackBuild104
-rw-r--r--development/bwbasic/bwbasic.info12
-rw-r--r--development/bwbasic/slack-desc19
-rw-r--r--development/byacc/byacc.SlackBuild19
-rw-r--r--development/byacc/byacc.info8
-rw-r--r--development/bzr/README5
-rw-r--r--development/bzr/bzr.SlackBuild39
-rw-r--r--development/bzr/bzr.info2
-rw-r--r--development/bzr/slack-desc2
-rw-r--r--development/cJSON/README6
-rw-r--r--development/cJSON/cJSON.SlackBuild111
-rw-r--r--development/cJSON/cJSON.info10
-rw-r--r--development/cJSON/slack-desc19
-rw-r--r--development/c_count/README43
-rw-r--r--development/c_count/c_count.SlackBuild107
-rw-r--r--development/c_count/c_count.info10
-rw-r--r--development/c_count/slack-desc19
-rw-r--r--development/camlp4/camlp4.SlackBuild43
-rw-r--r--development/camlp4/camlp4.info6
-rw-r--r--development/camlp5/camlp5.SlackBuild50
-rw-r--r--development/camlp5/camlp5.info6
-rw-r--r--development/cargo-c/README7
-rw-r--r--development/cargo-c/cargo-c.SlackBuild165
-rw-r--r--development/cargo-c/cargo-c.info664
-rw-r--r--development/cargo-c/slack-desc19
-rw-r--r--development/cargo-vendor-filterer/README10
-rw-r--r--development/cargo-vendor-filterer/cargo-mkvendored.sh139
-rw-r--r--development/cargo-vendor-filterer/cargo-vendor-filterer.SlackBuild132
-rw-r--r--development/cargo-vendor-filterer/cargo-vendor-filterer.info12
-rw-r--r--development/cargo-vendor-filterer/slack-desc19
-rw-r--r--development/casperjs/casperjs.SlackBuild54
-rw-r--r--development/casperjs/casperjs.info8
-rw-r--r--development/cbmc/README37
-rw-r--r--development/cbmc/cbmc.SlackBuild136
-rw-r--r--development/cbmc/cbmc.info12
-rw-r--r--development/cbmc/slack-desc19
-rw-r--r--development/cc-tool/cc-tool.SlackBuild16
-rw-r--r--development/cc-tool/cc-tool.info2
-rw-r--r--development/cc65/README8
-rw-r--r--development/cc65/cc65.SlackBuild69
-rw-r--r--development/cc65/cc65.info10
-rw-r--r--development/ccl/ccl.SlackBuild16
-rw-r--r--development/ccl/ccl.info2
-rw-r--r--development/cf-cli/cf-cli.SlackBuild27
-rw-r--r--development/cgdb/cgdb.SlackBuild57
-rw-r--r--development/cgdb/cgdb.info14
-rw-r--r--development/cgdb/doinst.sh6
-rw-r--r--development/cgdb/slack-desc2
-rw-r--r--development/cgit/cgit.SlackBuild16
-rw-r--r--development/chameleon/README23
-rw-r--r--development/chameleon/chameleon.SlackBuild158
-rw-r--r--development/chameleon/chameleon.info10
-rw-r--r--development/chameleon/slack-desc19
-rw-r--r--development/check/README8
-rw-r--r--development/check/check.SlackBuild107
-rw-r--r--development/check/check.info10
-rw-r--r--development/check/slack-desc19
-rw-r--r--development/checkbashisms/checkbashisms.SlackBuild16
-rw-r--r--development/chibi-scheme/chibi-scheme.SlackBuild20
-rw-r--r--development/chibi-scheme/chibi-scheme.info6
-rw-r--r--development/chicken/chicken.SlackBuild22
-rw-r--r--development/chicken/chicken.info6
-rw-r--r--development/ciforth/README17
-rw-r--r--development/ciforth/ciforth.SlackBuild118
-rw-r--r--development/ciforth/ciforth.info10
-rw-r--r--development/ciforth/slack-desc19
-rw-r--r--development/cim/cim.SlackBuild26
-rw-r--r--development/clips/README7
-rw-r--r--development/clips/clips.SlackBuild128
-rw-r--r--development/clips/clips.info10
-rw-r--r--development/clips/slack-desc19
-rw-r--r--development/cloc/cloc.SlackBuild31
-rw-r--r--development/cloc/cloc.info6
-rw-r--r--development/clojure/README17
-rw-r--r--development/clojure/clojure.SlackBuild96
-rw-r--r--development/clojure/clojure.info10
-rw-r--r--development/clojure/slack-desc19
-rw-r--r--development/cmake-202x/README14
-rw-r--r--development/cmake-202x/README_SBo.txt34
-rw-r--r--development/cmake-202x/cmake-202x.SlackBuild121
-rw-r--r--development/cmake-202x/cmake-202x.info12
-rw-r--r--development/cmake-202x/slack-desc19
-rw-r--r--development/cmocka/cmocka.SlackBuild16
-rw-r--r--development/coccinelle/coccinelle.SlackBuild21
-rw-r--r--development/coccinelle/coccinelle.info8
-rw-r--r--development/cocotb/README2
-rw-r--r--development/cocotb/cocotb.SlackBuild108
-rw-r--r--development/cocotb/cocotb.info10
-rw-r--r--development/cocotb/slack-desc19
-rw-r--r--development/codeblocks/codeblocks-gcc11.patch28
-rw-r--r--development/codeblocks/codeblocks.SlackBuild22
-rw-r--r--development/codelite/codelite.SlackBuild20
-rw-r--r--development/codelite/codelite.info6
-rw-r--r--development/codelite/libssh.patch25
-rw-r--r--development/codespell/README4
-rw-r--r--development/codespell/codespell.1166
-rw-r--r--development/codespell/codespell.SlackBuild61
-rw-r--r--development/codespell/codespell.info12
-rw-r--r--development/colm/colm.SlackBuild24
-rw-r--r--development/colm/colm.info6
-rw-r--r--development/colm/without-static.patch58
-rw-r--r--development/colordiff/colordiff.SlackBuild39
-rw-r--r--development/colordiff/colordiff.info10
-rw-r--r--development/colordiff/doinst.sh4
-rw-r--r--development/complexity/complexity.SlackBuild16
-rw-r--r--development/composer/composer.SlackBuild20
-rw-r--r--development/composer/composer.info6
-rw-r--r--development/conan/README6
-rw-r--r--development/conan/conan.SlackBuild74
-rw-r--r--development/conan/conan.info10
-rw-r--r--development/conan/slack-desc19
-rw-r--r--development/cosmocc/README39
-rw-r--r--development/cosmocc/cosmocc.SlackBuild89
-rw-r--r--development/cosmocc/cosmocc.info10
-rw-r--r--development/cosmocc/scripts/register_ape.sh5
-rw-r--r--development/cosmocc/scripts/unregister_ape.sh5
-rw-r--r--development/cosmocc/slack-desc19
-rw-r--r--development/cosmocc/wrapper.sh3
-rw-r--r--development/couchdb/README13
-rw-r--r--development/couchdb/README.SLACKWARE14
-rw-r--r--development/couchdb/couchdb.SlackBuild129
-rw-r--r--development/couchdb/couchdb.info10
-rw-r--r--development/couchdb/doinst.sh29
-rw-r--r--development/couchdb/slack-desc19
-rw-r--r--development/cpan2tgz/cpan2tgz.SlackBuild15
-rw-r--r--development/cpan2tgz/cpan2tgz.info2
-rw-r--r--development/cppcheck/cppcheck.SlackBuild80
-rw-r--r--development/cppcheck/cppcheck.info6
-rw-r--r--development/cppcheck/doinst.sh9
-rw-r--r--development/cppcheck/fix-default-settings.diff30
-rw-r--r--development/cppcheck/install-translations-in-filesdir-lang.diff16
-rw-r--r--development/cppcms/cppcms.SlackBuild16
-rw-r--r--development/cppdb/cppdb.SlackBuild16
-rw-r--r--development/cppunit/cppunit.SlackBuild23
-rw-r--r--development/cproc/README14
-rw-r--r--development/cproc/cproc.SlackBuild99
-rw-r--r--development/cproc/cproc.info10
-rw-r--r--development/cproc/git2tarxz.sh65
-rw-r--r--development/cproc/slack-desc19
-rw-r--r--development/cproto/README10
-rw-r--r--development/cproto/cproto.SlackBuild87
-rw-r--r--development/cproto/cproto.info10
-rw-r--r--development/cproto/slack-desc19
-rw-r--r--development/cream/cream.SlackBuild41
-rw-r--r--development/cream/doinst.sh6
-rw-r--r--development/critcl/README9
-rw-r--r--development/critcl/critcl.SlackBuild102
-rw-r--r--development/critcl/critcl.info10
-rw-r--r--development/critcl/slack-desc19
-rw-r--r--development/crosstool-ng/crosstool-ng.SlackBuild26
-rw-r--r--development/crosstool-ng/crosstool-ng.info6
-rw-r--r--development/crystal-lang/crystal-lang.SlackBuild30
-rw-r--r--development/csmith/README12
-rw-r--r--development/csmith/compiler_test.diff320
-rw-r--r--development/csmith/csmith.SlackBuild120
-rw-r--r--development/csmith/csmith.info10
-rw-r--r--development/csmith/launchn.diff42
-rw-r--r--development/csmith/slack-desc19
-rw-r--r--development/cudatoolkit/cudatoolkit.SlackBuild85
-rw-r--r--development/cudatoolkit/cudatoolkit.info4
-rw-r--r--development/cudatoolkit/doinst.sh13
-rw-r--r--development/cudnn/cudnn.SlackBuild16
-rw-r--r--development/cunit/cunit.SlackBuild27
-rw-r--r--development/curlpp/README1
-rw-r--r--development/curlpp/curlpp.SlackBuild93
-rw-r--r--development/curlpp/curlpp.info10
-rw-r--r--development/curlpp/slack-desc19
-rw-r--r--development/cutter/README4
-rw-r--r--development/cutter/cutter.SlackBuild115
-rw-r--r--development/cutter/cutter.info10
-rw-r--r--development/cutter/doinst.sh10
-rw-r--r--development/cutter/slack-desc19
-rw-r--r--development/cvsd/cvsd.SlackBuild22
-rw-r--r--development/cvsps/cvsps.SlackBuild16
-rw-r--r--development/cxref/README7
-rw-r--r--development/cxref/cxref.SlackBuild111
-rw-r--r--development/cxref/cxref.info10
-rw-r--r--development/cxref/slack-desc19
-rw-r--r--development/cxxtest/cxxtest.SlackBuild18
-rw-r--r--development/cxxtools/cxxtools.SlackBuild32
-rw-r--r--development/cxxtools/cxxtools.info6
-rw-r--r--development/cxxtools/gcc11.patch25
-rw-r--r--development/cycler/cycler.SlackBuild72
-rw-r--r--development/cycler/cycler.info10
-rw-r--r--development/cycler/slack-desc19
-rw-r--r--development/d-tools/d-tools.SlackBuild30
-rw-r--r--development/d-tools/d-tools.info18
-rw-r--r--development/dao/dao.SlackBuild16
-rw-r--r--development/darcs/cabal.diff25
-rw-r--r--development/darcs/darcs.SlackBuild19
-rw-r--r--development/darcs/darcs.info8
-rw-r--r--development/dart-sdk/dart-sdk.SlackBuild18
-rw-r--r--development/dart-sdk/dart-sdk.info18
-rw-r--r--development/dasht/dasht.SlackBuild16
-rw-r--r--development/dasm/README16
-rw-r--r--development/dasm/dasm.SlackBuild101
-rw-r--r--development/dasm/dasm.info10
-rw-r--r--development/dasm/ftohex.182
-rw-r--r--development/dasm/ftohex.rst67
-rw-r--r--development/dasm/manpagefix.diff53
-rw-r--r--development/dasm/slack-desc19
-rw-r--r--development/dasm/vcs-old.txt10
-rw-r--r--development/dasm/vcs.h.old158
-rw-r--r--development/dbeaver-ce/dbeaver-ce.SlackBuild55
-rw-r--r--development/dbeaver-ce/dbeaver-ce.info8
-rw-r--r--development/dbeaver-ce/doinst.sh (renamed from development/alloy/doinst.sh)0
-rw-r--r--development/decklink-sdk/decklink-sdk.SlackBuild35
-rw-r--r--development/decklink-sdk/decklink-sdk.info8
-rw-r--r--development/dejagnu/dejagnu.SlackBuild16
-rw-r--r--development/devhelp/devhelp.SlackBuild74
-rw-r--r--development/devhelp/devhelp.info8
-rw-r--r--development/devhelp/doinst.sh16
-rw-r--r--development/device-tree-compiler/device-tree-compiler.SlackBuild40
-rw-r--r--development/device-tree-compiler/device-tree-compiler.info6
-rw-r--r--development/device-tree-compiler/fix-python-destdir-usage.diff12
-rw-r--r--development/dfsimage/README10
-rw-r--r--development/dfsimage/dfsimage.SlackBuild69
-rw-r--r--development/dfsimage/dfsimage.info10
-rw-r--r--development/dfsimage/git2tarxz.sh47
-rw-r--r--development/dfsimage/man_page.diff232
-rw-r--r--development/dfsimage/slack-desc19
-rw-r--r--development/dfu-programmer/README29
-rw-r--r--development/dfu-programmer/README.SBo10
-rw-r--r--development/dfu-programmer/dfu-programmer.SlackBuild45
-rw-r--r--development/dfu-programmer/dfu-programmer.info12
-rw-r--r--development/dfu-programmer/slack-desc6
-rw-r--r--development/dhex/010_fix-typos.patch177
-rw-r--r--development/dhex/dhex.SlackBuild26
-rw-r--r--development/dhex/dhex.info6
-rw-r--r--development/diakonos/diakonos.SlackBuild16
-rw-r--r--development/diff-so-fancy/README5
-rw-r--r--development/diff-so-fancy/diff-so-fancy.SlackBuild74
-rw-r--r--development/diff-so-fancy/diff-so-fancy.info10
-rw-r--r--development/diff-so-fancy/doinst.sh (renamed from development/vscode/doinst.sh)0
-rw-r--r--development/diff-so-fancy/slack-desc19
-rw-r--r--development/diffoscope/README10
-rw-r--r--development/diffoscope/diffoscope.SlackBuild20
-rw-r--r--development/diffoscope/diffoscope.info6
-rw-r--r--development/diffuse/diffuse.SlackBuild22
-rw-r--r--development/digikey-kicad-library/digikey-kicad-library.SlackBuild16
-rw-r--r--development/dis/dis.1192
-rw-r--r--development/dis/dis.SlackBuild24
-rw-r--r--development/dis/dis.info2
-rw-r--r--development/dis/dis.rst154
-rw-r--r--development/dis6502/2857fc3_20180311.diff446
-rw-r--r--development/dis6502/README3
-rw-r--r--development/dis6502/compilefix.diff12
-rw-r--r--development/dis6502/dis6502.1176
-rw-r--r--development/dis6502/dis6502.SlackBuild53
-rw-r--r--development/dis6502/dis6502.info10
-rw-r--r--development/dis6502/helpformat.diff12
-rw-r--r--development/dis6502/manpage.diff121
-rw-r--r--development/dkms/Makefile_mktemp.diff29
-rw-r--r--development/dkms/dkms.SlackBuild20
-rw-r--r--development/dkms/dkms.info6
-rw-r--r--development/dmd/dmd.SlackBuild20
-rw-r--r--development/dmd/dmd.info6
-rw-r--r--development/docutils/README6
-rw-r--r--development/docutils/docutils.SlackBuild73
-rw-r--r--development/docutils/docutils.info10
-rw-r--r--development/docutils/slack-desc19
-rw-r--r--development/dotnet-runtime-3.1/README12
-rw-r--r--development/dotnet-runtime-3.1/dotnet-runtime-3.1.SlackBuild79
-rw-r--r--development/dotnet-runtime-3.1/dotnet-runtime-3.1.info10
-rw-r--r--development/dotnet-runtime-3.1/slack-desc19
-rw-r--r--development/dotnet-runtime-5.0/README12
-rw-r--r--development/dotnet-runtime-5.0/dotnet-runtime-5.0.SlackBuild79
-rw-r--r--development/dotnet-runtime-5.0/dotnet-runtime-5.0.info10
-rw-r--r--development/dotnet-runtime-5.0/slack-desc19
-rw-r--r--development/dotnet-runtime-6.0/README8
-rw-r--r--development/dotnet-runtime-6.0/dotnet-runtime-6.0.SlackBuild79
-rw-r--r--development/dotnet-runtime-6.0/dotnet-runtime-6.0.info10
-rw-r--r--development/dotnet-runtime-6.0/slack-desc19
-rw-r--r--development/dotnet-runtime-7.0/README8
-rw-r--r--development/dotnet-runtime-7.0/dotnet-runtime-7.0.SlackBuild79
-rw-r--r--development/dotnet-runtime-7.0/dotnet-runtime-7.0.info10
-rw-r--r--development/dotnet-runtime-7.0/slack-desc19
-rw-r--r--development/dotnet-runtime-8.0/README8
-rw-r--r--development/dotnet-runtime-8.0/dotnet-runtime-8.0.SlackBuild76
-rw-r--r--development/dotnet-runtime-8.0/dotnet-runtime-8.0.info10
-rw-r--r--development/dotnet-runtime-8.0/slack-desc19
-rw-r--r--development/dotnet-runtime/README8
-rw-r--r--development/dotnet-runtime/doinst.sh1
-rw-r--r--development/dotnet-runtime/dotnet-runtime.SlackBuild75
-rw-r--r--development/dotnet-runtime/dotnet-runtime.info10
-rw-r--r--development/dotnet-runtime/slack-desc19
-rw-r--r--development/dotnet-sdk-3.1/README11
-rw-r--r--development/dotnet-sdk-3.1/dotnet-sdk-3.1.SlackBuild79
-rw-r--r--development/dotnet-sdk-3.1/dotnet-sdk-3.1.info10
-rw-r--r--development/dotnet-sdk-3.1/slack-desc19
-rw-r--r--development/dotnet-sdk-5.0/README11
-rw-r--r--development/dotnet-sdk-5.0/dotnet-sdk-5.0.SlackBuild79
-rw-r--r--development/dotnet-sdk-5.0/dotnet-sdk-5.0.info10
-rw-r--r--development/dotnet-sdk-5.0/slack-desc19
-rw-r--r--development/dotnet-sdk-6.0/README7
-rw-r--r--development/dotnet-sdk-6.0/dotnet-sdk-6.0.SlackBuild79
-rw-r--r--development/dotnet-sdk-6.0/dotnet-sdk-6.0.info10
-rw-r--r--development/dotnet-sdk-6.0/slack-desc19
-rw-r--r--development/dotnet-sdk-7.0/README7
-rw-r--r--development/dotnet-sdk-7.0/dotnet-sdk-7.0.SlackBuild79
-rw-r--r--development/dotnet-sdk-7.0/dotnet-sdk-7.0.info10
-rw-r--r--development/dotnet-sdk-7.0/slack-desc19
-rw-r--r--development/dotnet-sdk-8.0/README7
-rw-r--r--development/dotnet-sdk-8.0/dotnet-sdk-8.0.SlackBuild76
-rw-r--r--development/dotnet-sdk-8.0/dotnet-sdk-8.0.info10
-rw-r--r--development/dotnet-sdk-8.0/slack-desc19
-rw-r--r--development/dotnet-sdk/README7
-rw-r--r--development/dotnet-sdk/doinst.sh1
-rw-r--r--development/dotnet-sdk/dotnet-sdk.SlackBuild75
-rw-r--r--development/dotnet-sdk/dotnet-sdk.info10
-rw-r--r--development/dotnet-sdk/slack-desc19
-rw-r--r--development/dpkg/dpkg.SlackBuild34
-rw-r--r--development/dpkg/dpkg.info8
-rw-r--r--development/dreampie/dreampie.SlackBuild16
-rw-r--r--development/dreampie/dreampie.info2
-rw-r--r--development/dte/dte.SlackBuild16
-rw-r--r--development/dune/README5
-rw-r--r--development/dune/dune.SlackBuild100
-rw-r--r--development/dune/dune.info10
-rw-r--r--development/dune/slack-desc19
-rw-r--r--development/dwz/README15
-rw-r--r--development/dwz/dwz.SlackBuild92
-rw-r--r--development/dwz/dwz.info10
-rw-r--r--development/dwz/slack-desc19
-rw-r--r--development/eagle/eagle.SlackBuild18
-rw-r--r--development/eagle/eagle.info6
-rw-r--r--development/ebe/ebe.SlackBuild21
-rw-r--r--development/ecl/ecl.SlackBuild28
-rw-r--r--development/ecl/ecl.info8
-rw-r--r--development/ecl/slack-desc2
-rw-r--r--development/eclim/630fbcd5e6caa810f721b0f0de9478aaf78f7958.patch.gzbin1493 -> 0 bytes
-rw-r--r--development/eclim/README17
-rw-r--r--development/eclim/eclim.SlackBuild157
-rw-r--r--development/eclim/eclim.info12
-rw-r--r--development/eclim/slack-desc19
-rw-r--r--development/eclim/sphinx2.patch.gzbin584 -> 0 bytes
-rw-r--r--development/eclipse-cpp/README2
-rw-r--r--development/eclipse-cpp/eclipse-cpp.SlackBuild25
-rw-r--r--development/eclipse-cpp/eclipse-cpp.desktop2
-rw-r--r--development/eclipse-cpp/eclipse-cpp.info12
-rw-r--r--development/eclipse-cpp/slack-desc2
-rw-r--r--development/eclipse-java/README2
-rw-r--r--development/eclipse-java/eclipse-java.SlackBuild23
-rw-r--r--development/eclipse-java/eclipse-java.info12
-rw-r--r--development/eclipse-java/slack-desc2
-rw-r--r--development/eclipse-jee/README4
-rw-r--r--development/eclipse-jee/eclipse-jee.SlackBuild25
-rw-r--r--development/eclipse-jee/eclipse-jee.desktop2
-rw-r--r--development/eclipse-jee/eclipse-jee.info12
-rw-r--r--development/eclipse-jee/slack-desc2
-rw-r--r--development/eclipse-php/README4
-rw-r--r--development/eclipse-php/doinst.sh5
-rw-r--r--development/eclipse-php/eclipse-php.SlackBuild23
-rw-r--r--development/eclipse-php/eclipse-php.desktop2
-rw-r--r--development/eclipse-php/eclipse-php.info12
-rw-r--r--development/eclipse-php/slack-desc2
-rw-r--r--development/eclipse-platform/eclipse-platform.SlackBuild22
-rw-r--r--development/eclipse-platform/eclipse-platform.info10
-rw-r--r--development/edb-debugger/edb-debugger.SlackBuild55
-rw-r--r--development/edb-debugger/edb-debugger.info8
-rw-r--r--development/editorconfig-core-c/README7
-rw-r--r--development/editorconfig-core-c/editorconfig-core-c.SlackBuild102
-rw-r--r--development/editorconfig-core-c/editorconfig-core-c.info10
-rw-r--r--development/editorconfig-core-c/man-directory.patch23
-rw-r--r--development/editorconfig-core-c/slack-desc19
-rw-r--r--development/egypt/egypt.SlackBuild22
-rw-r--r--development/eisl/README16
-rw-r--r--development/eisl/eisl.SlackBuild92
-rw-r--r--development/eisl/eisl.info10
-rw-r--r--development/eisl/patches/01-tcltk.patch12
-rw-r--r--development/eisl/patches/02-ndbm.patch52
-rw-r--r--development/eisl/slack-desc19
-rw-r--r--development/electron/README4
-rw-r--r--development/electron/electron.SlackBuild40
-rw-r--r--development/electron/electron.info16
-rw-r--r--development/elixir/elixir.SlackBuild26
-rw-r--r--development/elixir/elixir.info6
-rw-r--r--development/emsdk/README18
-rw-r--r--development/emsdk/emsdk4
-rw-r--r--development/emsdk/emsdk.SlackBuild112
-rw-r--r--development/emsdk/emsdk.info10
-rw-r--r--development/emsdk/emsdk_env.sh3
-rw-r--r--development/emsdk/slack-desc19
-rw-r--r--development/energia/energia.SlackBuild20
-rw-r--r--development/energia/energia.info6
-rw-r--r--development/enki/enki.SlackBuild24
-rw-r--r--development/enki/enki.info10
-rw-r--r--development/enki/slack-desc2
-rw-r--r--development/envision/README10
-rw-r--r--development/envision/doinst.sh9
-rw-r--r--development/envision/envision.176
-rw-r--r--development/envision/envision.SlackBuild93
-rw-r--r--development/envision/envision.desktop9
-rw-r--r--development/envision/envision.info14
-rw-r--r--development/envision/envision.rst63
-rw-r--r--development/envision/slack-desc19
-rw-r--r--development/envytools/README2
-rw-r--r--development/envytools/envytools.SlackBuild18
-rw-r--r--development/envytools/envytools.info8
-rw-r--r--development/eovim/07716.patch427
-rw-r--r--development/eovim/7b320.patch182
-rw-r--r--development/eovim/dd8f0.patch107
-rw-r--r--development/eovim/eovim.SlackBuild25
-rw-r--r--development/eovim/eovim.info6
-rw-r--r--development/epydoc/epydoc.SlackBuild16
-rw-r--r--development/eric/README8
-rw-r--r--development/eric/eric.SlackBuild94
-rw-r--r--development/eric/eric.info12
-rw-r--r--development/eric/eric4.desktop9
-rw-r--r--development/eric/eric4.pngbin19378 -> 0 bytes
-rw-r--r--development/eric/slack-desc19
-rw-r--r--development/erlang-otp/erlang-otp.SlackBuild29
-rw-r--r--development/erlang-otp/erlang-otp.info12
-rw-r--r--development/erlang-otp/slack-desc2
-rw-r--r--development/evemu/evemu.SlackBuild20
-rw-r--r--development/ex-vi/ex-vi.SlackBuild43
-rw-r--r--development/ex-vi/ex-vi.info4
-rw-r--r--development/extra-cmake-modules/README6
-rw-r--r--development/extra-cmake-modules/extra-cmake-modules.SlackBuild103
-rw-r--r--development/extra-cmake-modules/extra-cmake-modules.info10
-rw-r--r--development/extra-cmake-modules/slack-desc19
-rw-r--r--development/f2c/README23
-rw-r--r--development/f2c/f2c.SlackBuild56
-rw-r--r--development/f2c/f2c.info18
-rw-r--r--development/f2c/slack-desc10
-rw-r--r--development/facile/README1
-rw-r--r--development/facile/facile.SlackBuild83
-rw-r--r--development/facile/facile.info10
-rw-r--r--development/facile/slack-desc19
-rw-r--r--development/fasm/README9
-rw-r--r--development/fasm/fasm.194
-rw-r--r--development/fasm/fasm.SlackBuild127
-rw-r--r--development/fasm/fasm.info12
-rw-r--r--development/fasm/fasm.rst85
-rw-r--r--development/fasm/slack-desc19
-rw-r--r--development/flawfinder/flawfinder.SlackBuild46
-rw-r--r--development/flawfinder/flawfinder.info2
-rw-r--r--development/flow/README22
-rw-r--r--development/flow/flow.SlackBuild94
-rw-r--r--development/flow/flow.info10
-rw-r--r--development/flow/slack-desc19
-rw-r--r--development/fly/fly.SlackBuild24
-rw-r--r--development/fly/fly.info8
-rw-r--r--development/fly/slack-desc2
-rw-r--r--development/focal/README24
-rw-r--r--development/focal/beer.foc24
-rw-r--r--development/focal/focal.SlackBuild102
-rw-r--r--development/focal/focal.info10
-rw-r--r--development/focal/hello.foc1
-rw-r--r--development/focal/slack-desc19
-rw-r--r--development/fortls/README35
-rw-r--r--development/fortls/fortls.SlackBuild77
-rw-r--r--development/fortls/fortls.info10
-rw-r--r--development/fortls/slack-desc19
-rw-r--r--development/fossil/README63
-rw-r--r--development/fossil/fossil.SlackBuild25
-rw-r--r--development/fossil/fossil.info6
-rw-r--r--development/fossil/slack-desc10
-rw-r--r--development/fpc-source/README2
-rw-r--r--development/fpc-source/fpc-source.SlackBuild78
-rw-r--r--development/fpc-source/fpc-source.info10
-rw-r--r--development/fpc-source/slack-desc19
-rw-r--r--development/fpc/README12
-rw-r--r--development/fpc/doinst.sh4
-rw-r--r--development/fpc/fpc.SlackBuild180
-rw-r--r--development/fpc/fpc.info26
-rw-r--r--development/fpc/instantfpc.182
-rw-r--r--development/fpc/patches/Fix-liking-with-libc-when-PIC-is-enabled.patch24
-rw-r--r--development/fpc/patches/fix-IDE-data-file-location.patch69
-rw-r--r--development/fpc/patches/glibc2.34.patch188
-rw-r--r--development/fpc/patches/honor_SOURCE_DATE_EPOCH_in_date.patch55
-rw-r--r--development/fpc/slack-desc2
-rw-r--r--development/freetds/freetds.SlackBuild28
-rw-r--r--development/freetds/freetds.info6
-rw-r--r--development/frobtads/frobtads.SlackBuild64
-rw-r--r--development/frobtads/frobtads.info8
-rw-r--r--development/fsharp/README3
-rw-r--r--development/fsharp/doinst.sh12
-rw-r--r--development/fsharp/fsharp.SlackBuild87
-rw-r--r--development/fsharp/fsharp.info10
-rw-r--r--development/fsharp/slack-desc19
-rw-r--r--development/ftjam/ftjam.SlackBuild26
-rw-r--r--development/ftnchek/ftnchek.SlackBuild22
-rw-r--r--development/ftnchek/ftnchek.info6
-rw-r--r--development/fuel/README5
-rw-r--r--development/fuel/fuel.SlackBuild88
-rw-r--r--development/fuel/fuel.info10
-rw-r--r--development/fuel/slack-desc19
-rw-r--r--development/g3log/g3log.SlackBuild16
-rw-r--r--development/gambas3/README12
-rw-r--r--development/gambas3/gambas3.SlackBuild38
-rw-r--r--development/gambas3/gambas3.info10
-rw-r--r--development/gambas3/slack-desc4
-rw-r--r--development/gambit/gambit.SlackBuild22
-rw-r--r--development/gaphor/README2
-rw-r--r--development/gaphor/gaphor.SlackBuild68
-rw-r--r--development/gaphor/gaphor.info10
-rw-r--r--development/gaphor/slack-desc19
-rw-r--r--development/gauche/gauche.SlackBuild22
-rw-r--r--development/gauche/gauche.info6
-rw-r--r--development/gcc-d/README12
-rw-r--r--development/gcc-d/doinst.sh3
-rw-r--r--development/gcc-d/gcc-d.SlackBuild230
-rw-r--r--development/gcc-d/gcc-d.info16
-rw-r--r--development/gcc-d/slack-desc19
-rw-r--r--development/gcc5/README48
-rw-r--r--development/gcc5/c89.sh11
-rw-r--r--development/gcc5/c99.sh11
-rw-r--r--development/gcc5/ecj.sh5
-rw-r--r--development/gcc5/fastjar-patches/1000-fastjar-0.97-segfault.patch29
-rw-r--r--development/gcc5/fastjar-patches/1001-fastjar-0.97-len1.patch16
-rw-r--r--development/gcc5/fastjar-patches/1002-fastjar-0.97-filename0.patch14
-rw-r--r--development/gcc5/fastjar-patches/1003-fastjar-CVE-2010-0831.patch102
-rw-r--r--development/gcc5/fastjar-patches/1004-fastjar-man.patch27
-rw-r--r--development/gcc5/gcc5.SlackBuild593
-rw-r--r--development/gcc5/gcc5.info16
-rw-r--r--development/gcc5/libgcj-5.pc10
-rw-r--r--development/gcc5/patches/0001-i386-Move-struct-ix86_frame-to-machine_function.diff239
-rw-r--r--development/gcc5/patches/0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.diff72
-rw-r--r--development/gcc5/patches/0003-i386-More-use-reference-of-struct-ix86_frame-to-avoi.diff59
-rw-r--r--development/gcc5/patches/0004-i386-Don-t-use-reference-of-struct-ix86_frame.diff63
-rw-r--r--development/gcc5/patches/0005-x86-Add-mindirect-branch-doc.diff279
-rw-r--r--development/gcc5/patches/0005-x86-Add-mindirect-branch.diff1870
-rw-r--r--development/gcc5/patches/0006-x86-Add-mfunction-return-doc.diff300
-rw-r--r--development/gcc5/patches/0006-x86-Add-mfunction-return.diff1409
-rw-r--r--development/gcc5/patches/0007-x86-Add-mindirect-branch-register-doc.diff231
-rw-r--r--development/gcc5/patches/0007-x86-Add-mindirect-branch-register.diff812
-rw-r--r--development/gcc5/patches/0008-x86-Add-V-register-operand-modifier-doc.diff65
-rw-r--r--development/gcc5/patches/0008-x86-Add-V-register-operand-modifier.diff125
-rw-r--r--development/gcc5/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-.diff275
-rw-r--r--development/gcc5/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-doc.diff102
-rw-r--r--development/gcc5/patches/gcc-no_fixincludes.diff27
-rw-r--r--development/gcc5/patches/gcc.66782.diff124
-rw-r--r--development/gcc5/patches/gcc.69140.diff13
-rw-r--r--development/gcc5/patches/glibc2.28-ustat.diff31
-rw-r--r--development/gcc5/patches/glibc2.30-ipc_perm.diff12
-rw-r--r--development/gcc5/patches/kernel-5.12.diff37
-rw-r--r--development/gcc5/profile.d/gcc5.csh7
-rw-r--r--development/gcc5/profile.d/gcc5.sh7
-rw-r--r--development/gcc5/slack-desc19
-rw-r--r--development/gcclegacy494/942-asan-fix-missing-include-signal-h.patch36
-rw-r--r--development/gcclegacy494/943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch190
-rw-r--r--development/gcclegacy494/944-sanitizer-linux.patch88
-rw-r--r--development/gcclegacy494/README8
-rw-r--r--development/gcclegacy494/gcclegacy494.SlackBuild197
-rw-r--r--development/gcclegacy494/gcclegacy494.info20
-rw-r--r--development/gcclegacy494/slack-desc19
-rw-r--r--development/gcclegacy494/ustat.h.patch47
-rw-r--r--development/gcclegacy494/wrapper.sh3
-rw-r--r--development/gdb-dashboard/README32
-rw-r--r--development/gdb-dashboard/doinst.sh14
-rw-r--r--development/gdb-dashboard/gdb-dashboard.SlackBuild51
-rw-r--r--development/gdb-dashboard/gdb-dashboard.info10
-rw-r--r--development/gdb-dashboard/slack-desc19
-rw-r--r--development/geany-plugins/README1
-rw-r--r--development/geany-plugins/geany-plugins.SlackBuild48
-rw-r--r--development/geany-plugins/geany-plugins.info10
-rw-r--r--development/geany/geany.SlackBuild28
-rw-r--r--development/geany/geany.info10
-rw-r--r--development/gecode/gecode.SlackBuild22
-rw-r--r--development/gede/gede.SlackBuild32
-rw-r--r--development/gede/gede.info8
-rw-r--r--development/gedit-plugins/doinst.sh14
-rw-r--r--development/gedit-plugins/gedit-plugins.SlackBuild85
-rw-r--r--development/gedit-plugins/gedit-plugins.info10
-rw-r--r--development/gedit/README8
-rw-r--r--development/gedit/doinst.sh16
-rw-r--r--development/gedit/gedit.SlackBuild103
-rw-r--r--development/gedit/gedit.info12
-rw-r--r--development/generatorrunner/generatorrunner.SlackBuild22
-rw-r--r--development/gengetopt/gengetopt.SlackBuild16
-rw-r--r--development/gforth/gforth.SlackBuild27
-rw-r--r--development/ghex/README24
-rw-r--r--development/ghex/doinst.sh4
-rw-r--r--development/ghex/ghex.185
-rw-r--r--development/ghex/ghex.SlackBuild76
-rw-r--r--development/ghex/ghex.info14
-rw-r--r--development/ghex/slack-desc2
-rw-r--r--development/ghi/ghi.SlackBuild18
-rw-r--r--development/ghi/ghi.info2
-rw-r--r--development/ghidra/README12
-rw-r--r--development/ghidra/doinst.sh17
-rw-r--r--development/ghidra/ghidra.SlackBuild88
-rw-r--r--development/ghidra/ghidra.info10
-rw-r--r--development/ghidra/slack-desc19
-rw-r--r--development/gisto/gisto.SlackBuild16
-rw-r--r--development/git-cola/README7
-rw-r--r--development/git-cola/git-cola.SlackBuild16
-rw-r--r--development/git-cola/git-cola.info2
-rw-r--r--development/git-crypt/README11
-rw-r--r--development/git-crypt/git-crypt.SlackBuild103
-rw-r--r--development/git-crypt/git-crypt.info10
-rw-r--r--development/git-crypt/slack-desc19
-rw-r--r--development/git-extras/README7
-rw-r--r--development/git-extras/git-extras.SlackBuild79
-rw-r--r--development/git-extras/git-extras.info10
-rw-r--r--development/git-extras/slack-desc19
-rw-r--r--development/git-lfs/git-lfs.SlackBuild49
-rw-r--r--development/git-lfs/git-lfs.info10
-rw-r--r--development/github-cli/github-cli.SlackBuild17
-rw-r--r--development/github-cli/github-cli.info12
-rw-r--r--development/github-desktop/README8
-rw-r--r--development/github-desktop/doinst.sh9
-rw-r--r--development/github-desktop/github-desktop.SlackBuild113
-rw-r--r--development/github-desktop/github-desktop.info12
-rw-r--r--development/github-desktop/slack-desc19
-rw-r--r--development/gitlab-cli/README13
-rw-r--r--development/gitlab-cli/gitlab-cli.SlackBuild105
-rw-r--r--development/gitlab-cli/gitlab-cli.info14
-rw-r--r--development/gitlab-cli/slack-desc19
-rw-r--r--development/gitstats/gitstats.SlackBuild16
-rw-r--r--development/glade/README12
-rw-r--r--development/glade/doinst.sh6
-rw-r--r--development/glade/glade.SlackBuild109
-rw-r--r--development/glade/glade.info10
-rw-r--r--development/glade/slack-desc19
-rw-r--r--development/glm/glm.SlackBuild16
-rw-r--r--development/global/global.SlackBuild18
-rw-r--r--development/global/global.info6
-rw-r--r--development/gn/README5
-rw-r--r--development/gn/gn.SlackBuild16
-rw-r--r--development/gn/gn.info2
-rw-r--r--development/gnats/gnats.SlackBuild28
-rw-r--r--development/gnats/gnats.info2
-rw-r--r--development/gnome-builder/README5
-rw-r--r--development/gnome-builder/doinst.sh (renamed from development/anjuta/doinst.sh)0
-rw-r--r--development/gnome-builder/gnome-builder.SlackBuild126
-rw-r--r--development/gnome-builder/gnome-builder.info10
-rw-r--r--development/gnome-builder/slack-desc19
-rw-r--r--development/gnome-common/gnome-common.SlackBuild16
-rw-r--r--development/gnome-inform7/README10
-rw-r--r--development/gnome-inform7/doinst.sh19
-rw-r--r--development/gnome-inform7/gnome-inform7.SlackBuild108
-rw-r--r--development/gnome-inform7/gnome-inform7.info12
-rw-r--r--development/gnome-inform7/slack-desc19
-rw-r--r--development/gnome-system-monitor/README7
-rw-r--r--development/gnome-system-monitor/doinst.sh15
-rw-r--r--development/gnome-system-monitor/gnome-system-monitor.SlackBuild111
-rw-r--r--development/gnome-system-monitor/gnome-system-monitor.info10
-rw-r--r--development/gnome-system-monitor/slack-desc19
-rw-r--r--development/gnulib/gnulib.SlackBuild38
-rw-r--r--development/gnulib/gnulib.info4
-rw-r--r--development/gnuradio/README2
-rw-r--r--development/gnuradio/doinst.sh20
-rw-r--r--development/gnuradio/gnuradio.SlackBuild27
-rw-r--r--development/gnuradio/gnuradio.info8
-rw-r--r--development/gnustep-base/gnustep-base.SlackBuild31
-rw-r--r--development/gnustep-base/gnustep-base.info6
-rw-r--r--development/gnustep-base/icu68.patch31
-rw-r--r--development/gnustep-base/libxml2-2.11.patch27
-rw-r--r--development/gnustep-make/gnustep-make.SlackBuild20
-rw-r--r--development/gnustep-make/gnustep-make.info6
-rw-r--r--development/gnustep-startup/README34
-rw-r--r--development/gnustep-startup/gnustep-startup.SlackBuild105
-rw-r--r--development/gnustep-startup/gnustep-startup.info10
-rw-r--r--development/gnustep-startup/slack-desc19
-rw-r--r--development/gob2/gob2.SlackBuild16
-rw-r--r--development/godot/README45
-rw-r--r--development/godot/doinst.sh13
-rw-r--r--development/godot/godot.SlackBuild212
-rw-r--r--development/godot/godot.info10
-rw-r--r--development/godot/slack-desc19
-rw-r--r--development/goland/README4
-rw-r--r--development/goland/doinst.sh (renamed from development/atom/doinst.sh)0
-rw-r--r--development/goland/goland.SlackBuild79
-rw-r--r--development/goland/goland.info10
-rw-r--r--development/goland/slack-desc19
-rw-r--r--development/golang-googlecode-gonet/golang-googlecode-gonet.SlackBuild22
-rw-r--r--development/golang-googlecode-gotools/README13
-rw-r--r--development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild23
-rw-r--r--development/golang-googlecode-gotools/golang-googlecode-gotools.info2
-rw-r--r--development/google-appengine-gosdk/README52
-rw-r--r--development/google-appengine-gosdk/doinst.sh17
-rw-r--r--development/google-appengine-gosdk/gae.csh3
-rw-r--r--development/google-appengine-gosdk/gae.sh3
-rw-r--r--development/google-appengine-gosdk/go.csh3
-rw-r--r--development/google-appengine-gosdk/go.sh3
-rw-r--r--development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild76
-rw-r--r--development/google-appengine-gosdk/google-appengine-gosdk.info10
-rw-r--r--development/google-appengine-gosdk/slack-desc19
-rw-r--r--development/google-appengine-pysdk/README9
-rw-r--r--development/google-appengine-pysdk/doinst.sh15
-rw-r--r--development/google-appengine-pysdk/gae.csh3
-rw-r--r--development/google-appengine-pysdk/gae.sh3
-rw-r--r--development/google-appengine-pysdk/google-appengine-pysdk.SlackBuild72
-rw-r--r--development/google-appengine-pysdk/google-appengine-pysdk.info10
-rw-r--r--development/google-appengine-pysdk/slack-desc19
-rw-r--r--development/google-go-lang/google-go-lang.SlackBuild213
-rw-r--r--development/google-go-lang/google-go-lang.info10
-rw-r--r--development/google-webdesigner/README16
-rw-r--r--development/google-webdesigner/doinst.sh7
-rw-r--r--development/google-webdesigner/google-webdesigner.SlackBuild71
-rw-r--r--development/google-webdesigner/google-webdesigner.info10
-rw-r--r--development/google-webdesigner/slack-desc19
-rw-r--r--development/gplcver/gplcver.SlackBuild22
-rw-r--r--development/gprolog/gprolog.SlackBuild19
-rw-r--r--development/gprolog/gprolog.info6
-rw-r--r--development/gpsim/gpsim.SlackBuild21
-rw-r--r--development/gpsim/gpsim.info10
-rw-r--r--development/gputils/gputils.SlackBuild21
-rw-r--r--development/gputils/gputils.info6
-rw-r--r--development/gr-osmosdr/gr-osmosdr.SlackBuild18
-rw-r--r--development/gr-osmosdr/gr-osmosdr.info8
-rw-r--r--development/gradle/gradle.SlackBuild21
-rw-r--r--development/gradle/gradle.info12
-rw-r--r--development/grails/grails.SlackBuild18
-rw-r--r--development/grails/grails.info2
-rw-r--r--development/groovy/groovy.SlackBuild16
-rw-r--r--development/groovy/groovy.info2
-rw-r--r--development/gsoap/gsoap-libtool.patch136
-rw-r--r--development/gsoap/gsoap.SlackBuild59
-rw-r--r--development/gsoap/gsoap.info8
-rw-r--r--development/gsoap/patches/gsoap-2.8.126-shared_libs.patch156
-rw-r--r--development/gtest/gtest.SlackBuild55
-rw-r--r--development/gtest/gtest.info8
-rw-r--r--development/gtkdialog/gtkdialog-0.8.3-fno-common.patch51
-rw-r--r--development/gtkdialog/gtkdialog.SlackBuild19
-rw-r--r--development/gtkextra/gtkextra.SlackBuild25
-rw-r--r--development/gtkextra/gtkextra.info6
-rw-r--r--development/guile-colorized/README11
-rw-r--r--development/guile-colorized/guile-colorized.SlackBuild73
-rw-r--r--development/guile-colorized/guile-colorized.info10
-rw-r--r--development/guile-colorized/slack-desc19
-rw-r--r--development/guile-json/README11
-rw-r--r--development/guile-json/guile-json.SlackBuild86
-rw-r--r--development/guile-json/guile-json.info10
-rw-r--r--development/guile-json/slack-desc19
-rw-r--r--development/guile1.8/README3
-rw-r--r--development/guile1.8/doinst.sh6
-rw-r--r--development/guile1.8/guile-1.8.8-gcc46.patch39
-rw-r--r--development/guile1.8/guile1.8.SlackBuild94
-rw-r--r--development/guile1.8/guile1.8.info4
-rw-r--r--development/guile2.0/README11
-rw-r--r--development/guile2.0/doinst.sh6
-rw-r--r--development/guile2.0/guile2.0.SlackBuild173
-rw-r--r--development/guile2.0/guile2.0.info10
-rw-r--r--development/guile2.0/slack-desc19
-rw-r--r--development/guile2.2/README10
-rw-r--r--development/guile2.2/doinst.sh6
-rw-r--r--development/guile2.2/guile2.2.SlackBuild173
-rw-r--r--development/guile2.2/guile2.2.info10
-rw-r--r--development/guile2.2/slack-desc19
-rw-r--r--development/guitar/README7
-rw-r--r--development/guitar/doinst.sh9
-rw-r--r--development/guitar/guitar.SlackBuild111
-rw-r--r--development/guitar/guitar.desktop8
-rw-r--r--development/guitar/guitar.info10
-rw-r--r--development/guitar/slack-desc19
-rw-r--r--development/guzzle_sphinx_theme/README2
-rw-r--r--development/guzzle_sphinx_theme/guzzle_sphinx_theme.SlackBuild16
-rw-r--r--development/hackrf/README9
-rw-r--r--development/hackrf/hackrf.SlackBuild105
-rw-r--r--development/hackrf/hackrf.info10
-rw-r--r--development/hackrf/slack-desc19
-rw-r--r--development/halibut/README14
-rw-r--r--development/halibut/doinst.sh3
-rw-r--r--development/halibut/halibut.SlackBuild113
-rw-r--r--development/halibut/halibut.info10
-rw-r--r--development/halibut/slack-desc19
-rw-r--r--development/happy/happy.SlackBuild18
-rw-r--r--development/happy/happy.info6
-rw-r--r--development/hare/README12
-rw-r--r--development/hare/hare.SlackBuild140
-rw-r--r--development/hare/hare.info10
-rw-r--r--development/hare/slack-desc19
-rw-r--r--development/harec/README9
-rw-r--r--development/harec/harec.SlackBuild130
-rw-r--r--development/harec/harec.info10
-rw-r--r--development/harec/slack-desc19
-rw-r--r--development/haxe-bin/README11
-rw-r--r--development/haxe-bin/haxe-bin.SlackBuild82
-rw-r--r--development/haxe-bin/haxe-bin.info10
-rw-r--r--development/haxe-bin/slack-desc19
-rw-r--r--development/henplus/henplus.SlackBuild16
-rw-r--r--development/henplus/henplus.info2
-rw-r--r--development/henplus/slack-desc2
-rw-r--r--development/heroku-cli/README9
-rw-r--r--development/heroku-cli/heroku-cli.SlackBuild99
-rw-r--r--development/heroku-cli/heroku-cli.info10
-rw-r--r--development/heroku-cli/slack-desc19
-rw-r--r--development/hexcurse/hexcurse.SlackBuild17
-rw-r--r--development/hexcurse/hexcurse.info2
-rw-r--r--development/hexe/hexe.SlackBuild17
-rw-r--r--development/hexe/hexe.info4
-rw-r--r--development/hexedit/hexedit.SlackBuild25
-rw-r--r--development/hexedit/hexedit.info8
-rw-r--r--development/hexer/hexer.SlackBuild15
-rw-r--r--development/hexer/hexer.info4
-rw-r--r--development/hexinator/hexinator.SlackBuild45
-rw-r--r--development/hexinator/hexinator.info14
-rw-r--r--development/hexnet/README8
-rw-r--r--development/hexnet/hexnet.SlackBuild98
-rw-r--r--development/hexnet/hexnet.info10
-rw-r--r--development/hexnet/slack-desc19
-rw-r--r--development/hhvm/0001-Link-static-libiberty.patch25
-rw-r--r--development/hhvm/etc/rc.hhvm16
-rw-r--r--development/hhvm/hhvm.SlackBuild157
-rw-r--r--development/hhvm/hhvm.info52
-rw-r--r--development/hhvm/patches/0001-liburing.patch37
-rw-r--r--development/hhvm/patches/0002-download.patch247
-rw-r--r--development/hhvm/patches/0003-iquote.patch18
-rw-r--r--development/highlight/doinst.sh10
-rw-r--r--development/highlight/highlight.SlackBuild29
-rw-r--r--development/highlight/highlight.info12
-rw-r--r--development/highlight/lua-qt.patch25
-rw-r--r--development/hipSYCL/README9
-rw-r--r--development/hipSYCL/hipSYCL.SlackBuild150
-rw-r--r--development/hipSYCL/hipSYCL.info10
-rw-r--r--development/hipSYCL/slack-desc19
-rw-r--r--development/hopper/hopper.SlackBuild22
-rw-r--r--development/hopper/hopper.info10
-rw-r--r--development/howl/howl.SlackBuild16
-rw-r--r--development/hte/hte.SlackBuild44
-rw-r--r--development/hte/hte.info6
-rw-r--r--development/hte/hteditor-2.1.0-gcc-7.patch32
-rw-r--r--development/hub/hub.SlackBuild16
-rw-r--r--development/hugo/README3
-rw-r--r--development/hugo/hugo.SlackBuild28
-rw-r--r--development/hugo/hugo.info10
-rw-r--r--development/icdiff/fix-pipe-handling-installed.patch51
-rw-r--r--development/icdiff/icdiff.147
-rw-r--r--development/icdiff/icdiff.SlackBuild51
-rw-r--r--development/icdiff/icdiff.info8
-rw-r--r--development/icdiff/icdiff.rst6
-rw-r--r--development/icecream/README14
-rw-r--r--development/icecream/doinst.sh30
-rw-r--r--development/icecream/icecream.SlackBuild133
-rw-r--r--development/icecream/icecream.info10
-rw-r--r--development/icecream/profile.d/icecream.csh2
-rw-r--r--development/icecream/profile.d/icecream.sh2
-rw-r--r--development/icecream/rc.icecc-scheduler50
-rw-r--r--development/icecream/rc.iceccd50
-rw-r--r--development/icecream/rc.icecream.conf8
-rw-r--r--development/icecream/slack-desc19
-rw-r--r--development/icemon/icemon.SlackBuild65
-rw-r--r--development/icemon/icemon.info10
-rw-r--r--development/icemon/slack-desc10
-rw-r--r--development/icon/icon.SlackBuild59
-rw-r--r--development/icon/icon.info6
-rw-r--r--development/icon/patches/display.patch44
-rw-r--r--development/icon/patches/glibc.patch23
-rw-r--r--development/icon/patches/implicit-defs.patch162
-rw-r--r--development/icon/patches/lexer.patch18
-rw-r--r--development/icon/patches/maxtype.patch18
-rw-r--r--development/icoutils/icoutils.SlackBuild22
-rw-r--r--development/idea/idea.SlackBuild20
-rw-r--r--development/idea/idea.info14
-rw-r--r--development/idlex/README5
-rw-r--r--development/idlex/idlex.SlackBuild27
-rw-r--r--development/idlex/idlex.info6
-rw-r--r--development/ign-math2/ign-math2.SlackBuild16
-rw-r--r--development/ignition-math/ignition-math.SlackBuild22
-rw-r--r--development/ignition-math/ignition-math.info2
-rw-r--r--development/inform/destdir.diff125
-rw-r--r--development/inform/inform.SlackBuild74
-rw-r--r--development/inform/inform.info14
-rw-r--r--development/inform/parallel_make.diff20
-rw-r--r--development/ioncube-loader/ioncube-loader.SlackBuild20
-rw-r--r--development/ioncube-loader/ioncube-loader.info10
-rw-r--r--development/ioncube-loader/ioncube.ini2
-rw-r--r--development/ioncube-loader/ioncube64.ini2
-rw-r--r--development/ispc/README12
-rw-r--r--development/ispc/ispc.SlackBuild116
-rw-r--r--development/ispc/ispc.info10
-rw-r--r--development/ispc/slack-desc19
-rw-r--r--development/jam/jam.SlackBuild16
-rw-r--r--development/jasspa/20091011-glibc-2.32.patch57
-rw-r--r--development/jasspa/jasspa.SlackBuild21
-rw-r--r--development/javacc/LICENSE27
-rw-r--r--development/javacc/README3
-rw-r--r--development/javacc/javacc.SlackBuild35
-rw-r--r--development/javacc/javacc.info8
-rw-r--r--development/javafx-scenebuilder/README13
-rw-r--r--development/javafx-scenebuilder/doinst.sh13
-rw-r--r--development/javafx-scenebuilder/javafx-scenebuilder.SlackBuild92
-rw-r--r--development/javafx-scenebuilder/javafx-scenebuilder.info10
-rw-r--r--development/javafx-scenebuilder/slack-desc19
-rw-r--r--development/jbake/jbake.SlackBuild16
-rw-r--r--development/jbake/jbake.info2
-rw-r--r--development/jdk/jdk.SlackBuild17
-rw-r--r--development/jdk/jdk.info10
-rw-r--r--development/jdk/profile.d/jdk.csh1
-rw-r--r--development/jdk/profile.d/jdk.sh1
-rw-r--r--development/jdk11/README26
-rw-r--r--development/jdk11/jdk11.SlackBuild51
-rw-r--r--development/jdk11/jdk11.info8
-rw-r--r--development/jdk12/README24
-rw-r--r--development/jdk12/jdk12.SlackBuild104
-rw-r--r--development/jdk12/jdk12.info10
-rw-r--r--development/jdk12/slack-desc19
-rw-r--r--development/jdk13/README24
-rw-r--r--development/jdk13/jdk13.SlackBuild102
-rw-r--r--development/jdk13/jdk13.info10
-rw-r--r--development/jdk13/slack-desc19
-rw-r--r--development/jdk14/README26
-rw-r--r--development/jdk14/jdk14.SlackBuild102
-rw-r--r--development/jdk14/jdk14.info10
-rw-r--r--development/jdk14/slack-desc19
-rw-r--r--development/jdk15/README21
-rw-r--r--development/jdk15/jdk15.SlackBuild101
-rw-r--r--development/jdk15/jdk15.info10
-rw-r--r--development/jdk15/slack-desc19
-rw-r--r--development/jdk19/README14
-rw-r--r--development/jdk19/jdk19.SlackBuild114
-rw-r--r--development/jdk19/jdk19.info10
-rw-r--r--development/jdk19/slack-desc19
-rw-r--r--development/jeex/jeex.SlackBuild58
-rw-r--r--development/jeex/jeex.info2
-rw-r--r--development/jenv/README2
-rw-r--r--development/jenv/jenv.SlackBuild102
-rw-r--r--development/jenv/jenv.info10
-rw-r--r--development/jenv/slack-desc19
-rw-r--r--development/jsmin/jsmin.SlackBuild18
-rw-r--r--development/jsmin/jsmin.info2
-rw-r--r--development/julia/julia.SlackBuild16
-rw-r--r--development/julius/julius.SlackBuild22
-rw-r--r--development/jupyter-ipykernel/README2
-rw-r--r--development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild40
-rw-r--r--development/jupyter-ipykernel/jupyter-ipykernel.info12
-rw-r--r--development/jupyter-ipykernel/slack-desc4
-rw-r--r--development/jupyter-ipyleaflet/README4
-rw-r--r--development/jupyter-ipyleaflet/jupyter-ipyleaflet.SlackBuild90
-rw-r--r--development/jupyter-ipyleaflet/jupyter-ipyleaflet.info10
-rw-r--r--development/jupyter-ipyleaflet/slack-desc19
-rw-r--r--development/jupyter-ipywidgets/README2
-rw-r--r--development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild89
-rw-r--r--development/jupyter-ipywidgets/jupyter-ipywidgets.info10
-rw-r--r--development/jupyter-ipywidgets/slack-desc19
-rw-r--r--development/jupyter-nbclassic/README7
-rw-r--r--development/jupyter-nbclassic/doinst.sh9
-rw-r--r--development/jupyter-nbclassic/jupyter-nbclassic.SlackBuild103
-rw-r--r--development/jupyter-nbclassic/jupyter-nbclassic.info10
-rw-r--r--development/jupyter-nbclassic/slack-desc19
-rw-r--r--development/jupyter-nbclient/README2
-rw-r--r--development/jupyter-nbclient/jupyter-nbclient.SlackBuild96
-rw-r--r--development/jupyter-nbclient/jupyter-nbclient.info10
-rw-r--r--development/jupyter-nbclient/slack-desc19
-rw-r--r--development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild42
-rw-r--r--development/jupyter-nbconvert/jupyter-nbconvert.info12
-rw-r--r--development/jupyter-nbdime/README9
-rw-r--r--development/jupyter-nbdime/jupyter-nbdime.SlackBuild89
-rw-r--r--development/jupyter-nbdime/jupyter-nbdime.info10
-rw-r--r--development/jupyter-nbdime/slack-desc19
-rw-r--r--development/jupyter-nbformat/jupyter-nbformat.SlackBuild39
-rw-r--r--development/jupyter-nbformat/jupyter-nbformat.info12
-rw-r--r--development/jupyter-notebook/doinst.sh9
-rw-r--r--development/jupyter-notebook/fix-traitlets-error.patch21
-rw-r--r--development/jupyter-notebook/jupyter-notebook.SlackBuild29
-rw-r--r--development/jupyter-notebook/jupyter-notebook.info12
-rw-r--r--development/jupyter-notebook_shim/README2
-rw-r--r--development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild84
-rw-r--r--development/jupyter-notebook_shim/jupyter-notebook_shim.info10
-rw-r--r--development/jupyter-notebook_shim/slack-desc19
-rw-r--r--development/jupyter-qtconsole/doinst.sh (renamed from development/eric/doinst.sh)0
-rw-r--r--development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild26
-rw-r--r--development/jupyter-qtconsole/jupyter-qtconsole.info12
-rw-r--r--development/jupyter-widgetsnbextension/README2
-rw-r--r--development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild86
-rw-r--r--development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.info10
-rw-r--r--development/jupyter-widgetsnbextension/slack-desc19
-rw-r--r--development/jupyter_client/jupyter_client.SlackBuild42
-rw-r--r--development/jupyter_client/jupyter_client.info12
-rw-r--r--development/jupyter_console/jupyter_console.SlackBuild23
-rw-r--r--development/jupyter_console/jupyter_console.info12
-rw-r--r--development/jupyter_core/jupyter_core.SlackBuild40
-rw-r--r--development/jupyter_core/jupyter_core.info12
-rw-r--r--development/jupyter_events/README5
-rw-r--r--development/jupyter_events/jupyter_events.SlackBuild93
-rw-r--r--development/jupyter_events/jupyter_events.info10
-rw-r--r--development/jupyter_events/slack-desc19
-rw-r--r--development/jupyter_packaging/README2
-rw-r--r--development/jupyter_packaging/jupyter_packaging.SlackBuild79
-rw-r--r--development/jupyter_packaging/jupyter_packaging.info10
-rw-r--r--development/jupyter_packaging/slack-desc19
-rw-r--r--development/jupyter_server/README3
-rw-r--r--development/jupyter_server/jupyter_server.SlackBuild93
-rw-r--r--development/jupyter_server/jupyter_server.info10
-rw-r--r--development/jupyter_server/slack-desc19
-rw-r--r--development/jupyter_server_terminals/README2
-rw-r--r--development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild97
-rw-r--r--development/jupyter_server_terminals/jupyter_server_terminals.info10
-rw-r--r--development/jupyter_server_terminals/slack-desc19
-rw-r--r--development/jupyterlab/README12
-rw-r--r--development/jupyterlab/doinst.sh9
-rw-r--r--development/jupyterlab/jupyterlab.SlackBuild92
-rw-r--r--development/jupyterlab/jupyterlab.desktop11
-rw-r--r--development/jupyterlab/jupyterlab.info10
-rw-r--r--development/jupyterlab/no-nbclassic.patch15
-rw-r--r--development/jupyterlab/slack-desc19
-rw-r--r--development/jupyterlab_pygments/README5
-rw-r--r--development/jupyterlab_pygments/jupyterlab_pygments.SlackBuild98
-rw-r--r--development/jupyterlab_pygments/jupyterlab_pygments.info10
-rw-r--r--development/jupyterlab_pygments/slack-desc19
-rw-r--r--development/jupyterlab_server/README7
-rw-r--r--development/jupyterlab_server/jupyterlab_server.SlackBuild93
-rw-r--r--development/jupyterlab_server/jupyterlab_server.info10
-rw-r--r--development/jupyterlab_server/slack-desc19
-rw-r--r--development/jython/README8
-rw-r--r--development/jython/jython.SlackBuild63
-rw-r--r--development/jython/jython.info10
-rw-r--r--development/jython/slack-desc19
-rw-r--r--development/kForth-32/README26
-rw-r--r--development/kForth-32/doinst.sh13
-rw-r--r--development/kForth-32/kForth-32.SlackBuild115
-rw-r--r--development/kForth-32/kForth-32.desktop9
-rw-r--r--development/kForth-32/kForth-32.info10
-rw-r--r--development/kForth-32/slack-desc19
-rw-r--r--development/kForth-64/README21
-rw-r--r--development/kForth-64/doinst.sh13
-rw-r--r--development/kForth-64/kForth-64.SlackBuild113
-rw-r--r--development/kForth-64/kForth-64.desktop9
-rw-r--r--development/kForth-64/kForth-64.info10
-rw-r--r--development/kForth-64/slack-desc19
-rw-r--r--development/kaaedit/README3
-rw-r--r--development/kaaedit/kaaedit.SlackBuild20
-rw-r--r--development/kaaedit/kaaedit.info10
-rw-r--r--development/kakoune/README6
-rw-r--r--development/kakoune/kakoune.SlackBuild95
-rw-r--r--development/kakoune/kakoune.info10
-rw-r--r--development/kakoune/slack-desc4
-rw-r--r--development/kawa.bin/README12
-rw-r--r--development/kawa.bin/kawa.bin.SlackBuild84
-rw-r--r--development/kawa.bin/kawa.bin.info10
-rw-r--r--development/kawa.bin/slack-desc19
-rw-r--r--development/kconfig-frontends/gperf3.1_kconfig_id_lookup.patch11
-rw-r--r--development/kconfig-frontends/kconfig-frontends.SlackBuild32
-rw-r--r--development/kconfig-frontends/kconfig-frontends.info8
-rw-r--r--development/kcov/kcov.SlackBuild25
-rw-r--r--development/kcov/kcov.info6
-rw-r--r--development/kdesvn/kdesvn.SlackBuild18
-rw-r--r--development/kdesvn/kdesvn.info6
-rw-r--r--development/kdiff3/README31
-rw-r--r--development/kdiff3/kdiff3.SlackBuild92
-rw-r--r--development/kdiff3/kdiff3.info12
-rw-r--r--development/kdiff3/slack-desc4
-rw-r--r--development/kelbt/kelbt.SlackBuild16
-rw-r--r--development/kforth/ForthVM.diff78
-rw-r--r--development/kforth/Makefile.diff48
-rw-r--r--development/kforth/README6
-rw-r--r--development/kforth/doinst.sh13
-rw-r--r--development/kforth/kforth.SlackBuild113
-rw-r--r--development/kforth/kforth.desktop9
-rw-r--r--development/kforth/kforth.info14
-rw-r--r--development/kforth/slack-desc2
-rw-r--r--development/kicad-doc/README17
-rw-r--r--development/kicad-doc/kicad-doc.SlackBuild52
-rw-r--r--development/kicad-doc/kicad-doc.info14
-rw-r--r--development/kicad-footprints/kicad-footprints.SlackBuild18
-rw-r--r--development/kicad-footprints/kicad-footprints.info6
-rw-r--r--development/kicad-packages3D/kicad-packages3D.SlackBuild18
-rw-r--r--development/kicad-packages3D/kicad-packages3D.info6
-rw-r--r--development/kicad-symbols/kicad-symbols.SlackBuild18
-rw-r--r--development/kicad-symbols/kicad-symbols.info6
-rw-r--r--development/kicad-templates/kicad-templates.SlackBuild18
-rw-r--r--development/kicad-templates/kicad-templates.info6
-rw-r--r--development/kicad/boost-1.61.patch347
-rw-r--r--development/kicad/kicad.SlackBuild60
-rw-r--r--development/kicad/kicad.info10
-rw-r--r--development/kicad/kicad_boost_hdr.patch14
-rw-r--r--development/kiwi/kiwi.SlackBuild18
-rw-r--r--development/kodespel/README8
-rw-r--r--development/kodespel/git2tarxz.sh65
-rw-r--r--development/kodespel/kodespel.1257
-rw-r--r--development/kodespel/kodespel.SlackBuild71
-rw-r--r--development/kodespel/kodespel.info10
-rw-r--r--development/kodespel/kodespel.rst180
-rw-r--r--development/kodespel/sbo.dict19
-rw-r--r--development/kodespel/slack-desc19
-rw-r--r--development/komodo-edit/komodo-edit.SlackBuild17
-rw-r--r--development/komodo-edit/komodo-edit.info10
-rw-r--r--development/komodo-ide/komodo-ide.SlackBuild17
-rw-r--r--development/komodo-ide/komodo-ide.info10
-rw-r--r--development/kompozer/kompozer.SlackBuild16
-rw-r--r--development/kotlin/kotlin.SlackBuild17
-rw-r--r--development/kotlin/kotlin.info8
-rw-r--r--development/latrace/fix-scanner-config-for-flex-2.6.x.patch23
-rw-r--r--development/latrace/latrace.SlackBuild28
-rw-r--r--development/latrace/latrace.info2
-rw-r--r--development/lazarus/README16
-rw-r--r--development/lazarus/doinst.sh5
-rw-r--r--development/lazarus/lazarus.SlackBuild99
-rw-r--r--development/lazarus/lazarus.info12
-rw-r--r--development/lazarus/slack-desc2
-rw-r--r--development/lcov/lcov.SlackBuild20
-rw-r--r--development/lcov/lcov.info8
-rw-r--r--development/ldc/README6
-rw-r--r--development/ldc/ldc.SlackBuild112
-rw-r--r--development/ldc/ldc.info10
-rw-r--r--development/ldc/slack-desc19
-rw-r--r--development/ldns/ldns.SlackBuild137
-rw-r--r--development/ldns/ldns.info2
-rw-r--r--development/le/le.SlackBuild20
-rw-r--r--development/le/le.info6
-rw-r--r--development/lean-elan/README19
-rw-r--r--development/lean-elan/lean-elan.SlackBuild202
-rw-r--r--development/lean-elan/lean-elan.info470
-rw-r--r--development/lean-elan/slack-desc19
-rw-r--r--development/leiningen/leiningen.SlackBuild22
-rw-r--r--development/leiningen/leiningen.info14
-rw-r--r--development/leo/leo.SlackBuild16
-rw-r--r--development/leo/leo.info2
-rw-r--r--development/lepton-eda/README2
-rw-r--r--development/lepton-eda/doinst.sh5
-rw-r--r--development/lepton-eda/lepton-eda.SlackBuild25
-rw-r--r--development/lepton-eda/lepton-eda.info8
-rw-r--r--development/lepton-eda/slack-desc10
-rw-r--r--development/leveldb/leveldb.SlackBuild22
-rw-r--r--development/lfe/README3
-rw-r--r--development/lfe/lfe.SlackBuild124
-rw-r--r--development/lfe/lfe.info10
-rw-r--r--development/lfe/slack-desc19
-rw-r--r--development/libb2/libb2.SlackBuild20
-rw-r--r--development/libbitcoin/README6
-rw-r--r--development/libbitcoin/libbitcoin.SlackBuild120
-rw-r--r--development/libbitcoin/libbitcoin.info10
-rw-r--r--development/libbitcoin/slack-desc19
-rw-r--r--development/libcutl/gcc11.patch50
-rw-r--r--development/libcutl/libcutl.SlackBuild23
-rw-r--r--development/liberica-jdk-bin/README23
-rw-r--r--development/liberica-jdk-bin/liberica-jdk-bin.SlackBuild83
-rw-r--r--development/liberica-jdk-bin/liberica-jdk-bin.csh3
-rw-r--r--development/liberica-jdk-bin/liberica-jdk-bin.info10
-rw-r--r--development/liberica-jdk-bin/liberica-jdk-bin.sh3
-rw-r--r--development/liberica-jdk-bin/slack-desc19
-rw-r--r--development/libnvidia-container/README11
-rw-r--r--development/libnvidia-container/libnvidia-container.SlackBuild114
-rw-r--r--development/libnvidia-container/libnvidia-container.info10
-rw-r--r--development/libnvidia-container/slack-desc19
-rw-r--r--development/libodb-boost/README18
-rw-r--r--development/libodb-boost/libodb-boost.SlackBuild97
-rw-r--r--development/libodb-boost/libodb-boost.info10
-rw-r--r--development/libodb-boost/slack-desc19
-rw-r--r--development/libodb-mysql/README18
-rw-r--r--development/libodb-mysql/libodb-mysql.SlackBuild97
-rw-r--r--development/libodb-mysql/libodb-mysql.info10
-rw-r--r--development/libodb-mysql/slack-desc19
-rw-r--r--development/libodb-pgsql/README18
-rw-r--r--development/libodb-pgsql/libodb-pgsql.SlackBuild97
-rw-r--r--development/libodb-pgsql/libodb-pgsql.info10
-rw-r--r--development/libodb-pgsql/slack-desc19
-rw-r--r--development/libodb-qt/README18
-rw-r--r--development/libodb-qt/libodb-qt.SlackBuild97
-rw-r--r--development/libodb-qt/libodb-qt.info10
-rw-r--r--development/libodb-qt/slack-desc19
-rw-r--r--development/libodb-sqlite/README18
-rw-r--r--development/libodb-sqlite/libodb-sqlite.SlackBuild97
-rw-r--r--development/libodb-sqlite/libodb-sqlite.info10
-rw-r--r--development/libodb-sqlite/slack-desc19
-rw-r--r--development/libodb/README18
-rw-r--r--development/libodb/libodb.SlackBuild97
-rw-r--r--development/libodb/libodb.info10
-rw-r--r--development/libodb/slack-desc19
-rw-r--r--development/libtree/README16
-rw-r--r--development/libtree/libtree-3.1.1-modern-c.patch75
-rw-r--r--development/libtree/libtree.SlackBuild99
-rw-r--r--development/libtree/libtree.info10
-rw-r--r--development/libtree/slack-desc19
-rw-r--r--development/libxbgi/libxbgi.SlackBuild16
-rw-r--r--development/lighttable/README4
-rw-r--r--development/lighttable/lighttable.SlackBuild18
-rw-r--r--development/lighttable/lighttable.info2
-rw-r--r--development/likepython/likepython.SlackBuild16
-rw-r--r--development/liquibase/liquibase.SlackBuild16
-rw-r--r--development/liquibase/liquibase.info2
-rw-r--r--development/lmdb/README2
-rw-r--r--development/lmdb/lmdb.SlackBuild95
-rw-r--r--development/lmdb/lmdb.info10
-rw-r--r--development/lmdb/slack-desc19
-rw-r--r--development/logisim/logisim.SlackBuild16
-rw-r--r--development/logisim/logisim.info2
-rw-r--r--development/love-legacy072/love-legacy072.SlackBuild30
-rw-r--r--development/love-legacy072/love-legacy072.info6
-rw-r--r--development/love-legacy072/newmesafix.diff15
-rw-r--r--development/love-legacy080/love-legacy080.SlackBuild27
-rw-r--r--development/love-legacy080/love-legacy080.info6
-rw-r--r--development/love-legacy080/newmesafix.diff15
-rw-r--r--development/love/love.SlackBuild21
-rw-r--r--development/love/love.info12
-rw-r--r--development/ltrace/ltrace.SlackBuild25
-rw-r--r--development/ltrace/ltrace.info12
-rw-r--r--development/lua-language-server/README15
-rw-r--r--development/lua-language-server/lua-language-server.SlackBuild110
-rw-r--r--development/lua-language-server/lua-language-server.info10
-rw-r--r--development/lua-language-server/slack-desc19
-rw-r--r--development/lua/lua.SlackBuild22
-rw-r--r--development/lua52/lua52.SlackBuild16
-rw-r--r--development/lua53/lua53.SlackBuild16
-rw-r--r--development/luajit/luajit.SlackBuild22
-rw-r--r--development/luarocks/luarocks.SlackBuild16
-rw-r--r--development/lwtools/lwtools.SlackBuild20
-rw-r--r--development/lwtools/lwtools.info6
-rw-r--r--development/mads/README2
-rw-r--r--development/mads/mads.SlackBuild36
-rw-r--r--development/mads/mads.info12
-rw-r--r--development/maude/32-bit-fixes.patch34
-rw-r--r--development/maude/README3
-rw-r--r--development/maude/maude.SlackBuild40
-rw-r--r--development/maude/maude.info10
-rw-r--r--development/mawk/README31
-rw-r--r--development/mawk/mawk.SlackBuild51
-rw-r--r--development/mawk/mawk.info8
-rw-r--r--development/mcrl2/README5
-rw-r--r--development/mcrl2/mcrl2.SlackBuild105
-rw-r--r--development/mcrl2/mcrl2.info10
-rw-r--r--development/mcrl2/slack-desc19
-rw-r--r--development/mcu8051ide/mcu8051ide.SlackBuild22
-rw-r--r--development/md2roff/README4
-rw-r--r--development/md2roff/git2tarxz.sh47
-rw-r--r--development/md2roff/manpage.diff14
-rw-r--r--development/md2roff/md2roff.SlackBuild104
-rw-r--r--development/md2roff/md2roff.info10
-rw-r--r--development/md2roff/slack-desc19
-rw-r--r--development/mdbook/README3
-rw-r--r--development/mdbook/mdbook.SlackBuild161
-rw-r--r--development/mdbook/mdbook.info440
-rw-r--r--development/mdbook/slack-desc19
-rw-r--r--development/medit/medit.SlackBuild22
-rw-r--r--development/medit/medit.info2
-rw-r--r--development/meld/meld.SlackBuild16
-rw-r--r--development/meld3/meld3.SlackBuild37
-rw-r--r--development/meld3/meld3.info8
-rw-r--r--development/memchan/memchan.SlackBuild22
-rw-r--r--development/menhir/menhir.SlackBuild46
-rw-r--r--development/menhir/menhir.info8
-rw-r--r--development/meson/README9
-rw-r--r--development/meson/meson.SlackBuild91
-rw-r--r--development/meson/meson.info10
-rw-r--r--development/meson/slack-desc19
-rw-r--r--development/metakit/README20
-rw-r--r--development/metakit/metakit.SlackBuild153
-rw-r--r--development/metakit/metakit.info10
-rw-r--r--development/metakit/slack-desc19
-rw-r--r--development/mg-openbsd/mg-openbsd.SlackBuild28
-rw-r--r--development/mg-openbsd/mg-openbsd.info2
-rw-r--r--development/mg-troglobit/LICENSE21
-rw-r--r--development/mg-troglobit/README.md14
-rw-r--r--development/mg-troglobit/mg-troglobit.SlackBuild51
-rw-r--r--development/mg-troglobit/mg-troglobit.info6
-rw-r--r--development/micro/README20
-rw-r--r--development/micro/doinst.sh9
-rw-r--r--development/micro/micro.SlackBuild98
-rw-r--r--development/micro/micro.info10
-rw-r--r--development/micro/slack-desc19
-rw-r--r--development/ming/README9
-rw-r--r--development/ming/doinst.sh15
-rw-r--r--development/ming/ming.SlackBuild134
-rw-r--r--development/ming/ming.info10
-rw-r--r--development/ming/ming.ini2
-rw-r--r--development/ming/slack-desc19
-rw-r--r--development/minikube/minikube.SlackBuild20
-rw-r--r--development/minikube/minikube.info2
-rw-r--r--development/minimal-basic/README20
-rw-r--r--development/minimal-basic/examples/BAGELS.BAS117
-rw-r--r--development/minimal-basic/examples/HAMURABI.BAS160
-rw-r--r--development/minimal-basic/examples/PI.BAS42
-rw-r--r--development/minimal-basic/minimal-basic.SlackBuild126
-rw-r--r--development/minimal-basic/minimal-basic.info10
-rw-r--r--development/minimal-basic/slack-desc19
-rw-r--r--development/minipro/README23
-rw-r--r--development/minipro/minipro.SlackBuild110
-rw-r--r--development/minipro/minipro.info10
-rw-r--r--development/minipro/slack-desc19
-rw-r--r--development/mit-scheme/README5
-rw-r--r--development/mit-scheme/doinst.sh14
-rw-r--r--development/mit-scheme/mit-scheme.SlackBuild35
-rw-r--r--development/mit-scheme/mit-scheme.info14
-rw-r--r--development/mkchroot/mkchroot.SlackBuild20
-rw-r--r--development/mkchroot/mkchroot.info6
-rw-r--r--development/mle/README31
-rw-r--r--development/mle/mle.SlackBuild96
-rw-r--r--development/mle/mle.info10
-rw-r--r--development/mle/slack-desc19
-rw-r--r--development/mlr/mlr.SlackBuild16
-rw-r--r--development/mlton/mlton.SlackBuild16
-rw-r--r--development/mm-common/mm-common.SlackBuild20
-rw-r--r--development/mmtf-cpp/README9
-rw-r--r--development/mmtf-cpp/mmtf-cpp.SlackBuild78
-rw-r--r--development/mmtf-cpp/mmtf-cpp.info10
-rw-r--r--development/mmtf-cpp/slack-desc19
-rw-r--r--development/mockpp/mockpp.SlackBuild20
-rw-r--r--development/mold/README6
-rw-r--r--development/mold/mold.SlackBuild107
-rw-r--r--development/mold/mold.info10
-rw-r--r--development/mold/slack-desc19
-rw-r--r--development/mongodb-compass/mongodb-compass.SlackBuild17
-rw-r--r--development/mongodb-compass/mongodb-compass.info6
-rw-r--r--development/mongodb-shell/README6
-rw-r--r--development/mongodb-shell/mongodb-shell.SlackBuild75
-rw-r--r--development/mongodb-shell/mongodb-shell.info10
-rw-r--r--development/mongodb-shell/slack-desc19
-rw-r--r--development/monkey-studio/README30
-rw-r--r--development/monkey-studio/monkey-studio.SlackBuild109
-rw-r--r--development/monkey-studio/monkey-studio.info10
-rw-r--r--development/monkey-studio/slack-desc19
-rw-r--r--development/mono-addins/mono-addins.SlackBuild39
-rw-r--r--development/mono-addins/mono-addins.info8
-rw-r--r--development/mono-basic/mono-basic.SlackBuild20
-rw-r--r--development/mono-basic/mono-basic.info6
-rw-r--r--development/mono-debugger/README1
-rw-r--r--development/mono-debugger/glib-single-include.patch12
-rw-r--r--development/mono-debugger/mono-debugger.SlackBuild101
-rw-r--r--development/mono-debugger/mono-debugger.info10
-rw-r--r--development/mono-debugger/slack-desc19
-rw-r--r--development/mono/README3
-rw-r--r--development/mono/doinst.sh3
-rw-r--r--development/mono/mono.SlackBuild67
-rw-r--r--development/mono/mono.info18
-rw-r--r--development/mono/slack-desc4
-rw-r--r--development/monodevelop/README14
-rw-r--r--development/monodevelop/doinst.sh14
-rw-r--r--development/monodevelop/fix-nuget-mgm.patch12
-rw-r--r--development/monodevelop/monodevelop.SlackBuild113
-rw-r--r--development/monodevelop/monodevelop.info10
-rw-r--r--development/monodevelop/slack-desc19
-rw-r--r--development/monodevelop/srcpkg/makepkg.sh83
-rw-r--r--development/mosml/mosml.SlackBuild22
-rw-r--r--development/mosml/mosml.info2
-rw-r--r--development/mozjs/README3
-rw-r--r--development/mozjs/mozjs.SlackBuild143
-rw-r--r--development/mozjs/mozjs.info10
-rw-r--r--development/mozjs/patches/moz38-dont-hardcode-libc-soname.patch15
-rw-r--r--development/mozjs/slack-desc19
-rw-r--r--development/mphidflash/mphidflash.SlackBuild22
-rw-r--r--development/mrustc/README4
-rw-r--r--development/mrustc/mrustc.SlackBuild175
-rw-r--r--development/mrustc/mrustc.info12
-rw-r--r--development/mrustc/slack-desc19
-rw-r--r--development/msbasic2ascii/README14
-rw-r--r--development/msbasic2ascii/compile_fixes.diff63
-rw-r--r--development/msbasic2ascii/msbasic2ascii.SlackBuild83
-rw-r--r--development/msbasic2ascii/msbasic2ascii.info10
-rw-r--r--development/msbasic2ascii/slack-desc19
-rw-r--r--development/mspgcc-legacy/mspgcc-legacy.SlackBuild16
-rw-r--r--development/mstch/mstch.SlackBuild16
-rw-r--r--development/mtasc/mtasc.SlackBuild20
-rw-r--r--development/mtd-utils/mtd-utils.SlackBuild42
-rw-r--r--development/mtd-utils/mtd-utils.info6
-rw-r--r--development/muon/README6
-rw-r--r--development/muon/muon.SlackBuild122
-rw-r--r--development/muon/muon.info10
-rw-r--r--development/muon/slack-desc19
-rw-r--r--development/mutagen/README8
-rw-r--r--development/mutagen/mutagen.SlackBuild73
-rw-r--r--development/mutagen/mutagen.info12
-rw-r--r--development/mutagen/slack-desc2
-rw-r--r--development/mysql-pinba/README14
-rw-r--r--development/mysql-pinba/mysql-pinba.SlackBuild128
-rw-r--r--development/mysql-pinba/mysql-pinba.info10
-rw-r--r--development/mysql-pinba/slack-desc19
-rw-r--r--development/mysql-workbench/0003-include-list.patch12
-rw-r--r--development/mysql-workbench/0004-libxml2.patch39
-rw-r--r--development/mysql-workbench/README4
-rw-r--r--development/mysql-workbench/add-option-to-hide-nonstandard-server-warning.patch36
-rw-r--r--development/mysql-workbench/boost-1.73.0.patch123
-rw-r--r--development/mysql-workbench/copytable.patch17
-rw-r--r--development/mysql-workbench/disable-unsupported-operating-system-warning.patch29
-rw-r--r--development/mysql-workbench/fix-build-for-i686.patch51
-rw-r--r--development/mysql-workbench/gcc13.patch30
-rw-r--r--development/mysql-workbench/gdal-2.2.0.patch63
-rw-r--r--development/mysql-workbench/mysql-workbench-gnome-keyring.patch17
-rw-r--r--development/mysql-workbench/mysql-workbench-no-json.patch49
-rw-r--r--development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch29
-rw-r--r--development/mysql-workbench/mysql-workbench.SlackBuild248
-rw-r--r--development/mysql-workbench/mysql-workbench.info24
-rw-r--r--development/mysql-workbench/slackware_linux_profile.xml4
-rw-r--r--development/nant/nant.SlackBuild18
-rw-r--r--development/nchexedit/nchexedit.SlackBuild36
-rw-r--r--development/nchexedit/nchexedit.info12
-rw-r--r--development/ne/README6
-rw-r--r--development/ne/ne.SlackBuild77
-rw-r--r--development/ne/ne.info10
-rw-r--r--development/ne/slack-desc19
-rw-r--r--development/nedit/nedit.SlackBuild16
-rw-r--r--development/neko/README7
-rw-r--r--development/neko/neko.SlackBuild103
-rw-r--r--development/neko/neko.info10
-rw-r--r--development/neko/slack-desc19
-rw-r--r--development/neovim-qt/doinst.sh6
-rw-r--r--development/neovim-qt/neovim-qt.SlackBuild18
-rw-r--r--development/neovim-qt/neovim-qt.info8
-rw-r--r--development/neovim-remote/README2
-rw-r--r--development/neovim-remote/neovim-remote.SlackBuild23
-rw-r--r--development/neovim-remote/neovim-remote.info8
-rw-r--r--development/neovim/README12
-rw-r--r--development/neovim/doinst.sh5
-rw-r--r--development/neovim/neovim.SlackBuild68
-rw-r--r--development/neovim/neovim.info20
-rw-r--r--development/neovim/slack-desc2
-rw-r--r--development/netbeans/netbeans.SlackBuild18
-rw-r--r--development/netbeans/netbeans.info12
-rw-r--r--development/newlib/newlib.SlackBuild18
-rw-r--r--development/newlisp/README13
-rw-r--r--development/newlisp/newlisp.SlackBuild66
-rw-r--r--development/newlisp/newlisp.info10
-rw-r--r--development/nexus/nexus.SlackBuild23
-rw-r--r--development/nexus/nexus.info8
-rw-r--r--development/nickle/nickle.SlackBuild26
-rw-r--r--development/nickle/nickle.info6
-rw-r--r--development/nim/nim.SlackBuild21
-rw-r--r--development/nim/nim.info10
-rw-r--r--development/ninja-ide/ninja-ide.SlackBuild34
-rw-r--r--development/ninja-ide/ninja-ide.info8
-rw-r--r--development/ninja/README4
-rw-r--r--development/ninja/ninja.SlackBuild95
-rw-r--r--development/ninja/ninja.info10
-rw-r--r--development/ninja/slack-desc19
-rw-r--r--development/nodeenv/README14
-rw-r--r--development/nodeenv/nodeenv.SlackBuild84
-rw-r--r--development/nodeenv/nodeenv.info10
-rw-r--r--development/nodeenv/slack-desc19
-rw-r--r--development/nodejs-bin/README8
-rw-r--r--development/nodejs-bin/nodejs-bin.SlackBuild104
-rw-r--r--development/nodejs-bin/nodejs-bin.info10
-rw-r--r--development/nodejs-bin/npm.sh58
-rw-r--r--development/nodejs-bin/slack-desc19
-rw-r--r--development/nodejs/nodejs.SlackBuild49
-rw-r--r--development/nodejs/nodejs.info6
-rw-r--r--development/nose/nose.SlackBuild18
-rw-r--r--development/notepadnext/README4
-rw-r--r--development/notepadnext/doinst.sh9
-rw-r--r--development/notepadnext/notepadnext.SlackBuild120
-rw-r--r--development/notepadnext/notepadnext.info20
-rw-r--r--development/notepadnext/slack-desc19
-rw-r--r--development/notepadqq/notepadqq.SlackBuild30
-rw-r--r--development/notepadqq/notepadqq.desktop.patch30
-rw-r--r--development/notepadqq/notepadqq.info10
-rw-r--r--development/noweb/make_cleanup.diff1661
-rw-r--r--development/noweb/noweb.SlackBuild123
-rw-r--r--development/noweb/noweb.info8
-rw-r--r--development/noweb/patches/make_cleanup.diff733
-rw-r--r--development/npm2tgz/npm2tgz.SlackBuild17
-rw-r--r--development/npm2tgz/npm2tgz.info8
-rw-r--r--development/npm2tgz/slack-desc2
-rw-r--r--development/nsis/README6
-rw-r--r--development/nsis/nsis-fix-compile.patch10
-rw-r--r--development/nsis/nsis.SlackBuild107
-rw-r--r--development/nsis/nsis.info12
-rw-r--r--development/nsis/slack-desc19
-rw-r--r--development/nuget/README3
-rw-r--r--development/nuget/nuget.SlackBuild67
-rw-r--r--development/nuget/nuget.info10
-rw-r--r--development/nuget/slack-desc19
-rw-r--r--development/numpy-legacy/numpy-legacy.SlackBuild18
-rw-r--r--development/numpy-legacy3/README39
-rw-r--r--development/numpy-legacy3/README.ATLAS13
-rw-r--r--development/numpy-legacy3/numpy-legacy3.SlackBuild164
-rw-r--r--development/numpy-legacy3/numpy-legacy3.info10
-rw-r--r--development/numpy-legacy3/slack-desc19
-rw-r--r--development/numpy/README41
-rw-r--r--development/numpy/numpy.SlackBuild153
-rw-r--r--development/numpy/numpy.info10
-rw-r--r--development/numpy/slack-desc19
-rw-r--r--development/numpy3/README39
-rw-r--r--development/numpy3/numpy3.SlackBuild144
-rw-r--r--development/numpy3/numpy3.info10
-rw-r--r--development/numpy3/slack-desc19
-rw-r--r--development/nvi/README7
-rw-r--r--development/nvi/nvi.SlackBuild109
-rw-r--r--development/nvi/nvi.info10
-rw-r--r--development/nvi/patches/nvi.diffs28
-rw-r--r--development/nvi/slack-desc19
-rw-r--r--development/nvidia-container-toolkit/README7
-rw-r--r--development/nvidia-container-toolkit/config.toml.new32
-rw-r--r--development/nvidia-container-toolkit/doinst.sh99
-rw-r--r--development/nvidia-container-toolkit/nvidia-container-toolkit.SlackBuild112
-rw-r--r--development/nvidia-container-toolkit/nvidia-container-toolkit.info10
-rw-r--r--development/nvidia-container-toolkit/oci-nvidia-hook.json.new15
-rw-r--r--development/nvidia-container-toolkit/slack-desc19
-rw-r--r--development/nwjs/nwjs.SlackBuild23
-rw-r--r--development/nwjs/nwjs.info14
-rw-r--r--development/obcpl/README17
-rw-r--r--development/obcpl/examples/Makefile17
-rw-r--r--development/obcpl/examples/README14
-rw-r--r--development/obcpl/examples/factorial.b9
-rw-r--r--development/obcpl/examples/hello.b6
-rw-r--r--development/obcpl/fix_segfault.diff12
-rw-r--r--development/obcpl/obcpl.SlackBuild77
-rw-r--r--development/obcpl/obcpl.info6
-rw-r--r--development/obnc-libext/obnc-libext.SlackBuild16
-rw-r--r--development/obnc/obnc.SlackBuild16
-rw-r--r--development/obsidian/README13
-rw-r--r--development/obsidian/doinst.sh9
-rw-r--r--development/obsidian/obsidian.SlackBuild85
-rw-r--r--development/obsidian/obsidian.info10
-rw-r--r--development/obsidian/slack-desc19
-rw-r--r--development/ocaml-num/README6
-rw-r--r--development/ocaml-num/ocaml-num.SlackBuild102
-rw-r--r--development/ocaml-num/ocaml-num.info10
-rw-r--r--development/ocaml-num/slack-desc19
-rw-r--r--development/ocaml/configure.patch25
-rw-r--r--development/ocaml/ocaml.SlackBuild61
-rw-r--r--development/ocaml/ocaml.info14
-rw-r--r--development/ocamlbuild/ocamlbuild.SlackBuild20
-rw-r--r--development/ocamlbuild/ocamlbuild.info6
-rw-r--r--development/octant/README2
-rw-r--r--development/octant/octant.SlackBuild27
-rw-r--r--development/octant/octant.info8
-rw-r--r--development/octant/slack-desc2
-rw-r--r--development/odb/README18
-rw-r--r--development/odb/odb.SlackBuild100
-rw-r--r--development/odb/odb.info10
-rw-r--r--development/odb/slack-desc19
-rw-r--r--development/ola/README10
-rw-r--r--development/ola/ola.SlackBuild95
-rw-r--r--development/ola/ola.info10
-rw-r--r--development/ola/slack-desc19
-rw-r--r--development/omake/omake-warn-error.diff11
-rw-r--r--development/omake/omake.SlackBuild48
-rw-r--r--development/omake/omake.info8
-rw-r--r--development/omniORB/omniORB.SlackBuild24
-rw-r--r--development/omniORB/omniORB.info6
-rw-r--r--development/omniORBpy/README4
-rw-r--r--development/omniORBpy/omniORBpy.SlackBuild43
-rw-r--r--development/omniORBpy/omniORBpy.info6
-rw-r--r--development/oneDPL/README4
-rw-r--r--development/oneDPL/oneDPL.SlackBuild117
-rw-r--r--development/oneDPL/oneDPL.info10
-rw-r--r--development/oneDPL/slack-desc19
-rw-r--r--development/oneTBB/README13
-rw-r--r--development/oneTBB/oneTBB.SlackBuild122
-rw-r--r--development/oneTBB/oneTBB.info10
-rw-r--r--development/oneTBB/slack-desc19
-rw-r--r--development/onetrueawk/README17
-rw-r--r--development/onetrueawk/git2tarxz.sh61
-rw-r--r--development/onetrueawk/onetrueawk.SlackBuild83
-rw-r--r--development/onetrueawk/onetrueawk.info10
-rw-r--r--development/onetrueawk/slack-desc19
-rw-r--r--development/oni/oni.SlackBuild16
-rw-r--r--development/oniguruma/README3
-rw-r--r--development/oniguruma/oniguruma.SlackBuild104
-rw-r--r--development/oniguruma/oniguruma.info10
-rw-r--r--development/oniguruma/slack-desc19
-rw-r--r--development/opencl-headers/README3
-rw-r--r--development/opencl-headers/opencl-headers.SlackBuild57
-rw-r--r--development/opencl-headers/opencl-headers.info10
-rw-r--r--development/opencl-headers/slack-desc19
-rw-r--r--development/opencomal/opencomal.SlackBuild15
-rw-r--r--development/opencomal/opencomal.info2
-rw-r--r--development/opencvs/opencvs.SlackBuild24
-rw-r--r--development/opendbx/README6
-rw-r--r--development/opendbx/inputname.diff2353
-rw-r--r--development/opendbx/odbxtest_exit_1_on_error.diff34
-rw-r--r--development/opendbx/opendbx.SlackBuild108
-rw-r--r--development/opendbx/opendbx.info10
-rw-r--r--development/opendbx/slack-desc19
-rw-r--r--development/opendbx/use_local_dtd.diff30
-rw-r--r--development/openjdk6/README32
-rw-r--r--development/openjdk6/cacertsbin192567 -> 0 bytes
-rw-r--r--development/openjdk6/openjdk6.SlackBuild122
-rw-r--r--development/openjdk6/openjdk6.info12
-rw-r--r--development/openjdk6/profile.d/openjdk6.csh4
-rw-r--r--development/openjdk6/profile.d/openjdk6.sh4
-rw-r--r--development/openjdk6/slack-desc19
-rw-r--r--development/openjdk7/README31
-rw-r--r--development/openjdk7/openjdk7.SlackBuild114
-rw-r--r--development/openjdk7/openjdk7.info44
-rw-r--r--development/openjdk8/README19
-rw-r--r--development/openjdk8/openjdk8.SlackBuild41
-rw-r--r--development/openjdk8/openjdk8.info26
-rw-r--r--development/openmodelica/README10
-rw-r--r--development/openmodelica/openmodelica.SlackBuild151
-rw-r--r--development/openmodelica/openmodelica.info26
-rw-r--r--development/openmodelica/slack-desc19
-rw-r--r--development/openocd/0001-build-remove-warnings-with-gcc-11.patch83
-rw-r--r--development/openocd/openocd.SlackBuild28
-rw-r--r--development/openocd/openocd.info6
-rw-r--r--development/opentofu/README15
-rw-r--r--development/opentofu/opentofu.SlackBuild99
-rw-r--r--development/opentofu/opentofu.info10
-rw-r--r--development/opentofu/slack-desc19
-rw-r--r--development/openvr/openvr.SlackBuild16
-rw-r--r--development/ophis/README17
-rw-r--r--development/ophis/git2tarxz.sh66
-rw-r--r--development/ophis/ophis.1134
-rw-r--r--development/ophis/ophis.SlackBuild72
-rw-r--r--development/ophis/ophis.info10
-rw-r--r--development/ophis/ophis.rst83
-rw-r--r--development/ophis/slack-desc19
-rw-r--r--development/osc/osc.SlackBuild16
-rw-r--r--development/osmo-sdr/osmo-sdr.SlackBuild16
-rw-r--r--development/p4/p4.SlackBuild16
-rw-r--r--development/p4d/p4d.SlackBuild16
-rw-r--r--development/p4v/p4v.SlackBuild18
-rw-r--r--development/pahole/pahole.SlackBuild33
-rw-r--r--development/pahole/pahole.info8
-rw-r--r--development/pandas/pandas.SlackBuild16
-rw-r--r--development/pandas/pandas.info2
-rw-r--r--development/pasdoc/pasdoc.SlackBuild18
-rw-r--r--development/patchutils/patchutils.SlackBuild26
-rw-r--r--development/patchutils/patchutils.info6
-rw-r--r--development/pcbasic/README10
-rw-r--r--development/pcbasic/doinst.sh9
-rw-r--r--development/pcbasic/pcbasic.SlackBuild99
-rw-r--r--development/pcbasic/pcbasic.info12
-rw-r--r--development/pcbasic/slack-desc19
-rw-r--r--development/pcc/README39
-rw-r--r--development/pcc/pcc.SlackBuild74
-rw-r--r--development/pcc/pcc.info12
-rw-r--r--development/pcc/slack-desc2
-rw-r--r--development/pd-psql/pd-psql.SlackBuild25
-rw-r--r--development/peg/peg.SlackBuild16
-rw-r--r--development/perf/README21
-rw-r--r--development/perf/perf.SlackBuild61
-rw-r--r--development/perf/perf.info4
-rw-r--r--development/perl-shtags/README24
-rw-r--r--development/perl-shtags/perl-shtags.SlackBuild66
-rw-r--r--development/perl-shtags/perl-shtags.info10
-rw-r--r--development/perl-shtags/slack-desc19
-rw-r--r--development/pforth/README3
-rw-r--r--development/pforth/pforth-build.patch10
-rw-r--r--development/pforth/pforth.SlackBuild69
-rw-r--r--development/pforth/pforth.info6
-rw-r--r--development/pgmodeler/README5
-rw-r--r--development/pgmodeler/doinst.sh (renamed from development/monkey-studio/doinst.sh)0
-rw-r--r--development/pgmodeler/pgmodeler.SlackBuild122
-rw-r--r--development/pgmodeler/pgmodeler.info10
-rw-r--r--development/pgmodeler/slack-desc19
-rw-r--r--development/phantomjs/patches/build-no-ghostdriver.patch63
-rw-r--r--development/phantomjs/patches/build-qt-components.patch18
-rw-r--r--development/phantomjs/patches/build-qt55-evaluateJavaScript.patch169
-rw-r--r--development/phantomjs/patches/build-qt55-no-websecurity.patch54
-rw-r--r--development/phantomjs/patches/build-qt55-print.patch34
-rw-r--r--development/phantomjs/patches/build-qtpath.patch18
-rw-r--r--development/phantomjs/patches/fix-missing-webkit-include-files.patch23
-rw-r--r--development/phantomjs/patches/unlock-qt.patch17
-rw-r--r--development/phantomjs/phantomjs3
-rw-r--r--development/phantomjs/phantomjs.SlackBuild101
-rw-r--r--development/phantomjs/phantomjs.info8
-rw-r--r--development/phantomjs/qt-gcc5.patch58
-rw-r--r--development/php-apcu/php-apcu.SlackBuild22
-rw-r--r--development/php-apcu/php-apcu.info6
-rw-r--r--development/php-pinba/README6
-rw-r--r--development/php-pinba/doinst.sh15
-rw-r--r--development/php-pinba/php-pinba.SlackBuild113
-rw-r--r--development/php-pinba/php-pinba.info10
-rw-r--r--development/php-pinba/pinba.ini8
-rw-r--r--development/php-pinba/slack-desc19
-rw-r--r--development/php-xdebug/README (renamed from development/xdebug/README)0
-rw-r--r--development/php-xdebug/doinst.sh (renamed from development/xdebug/doinst.sh)0
-rw-r--r--development/php-xdebug/php-xdebug.SlackBuild133
-rw-r--r--development/php-xdebug/php-xdebug.info10
-rw-r--r--development/php-xdebug/slack-desc19
-rw-r--r--development/php-xdebug/xdebug.ini2
-rw-r--r--development/php82/README36
-rw-r--r--development/php82/doinst.sh18
-rw-r--r--development/php82/php82.SlackBuild222
-rw-r--r--development/php82/php82.info10
-rw-r--r--development/php82/slack-desc19
-rw-r--r--development/phpDocumentor/phpDocumentor.SlackBuild16
-rw-r--r--development/pingendo/pingendo.SlackBuild16
-rw-r--r--development/pinner/README23
-rw-r--r--development/pinner/pinner.SlackBuild102
-rw-r--r--development/pinner/pinner.info10
-rw-r--r--development/pinner/slack-desc19
-rw-r--r--development/pip2tgz/pip2tgz.SlackBuild20
-rw-r--r--development/pip2tgz/pip2tgz.info8
-rw-r--r--development/pkgconf/README5
-rw-r--r--development/pkgconf/pkgconf.SlackBuild25
-rw-r--r--development/pkgconf/pkgconf.info6
-rw-r--r--development/pkgdiff/pkgdiff.SlackBuild22
-rw-r--r--development/pkgdiff/pkgdiff.info2
-rw-r--r--development/pli/README13
-rw-r--r--development/pli/README_SBo.txt37
-rw-r--r--development/pli/pli.SlackBuild87
-rw-r--r--development/pli/pli.info12
-rw-r--r--development/pli/plic.1216
-rw-r--r--development/pli/plic.rst190
-rw-r--r--development/pli/slack-desc19
-rw-r--r--development/pocl/README23
-rw-r--r--development/pocl/pocl.SlackBuild121
-rw-r--r--development/pocl/pocl.info10
-rw-r--r--development/pocl/slack-desc19
-rw-r--r--development/poedit/README6
-rw-r--r--development/poedit/poedit.SlackBuild24
-rw-r--r--development/poedit/poedit.info8
-rw-r--r--development/poedit/setvalue.diff11
-rw-r--r--development/polyml/polyml.SlackBuild26
-rw-r--r--development/portaudio/portaudio.SlackBuild46
-rw-r--r--development/portaudio/portaudio.info12
-rw-r--r--development/portaudio/slack-desc2
-rw-r--r--development/postman/doinst.sh10
-rw-r--r--development/postman/postman.SlackBuild36
-rw-r--r--development/postman/postman.desktop8
-rw-r--r--development/postman/postman.info12
-rw-r--r--development/postman/slack-desc2
-rw-r--r--development/power-architect/power-architect.SlackBuild16
-rw-r--r--development/power-architect/power-architect.info2
-rw-r--r--development/pre-commit/README2
-rw-r--r--development/pre-commit/pre-commit.SlackBuild80
-rw-r--r--development/pre-commit/pre-commit.info10
-rw-r--r--development/pre-commit/slack-desc19
-rw-r--r--development/premake/premake.SlackBuild22
-rw-r--r--development/premake5/README8
-rw-r--r--development/premake5/premake5.SlackBuild104
-rw-r--r--development/premake5/premake5.info10
-rw-r--r--development/premake5/slack-desc19
-rw-r--r--development/processing/processing.SlackBuild16
-rw-r--r--development/processing/processing.info2
-rw-r--r--development/protobuf3/README27
-rw-r--r--development/protobuf3/protobuf3.SlackBuild123
-rw-r--r--development/protobuf3/protobuf3.info12
-rw-r--r--development/protobuf3/slack-desc19
-rw-r--r--development/protobuf3/soversion.patch36
-rw-r--r--development/protoc-gen-go-grpc/README2
-rw-r--r--development/protoc-gen-go-grpc/modules.txt6
-rw-r--r--development/protoc-gen-go-grpc/protoc-gen-go-grpc.SlackBuild117
-rw-r--r--development/protoc-gen-go-grpc/protoc-gen-go-grpc.info12
-rw-r--r--development/protoc-gen-go-grpc/slack-desc19
-rw-r--r--development/protoc-gen-go/README10
-rw-r--r--development/protoc-gen-go/protoc-gen-go.SlackBuild101
-rw-r--r--development/protoc-gen-go/protoc-gen-go.info10
-rw-r--r--development/protoc-gen-go/slack-desc19
-rw-r--r--development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild16
-rw-r--r--development/psycopg2/README3
-rw-r--r--development/psycopg2/psycopg2.SlackBuild76
-rw-r--r--development/psycopg2/psycopg2.info10
-rw-r--r--development/psycopg2/slack-desc19
-rw-r--r--development/pudb/GETTING_STARTED12
-rw-r--r--development/pudb/README31
-rw-r--r--development/pudb/pudb.SlackBuild119
-rw-r--r--development/pudb/pudb.info12
-rw-r--r--development/pycharm/pycharm.SlackBuild30
-rw-r--r--development/pycharm/pycharm.info8
-rw-r--r--development/pyclewn/pyclewn.SlackBuild22
-rw-r--r--development/pycscope/pycscope.SlackBuild18
-rw-r--r--development/pyenchant/pyenchant.SlackBuild22
-rw-r--r--development/pylint/pylint.SlackBuild16
-rw-r--r--development/pylint/pylint.info2
-rw-r--r--development/pyqt-distutils/README3
-rw-r--r--development/pyqt-distutils/pyqt-distutils.SlackBuild87
-rw-r--r--development/pyqt-distutils/pyqt-distutils.info10
-rw-r--r--development/pyqt-distutils/slack-desc19
-rw-r--r--development/pyside-tools/pyside-tools.SlackBuild22
-rw-r--r--development/pyside-tools/pyside-tools.info2
-rw-r--r--development/python-sphinx-lv2-theme/README3
-rw-r--r--development/python-sphinx-lv2-theme/python-sphinx-lv2-theme.SlackBuild94
-rw-r--r--development/python-sphinx-lv2-theme/python-sphinx-lv2-theme.info10
-rw-r--r--development/python-sphinx-lv2-theme/slack-desc19
-rw-r--r--development/python2-cycler/README (renamed from development/cycler/README)0
-rw-r--r--development/python2-cycler/python2-cycler.SlackBuild83
-rw-r--r--development/python2-cycler/python2-cycler.info10
-rw-r--r--development/python2-cycler/slack-desc19
-rw-r--r--development/python2-numpy/README40
-rw-r--r--development/python2-numpy/README.ATLAS (renamed from development/numpy/README.ATLAS)0
-rw-r--r--development/python2-numpy/python2-numpy.SlackBuild164
-rw-r--r--development/python2-numpy/python2-numpy.info10
-rw-r--r--development/python2-numpy/slack-desc19
-rw-r--r--development/python3-cycler/README4
-rw-r--r--development/python3-cycler/python3-cycler.SlackBuild20
-rw-r--r--development/python3-cycler/python3-cycler.info8
-rw-r--r--development/python3-cycler/slack-desc2
-rw-r--r--development/python3-hylang/README11
-rw-r--r--development/python3-hylang/python3-hylang.SlackBuild113
-rw-r--r--development/python3-hylang/python3-hylang.info10
-rw-r--r--development/python3-hylang/slack-desc19
-rw-r--r--development/python3-hyrule/README7
-rw-r--r--development/python3-hyrule/python3-hyrule.SlackBuild115
-rw-r--r--development/python3-hyrule/python3-hyrule.info10
-rw-r--r--development/python3-hyrule/slack-desc19
-rw-r--r--development/python3-matplotlib/README5
-rw-r--r--development/python3-matplotlib/python3-matplotlib.SlackBuild34
-rw-r--r--development/python3-matplotlib/python3-matplotlib.info12
-rw-r--r--development/python3-matplotlib/setupext.py2158
-rw-r--r--development/python3-numpy-legacy/README45
-rw-r--r--development/python3-numpy-legacy/README.ATLAS (renamed from development/numpy3/README.ATLAS)0
-rw-r--r--development/python3-numpy-legacy/python3-numpy-legacy.SlackBuild136
-rw-r--r--development/python3-numpy-legacy/python3-numpy-legacy.info10
-rw-r--r--development/python3-numpy-legacy/slack-desc19
-rw-r--r--development/python3-numpy/README36
-rw-r--r--development/python3-numpy/README.ATLAS10
-rw-r--r--development/python3-numpy/python3-numpy.SlackBuild138
-rw-r--r--development/python3-numpy/python3-numpy.info10
-rw-r--r--development/python3-numpy/slack-desc19
-rw-r--r--development/python3-pyqt-distutils/README5
-rw-r--r--development/python3-pyqt-distutils/python3-pyqt-distutils.SlackBuild94
-rw-r--r--development/python3-pyqt-distutils/python3-pyqt-distutils.info10
-rw-r--r--development/python3-pyqt-distutils/slack-desc19
-rw-r--r--development/python3-spyder-kernels/README6
-rw-r--r--development/python3-spyder-kernels/python3-spyder-kernels.SlackBuild85
-rw-r--r--development/python3-spyder-kernels/python3-spyder-kernels.info10
-rw-r--r--development/python3-spyder-kernels/slack-desc19
-rw-r--r--development/pyvim/pyvim.SlackBuild18
-rw-r--r--development/pyvim/pyvim.info2
-rw-r--r--development/qb64/README22
-rw-r--r--development/qb64/doinst.sh13
-rw-r--r--development/qb64/qb64-launcher40
-rw-r--r--development/qb64/qb64.144
-rw-r--r--development/qb64/qb64.SlackBuild99
-rw-r--r--development/qb64/qb64.desktop9
-rw-r--r--development/qb64/qb64.info10
-rw-r--r--development/qb64/qb64.pngbin0 -> 6847 bytes
-rw-r--r--development/qb64/run_qb64.sh11
-rw-r--r--development/qb64/slack-desc19
-rw-r--r--development/qb64pe/README21
-rw-r--r--development/qb64pe/doinst.sh13
-rw-r--r--development/qb64pe/qb64pe-launcher24
-rw-r--r--development/qb64pe/qb64pe.156
-rw-r--r--development/qb64pe/qb64pe.SlackBuild91
-rw-r--r--development/qb64pe/qb64pe.desktop9
-rw-r--r--development/qb64pe/qb64pe.info10
-rw-r--r--development/qb64pe/qb64pe.pngbin0 -> 17438 bytes
-rw-r--r--development/qb64pe/slack-desc19
-rw-r--r--development/qbe/README9
-rw-r--r--development/qbe/qbe.SlackBuild102
-rw-r--r--development/qbe/qbe.info10
-rw-r--r--development/qbe/slack-desc19
-rw-r--r--development/qbs/qbs.SlackBuild16
-rw-r--r--development/qbs/qbs.info2
-rw-r--r--development/qbsolv/README5
-rw-r--r--development/qbsolv/qbsolv.SlackBuild103
-rw-r--r--development/qbsolv/qbsolv.info10
-rw-r--r--development/qbsolv/slack-desc19
-rw-r--r--development/qconf/qconf.SlackBuild16
-rw-r--r--development/qconf/qconf.info2
-rw-r--r--development/qt-creator-llvm/patches/010_D35355_Fix-templated-type-alias-completion-when-using-global-completion-cache.patch71
-rw-r--r--development/qt-creator-llvm/patches/020_D37435_Dont-show-deleted-function-constructor-candidates-for-code-completion.patch50
-rw-r--r--development/qt-creator-llvm/patches/030_D38615_Only-mark-CXCursors-for-explicit-attributes-with-a-type.patch34
-rw-r--r--development/qt-creator-llvm/patches/040_D39957_Honor-TerseOutput-for-constructors.patch266
-rw-r--r--development/qt-creator-llvm/patches/050_D40027_Fix-cursors-for-in-class-initializer-of-field-declarations.patch33
-rw-r--r--development/qt-creator-llvm/patches/060_D40072_Support-querying-whether-a-declaration-is-invalid.patch154
-rw-r--r--development/qt-creator-llvm/patches/070_D40561_Fix-cursors-for-functions-with-trailing-return-type.patch79
-rw-r--r--development/qt-creator-llvm/patches/080_D40643_Add-function-to-get-the-buffer-for-a-file.patch78
-rw-r--r--development/qt-creator-llvm/patches/090_D40746_Correctly-handle-line-table-entries-without-filenames-during-AST-serialization.patch47
-rw-r--r--development/qt-creator-llvm/patches/100_D40841_Fix-a-crash-on-C++17-AST-for-non-trivial-construction-into-a-trivial-brace-initialize.patch117
-rw-r--r--development/qt-creator-llvm/patches/110_D41016_Fix-crash-in-unused-lambda-capture-warning-for-VLAs.patch37
-rw-r--r--development/qt-creator-llvm/patches/120_D41688_Fix-crash-on-code-completion-in-comment-in-included-file.patch47
-rw-r--r--development/qt-creator-llvm/patches/130_QTCREATORBUG-15157_Link-with-clazy_clang.patch25
-rw-r--r--development/qt-creator-llvm/patches/140_QTCREATORBUG-15157_Link-with-clazy_extra.patch13
-rw-r--r--development/qt-creator-llvm/patches/150_QTCREATORBUG-15157_Link-with-clazy_llvm.patch23
-rw-r--r--development/qt-creator-llvm/patches/160_QTCREATORBUG-15449_Fix-files-lock-on-Windows.patch16
-rw-r--r--development/qt-creator-llvm/patches/170_D40013_DeclPrinter-Allow-printing-fully-qualified-name.patch144
-rw-r--r--development/qt-creator-llvm/patches/180_D39903_libclang-Allow-pretty-printing-declarations.patch546
-rw-r--r--development/qt-creator-llvm/patches/200_D36390_Fix-overloaded-static-functions-in-SemaCodeComplete.patch148
-rw-r--r--development/qt-creator-llvm/patches/210_D43453_Fix-overloaded-static-functions-for-templates.patch165
-rw-r--r--development/qt-creator-llvm/patches/220_Support-std-has_unique_object_represesentations.patch739
-rw-r--r--development/qt-creator-llvm/patches/230_D40673_Add-Float128-as-alias-to-__float128.patch122
-rw-r--r--development/qt-creator-llvm/patches/README.md149
-rw-r--r--development/qt-creator-llvm/qt-creator-llvm.SlackBuild87
-rw-r--r--development/qt-creator-llvm/qt-creator-llvm.info10
-rw-r--r--development/qt-creator/qt-creator.SlackBuild26
-rw-r--r--development/qt-creator/qt-creator.info8
-rw-r--r--development/qt-creator2/README23
-rw-r--r--development/qt-creator2/doinst.sh14
-rw-r--r--development/qt-creator2/qt-creator.desktop12
-rw-r--r--development/qt-creator2/qt-creator2.SlackBuild110
-rw-r--r--development/qt-creator2/qt-creator2.info10
-rw-r--r--development/qt-creator2/slack-desc19
-rw-r--r--development/qt-creator2/x-qt-creator.xml8
-rw-r--r--development/quickjs/README37
-rw-r--r--development/quickjs/patches/01-Makefile.patch116
-rw-r--r--development/quickjs/patches/02-qjsc.c.patch12
-rw-r--r--development/quickjs/quickjs.SlackBuild103
-rw-r--r--development/quickjs/quickjs.info10
-rw-r--r--development/quickjs/slack-desc19
-rw-r--r--development/quilt/quilt.SlackBuild22
-rw-r--r--development/racer/README5
-rw-r--r--development/racer/racer.SlackBuild53
-rw-r--r--development/racer/racer.info440
-rw-r--r--development/racket/racket.SlackBuild22
-rw-r--r--development/racket/racket.info2
-rw-r--r--development/radare2/radare2.SlackBuild20
-rw-r--r--development/radare2/radare2.info6
-rw-r--r--development/ragel/lib64.patch15
-rw-r--r--development/ragel/ragel.SlackBuild46
-rw-r--r--development/ragel/ragel.info6
-rw-r--r--development/ragel/shared-colm.patch31
-rw-r--r--development/rapidsvn/rapidsvn-wx3.0.patch203
-rw-r--r--development/rapidsvn/rapidsvn.SlackBuild40
-rw-r--r--development/rapidsvn/rapidsvn.info4
-rw-r--r--development/rarian/rarian.SlackBuild25
-rw-r--r--development/rarian/rarian.info10
-rw-r--r--development/ratfor/README27
-rw-r--r--development/ratfor/ratfor.SlackBuild100
-rw-r--r--development/ratfor/ratfor.info10
-rw-r--r--development/ratfor/slack-desc19
-rw-r--r--development/re2c/README6
-rw-r--r--development/re2c/re2c.SlackBuild109
-rw-r--r--development/re2c/re2c.info10
-rw-r--r--development/re2c/slack-desc19
-rw-r--r--development/rebar/README4
-rw-r--r--development/rebar/rebar.SlackBuild100
-rw-r--r--development/rebar/rebar.info10
-rw-r--r--development/rebar/slack-desc19
-rw-r--r--development/rebar3/README16
-rw-r--r--development/rebar3/rebar3.SlackBuild103
-rw-r--r--development/rebar3/rebar3.info10
-rw-r--r--development/rebar3/slack-desc19
-rw-r--r--development/reckless/reckless.SlackBuild22
-rw-r--r--development/reckless/reckless.info6
-rw-r--r--development/recutils/README10
-rw-r--r--development/recutils/configure.ac.patch4
-rw-r--r--development/recutils/mdb2rec.c.patch9
-rw-r--r--development/recutils/recutils.SlackBuild122
-rw-r--r--development/recutils/recutils.info10
-rw-r--r--development/recutils/slack-desc19
-rw-r--r--development/redo/redo.SlackBuild22
-rw-r--r--development/redo/redo.info8
-rw-r--r--development/referenceassemblies-pcl/README8
-rw-r--r--development/referenceassemblies-pcl/referenceassemblies-pcl.SlackBuild65
-rw-r--r--development/referenceassemblies-pcl/referenceassemblies-pcl.info10
-rw-r--r--development/referenceassemblies-pcl/slack-desc19
-rw-r--r--development/reflex/reflex.SlackBuild22
-rw-r--r--development/reflex/reflex.info10
-rw-r--r--development/regexxer/regexxer.SlackBuild22
-rw-r--r--development/regina-rexx/README13
-rw-r--r--development/regina-rexx/regina-rexx.SlackBuild19
-rw-r--r--development/regina-rexx/regina-rexx.info6
-rw-r--r--development/remake/README5
-rw-r--r--development/remake/doinst.sh3
-rw-r--r--development/remake/remake.SlackBuild120
-rw-r--r--development/remake/remake.info10
-rw-r--r--development/remake/slack-desc19
-rw-r--r--development/reuse-tool/README5
-rw-r--r--development/reuse-tool/changelog11
-rw-r--r--development/reuse-tool/reuse-tool.SlackBuild99
-rw-r--r--development/reuse-tool/reuse-tool.info10
-rw-r--r--development/reuse-tool/slack-desc19
-rw-r--r--development/rgbds/README9
-rw-r--r--development/rgbds/rgbds.SlackBuild104
-rw-r--r--development/rgbds/rgbds.info10
-rw-r--r--development/rgbds/slack-desc19
-rw-r--r--development/rizin/README11
-rw-r--r--development/rizin/rizin.SlackBuild116
-rw-r--r--development/rizin/rizin.info10
-rw-r--r--development/rizin/slack-desc19
-rw-r--r--development/rmac/rmac.161
-rw-r--r--development/rmac/rmac.SlackBuild25
-rw-r--r--development/rmac/rmac.info10
-rw-r--r--development/rmac/rmac.rst40
-rw-r--r--development/rmlmmc/rmlmmc.SlackBuild22
-rw-r--r--development/robomongo/robomongo.SlackBuild16
-rw-r--r--development/robotframework/robotframework.SlackBuild36
-rw-r--r--development/robotframework/robotframework.info6
-rw-r--r--development/roswell/README15
-rw-r--r--development/roswell/roswell.SlackBuild117
-rw-r--r--development/roswell/roswell.info10
-rw-r--r--development/roswell/slack-desc19
-rw-r--r--development/rr/README5
-rw-r--r--development/rr/rr.SlackBuild103
-rw-r--r--development/rr/rr.info10
-rw-r--r--development/rr/slack-desc19
-rw-r--r--development/rstudio-desktop-legacy/README8
-rw-r--r--development/rstudio-desktop-legacy/doinst.sh13
-rw-r--r--development/rstudio-desktop-legacy/rstudio-desktop-legacy.SlackBuild100
-rw-r--r--development/rstudio-desktop-legacy/rstudio-desktop-legacy.info10
-rw-r--r--development/rstudio-desktop-legacy/slack-desc19
-rw-r--r--development/rstudio-desktop/README29
-rw-r--r--development/rstudio-desktop/rstudio-desktop.SlackBuild63
-rw-r--r--development/rstudio-desktop/rstudio-desktop.info18
-rw-r--r--development/rstudio-desktop/slack-desc2
-rw-r--r--development/rtags/rtags.SlackBuild16
-rw-r--r--development/rtaudio/README15
-rw-r--r--development/rtaudio/rtaudio.SlackBuild121
-rw-r--r--development/rtaudio/rtaudio.info10
-rw-r--r--development/rtaudio/slack-desc19
-rw-r--r--development/ruff/ruff.SlackBuild84
-rw-r--r--development/ruff/ruff.info12
-rw-r--r--development/rust16/README21
-rw-r--r--development/rust16/rust16.SlackBuild140
-rw-r--r--development/rust16/rust16.info12
-rw-r--r--development/rust16/slack-desc19
-rw-r--r--development/rustup/README3
-rw-r--r--development/rustup/offline_build.diff.gzbin523 -> 0 bytes
-rw-r--r--development/rustup/rustup.SlackBuild63
-rw-r--r--development/rustup/rustup.info944
-rw-r--r--development/s51dude/s51dude.SlackBuild34
-rw-r--r--development/s51dude/s51dude.info2
-rw-r--r--development/sam/sam.SlackBuild16
-rw-r--r--development/samurai/README16
-rw-r--r--development/samurai/samurai.SlackBuild23
-rw-r--r--development/samurai/samurai.info6
-rw-r--r--development/sasm/README2
-rw-r--r--development/sasm/doinst.sh (renamed from development/wheel/doinst.sh)0
-rw-r--r--development/sasm/sasm.SlackBuild104
-rw-r--r--development/sasm/sasm.info10
-rw-r--r--development/sasm/slack-desc19
-rw-r--r--development/sassc/README12
-rw-r--r--development/sassc/sassc.SlackBuild98
-rw-r--r--development/sassc/sassc.info10
-rw-r--r--development/sassc/slack-desc19
-rw-r--r--development/sauce/sauce.SlackBuild16
-rw-r--r--development/sbcl/sbcl.SlackBuild26
-rw-r--r--development/sbcl/sbcl.info6
-rw-r--r--development/sbt/sbt.SlackBuild54
-rw-r--r--development/sbt/sbt.info16
-rw-r--r--development/sbt/sbtn.sh4
-rw-r--r--development/scala/scala.SlackBuild24
-rw-r--r--development/scala/scala.info12
-rw-r--r--development/schroot/schroot.SlackBuild22
-rw-r--r--development/scikit-build/README5
-rw-r--r--development/scikit-build/scikit-build.SlackBuild95
-rw-r--r--development/scikit-build/scikit-build.info10
-rw-r--r--development/scikit-build/slack-desc19
-rw-r--r--development/scite/StringList.cxx.patch10
-rw-r--r--development/scite/scite.SlackBuild37
-rw-r--r--development/scite/scite.info10
-rw-r--r--development/scratch/README3
-rw-r--r--development/scratch/scratch.SlackBuild122
-rw-r--r--development/scratch/scratch.info10
-rw-r--r--development/scratch/slack-desc19
-rw-r--r--development/sdcc/README17
-rw-r--r--development/sdcc/patches/source-tree.patch6
-rw-r--r--development/sdcc/sdcc.SlackBuild44
-rw-r--r--development/sdcc/sdcc.info6
-rw-r--r--development/sdcc/slack-desc10
-rw-r--r--development/setedit/setedit.SlackBuild26
-rw-r--r--development/setuptools-git/setuptools-git.SlackBuild18
-rw-r--r--development/shc/README25
-rw-r--r--development/shc/shc.SlackBuild20
-rw-r--r--development/shc/shc.info6
-rw-r--r--development/shed/shed.SlackBuild16
-rw-r--r--development/shed/shed.info2
-rw-r--r--development/shiboken/shiboken.SlackBuild23
-rw-r--r--development/shiboken/shiboken.info4
-rw-r--r--development/shiboken2/README11
-rw-r--r--development/shiboken2/shiboken2.SlackBuild112
-rw-r--r--development/shiboken2/shiboken2.info10
-rw-r--r--development/shiboken2/slack-desc19
-rw-r--r--development/simavr/simavr.SlackBuild16
-rw-r--r--development/simavr/simavr.info2
-rw-r--r--development/simulavr/simulavr.SlackBuild59
-rw-r--r--development/simulavr/simulavr.info8
-rw-r--r--development/slibtool/README13
-rw-r--r--development/slibtool/slibtool.SlackBuild20
-rw-r--r--development/slibtool/slibtool.info6
-rw-r--r--development/sloccount/sloccount.SlackBuild43
-rw-r--r--development/sloccount/sloccount.info6
-rw-r--r--development/smalltalk/smalltalk.SlackBuild20
-rw-r--r--development/smartgit/smartgit.SlackBuild16
-rw-r--r--development/smartgit/smartgit.info2
-rw-r--r--development/smartsvn/smartsvn.SlackBuild16
-rw-r--r--development/smartsvn/smartsvn.info2
-rw-r--r--development/smlnj/smlnj.SlackBuild22
-rw-r--r--development/smlnj/smlnj.info2
-rw-r--r--development/snack/snack.SlackBuild22
-rw-r--r--development/snappy/snappy.SlackBuild16
-rw-r--r--development/snappy/snappy.info2
-rw-r--r--development/sonarqube/README23
-rw-r--r--development/sonarqube/README.SBo61
-rw-r--r--development/sonarqube/doinst.sh4
-rwxr-xr-x[-rw-r--r--]development/sonarqube/rc.sonarqube550
-rw-r--r--development/sonarqube/slack-desc2
-rw-r--r--development/sonarqube/sonarqube.SlackBuild72
-rw-r--r--development/sonarqube/sonarqube.info14
-rw-r--r--development/source-highlight/doinst.sh6
-rw-r--r--development/source-highlight/gcc11.patch34
-rw-r--r--development/source-highlight/source-highlight.SlackBuild61
-rw-r--r--development/sourcenav/README12
-rw-r--r--development/sourcenav/slack-desc19
-rw-r--r--development/sourcenav/sn_logo.xpm125
-rw-r--r--development/sourcenav/sourcenav.SlackBuild100
-rw-r--r--development/sourcenav/sourcenav.desktop9
-rw-r--r--development/sourcenav/sourcenav.info10
-rw-r--r--development/sphinx_rtd_theme/README5
-rw-r--r--development/sphinx_rtd_theme/slack-desc19
-rw-r--r--development/sphinx_rtd_theme/sphinx_rtd_theme.SlackBuild87
-rw-r--r--development/sphinx_rtd_theme/sphinx_rtd_theme.info10
-rw-r--r--development/spice-protocol/spice-protocol.SlackBuild49
-rw-r--r--development/spice-protocol/spice-protocol.info6
-rw-r--r--development/spin/spin.SlackBuild16
-rw-r--r--development/spl/README22
-rw-r--r--development/spl/curses.patch12
-rw-r--r--development/spl/slack-desc19
-rw-r--r--development/spl/spl.SlackBuild87
-rw-r--r--development/spl/spl.info10
-rw-r--r--development/splint/splint.SlackBuild45
-rw-r--r--development/splint/splint.info6
-rw-r--r--development/spyder/README4
-rw-r--r--development/spyder/slack-desc2
-rw-r--r--development/spyder/spyder.SlackBuild44
-rw-r--r--development/spyder/spyder.info12
-rw-r--r--development/sqlcl/README6
-rw-r--r--development/sqlcl/sqlcl.SlackBuild27
-rw-r--r--development/sqlcl/sqlcl.info10
-rw-r--r--development/sqldeveloper/sqldeveloper.SlackBuild20
-rw-r--r--development/sqldeveloper/sqldeveloper.info8
-rw-r--r--development/sqlitebrowser/README11
-rw-r--r--development/sqlitebrowser/slack-desc8
-rw-r--r--development/sqlitebrowser/sqlitebrowser.SlackBuild20
-rw-r--r--development/sqlitebrowser/sqlitebrowser.info8
-rw-r--r--development/sqliteman/0001_qt5.patch346
-rw-r--r--development/sqliteman/sqliteman.SlackBuild25
-rw-r--r--development/squeak-vm/README7
-rw-r--r--development/squeak-vm/squeak-vm.SlackBuild36
-rw-r--r--development/squeak-vm/squeak-vm.info10
-rw-r--r--development/squirrel-sql/squirrel-sql.SlackBuild20
-rw-r--r--development/squirrel-sql/squirrel-sql.desktop3
-rw-r--r--development/squirrel-sql/squirrel-sql.info8
-rw-r--r--development/src-vcs/src-vcs.SlackBuild22
-rw-r--r--development/srcML/README2
-rw-r--r--development/srcML/srcML.SlackBuild16
-rw-r--r--development/srcML/srcML.info2
-rw-r--r--development/srecord/README2
-rw-r--r--development/srecord/slack-desc2
-rw-r--r--development/srecord/srecord.SlackBuild64
-rw-r--r--development/srecord/srecord.info4
-rw-r--r--development/staruml/README7
-rw-r--r--development/staruml/slack-desc12
-rw-r--r--development/staruml/staruml.SlackBuild77
-rw-r--r--development/staruml/staruml.info14
-rw-r--r--development/stgit/stgit.SlackBuild16
-rw-r--r--development/stklos/README16
-rw-r--r--development/stklos/slack-desc19
-rw-r--r--development/stklos/stklos.SlackBuild138
-rw-r--r--development/stklos/stklos.info10
-rw-r--r--development/stlink/stlink.SlackBuild16
-rw-r--r--development/sublime_merge/sublime_merge.SlackBuild28
-rw-r--r--development/sublime_merge/sublime_merge.info6
-rw-r--r--development/sublime_text/sublime_text.SlackBuild36
-rw-r--r--development/sublime_text/sublime_text.info14
-rw-r--r--development/svn-all-fast-export/svn-all-fast-export.SlackBuild16
-rw-r--r--development/swfmill/swfmill.SlackBuild26
-rw-r--r--development/swfmill/swfmill.info6
-rw-r--r--development/swi-prolog/README4
-rw-r--r--development/swi-prolog/swi-prolog.SlackBuild26
-rw-r--r--development/swi-prolog/swi-prolog.info6
-rw-r--r--development/swift/README9
-rw-r--r--development/swift/slack-desc19
-rw-r--r--development/swift/swift-libdir.patch2163
-rw-r--r--development/swift/swift.SlackBuild187
-rw-r--r--development/swift/swift.info32
-rw-r--r--development/sysprof/README4
-rw-r--r--development/sysprof/doinst.sh22
-rw-r--r--development/sysprof/slack-desc19
-rw-r--r--development/sysprof/sysprof.SlackBuild123
-rw-r--r--development/sysprof/sysprof.info10
-rw-r--r--development/systemtap/int.patch48
-rw-r--r--development/systemtap/systemtap.SlackBuild25
-rw-r--r--development/systemtap/systemtap.info6
-rw-r--r--development/tanya/README7
-rw-r--r--development/tanya/slack-desc19
-rw-r--r--development/tanya/tanya.SlackBuild85
-rw-r--r--development/tanya/tanya.info10
-rw-r--r--development/tcc/README14
-rw-r--r--development/tcc/doinst.sh6
-rw-r--r--development/tcc/git2tarxz.sh42
-rw-r--r--development/tcc/tcc.SlackBuild63
-rw-r--r--development/tcc/tcc.info10
-rw-r--r--development/tcludp/tcludp.SlackBuild22
-rw-r--r--development/tclvfs/README5
-rw-r--r--development/tclvfs/patches/01-configure.patch30
-rw-r--r--development/tclvfs/patches/01-encoding.patch179
-rw-r--r--development/tclvfs/patches/02-encoding.patch179
-rw-r--r--development/tclvfs/patches/02-man.patch (renamed from development/tclvfs/patches/04-man.patch)0
-rw-r--r--development/tclvfs/patches/03-m4.patch21
-rw-r--r--development/tclvfs/patches/05-pkgindex.patch28
-rw-r--r--development/tclvfs/patches/06-zipfix.patch41
-rw-r--r--development/tclvfs/patches/07-vfs.patch22
-rw-r--r--development/tclvfs/slack-desc2
-rw-r--r--development/tclvfs/tclvfs.SlackBuild70
-rw-r--r--development/tclvfs/tclvfs.info12
-rw-r--r--development/tea/README12
-rw-r--r--development/tea/tea.SlackBuild31
-rw-r--r--development/tea/tea.info8
-rw-r--r--development/teensy_loader_cli/teensy_loader_cli.SlackBuild22
-rw-r--r--development/terraform/README8
-rw-r--r--development/terraform/slack-desc19
-rw-r--r--development/terraform/terraform.SlackBuild95
-rw-r--r--development/terraform/terraform.info10
-rw-r--r--development/texi2html/README8
-rw-r--r--development/texi2html/doinst.sh6
-rw-r--r--development/texi2html/texi2html.SlackBuild64
-rw-r--r--development/textadept/README16
-rw-r--r--development/textadept/doinst.sh6
-rw-r--r--development/textadept/textadept.SlackBuild92
-rw-r--r--development/textadept/textadept.info42
-rw-r--r--development/textadept/update_urls.sh30
-rw-r--r--development/tfenv/README4
-rw-r--r--development/tfenv/slack-desc19
-rw-r--r--development/tfenv/tfenv.SlackBuild103
-rw-r--r--development/tfenv/tfenv.info10
-rw-r--r--development/thread/thread.SlackBuild16
-rw-r--r--development/thunderpad/README2
-rw-r--r--development/thunderpad/slack-desc19
-rw-r--r--development/thunderpad/thunderpad.SlackBuild112
-rw-r--r--development/thunderpad/thunderpad.info10
-rw-r--r--development/tidy-html5/README3
-rw-r--r--development/tidy-html5/slack-desc19
-rw-r--r--development/tidy-html5/tidy-html5.SlackBuild105
-rw-r--r--development/tidy-html5/tidy-html5.info10
-rw-r--r--development/tig/1016.patch47
-rw-r--r--development/tig/tig.SlackBuild24
-rw-r--r--development/tig/tig.info6
-rw-r--r--development/tiled/tiled.SlackBuild34
-rw-r--r--development/tiled/tiled.info8
-rw-r--r--development/tiled/tiled_lib64.patch138
-rw-r--r--development/tinyscheme/README11
-rw-r--r--development/tinyscheme/scheme.c.patch11
-rw-r--r--development/tinyscheme/slack-desc19
-rw-r--r--development/tinyscheme/tinyscheme.SlackBuild110
-rw-r--r--development/tinyscheme/tinyscheme.info10
-rw-r--r--development/tkcon/README6
-rw-r--r--development/tkcon/doinst.sh4
-rw-r--r--development/tkcon/man/man1/tkcon.1625
-rw-r--r--development/tkcon/man/man5/tkconrc.5517
-rw-r--r--development/tkcon/man/mann/dump.n322
-rw-r--r--development/tkcon/man/mann/idebug.n369
-rw-r--r--development/tkcon/man/mann/observe.n335
-rw-r--r--development/tkcon/man/mann/tkcon.n464
-rw-r--r--development/tkcon/slack-desc19
-rw-r--r--development/tkcon/tkcon.SlackBuild101
-rw-r--r--development/tkcon/tkcon.info10
-rw-r--r--development/tkcvs/tkcvs.SlackBuild16
-rw-r--r--development/tkdiff/tkdiff.SlackBuild21
-rw-r--r--development/tkdiff/tkdiff.info6
-rw-r--r--development/tkdnd/tkdnd.SlackBuild22
-rw-r--r--development/tklib/tklib.SlackBuild22
-rw-r--r--development/tktable/README22
-rw-r--r--development/tktable/slack-desc19
-rw-r--r--development/tktable/tktable.SlackBuild127
-rw-r--r--development/tktable/tktable.info10
-rw-r--r--development/tofuenv/README1
-rw-r--r--development/tofuenv/slack-desc19
-rw-r--r--development/tofuenv/tofuenv.SlackBuild103
-rw-r--r--development/tofuenv/tofuenv.info10
-rw-r--r--development/tora/README2
-rw-r--r--development/tora/include_unistd.patch11
-rw-r--r--development/tora/tora.SlackBuild36
-rw-r--r--development/tora/tora.info6
-rw-r--r--development/trac/README2
-rw-r--r--development/trac/trac.SlackBuild22
-rw-r--r--development/trf/trf.SlackBuild22
-rw-r--r--development/tstoolbox/tstoolbox.SlackBuild16
-rw-r--r--development/tstoolbox/tstoolbox.info2
-rw-r--r--development/ttk-themes/README18
-rw-r--r--development/ttk-themes/slack-desc19
-rw-r--r--development/ttk-themes/ttk-themes.SlackBuild74
-rw-r--r--development/ttk-themes/ttk-themes.info10
-rw-r--r--development/tup/README9
-rw-r--r--development/tup/slack-desc19
-rw-r--r--development/tup/tup.SlackBuild104
-rw-r--r--development/tup/tup.ftdect.vim2
-rw-r--r--development/tup/tup.info10
-rw-r--r--development/tweak/20200601.diff1315
-rw-r--r--development/tweak/README2
-rw-r--r--development/tweak/slack-desc2
-rw-r--r--development/tweak/tweak.SlackBuild32
-rw-r--r--development/tweak/tweak.info4
-rw-r--r--development/txr/README12
-rw-r--r--development/txr/slack-desc19
-rw-r--r--development/txr/txr.SlackBuild104
-rw-r--r--development/txr/txr.info10
-rw-r--r--development/txt2man/README11
-rw-r--r--development/txt2man/slack-desc19
-rw-r--r--development/txt2man/txt2man.SlackBuild53
-rw-r--r--development/txt2man/txt2man.info10
-rw-r--r--development/tyrutils-ericw/README21
-rw-r--r--development/tyrutils-ericw/slack-desc19
-rw-r--r--development/tyrutils-ericw/tyrutils-ericw.SlackBuild93
-rw-r--r--development/tyrutils-ericw/tyrutils-ericw.info10
-rw-r--r--development/u-boot-tools/u-boot-tools.SlackBuild16
-rw-r--r--development/ucblogo/01-makefiles.patch67
-rw-r--r--development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch34
-rw-r--r--development/ucblogo/ucblogo.SlackBuild44
-rw-r--r--development/ucblogo/ucblogo.info6
-rw-r--r--development/ucpp/ucpp.SlackBuild20
-rw-r--r--development/udis86/udis86.SlackBuild64
-rw-r--r--development/udis86/udis86.info2
-rw-r--r--development/uemacs/uemacs.SlackBuild16
-rw-r--r--development/uemacs/uemacs.info2
-rw-r--r--development/uftrace/README13
-rw-r--r--development/uftrace/slack-desc19
-rw-r--r--development/uftrace/uftrace.SlackBuild113
-rw-r--r--development/uftrace/uftrace.info10
-rw-r--r--development/uncrustify/uncrustify.SlackBuild31
-rw-r--r--development/uncrustify/uncrustify.info6
-rw-r--r--development/unicorn/README14
-rw-r--r--development/unicorn/slack-desc19
-rw-r--r--development/unicorn/unicorn.SlackBuild107
-rw-r--r--development/unicorn/unicorn.info10
-rw-r--r--development/unifdef/unifdef.SlackBuild15
-rw-r--r--development/unifdef/unifdef.info6
-rw-r--r--development/unittest-cpp/unittest-cpp.SlackBuild16
-rw-r--r--development/universal-ctags/universal-ctags.SlackBuild27
-rw-r--r--development/universal-ctags/universal-ctags.info8
-rw-r--r--development/unreliablefs/README3
-rw-r--r--development/unreliablefs/slack-desc19
-rw-r--r--development/unreliablefs/unreliablefs.SlackBuild115
-rw-r--r--development/unreliablefs/unreliablefs.info10
-rw-r--r--development/uprog2/README1
-rw-r--r--development/uprog2/slack-desc19
-rw-r--r--development/uprog2/uprog2.SlackBuild118
-rw-r--r--development/uprog2/uprog2.info10
-rw-r--r--development/urjtag/urjtag.SlackBuild22
-rw-r--r--development/urjtag/urjtag.info6
-rw-r--r--development/urn/urn.SlackBuild22
-rw-r--r--development/uz80as/README1
-rw-r--r--development/uz80as/slack-desc2
-rw-r--r--development/uz80as/uz80as.SlackBuild20
-rw-r--r--development/uz80as/uz80as.info6
-rw-r--r--development/vala-12/README7
-rw-r--r--development/vala-12/slack-desc19
-rw-r--r--development/vala-12/vala-12.SlackBuild105
-rw-r--r--development/vala-12/vala-12.info10
-rw-r--r--development/vala-language-server/README2
-rw-r--r--development/vala-language-server/slack-desc19
-rw-r--r--development/vala-language-server/vala-language-server.SlackBuild117
-rw-r--r--development/vala-language-server/vala-language-server.info10
-rw-r--r--development/vala/README4
-rw-r--r--development/vala/patch_support-gtk318.diff50
-rw-r--r--development/vala/slack-desc19
-rw-r--r--development/vala/vala.SlackBuild100
-rw-r--r--development/vala/vala.info10
-rw-r--r--development/valabind/valabind.SlackBuild39
-rw-r--r--development/valabind/valabind.info10
-rw-r--r--development/valgrind/README6
-rw-r--r--development/valgrind/valgrind.SlackBuild15
-rw-r--r--development/valgrind/valgrind.info6
-rw-r--r--development/valkyrie/valkyrie.SlackBuild16
-rw-r--r--development/valkyrie/valkyrie.info6
-rw-r--r--development/vasm/README9
-rw-r--r--development/vasm/slack-desc19
-rw-r--r--development/vasm/vasm.SlackBuild117
-rw-r--r--development/vasm/vasm.info10
-rw-r--r--development/vc-intrinsics/README3
-rw-r--r--development/vc-intrinsics/slack-desc19
-rw-r--r--development/vc-intrinsics/vc-intrinsics.SlackBuild115
-rw-r--r--development/vc-intrinsics/vc-intrinsics.info10
-rw-r--r--development/velero/slack-desc2
-rw-r--r--development/velero/velero.SlackBuild24
-rw-r--r--development/velero/velero.info8
-rw-r--r--development/viewvc/README3
-rw-r--r--development/viewvc/viewvc.SlackBuild16
-rw-r--r--development/vile/vile.SlackBuild44
-rw-r--r--development/vile/vile.info6
-rw-r--r--development/vis/vis.SlackBuild24
-rw-r--r--development/vis/vis.info8
-rw-r--r--development/vispatch/vispatch.SlackBuild22
-rw-r--r--development/vscode-bin/README7
-rw-r--r--development/vscode-bin/vscode-bin.SlackBuild19
-rw-r--r--development/vscode-bin/vscode-bin.info6
-rw-r--r--development/vscode/README6
-rw-r--r--development/vscode/product.json.patch33
-rw-r--r--development/vscode/slack-desc19
-rw-r--r--development/vscode/vscode.SlackBuild108
-rw-r--r--development/vscode/vscode.desktop9
-rw-r--r--development/vscode/vscode.info10
-rw-r--r--development/vscodium/README7
-rw-r--r--development/vscodium/doinst.sh13
-rw-r--r--development/vscodium/slack-desc19
-rw-r--r--development/vscodium/vscodium.SlackBuild97
-rw-r--r--development/vscodium/vscodium.desktop6
-rw-r--r--development/vscodium/vscodium.info10
-rw-r--r--development/vstudio/README2
-rw-r--r--development/vstudio/vstudio.SlackBuild24
-rw-r--r--development/vstudio/vstudio.info6
-rw-r--r--development/watchman/README26
-rw-r--r--development/watchman/slack-desc19
-rw-r--r--development/watchman/watchman.SlackBuild114
-rw-r--r--development/watchman/watchman.info10
-rw-r--r--development/wheel/README6
-rw-r--r--development/wheel/slack-desc19
-rw-r--r--development/wheel/wheel.SlackBuild91
-rw-r--r--development/wheel/wheel.info10
-rw-r--r--development/woff2/README1
-rw-r--r--development/woff2/slack-desc19
-rw-r--r--development/woff2/woff2.SlackBuild87
-rw-r--r--development/woff2/woff2.info10
-rw-r--r--development/wxFormBuilder/README11
-rw-r--r--development/wxFormBuilder/doinst.sh13
-rw-r--r--development/wxFormBuilder/slack-desc19
-rw-r--r--development/wxFormBuilder/wxFormBuilder.SlackBuild120
-rw-r--r--development/wxFormBuilder/wxFormBuilder.info10
-rw-r--r--development/wxHexEditor/wxHexEditor.SlackBuild17
-rw-r--r--development/xa/xa.SlackBuild46
-rw-r--r--development/xa/xa.info14
-rw-r--r--development/xasm/README4
-rw-r--r--development/xasm/xasm.SlackBuild26
-rw-r--r--development/xasm/xasm.info8
-rw-r--r--development/xdebug/slack-desc19
-rw-r--r--development/xdebug/xdebug.SlackBuild139
-rw-r--r--development/xdebug/xdebug.info10
-rw-r--r--development/xdebug/xdebug.ini47
-rw-r--r--development/xemacs/README8
-rw-r--r--development/xemacs/c11.patch34
-rw-r--r--development/xemacs/patches/lib64.patch20
-rw-r--r--development/xemacs/slack-desc19
-rw-r--r--development/xemacs/xemacs.SlackBuild126
-rw-r--r--development/xemacs/xemacs.info14
-rw-r--r--development/xkeys-sdk/README8
-rw-r--r--development/xkeys-sdk/doinst.sh11
-rw-r--r--development/xkeys-sdk/slack-desc19
-rw-r--r--development/xkeys-sdk/xkeys-sdk.SlackBuild117
-rw-r--r--development/xkeys-sdk/xkeys-sdk.info10
-rw-r--r--development/xmake/README8
-rw-r--r--development/xmake/slack-desc19
-rw-r--r--development/xmake/xmake.SlackBuild111
-rw-r--r--development/xmake/xmake.info10
-rw-r--r--development/xmlcopyeditor/xmlcopyeditor.SlackBuild27
-rw-r--r--development/xmlstarlet/xmlstarlet.SlackBuild22
-rw-r--r--development/xnedit/xnedit.SlackBuild43
-rw-r--r--development/xnedit/xnedit.info6
-rw-r--r--development/xsp/xsp.SlackBuild20
-rw-r--r--development/xtruss/slack-desc2
-rw-r--r--development/xtruss/xtruss.198
-rw-r--r--development/xtruss/xtruss.SlackBuild49
-rw-r--r--development/xtruss/xtruss.info8
-rw-r--r--development/xvi/README2
-rw-r--r--development/xvi/slack-desc2
-rw-r--r--development/xvi/xvi.SlackBuild15
-rw-r--r--development/xvi/xvi.info2
-rw-r--r--development/xvile/xvile.SlackBuild48
-rw-r--r--development/xvile/xvile.info6
-rw-r--r--development/xxd-standalone/xxd-standalone.SlackBuild17
-rw-r--r--development/xxd-standalone/xxd-standalone.info50
-rw-r--r--development/xxdiff/xxdiff-e3cdca0088916446b019dcbf8ea7164cc5f788ac.diff115
-rw-r--r--development/xxdiff/xxdiff.SlackBuild35
-rw-r--r--development/xxdiff/xxdiff.info6
-rw-r--r--development/yabasic/README11
-rw-r--r--development/yabasic/doinst.sh13
-rw-r--r--development/yabasic/slack-desc19
-rw-r--r--development/yabasic/yabasic.SlackBuild103
-rw-r--r--development/yabasic/yabasic.desktop9
-rw-r--r--development/yabasic/yabasic.info10
-rw-r--r--development/yabasic/yabasic.pngbin0 -> 19996 bytes
-rw-r--r--development/yarn/README2
-rw-r--r--development/yarn/slack-desc2
-rw-r--r--development/yarn/yarn.SlackBuild17
-rw-r--r--development/yarn/yarn.info8
-rw-r--r--development/yosys/README22
-rw-r--r--development/yosys/slack-desc19
-rw-r--r--development/yosys/yosys.SlackBuild161
-rw-r--r--development/yosys/yosys.info10
-rw-r--r--development/z88dk/z88dk.SlackBuild92
-rw-r--r--development/z88dk/z88dk.info10
-rw-r--r--development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gzbin0 -> 257 bytes
-rw-r--r--development/zeal/zeal.SlackBuild21
-rw-r--r--development/zeal/zeal.info6
-rw-r--r--development/zig/README2
-rw-r--r--development/zig/slack-desc19
-rw-r--r--development/zig/zig.SlackBuild103
-rw-r--r--development/zig/zig.info10
-rw-r--r--development/zile/zile.SlackBuild16
-rw-r--r--development/zmac/README16
-rw-r--r--development/zmac/slack-desc19
-rw-r--r--development/zmac/zmac.1262
-rw-r--r--development/zmac/zmac.SlackBuild108
-rw-r--r--development/zmac/zmac.info12
-rw-r--r--development/zmac/zmac.rst207
-rw-r--r--development/zooey/README10
-rw-r--r--development/zooey/manpagefixes.diff447
-rw-r--r--development/zooey/slack-desc19
-rw-r--r--development/zooey/zooey.SlackBuild93
-rw-r--r--development/zooey/zooey.info10
-rw-r--r--development/zope.interface/zope.interface.SlackBuild34
-rw-r--r--development/zope.interface/zope.interface.info10
-rw-r--r--development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild74
-rw-r--r--development/zope.sqlalchemy/zope.sqlalchemy.info12
-rw-r--r--development/zope.testing/zope.testing.SlackBuild35
-rw-r--r--development/zope.testing/zope.testing.info10
-rw-r--r--development/zulu-openjdk-lts/README10
-rw-r--r--development/zulu-openjdk-lts/slack-desc19
-rw-r--r--development/zulu-openjdk-lts/zulu-openjdk-lts.SlackBuild88
-rw-r--r--development/zulu-openjdk-lts/zulu-openjdk-lts.csh5
-rw-r--r--development/zulu-openjdk-lts/zulu-openjdk-lts.info10
-rw-r--r--development/zulu-openjdk-lts/zulu-openjdk-lts.sh5
-rw-r--r--development/zulu-openjdk11/README10
-rw-r--r--development/zulu-openjdk11/slack-desc19
-rw-r--r--development/zulu-openjdk11/zulu-openjdk11.SlackBuild117
-rw-r--r--development/zulu-openjdk11/zulu-openjdk11.csh10
-rw-r--r--development/zulu-openjdk11/zulu-openjdk11.info14
-rw-r--r--development/zulu-openjdk11/zulu-openjdk11.sh10
-rw-r--r--development/zulu-openjdk17/README10
-rw-r--r--development/zulu-openjdk17/slack-desc19
-rw-r--r--development/zulu-openjdk17/zulu-openjdk17.SlackBuild117
-rw-r--r--development/zulu-openjdk17/zulu-openjdk17.csh10
-rw-r--r--development/zulu-openjdk17/zulu-openjdk17.info14
-rw-r--r--development/zulu-openjdk17/zulu-openjdk17.sh10
-rw-r--r--development/zulu-openjdk21/README10
-rw-r--r--development/zulu-openjdk21/slack-desc19
-rw-r--r--development/zulu-openjdk21/zulu-openjdk21.SlackBuild99
-rw-r--r--development/zulu-openjdk21/zulu-openjdk21.csh10
-rw-r--r--development/zulu-openjdk21/zulu-openjdk21.info12
-rw-r--r--development/zulu-openjdk21/zulu-openjdk21.sh10
-rw-r--r--development/zulu-openjdk6/README12
-rw-r--r--development/zulu-openjdk6/slack-desc19
-rw-r--r--development/zulu-openjdk6/zulu-openjdk6.SlackBuild117
-rw-r--r--development/zulu-openjdk6/zulu-openjdk6.csh4
-rw-r--r--development/zulu-openjdk6/zulu-openjdk6.info10
-rw-r--r--development/zulu-openjdk6/zulu-openjdk6.sh4
-rw-r--r--development/zulu-openjdk7/zulu-openjdk7.SlackBuild53
-rw-r--r--development/zulu-openjdk7/zulu-openjdk7.info16
-rw-r--r--development/zulu-openjdk8/slack-desc2
-rw-r--r--development/zulu-openjdk8/zulu-openjdk8.SlackBuild70
-rw-r--r--development/zulu-openjdk8/zulu-openjdk8.info20
-rw-r--r--development/zulu-openjdk9/README12
-rw-r--r--development/zulu-openjdk9/slack-desc19
-rw-r--r--development/zulu-openjdk9/zulu-openjdk9.SlackBuild116
-rw-r--r--development/zulu-openjdk9/zulu-openjdk9.csh4
-rw-r--r--development/zulu-openjdk9/zulu-openjdk9.info10
-rw-r--r--development/zulu-openjdk9/zulu-openjdk9.sh4
2966 files changed, 74069 insertions, 44220 deletions
diff --git a/development/4th/01-directories.patch b/development/4th/01-directories.patch
index 5f82f36aa5..201ab7bdaa 100644
--- a/development/4th/01-directories.patch
+++ b/development/4th/01-directories.patch
@@ -1,6 +1,6 @@
-diff -Nur 4th-3.62.5-unix/sources/Makefile 4th-3.62.5-unix.new/sources/Makefile
---- 4th-3.62.5-unix/sources/Makefile 2015-04-23 07:59:18.000000000 +0200
-+++ 4th-3.62.5-unix.new/sources/Makefile 2018-01-27 01:39:36.000000000 +0100
+diff -Nur 4th-3.64.1/sources/Makefile 4th-3.64.1.new/sources/Makefile
+--- 4th-3.64.1/sources/Makefile 2021-07-25 11:38:40.000000000 +0200
++++ 4th-3.64.1.new/sources/Makefile 2022-01-20 18:41:25.393103893 +0100
@@ -13,13 +13,13 @@
# The following variables may need to be changed
@@ -26,7 +26,7 @@ diff -Nur 4th-3.62.5-unix/sources/Makefile 4th-3.62.5-unix.new/sources/Makefile
install: mostlyinstall
install -Dm644 ../documentation/4th.1 $(MANDIR)/man1/4th.1
- install -Dm644 ../documentation/4tHmanual.txt $(DOCDIR)/4th/
-+ install -Dm644 ../documentation/4tHmanual.txt $(DOCDIR)/4th-3.62.5/
++ install -Dm644 ../documentation/4tHmanual.pdf $(DOCDIR)/4th-3.64.1/
+ install -Dm644 ../sources/4th.h $(INCLUDES)/4th.h
uninstall:
diff --git a/development/4th/02-to_preserve_32bit_compatibility.patch b/development/4th/02-to_preserve_32bit_compatibility.patch
index 3c091deb2e..32c7f6a0ba 100644
--- a/development/4th/02-to_preserve_32bit_compatibility.patch
+++ b/development/4th/02-to_preserve_32bit_compatibility.patch
@@ -1,7 +1,7 @@
-diff -Nur 4th-3.62.5-unix/sources/4th.h 4th-3.62.5-unix.new/sources/4th.h
---- 4th-3.62.5-unix/sources/4th.h 2012-04-09 18:15:03.000000000 +0200
-+++ 4th-3.62.5-unix.new/sources/4th.h 2014-04-13 16:23:07.122971512 +0200
-@@ -62,8 +62,8 @@
+diff -Nur 4th-3.64.1/sources/4th.h 4th-3.64.1.new/sources/4th.h
+--- 4th-3.64.1/sources/4th.h 2019-03-17 17:32:08.000000000 +0100
++++ 4th-3.64.1.new/sources/4th.h 2022-01-20 19:38:11.022969349 +0100
+@@ -62,12 +62,12 @@
#define M4BADNAM 28
#define M4CABORT 29
@@ -10,5 +10,10 @@ diff -Nur 4th-3.62.5-unix/sources/4th.h 4th-3.62.5-unix.new/sources/4th.h
+#define CELL_MIN INT_MIN
+#define CELL_MAX INT_MAX
- typedef long cell;
+ #define SYMLEN 24 /* length of word name (incl. \0) */
+
+-typedef long cell;
++typedef int cell;
typedef unsigned char unit;
+
+ typedef struct {
diff --git a/development/4th/4th.SlackBuild b/development/4th/4th.SlackBuild
index a746fd8d34..787982fb89 100644
--- a/development/4th/4th.SlackBuild
+++ b/development/4th/4th.SlackBuild
@@ -1,29 +1,36 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for 4th
# Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=4th
-VERSION=${VERSION:-3.62.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.64.1}
+BUILD=${BUILD:-0}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -41,20 +48,19 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-unix
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-unix.tar.gz
cat $CWD/01-directories.patch | patch -p0 || exit
-cd $PRGNAM-$VERSION-unix/sources
+cd $PRGNAM-$VERSION/sources
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
if [ "$ARCH" = "x86_64" ]; then
cat $CWD/02-to_preserve_32bit_compatibility.patch | patch -p2 || exit
- cp include/* .
fi
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
@@ -64,17 +70,16 @@ mkdir -p $PKG/usr/bin
CXXFLAGS="$SLKCFLAGS" make
make install DESTDIR="$PKG" LIBSUFFIX="$LIBDIRSUFFIX"
-cp $TMP/$PRGNAM-$VERSION-unix/documentation/4th.1 $PKG/usr/man/man1
-cp $TMP/$PRGNAM-$VERSION-unix/documentation/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp $TMP/$PRGNAM-$VERSION-unix/4th/.directory $PKG/usr/doc/$PRGNAM-$VERSION
-cp $TMP/$PRGNAM-$VERSION-unix/COPYING $PKG/usr/doc/$PRGNAM-$VERSION
-cp $TMP/$PRGNAM-$VERSION-unix/README $PKG/usr/doc/$PRGNAM-$VERSION
-cp -r $TMP/$PRGNAM-$VERSION-unix/4th/* $PKG/usr/doc/$PRGNAM-$VERSION/examples
+gzip -9 $PKG/usr/man/man*/*
+strip $PKG/usr/bin/*
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+cp $TMP/$PRGNAM-$VERSION/documentation/4th.1 $PKG/usr/man/man1
+cp $TMP/$PRGNAM-$VERSION/documentation/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp $TMP/$PRGNAM-$VERSION/COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp $TMP/$PRGNAM-$VERSION/README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -r $TMP/$PRGNAM-$VERSION/4th/* $PKG/usr/doc/$PRGNAM-$VERSION/examples
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/examples/apps/graphics/hans.ppm
@@ -83,6 +88,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+rm $PKG/usr/man/man1/4th.1
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/4th/4th.info b/development/4th/4th.info
index c344371f99..7d5b28ca62 100644
--- a/development/4th/4th.info
+++ b/development/4th/4th.info
@@ -1,8 +1,8 @@
PRGNAM="4th"
-VERSION="3.62.5"
-HOMEPAGE="http://thebeez.home.xs4all.nl/4tH/"
-DOWNLOAD="http://downloads.sourceforge.net/project/forth-4th/4th-3.62.5/4th-3.62.5-unix.tar.gz"
-MD5SUM="caf85244354320daecec58b9451ce0cd"
+VERSION="3.64.1"
+HOMEPAGE="https://thebeez.home.xs4all.nl/4tH/4thfaces.html"
+DOWNLOAD="http://downloads.sourceforge.net/project/forth-4th/4th-3.64.1/4th-3.64.1-unix.tar.gz"
+MD5SUM="82fa4fbe11e3b004affb1c374c75093e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/4th/slack-desc b/development/4th/slack-desc
index 4499b59cc9..d79ad1a05f 100644
--- a/development/4th/slack-desc
+++ b/development/4th/slack-desc
@@ -11,7 +11,7 @@
4th: It detects virtually every error and reports what and where
4th: they occur, but is still fast and compact.
4th:
-4th: http://www.gnu.org/software/4th/
+4th: https://thebeez.home.xs4all.nl/4tH/4thfaces.html
4th:
4th: Licence: GNU LGPL V3
4th:
diff --git a/development/Archi/Archi.SlackBuild b/development/Archi/Archi.SlackBuild
new file mode 100644
index 0000000000..f320987ffd
--- /dev/null
+++ b/development/Archi/Archi.SlackBuild
@@ -0,0 +1,70 @@
+#!/bin/bash
+#
+# Slackware build script for Archi
+# Written by Joielechong (juansspy@gmail.com)
+# This script is just a binary repackaging.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=Archi
+ARCNAM=Archi-Linux64
+VERSION=${VERSION:-4.10.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=${ARCH:-x86_64}
+
+# 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/opt/ $OUTPUT
+cd $PKG/opt/
+tar xvf $CWD/$ARCNAM-$VERSION.tgz
+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/usr/share/applications
+cat << EOF > $PKG/usr/share/applications/$PRGNAM.desktop
+[Desktop Entry]
+Version=1.0
+Type=Application
+Path=/opt/$PRGNAM
+Exec=/opt/$PRGNAM/$PRGNAM %f
+Name=Archimate Modelling
+GenericName=Archi
+Comment=
+Icon=/opt/$PRGNAM/icon.xpm
+StartupNotify=true
+Categories=Development;IDE;
+Terminal=false
+EOF
+
+install -D -m 0644 $PKG/opt/$PRGNAM/icon.xpm \
+ $PKG/usr/share/pixmaps/$PRGNAM.xpm
+
+mkdir -p $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
+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/development/Archi/Archi.info b/development/Archi/Archi.info
new file mode 100644
index 0000000000..b321b367c7
--- /dev/null
+++ b/development/Archi/Archi.info
@@ -0,0 +1,10 @@
+PRGNAM="Archi"
+VERSION="4.10.0"
+HOMEPAGE="https://archimatetool.com"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://www.archimatetool.com/downloads/download.php?/4.10.0/Archi-Linux64-4.10.0.tgz"
+MD5SUM_x86_64="8f79dc216e4cf833a2f8261feb283d26"
+REQUIRES=""
+MAINTAINER="joielechong"
+EMAIL="juansspy@gmail.com"
diff --git a/development/Archi/README b/development/Archi/README
new file mode 100644
index 0000000000..9dd24a0832
--- /dev/null
+++ b/development/Archi/README
@@ -0,0 +1,13 @@
+Archi (Archimate Modelling)
+
+The Open Source modelling toolkit for creating ArchiMate models and
+sketches.
+Used by Enterprise Architects everywhere.
+
+The Archi® modelling toolkit is targeted toward all levels of
+Enterprise Architects and Modellers. It provides a low cost to entry
+solution to users who may be making their first steps in the ArchiMate
+modelling language, or who are looking for an open source,
+cross-platform ArchiMate modelling tool for their company or
+institution and wish to engage with the language within a TOGAF® or
+other Enterprise Architecture framework.
diff --git a/development/Naked/doinst.sh b/development/Archi/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/development/Naked/doinst.sh
+++ b/development/Archi/doinst.sh
diff --git a/development/Archi/slack-desc b/development/Archi/slack-desc
new file mode 100644
index 0000000000..b069b42644
--- /dev/null
+++ b/development/Archi/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------------------------------------------------------|
+Archi: Archi (Archimate Modelling)
+Archi: The Open Source modelling toolkit for creating ArchiMate models and
+Archi: sketches.
+Archi: Used by Enterprise Architects everywhere.
+Archi:
+Archi:
+Archi:
+Archi:
+Archi:
+Archi:
+Archi:
diff --git a/development/Arduino/Arduino.SlackBuild b/development/Arduino/Arduino.SlackBuild
index 33b63a5849..bccfebb61f 100644
--- a/development/Arduino/Arduino.SlackBuild
+++ b/development/Arduino/Arduino.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Arduino
-# Copyright 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
+# Copyright 2015, 2022 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,46 +22,57 @@
# 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=Arduino
-VERSION=${VERSION:-1.8.3}
+VERSION=${VERSION:-1.8.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-# Documentation
-REFERENCE=${REFERENCE:-1.6.6-3}
-GALILEO=${GALILEO:-1.6.2}
-EDISON=${EDISON:-1.6.2}
+# Examples
+EXAMPLES=${EXAMPLES:-1.9.1}
# Libraries
-FIRMATA=${FIRMATA:-2.5.6}
-BRIDGE=${BRIDGE:-1.6.3}
-ROBOT_CONTROL=${ROBOT_CONTROL:-1.0.3}
-ROBOT_MOTOR=${ROBOT_MOTOR:-1.0.2}
-ROBOTIRREMOTE=${ROBOTIRREMOTE:-1.0.2}
-SPACEBREWYUN=${SPACEBREWYUN:-1.0.1}
+ETHERNET=${ETHERNET:-2.0.0}
+GSM=${GSM:-1.0.6}
+STEPPER=${STEPPER:-1.1.3}
+TFT=${TFT:-1.0.6}
+WIFI=${WIFI:-1.2.7}
+FIRMATA=${FIRMATA:-2.5.8}
+BRIDGE=${BRIDGE:-1.7.0}
+ROBOT_CONTROL=${ROBOT_CONTROL:-1.0.4}
+ROBOT_MOTOR=${ROBOT_MOTOR:-1.0.3}
+ROBOTIRREMOTE=${ROBOTIRREMOTE:-2.0.0}
+SPACEBREWYUN=${SPACEBREWYUN:-1.0.2}
TEMBOO=${TEMBOO:-1.2.1}
ESPLORA=${ESPLORA:-1.0.4}
MOUSE=${MOUSE:-1.0.1}
-KEYBOARD=${KEYBOARD:-1.0.1}
-SD=${SD:-1.1.1}
-SERVO=${SERVO:-1.1.2}
-ADAFRUIT=${ADAFRUIT:-1.6.4}
-WIFI101UPDATER=${WIFI101UPDATER:-0.9.1}
-LIBASTYLEJ=${LIBASTYLEJ:-2.05.1-3}
-LIBLISTSERIALS=${LIBLISTSERIALS:-1.4.0}
-ARDUINOBUILDER=${ARDUINOBUILDER:-1.3.25}
-AVRDUDE=${AVRDUDE:-6.3.0-arduino9}
-ARDUINOOTA=${ARDUINOOTA:-1.1.1}
+KEYBOARD=${KEYBOARD:-1.0.2}
+SD=${SD:-1.2.4}
+SERVO=${SERVO:-1.1.8}
+LIQUIDCRYSTAL=${LIQUIDCRYSTAL:-1.0.7}
+ADAFRUIT=${ADAFRUIT:-1.11.3}
+WIFI101UPDATER=${WIFI101UPDATER:-0.12.0}
+LIBASTYLEJ=${LIBASTYLEJ:-2.05.1-5}
+LIBLISTSERIALS=${LIBLISTSERIALS:-1.4.2-2}
+ARDUINOBUILDER=${ARDUINOBUILDER:-1.6.1}
+AVRDUDE=${AVRDUDE:-6.3.0-arduino17}
+AVRCORE=${AVRCORE:-1.8.3}
+ARDUINOOTA=${ARDUINOOTA:-1.3.0}
# Toolchain
-GCC=${GCC:-4.9.2}
-AVR=${AVR:-3.5.3}
-AVR_BUILD=${AVR_BUILD:-arduino2}
+GCC=${GCC:-7.3.0}
+AVR=${AVR:-3.6.1}
+AVR_BUILD=${AVR_BUILD:-arduino7}
AUTOCONF=${AUTOCONF:-2.64}
AUTOMAKE=${AUTOMAKE:-1.11.1}
GMP=${GMP:-5.0.2}
-MPFR=${MPFR:-3.0.0}
+MPFR=${MPFR:-3.1.0}
MPC=${MPC:-0.9}
+ATMEL_ATMEGA_PACK=${ATMEL_ATMEGA_PACK:-1.4.351}
+ATMEL_ATTINY_PACK=${ATMEL_ATTINY_PACK:-1.4.310}
+ATMEL_DX_PACK=${ATMEL_DX_PACK:-1.0.27}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -71,7 +82,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -112,23 +130,31 @@ cp $CWD/autoconf-$AUTOCONF.tar.bz2 \
$CWD/gmp-$GMP.tar.bz2 \
$CWD/mpfr-$MPFR.tar.bz2 \
$CWD/mpc-$MPC.tar.gz \
- $CWD/avr-gcc.tar.bz2 \
+ $CWD/gcc-$GCC.tar.xz \
$CWD/avr-libc.tar.bz2 \
$CWD/avr8-headers.zip \
$CWD/avr-gdb.tar.bz2 \
+ $CWD/Atmel.ATmega_DFP.$ATMEL_ATMEGA_PACK.atpack \
+ $CWD/Atmel.ATtiny_DFP.$ATMEL_ATTINY_PACK.atpack \
+ $CWD/Atmel.AVR-Dx_DFP.$ATMEL_DX_PACK.atpack \
toolchain-avr-$GCC-atmel$AVR-$AVR_BUILD/
-cp $CWD/patches/avr-gcc6-fix.patch \
+cp $CWD/patches/gcc-add-missing-isl-includes.patch \
toolchain-avr-$GCC-atmel$AVR-$AVR_BUILD/avr-gcc-patches/
# Build toolchain
( cd toolchain-avr-$GCC-atmel$AVR-$AVR_BUILD
+ patch -p1 <$CWD/patches/toolchain-fixes.diff
+ chmod +x ./atpack.Dx.build.bash
./tools.bash
./binutils.build.bash
./gcc.build.bash
./avr-libc.build.bash
./gdb.build.bash
rm -rf objdir/{info,man,share}
+ ./atpack.build.bash
+ ./atpack.tiny.build.bash
+ ./atpack.Dx.build.bash
)
# Copy toolchain to where it can be found (`mv` will preserve some space)
@@ -155,14 +181,20 @@ EOF
sed -e '/<antcall target="avr-toolchain-bundle">/,/<\/antcall>/d' \
-i build/build.xml
-# Copy documentation, help files and other shared packages
-cp $CWD/reference-$REFERENCE.zip \
- $CWD/Galileo_help_files-$GALILEO.zip \
- $CWD/Edison_help_files-$EDISON.zip \
- $CWD/WiFi101-Updater-ArduinoIDE-Plugin-${WIFI101UPDATER}.zip build/shared/
+# Copy shared packages
+cp $CWD/WiFi101-Updater-ArduinoIDE-Plugin-${WIFI101UPDATER}.zip build/shared/
+
+# Copy libraries - with new names
+cp $CWD/Adafruit_CircuitPlayground-$ADAFRUIT.zip build/Adafruit_Circuit_Playground-$ADAFRUIT.zip
+cp $CWD/arduino-$FIRMATA.zip build/Firmata-$FIRMATA.zip
# Copy libraries
-cp $CWD/Firmata-$FIRMATA.zip \
+cp $CWD/arduino-examples-$EXAMPLES.zip \
+ $CWD/Ethernet-$ETHERNET.zip \
+ $CWD/GSM-$GSM.zip \
+ $CWD/Stepper-$STEPPER.zip \
+ $CWD/TFT-$TFT.zip \
+ $CWD/WiFi-$WIFI.zip \
$CWD/Bridge-$BRIDGE.zip \
$CWD/Robot_Control-$ROBOT_CONTROL.zip \
$CWD/Robot_Motor-$ROBOT_MOTOR.zip \
@@ -174,10 +206,11 @@ cp $CWD/Firmata-$FIRMATA.zip \
$CWD/Keyboard-$KEYBOARD.zip \
$CWD/SD-$SD.zip \
$CWD/Servo-$SERVO.zip \
- $CWD/Adafruit_CircuitPlayground-$ADAFRUIT.zip \
+ $CWD/LiquidCrystal-$LIQUIDCRYSTAL.zip \
$CWD/libastylej-$LIBASTYLEJ.zip \
$CWD/liblistSerials-$LIBLISTSERIALS.zip \
- $CWD/arduino-builder-linux$LIB-$ARDUINOBUILDER.tar.bz2 build/
+ $CWD/arduino-builder-linux$LIB-$ARDUINOBUILDER.tar.bz2 \
+ $CWD/avr-$AVRCORE.tar.bz2 build/
# Finally, build Arduino
( cd build ; ant )
@@ -187,7 +220,7 @@ cd build/linux/work/
# Manual install ensues
mkdir -p $PKG/opt/$PRGNAM
-mv arduino{,-builder} examples hardware lib libraries reference \
+mv arduino{,-builder} examples hardware lib libraries \
tools{,-builder} $PKG/opt/$PRGNAM
# Ownership fixup
@@ -209,4 +242,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Arduino/Arduino.info b/development/Arduino/Arduino.info
index ef272be980..489b8310e7 100644
--- a/development/Arduino/Arduino.info
+++ b/development/Arduino/Arduino.info
@@ -1,82 +1,98 @@
PRGNAM="Arduino"
-VERSION="1.8.3"
+VERSION="1.8.19"
HOMEPAGE="https://www.arduino.cc/"
-DOWNLOAD="https://github.com/arduino/Arduino/archive/1.8.3/Arduino-1.8.3.tar.gz \
- http://downloads.arduino.cc/reference-1.6.6-3.zip \
- http://downloads.arduino.cc/Galileo_help_files-1.6.2.zip \
- http://downloads.arduino.cc/Edison_help_files-1.6.2.zip \
- https://github.com/arduino-libraries/Firmata/archive/2.5.6/Firmata-2.5.6.zip \
- https://github.com/arduino-libraries/Bridge/archive/1.6.3/Bridge-1.6.3.zip \
- https://github.com/arduino-libraries/Robot_Control/archive/1.0.3/Robot_Control-1.0.3.zip \
- https://github.com/arduino-libraries/Robot_Motor/archive/1.0.2/Robot_Motor-1.0.2.zip \
- https://github.com/arduino-libraries/RobotIRremote/archive/1.0.2/RobotIRremote-1.0.2.zip \
- https://github.com/arduino-libraries/SpacebrewYun/archive/1.0.1/SpacebrewYun-1.0.1.zip \
+DOWNLOAD="https://github.com/arduino/Arduino/archive/1.8.19/Arduino-1.8.19.tar.gz \
+ https://github.com/arduino/arduino-examples/archive/1.9.1/arduino-examples-1.9.1.zip \
+ https://github.com/arduino-libraries/Ethernet/archive/2.0.0/Ethernet-2.0.0.zip \
+ https://github.com/arduino-libraries/GSM/archive/1.0.6/GSM-1.0.6.zip \
+ https://github.com/arduino-libraries/Stepper/archive/1.1.3/Stepper-1.1.3.zip \
+ https://github.com/arduino-libraries/TFT/archive/1.0.6/TFT-1.0.6.zip \
+ https://github.com/arduino-libraries/WiFi/archive/1.2.7/WiFi-1.2.7.zip \
+ https://github.com/firmata/arduino/archive/2.5.8/arduino-2.5.8.zip \
+ https://github.com/arduino-libraries/Bridge/archive/1.7.0/Bridge-1.7.0.zip \
+ https://github.com/arduino-libraries/Robot_Control/archive/1.0.4/Robot_Control-1.0.4.zip \
+ https://github.com/arduino-libraries/Robot_Motor/archive/1.0.3/Robot_Motor-1.0.3.zip \
+ https://github.com/arduino-libraries/RobotIRremote/archive/2.0.0/RobotIRremote-2.0.0.zip \
+ https://github.com/arduino-libraries/SpacebrewYun/archive/1.0.2/SpacebrewYun-1.0.2.zip \
https://github.com/arduino-libraries/Temboo/archive/1.2.1/Temboo-1.2.1.zip \
https://github.com/arduino-libraries/Esplora/archive/1.0.4/Esplora-1.0.4.zip \
https://github.com/arduino-libraries/Mouse/archive/1.0.1/Mouse-1.0.1.zip \
- https://github.com/arduino-libraries/Keyboard/archive/1.0.1/Keyboard-1.0.1.zip \
- https://github.com/arduino-libraries/SD/archive/1.1.1/SD-1.1.1.zip \
- https://github.com/arduino-libraries/Servo/archive/1.1.2/Servo-1.1.2.zip \
- https://github.com/Adafruit/Adafruit_CircuitPlayground/archive/1.6.4/Adafruit_CircuitPlayground-1.6.4.zip \
- https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.9.1/WiFi101-Updater-ArduinoIDE-Plugin-0.9.1.zip \
- http://downloads.arduino.cc/libastylej-2.05.1-3.zip \
- http://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.0.zip \
- http://downloads.arduino.cc/tools/arduino-builder-linux32-1.3.25.tar.bz2 \
- http://downloads.arduino.cc/tools/arduino-builder-linux64-1.3.25.tar.bz2 \
- http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino9-i686-pc-linux-gnu.tar.bz2 \
- http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino9-x86_64-pc-linux-gnu.tar.bz2 \
- http://downloads.arduino.cc/tools/arduinoOTA-1.1.1-linux_386.tar.bz2 \
- http://downloads.arduino.cc/tools/arduinoOTA-1.1.1-linux_amd64.tar.bz2 \
- https://github.com/arduino/toolchain-avr/archive/4.9.2-atmel3.5.3-arduino2/toolchain-avr-4.9.2-atmel3.5.3-arduino2.tar.gz \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/autoconf-2.64.tar.bz2 \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/automake-1.11.1.tar.bz2 \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/avr-binutils.tar.bz2 \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/gmp-5.0.2.tar.bz2 \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/mpfr-3.0.0.tar.bz2 \
- http://ponce.cc/slackware/sources/repo/mpc-0.9.tar.gz \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/avr-gcc.tar.bz2 \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/avr-libc.tar.bz2 \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/avr8-headers.zip \
- http://mirror.slackware.hr/sources/Arduino/1.8.3/avr-gdb.tar.bz2"
-MD5SUM="c07a888c3333ff69ae244064d151b5c2 \
- f04dadd797e5e57149bce626defc7be4 \
- dfa93daedbe9188f20f00308f64f4908 \
- c97d466ee23021ffb0d57c222d93e96f \
- a8e59560c2eb157ab86279f5bf16ff42 \
- 1907c0c1428737804b01f37e50952c6b \
- a6e07c38f564ed7445e361a2c2b691d9 \
- f5b648b60c76a3f2ead085b613279d11 \
- 47ff47fab7b44e482dff47b11148d67f \
- 9a05b22d1977bd48ec33c20dbaad5ef8 \
+ https://github.com/arduino-libraries/Keyboard/archive/1.0.2/Keyboard-1.0.2.zip \
+ https://github.com/arduino-libraries/SD/archive/1.2.4/SD-1.2.4.zip \
+ https://github.com/arduino-libraries/Servo/archive/1.1.8/Servo-1.1.8.zip \
+ https://github.com/arduino-libraries/LiquidCrystal/archive/1.0.7/LiquidCrystal-1.0.7.zip \
+ https://github.com/Adafruit/Adafruit_CircuitPlayground/archive/1.11.3/Adafruit_CircuitPlayground-1.11.3.zip \
+ https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.12.0/WiFi101-Updater-ArduinoIDE-Plugin-0.12.0.zip \
+ http://downloads.arduino.cc/libastylej-2.05.1-5.zip \
+ http://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.2-2.zip \
+ http://downloads.arduino.cc/tools/arduino-builder-linux32-1.6.1.tar.bz2 \
+ http://downloads.arduino.cc/tools/arduino-builder-linux64-1.6.1.tar.bz2 \
+ http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino17-i686-pc-linux-gnu.tar.bz2 \
+ http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino17-x86_64-pc-linux-gnu.tar.bz2 \
+ https://downloads.arduino.cc/cores/avr-1.8.3.tar.bz2 \
+ http://downloads.arduino.cc/tools/arduinoOTA-1.3.0-linux_386.tar.bz2 \
+ http://downloads.arduino.cc/tools/arduinoOTA-1.3.0-linux_amd64.tar.bz2 \
+ https://github.com/arduino/toolchain-avr/archive/7.3.0-atmel3.6.1-arduino7/toolchain-avr-7.3.0-atmel3.6.1-arduino7.tar.gz \
+ https://ftp.gnu.org/gnu/autoconf/autoconf-2.64.tar.bz2 \
+ https://ftp.gnu.org/gnu/automake/automake-1.11.1.tar.bz2 \
+ http://downloads.arduino.cc/tools/opensource/Atmel-AVR-GNU-Toolchain/3.6.1/avr-binutils.tar.bz2 \
+ https://ftp.gnu.org/gnu/gmp/gmp-5.0.2.tar.bz2 \
+ https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.0.tar.bz2 \
+ http://repository.timesys.com/buildsources/m/mpc/mpc-0.9/mpc-0.9.tar.gz \
+ https://ftp.gnu.org/gnu/gcc/gcc-7.3.0/gcc-7.3.0.tar.xz \
+ http://downloads.arduino.cc/tools/opensource/Atmel-AVR-GNU-Toolchain/3.6.1/avr-libc.tar.bz2 \
+ http://downloads.arduino.cc/tools/opensource/Atmel-AVR-GNU-Toolchain/3.6.1/avr8-headers.zip \
+ http://downloads.arduino.cc/tools/opensource/Atmel-AVR-GNU-Toolchain/3.6.1/avr-gdb.tar.bz2 \
+ http://packs.download.atmel.com/Atmel.ATmega_DFP.1.4.351.atpack \
+ http://packs.download.atmel.com/Atmel.ATtiny_DFP.1.4.310.atpack \
+ http://packs.download.atmel.com/Atmel.AVR-Dx_DFP.1.0.27.atpack"
+MD5SUM="b51b86f1d8ca30c4553dc241b438c958 \
+ 74b09589ac4ae50a07b6fb52f1b02e65 \
+ 802ac3652c78a0880f17aa27f3cf3612 \
+ 2fd953ff5cb893a2e8abd589f1cf9e40 \
+ dfb0923a0fddb2d02a1c7446edfc854d \
+ 5b2d8e9b809cdcfd6b46f5a073fb17e0 \
+ cd5c085a552bcbe81c5d3c55082e23cf \
+ 1381565dcff2932ea8bf2de64f331960 \
+ b8b8563ef9703dc1ae7c2d7a2f680cd5 \
+ 36caacb88199d8a95b9af5bf3e65abd4 \
+ ac371dc0472efc32293657af906650c6 \
+ 7856560f6a60cd328785f34f3f58e32a \
+ 0a649577bf617338a9ccbaf83a6d07ba \
385252899ccd98f3655b98656a35b72a \
b066c4b117cd035b4e941016e04617af \
39018b239c31f89e97cab344c0d42fca \
- d07885c5f18c6ead722c5e28e60bebde \
- 0ed3ff686c2146c4e9b14b2f657d33aa \
- 51b6efddceb1a4a7ae2728f5a081f64c \
- 206edaa76a48c2c358db305b58d4424a \
- 6883392f3731a274a8b15c9fd91b3eec \
- 3f6fd60bfe51ce7a7543671cb638ffbb \
- 997fe95d59d38c2e5f8cc112f528e515 \
- ebbf050c20f1be71831330c91df329f8 \
- 8551f97123df2f31ec05a45551ca79b5 \
- ce891cbe1bf01f6a11e4f5833e7ff8df \
- 723125fb4b9d59b8e9c8ee5fb843911e \
- 28427f1fe98686211d9fdc2b51c593f7 \
- 1b437df1df2fef78a5375c9c62ff313a \
- 1f9cb13309a421e43379dcfc38707395 \
+ fd3d73a9817159f9260372ceb7fa3cef \
+ baaab729f4b393f6241d3e90458176db \
+ c0063b88b10266fb90634991cc973724 \
+ 06a6a913262d17e65367c0819e69cbec \
+ 4bcbb09a86bb7479ad5f844f944b34fe \
+ 96e77fa2f696fd1d75cfb536fd0890dc \
+ d2cbb4d8a7973e7e32480044b7a45a1d \
+ 959f7d41f8cafe4a98de6bd454d83980 \
+ 4ff1668e956935638d76c93e0d082916 \
+ bcf1da478a801dc79e330150add7f21f \
+ 03189d1c410f31f759d2b8061c627022 \
+ 70a6d91bfbf7543f28eb105b03b8b1d7 \
+ 2d985ca272e4bd9774078ae9c2cb4077 \
+ 0026275a9e820bd67a4ab3304bb36054 \
+ 67dffddcefa50f199b6465f19171ade8 \
+ c16f84b6d5b18e00327820c38b17daf7 \
ef400d672005e0be21e0d20648169074 \
c2972c4d9b3e29c03d5f2af86249876f \
- 4f3a24017a083e1bc13ebe0cd868b032 \
+ a4def5b7f4923a5e61d0c34e33165434 \
0bbaedc82fb30315b06b1588b9077cd3 \
- f45bac3584922c8004a10060ab1a8f9f \
+ 238ae4a15cc3a5049b723daef5d17938 \
0d6acab8d214bd7d1fbbc593e83dd00d \
- 61446b033b5d9f37b71a03dd6eb8db8f \
- 1ce93dad526aab4d564462d9301f2b62 \
- 5a96c01db89ccdc98e7b7c56267d252d \
- 97a8ec640265cc5ff8a50e599ab55367"
+ be2da21680f27624f3a87055c4ba5af2 \
+ 9de9bf4c5622706eba2f2e3c57eb6e11 \
+ ad0ec1ac892e08a5a9275ad97dffe2c7 \
+ 97a8ec640265cc5ff8a50e599ab55367 \
+ 3b68dda26d68f570e6b3c874a7174f29 \
+ 075a7e297950d1c226c0a6c06a737da8 \
+ 37c2778af2ce01aea6090689326617bb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="apache-ant jdk"
+REQUIRES="apache-ant zulu-openjdk8 guile2.0"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/development/Arduino/patches/avr-gcc6-fix.patch b/development/Arduino/patches/avr-gcc6-fix.patch
deleted file mode 100644
index 89579566c5..0000000000
--- a/development/Arduino/patches/avr-gcc6-fix.patch
+++ /dev/null
@@ -1,117 +0,0 @@
---- gcc/cp/Make-lang.in
-+++ gcc/cp/Make-lang.in
-@@ -112,7 +112,7 @@ else
- # deleting the $(srcdir)/cp/cfns.h file.
- $(srcdir)/cp/cfns.h:
- endif
-- gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \
-+ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L C++ \
- $(srcdir)/cp/cfns.gperf --output-file $(srcdir)/cp/cfns.h
-
- #
---- gcc/cp/cfns.gperf
-+++ gcc/cp/cfns.gperf
-@@ -1,3 +1,5 @@
-+%language=C++
-+%define class-name libc_name
- %{
- /* Copyright (C) 2000-2016 Free Software Foundation, Inc.
-
-@@ -16,14 +18,6 @@ for more details.
- You should have received a copy of the GNU General Public License
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
--#ifdef __GNUC__
--__inline
--#endif
--static unsigned int hash (const char *, unsigned int);
--#ifdef __GNUC__
--__inline
--#endif
--const char * libc_name_p (const char *, unsigned int);
- %}
- %%
- # The standard C library functions, for feeding to gperf; the result is used
---- gcc/cp/cfns.h
-+++ gcc/cp/cfns.h
-@@ -1,5 +1,5 @@
--/* ANSI-C code produced by gperf version 3.0.3 */
--/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C cfns.gperf */
-+/* C++ code produced by gperf version 3.0.4 */
-+/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L C++ --output-file cfns.h cfns.gperf */
-
- #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
- && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
-@@ -28,7 +28,7 @@
- #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
- #endif
-
--#line 1 "cfns.gperf"
-+#line 3 "cfns.gperf"
-
- /* Copyright (C) 2000-2016 Free Software Foundation, Inc.
-
-@@ -47,25 +47,18 @@ for more details.
- You should have received a copy of the GNU General Public License
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
--#ifdef __GNUC__
--__inline
--#endif
--static unsigned int hash (const char *, unsigned int);
--#ifdef __GNUC__
--__inline
--#endif
--const char * libc_name_p (const char *, unsigned int);
- /* maximum key range = 391, duplicates = 0 */
-
--#ifdef __GNUC__
--__inline
--#else
--#ifdef __cplusplus
--inline
--#endif
--#endif
--static unsigned int
--hash (register const char *str, register unsigned int len)
-+class libc_name
-+{
-+private:
-+ static inline unsigned int hash (const char *str, unsigned int len);
-+public:
-+ static const char *libc_name_p (const char *str, unsigned int len);
-+};
-+
-+inline unsigned int
-+libc_name::hash (register const char *str, register unsigned int len)
- {
- static const unsigned short asso_values[] =
- {
-@@ -122,14 +115,8 @@ hash (register const char *str, register unsigned int len)
- return hval + asso_values[(unsigned char)str[len - 1]];
- }
-
--#ifdef __GNUC__
--__inline
--#ifdef __GNUC_STDC_INLINE__
--__attribute__ ((__gnu_inline__))
--#endif
--#endif
- const char *
--libc_name_p (register const char *str, register unsigned int len)
-+libc_name::libc_name_p (register const char *str, register unsigned int len)
- {
- enum
- {
---- gcc/cp/except.c
-+++ gcc/cp/except.c
-@@ -1040,7 +1040,8 @@ nothrow_libfn_p (const_tree fn)
- unless the system headers are playing rename tricks, and if
- they are, we don't want to be confused by them. */
- id = DECL_NAME (fn);
-- return !!libc_name_p (IDENTIFIER_POINTER (id), IDENTIFIER_LENGTH (id));
-+ return !!libc_name::libc_name_p (IDENTIFIER_POINTER (id),
-+ IDENTIFIER_LENGTH (id));
- }
-
- /* Returns nonzero if an exception of type FROM will be caught by a
diff --git a/development/Arduino/patches/gcc-add-missing-isl-includes.patch b/development/Arduino/patches/gcc-add-missing-isl-includes.patch
new file mode 100644
index 0000000000..d575ced3d2
--- /dev/null
+++ b/development/Arduino/patches/gcc-add-missing-isl-includes.patch
@@ -0,0 +1,13 @@
+diff --git a/gcc/graphite.h b/gcc/graphite.h
+index d22c4f2..e69edf2 100644
+--- a/gcc/graphite.h
++++ b/gcc/graphite.h
+@@ -37,6 +37,8 @@ along with GCC; see the file COPYING3. If not see
+ #include <isl/schedule.h>
+ #include <isl/ast_build.h>
+ #include <isl/schedule_node.h>
++#include <isl/id.h>
++#include <isl/space.h>
+
+ typedef struct poly_dr *poly_dr_p;
+
diff --git a/development/Arduino/patches/toolchain-fixes.diff b/development/Arduino/patches/toolchain-fixes.diff
new file mode 100644
index 0000000000..fc34e5493c
--- /dev/null
+++ b/development/Arduino/patches/toolchain-fixes.diff
@@ -0,0 +1,65 @@
+--- toolchain-avr-7.3.0-atmel3.6.1-arduino7/build.conf.orig 2020-05-26 15:42:08.000000000 +0200
++++ toolchain-avr-7.3.0-atmel3.6.1-arduino7/build.conf 2022-01-06 15:07:46.251140445 +0100
+@@ -17,7 +17,11 @@
+ # MPC_VERSION=0.9
+
+ GCC_VERSION=7.3.0
++AUTOCONF_VERSION=2.64
++AUTOMAKE_VERSION=1.11.1
++GMP_VERSION=5.0.2
+ MPFR_VERSION=3.1.0
++MPC_VERSION=0.9
+
+ ATMEL_ATMEGA_PACK_VERSION=1.4.351
+ ATMEL_ATMEGA_PACK_FILENAME=Atmel.ATmega_DFP.${ATMEL_ATMEGA_PACK_VERSION}
+@@ -43,7 +43,6 @@
+ GREP=grep
+
+ #fallback for grep without pearl regexp
+-SOURCES_README="$(wget -O - ${AVR_SOURCES}/SOURCES.README 2>/dev/null)"
+ [ -z "$GCC_VERSION" ] && GCC_VERSION="$(echo "$SOURCES_README" | $GREP "GCC" | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")"
+ [ -z "$AUTOMAKE_VERSION" ] && AUTOMAKE_VERSION="$(echo "$SOURCES_README" | $GREP "automake" | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")"
+ [ -z "$AUTOCONF_VERSION" ] && AUTOCONF_VERSION="$(echo "$SOURCES_README" | $GREP "autoconf" | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")"
+--- toolchain-avr-7.3.0-atmel3.6.1-arduino7/gcc.build.bash.orig 2020-05-26 15:42:08.000000000 +0200
++++ toolchain-avr-7.3.0-atmel3.6.1-arduino7/gcc.build.bash 2022-01-06 16:00:19.640966313 +0100
+@@ -60,6 +60,7 @@
+
+ # Apply the right patchset
+ cd gcc && patch -p1 < ../avr-gcc-patches/atmel-patches-gcc.7.3.0-arduino2.patch && cd ..
++cd gcc && patch -p1 < ../avr-gcc-patches/gcc-add-missing-isl-includes.patch && cd ..
+
+ #pushd gcc
+ #pushd gcc/config/avr/
+--- toolchain-avr-7.3.0-atmel3.6.1-arduino7/atpack.Dx.build.bash.orig 2020-05-26 15:42:08.000000000 +0200
++++ toolchain-avr-7.3.0-atmel3.6.1-arduino7/atpack.Dx.build.bash 2022-01-07 02:53:31.621802110 +0100
+@@ -17,7 +17,7 @@
+
+ source build.conf
+
+-wget ${ATMEL_DX_PACK_URL}
++#wget ${ATMEL_DX_PACK_URL}
+
+ mkdir -p atpack
+ cd atpack
+--- toolchain-avr-7.3.0-atmel3.6.1-arduino7/atpack.build.bash.orig 2020-05-26 15:42:08.000000000 +0200
++++ toolchain-avr-7.3.0-atmel3.6.1-arduino7/atpack.build.bash 2022-01-07 02:53:35.029801922 +0100
+@@ -17,7 +17,7 @@
+
+ source build.conf
+
+-wget ${ATMEL_ATMEGA_PACK_URL}
++#wget ${ATMEL_ATMEGA_PACK_URL}
+
+ mkdir -p atpack
+ cd atpack
+--- toolchain-avr-7.3.0-atmel3.6.1-arduino7/atpack.tiny.build.bash.orig 2020-05-26 15:42:08.000000000 +0200
++++ toolchain-avr-7.3.0-atmel3.6.1-arduino7/atpack.tiny.build.bash 2022-01-07 02:53:38.116801752 +0100
+@@ -17,7 +17,7 @@
+
+ source build.conf
+
+-wget ${ATMEL_ATTINY_PACK_URL}
++#wget ${ATMEL_ATTINY_PACK_URL}
+
+ mkdir -p atpack
+ cd atpack
diff --git a/development/Bear/Bear.SlackBuild b/development/Bear/Bear.SlackBuild
new file mode 100644
index 0000000000..b05f008f7e
--- /dev/null
+++ b/development/Bear/Bear.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for Bear
+
+# Copyright 2023 Ivan Kovmir <i@kovmir.eu>
+# 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=Bear
+VERSION=${VERSION:-3.1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+NAMVER=$PRGNAM-$VERSION
+
+if [ -z "$ARCH" ]; then
+ case "$(uname -m)" in
+ i?86) ARCH=ia32 ;;
+ arm*) ARCH=aarch64 ;;
+ *) ARCH=$(uname -m) ;;
+ esac
+fi
+
+if [ -n "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP="${TMP:-/tmp/SBo}"
+SRC="$TMP/$NAMVER"
+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 .
+chmod -R u+w,go+r-w,a-s .
+
+INSTPREFIX='/usr'
+
+cmake \
+ -DENABLE_UNIT_TESTS=OFF \
+ -DENABLE_FUNC_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=$INSTPREFIX \
+ -DCMAKE_INSTALL_LIBDIR=lib64 \
+ -DCMAKE_INSTALL_DOCDIR=doc/$NAMVER \
+
+make all
+make DESTDIR="$PKG" install
+
+# There is an insatll/strip Makefile recipe, but sbopkglint still compalins.
+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
+
+# The project does not respect -DCMAKE_INSTALL_MANDIR.
+# I have reported the issue, so, hopefully, it will be fixed soon.
+mv "$PKG$INSTPREFIX/share/man" "$PKG$INSTPREFIX"
+rm -rf "$PKG$INSTPREFIX/share"
+
+# Remove useless garbage after the install Makefile recipe.
+rm "$PKG$INSTPREFIX/doc/$NAMVER/CODE_OF_CONDUCT.md"
+rm "$PKG$INSTPREFIX/doc/$NAMVER/CONTRIBUTING.md"
+rm "$PKG$INSTPREFIX/doc/$NAMVER/INSTALL.md"
+mv "$PKG$INSTPREFIX/doc/$NAMVER/COPYING" "$PKG$INSTPREFIX/doc/$NAMVER/LICENSE"
+mv "$PKG$INSTPREFIX/doc/$NAMVER/README.md" "$PKG$INSTPREFIX/doc/$NAMVER/repository-README.md"
+
+# Compress man pages.
+find "$PKG$INSTPREFIX/man" -type f -exec gzip {} +;
+
+mkdir -p "$PKG/install"
+mkdir -p "$PKG/usr/doc/$NAMVER"
+cat "$CWD/$PRGNAM.SlackBuild" > "$PKG/usr/doc/$NAMVER/$PRGNAM.SlackBuild"
+cat "$CWD/README" > "$PKG/usr/doc/$NAMVER/README"
+cat "$CWD/slack-desc" > "$PKG/install/slack-desc"
+
+cd "$PKG"
+/sbin/makepkg -l y -c n "$OUTPUT/$NAMVER-$ARCH-$BUILD$TAG.$PKGTYPE"
diff --git a/development/Bear/Bear.info b/development/Bear/Bear.info
new file mode 100644
index 0000000000..806bbb151f
--- /dev/null
+++ b/development/Bear/Bear.info
@@ -0,0 +1,10 @@
+PRGNAM="Bear"
+VERSION="3.1.1"
+HOMEPAGE="https://github.com/rizsotto/Bear"
+DOWNLOAD="https://github.com/rizsotto/Bear/archive/3.1.1/Bear-3.1.1.tar.gz"
+MD5SUM="1eccc34705eac635aa7408c6c01aef86"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="grpc fmt spdlog nlohmann_json"
+MAINTAINER="Ivan Kovmir"
+EMAIL="i@kovmir.eu"
diff --git a/development/Bear/README b/development/Bear/README
new file mode 100644
index 0000000000..000b651b9f
--- /dev/null
+++ b/development/Bear/README
@@ -0,0 +1,9 @@
+Bear is a tool that generates a compilation database for clang tooling.
+
+The JSON compilation database is used in the clang project to provide
+information on how a single compilation unit is processed. With this, it
+is easy to re-run the compilation with alternate programs.
+
+Some build system natively supports the generation of JSON compilation
+database. For projects which does not use such build tool, Bear
+generates the JSON file during the build process.
diff --git a/development/Bear/slack-desc b/development/Bear/slack-desc
new file mode 100644
index 0000000000..ac4863c1c2
--- /dev/null
+++ b/development/Bear/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------------------------------------------------------|
+Bear: Bear (generates a compilation database for clang tooling)
+Bear:
+Bear: The JSON compilation database is used in the clang project to
+Bear: provide information on how a single compilation unit is processed.
+Bear: With this, it is easy to re-run the compilation with alternate
+Bear: programs.
+Bear:
+Bear:
+Bear:
+Bear: https://github.com/rizsotto/Bear
+Bear:
diff --git a/development/Bottleneck/Bottleneck.SlackBuild b/development/Bottleneck/Bottleneck.SlackBuild
index 939020ae44..9cab519df3 100644
--- a/development/Bottleneck/Bottleneck.SlackBuild
+++ b/development/Bottleneck/Bottleneck.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Bottleneck
@@ -22,10 +22,13 @@
# 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=Bottleneck
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -82,4 +92,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Bottleneck/Bottleneck.info b/development/Bottleneck/Bottleneck.info
index 7fba2af163..265b83e0dc 100644
--- a/development/Bottleneck/Bottleneck.info
+++ b/development/Bottleneck/Bottleneck.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/05/ae/cedf5323f398ab4e4ff92d6c431a3e1
MD5SUM="7fbe5f1194b2717dd8482da3679c0270"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="numpy"
+REQUIRES="python2-numpy"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/CImg/CImg.SlackBuild b/development/CImg/CImg.SlackBuild
index a2642d22fd..c7b0463e61 100644
--- a/development/CImg/CImg.SlackBuild
+++ b/development/CImg/CImg.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CImg.
#
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
-# Copyright 2014-2018 Edward W. Koenig <kingbeowulf {at} gmail [dot] com>
+# Copyright 2014-2022 Edward W. Koenig <kingbeowulf {at} gmail [dot] com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,14 +23,24 @@
# 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=CImg
-VERSION=${VERSION:-2.9.2}
+VERSION=${VERSION:-3.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -67,4 +77,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/CImg/CImg.info b/development/CImg/CImg.info
index 705bb04612..48526b80c5 100644
--- a/development/CImg/CImg.info
+++ b/development/CImg/CImg.info
@@ -1,10 +1,10 @@
PRGNAM="CImg"
-VERSION="2.9.2"
+VERSION="3.3.3"
HOMEPAGE="http://cimg.eu/"
-DOWNLOAD="http://cimg.eu/files/CImg_2.9.2.zip"
-MD5SUM="4d083fe459973ea9c57d23465d13d10a"
+DOWNLOAD="http://cimg.eu/files/CImg_3.3.3.zip"
+MD5SUM="0677a2283551a6206bd15aac4fffb157"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
+EMAIL="kingbeowulf@linuxgalaxy.org"
diff --git a/development/CVSTools/CVSTools.SlackBuild b/development/CVSTools/CVSTools.SlackBuild
index d3a82c6aa1..c1f4a4453d 100644
--- a/development/CVSTools/CVSTools.SlackBuild
+++ b/development/CVSTools/CVSTools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CVSTools
@@ -28,13 +28,23 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220330 bkw: Modified by SlackBuilds.org, BUILD=3: install cvslib.pl
+# to a subdirectory instead of directly to /usr/share.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=CVSTools
VERSION=${VERSION:-21.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+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}
@@ -47,19 +57,16 @@ 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 {} \;
+chmod 644 *
+sed -i '/cvslib\.pl/s,/usr/share,&/cvslib,' *
mkdir -p $PKG/usr/bin
install -o root -g root -m 755 \
checkpoint vers_string cvsver tarup commit cvssync \
$PKG/usr/bin
-mkdir -p $PKG/usr/share
-install -o root -g root -m 644 cvslib.pl $PKG/usr/share
+mkdir -p $PKG/usr/share/cvslib
+install -o root -g root -m 644 cvslib.pl $PKG/usr/share/cvslib
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
@@ -69,4 +76,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/CVSTools/CVSTools.info b/development/CVSTools/CVSTools.info
index 48748b8f99..a8cdc07184 100644
--- a/development/CVSTools/CVSTools.info
+++ b/development/CVSTools/CVSTools.info
@@ -1,7 +1,7 @@
PRGNAM="CVSTools"
VERSION="21.1"
HOMEPAGE="https://www.padl.com/OSS/CVSTools.html"
-DOWNLOAD="https://www.padl.com/download/CVSTools-21.1.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/CVSTools-21.1.tar.gz"
MD5SUM="46c94450ff2bb62fe7b122ee90888188"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/CVSTools/README b/development/CVSTools/README
index 0078197625..0bd6da104b 100644
--- a/development/CVSTools/README
+++ b/development/CVSTools/README
@@ -1,3 +1,5 @@
+CVSTools (PADL's CVS-based versioning system)
+
The CVSTools provide a simple project versioning system built upon
CVS which is used by all PADL software. These tools are also required
to build NetInfo for Linux and our commerial software. The following
diff --git a/development/Catch/Catch.SlackBuild b/development/Catch/Catch.SlackBuild
index 7e24bff1fc..029b3fc649 100644
--- a/development/Catch/Catch.SlackBuild
+++ b/development/Catch/Catch.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Catch
+# Copyright 2023 Steven Voges <Oregon, USA>
# Copyright 2017 Andre Barboza, Belo Horizonte - Brazil
# All rights reserved.
#
@@ -22,10 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220421 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - move docs to correct Slackware doc dir.
+# - make the self-tests optional.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Catch
-VERSION=${VERSION:-1.10.0}
+VERSION=${VERSION:-2.13.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -59,26 +71,43 @@ 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 ${PRGNAM}2-$VERSION
+tar xvf $CWD/${PRGNAM}2-$VERSION.tar.gz
+cd ${PRGNAM}2-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+wanttest=OFF
+[ "${SELFTEST:-no}" = "yes" ] && wanttest=ON
-mkdir -p $PKG/usr/include/Catch
-cp -rvf include/* $PKG/usr/include/Catch
-cp -vf single_include/catch.hpp $PKG/usr/include
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCATCH_USE_VALGRIND=OFF \
+ -DCATCH_BUILD_EXAMPLES=OFF \
+ -DCATCH_ENABLE_COVERAGE=OFF \
+ -DCATCH_ENABLE_WERROR=OFF \
+ -DBUILD_TESTING=$wanttest \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -raf LICENSE.txt README.md docs/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md LICENSE.txt docs/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/share/doc/Catch2 $PKG/usr/doc/$PRGNAM-$VERSION &>/dev/null || true
+rm -rf $PKG/usr/share/doc
+
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Catch/Catch.info b/development/Catch/Catch.info
index c858664ced..0e55485fa6 100644
--- a/development/Catch/Catch.info
+++ b/development/Catch/Catch.info
@@ -1,10 +1,10 @@
PRGNAM="Catch"
-VERSION="1.10.0"
-HOMEPAGE="https://github.com/philsquared/Catch"
-DOWNLOAD="https://github.com/philsquared/Catch/archive/v1.10.0/Catch-1.10.0.tar.gz"
-MD5SUM="dbf33b43d6289d2f586cc3f4f9a4f540"
+VERSION="2.13.10"
+HOMEPAGE="https://github.com/catchorg/Catch2"
+DOWNLOAD="https://github.com/catchorg/Catch2/archive/v2.13.10/Catch2-2.13.10.tar.gz"
+MD5SUM="7a4dd2fd14fb9f46198eb670ac7834b7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/development/Catch/README b/development/Catch/README
index 6023fbb3c9..b32660bb25 100644
--- a/development/Catch/README
+++ b/development/Catch/README
@@ -19,3 +19,7 @@ Key features:
Standard C/C++ operators are used for the comparison -
yet the full expression is decomposed and lhs and rhs
values are logged.
+
+Note: To enable Catch's self-tests, export SELFTEST=yes in the
+script's environment. This doesn't affect the binary package that gets
+built.
diff --git a/development/Catch2/Catch2.SlackBuild b/development/Catch2/Catch2.SlackBuild
new file mode 100644
index 0000000000..342a408ed8
--- /dev/null
+++ b/development/Catch2/Catch2.SlackBuild
@@ -0,0 +1,138 @@
+#!/bin/bash
+
+# Slackware build script for Catch2
+
+# Copyright 2023-2024 Steven Voges <Oregon, USA>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=Catch2
+VERSION=${VERSION:-3.5.4}
+DOCS=${DOCS:-OFF}
+EXTRAS=${EXTRAS:-ON}
+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
+
+#Test for multilib
+COMPAT32=${COMPAT32@L}
+if [ "$COMPAT32" = "" ] ; then
+ COMPATTMP="$( mktemp -d $TMP/compat32-test-XXXXXX )"
+ echo "int main(void) {; return(0); }" > "$COMPATTMP/test.c"
+ gcc -m32 "$COMPATTMP/test.c" -o /dev/null >/dev/null 2>&1 \
+ && COMPAT32=${COMPAT32:-yes}
+ rm -rf "$COMPATTMP"
+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" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCATCH_INSTALL_DOCS=$DOCS \
+ -DCATCH_INSTALL_EXTRAS=$EXTRAS \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+if [ "$COMPAT32" = "yes" ]; then
+ mkdir -p build32
+ cd build32
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -m32" \
+ -DCMAKE_SHARED_LINKER_FLAGS:STRING="-m32" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCATCH_INSTALL_DOCS=$DOCS \
+ -DCATCH_INSTALL_EXTRAS=$EXTRAS \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+ cd ..
+fi
+
+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 \
+ docs/* *.md LICENSE.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+if [ "$DOCS" = "ON" ]; then
+ mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+ rm -rf $PKG/usr/share/doc
+fi
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Catch2/Catch2.info b/development/Catch2/Catch2.info
new file mode 100644
index 0000000000..24c58bdfbf
--- /dev/null
+++ b/development/Catch2/Catch2.info
@@ -0,0 +1,10 @@
+PRGNAM="Catch2"
+VERSION="3.5.4"
+HOMEPAGE="https://github.com/catchorg/Catch2"
+DOWNLOAD="https://github.com/catchorg/Catch2/archive/v3.5.4/Catch2-3.5.4.tar.gz"
+MD5SUM="d6e53cc0ce7fa70205e0c716aff258a8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/development/Catch2/README b/development/Catch2/README
new file mode 100644
index 0000000000..71a3b7bc43
--- /dev/null
+++ b/development/Catch2/README
@@ -0,0 +1,10 @@
+Catch2 is mainly a unit testing framework for C++, but it also
+provides basic micro-benchmarking features, and simple BDD macros.
+
+Catch2's main advantage is that using it is both simple and natural.
+Test names do not have to be valid identifiers, assertions look like
+normal C++ boolean expressions, and sections provide a nice and local
+way to share set-up and tear-down code in tests.
+
+Catch2 builds the v3 branch of Catch2.
+This package conflicts with Catch.
diff --git a/development/Catch2/slack-desc b/development/Catch2/slack-desc
new file mode 100644
index 0000000000..b6e7133763
--- /dev/null
+++ b/development/Catch2/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------------------------------------------------------|
+Catch2: Catch2 (Unit testing framework for C++)
+Catch2:
+Catch2: A modern, C++-native, test framework for unit-tests, TDD and BDD -
+Catch2: using C++14, C++17 and later.
+Catch2:
+Catch2: Homepage: https://github.com/catchorg/Catch2
+Catch2:
+Catch2:
+Catch2:
+Catch2:
+Catch2:
diff --git a/development/ChezScheme/ChezScheme.SlackBuild b/development/ChezScheme/ChezScheme.SlackBuild
index 604a2dfd75..79d34ea48c 100644
--- a/development/ChezScheme/ChezScheme.SlackBuild
+++ b/development/ChezScheme/ChezScheme.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild for ChezScheme, 7 March 2019
# awg <awg@cock.li>
@@ -20,10 +20,13 @@
## ChezScheme itself remains a copyrighted work. Please see the file
## LICENSE in the ChezScheme source distribution.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ChezScheme
VERSION=${VERSION:-9.5.1_674e218}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -86,6 +96,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./configure \
+ CFLAGS="-Wno-error=implicit-fallthrough=" \
$WSIZE \
$THREADS \
--installprefix=/usr \
@@ -108,4 +119,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Coin/Coin.SlackBuild b/development/Coin/Coin.SlackBuild
index 96953fa909..cac32c1f2c 100644
--- a/development/Coin/Coin.SlackBuild
+++ b/development/Coin/Coin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Coin
@@ -6,26 +6,40 @@
# Versions >= 3.1.3 maintained by Niels Horn <niels.horn@gmail.com>
# Revision date: 2010/07/10
+# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - use correct github filename.
+# - don't install useless INSTALL instructions in doc dir.
+# - remove man pages with spaces in the filenames.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Coin
-VERSION=${VERSION:-3.1.3}
-BUILD=${BUILD:-4}
+SRCNAM=coin
+VERSION=${VERSION:-4.0.0.f8a82c09bb5aa62702b9ed396067a25905571c82}
+COMMIT=f8a82c09bb5aa62702b9ed396067a25905571c82
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
@@ -51,49 +65,51 @@ 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-$COMMIT
+tar xvf $CWD/$SRCNAM-$COMMIT.tar.gz
+cd $SRCNAM-$COMMIT
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 \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Thanks Debian
-patch -p1 < $CWD/coin-include_and_js.patch
-
-# fix compilation - from AUR
-sed -i \
- '/^#include "fonts\/freetype.h"$/i #include <cstdlib>\n#include <cmath>' \
- src/fonts/freetype.cpp
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux$ARCHQUADLET
-
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs 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
+ -exec chmod 644 {} \+
+
+mkdir -p coin_build
+cd coin_build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -Hcoin -G "Unix Makefiles" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCOIN_BUILD_DOCUMENTATION=ON \
+ -DCOIN_BUILD_DOCUMENTATION_MAN=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mv $PKG/usr/share/man $PKG/usr/
+mkdir -p $PKG/usr/man/man1
+cp man/man1/coin-config.1 $PKG/usr/man/man1/
+
+# 20220225 bkw: man pages can't have spaces in the filenames. plus, these
+# are empty of real content.
+rm -f $PKG/usr/man/man3/*\ *.3
+
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog FAQ* INSTALL* LICENSE.GPL NEWS RE* THANKS \
+ AUTHORS COPYING ChangeLog FAQ* NEWS RE* THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/Coin/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Coin/Coin.info b/development/Coin/Coin.info
index c6bf34c600..c203c0608b 100644
--- a/development/Coin/Coin.info
+++ b/development/Coin/Coin.info
@@ -1,8 +1,8 @@
PRGNAM="Coin"
-VERSION="3.1.3"
-HOMEPAGE="https://bitbucket.org/Coin3D/coin/wiki/Home"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/Coin-3.1.3.tar.gz"
-MD5SUM="1538682f8d92cdf03e845c786879fbea"
+VERSION="4.0.0.f8a82c09bb5aa62702b9ed396067a25905571c82"
+HOMEPAGE="https://coin3d.github.io/"
+DOWNLOAD="https://github.com/coin3d/coin/archive/f8a82c0/coin-f8a82c09bb5aa62702b9ed396067a25905571c82.tar.gz"
+MD5SUM="17f98e2166a3189f7c8f2b783224bc0b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/Coin/coin-include_and_js.patch b/development/Coin/coin-include_and_js.patch
deleted file mode 100644
index ce435d0275..0000000000
--- a/development/Coin/coin-include_and_js.patch
+++ /dev/null
@@ -1,91 +0,0 @@
---- coin3-3.1.3.orig/include/Inventor/SbBasic.h
-+++ coin3-3.1.3/include/Inventor/SbBasic.h
-@@ -24,6 +24,7 @@
- *
- \**************************************************************************/
-
-+#include <Inventor/C/errors/debugerror.h>
- #include <Inventor/C/basic.h>
-
- /* ********************************************************************** */
---- coin3-3.1.3.orig/html/dynsections.js
-+++ coin3-3.1.3/html/dynsections.js
-@@ -0,0 +1,78 @@
-+function toggleVisibility(linkObj)
-+{
-+ var base = $(linkObj).attr('id');
-+ var summary = $('#'+base+'-summary');
-+ var content = $('#'+base+'-content');
-+ var trigger = $('#'+base+'-trigger');
-+ var src=$(trigger).attr('src');
-+ if (content.is(':visible')===true) {
-+ content.hide();
-+ summary.show();
-+ $(linkObj).addClass('closed').removeClass('opened');
-+ $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
-+ } else {
-+ content.show();
-+ summary.hide();
-+ $(linkObj).removeClass('closed').addClass('opened');
-+ $(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
-+ }
-+ return false;
-+}
-+
-+function updateStripes()
-+{
-+ $('table.directory tr').
-+ removeClass('even').filter(':visible:even').addClass('even');
-+}
-+function toggleLevel(level)
-+{
-+ $('table.directory tr').each(function(){
-+ var l = this.id.split('_').length-1;
-+ var i = $('#img'+this.id.substring(3));
-+ var a = $('#arr'+this.id.substring(3));
-+ if (l<level+1) {
-+ i.attr('src','ftv2folderopen.png');
-+ a.attr('src','ftv2mnode.png');
-+ $(this).show();
-+ } else if (l==level+1) {
-+ i.attr('src','ftv2folderclosed.png');
-+ a.attr('src','ftv2pnode.png');
-+ $(this).show();
-+ } else {
-+ $(this).hide();
-+ }
-+ });
-+ updateStripes();
-+}
-+function toggleFolder(id)
-+{
-+ var n = $('[id^=row_'+id+']');
-+ var i = $('[id^=img_'+id+']');
-+ var a = $('[id^=arr_'+id+']');
-+ var c = n.slice(1);
-+ if (c.filter(':first').is(':visible')===true) {
-+ i.attr('src','ftv2folderclosed.png');
-+ a.attr('src','ftv2pnode.png');
-+ c.hide();
-+ } else {
-+ i.attr('src','ftv2folderopen.png');
-+ a.attr('src','ftv2mnode.png');
-+ c.show();
-+ }
-+ updateStripes();
-+}
-+
-+function toggleInherit(id)
-+{
-+ var rows = $('tr.inherit.'+id);
-+ var img = $('tr.inherit_header.'+id+' img');
-+ var src = $(img).attr('src');
-+ if (rows.filter(':first').is(':visible')===true) {
-+ rows.css('display','none');
-+ $(img).attr('src',src.substring(0,src.length-8)+'closed.png');
-+ } else {
-+ rows.css('display','table-row'); // using show() causes jump in firefox
-+ $(img).attr('src',src.substring(0,src.length-10)+'open.png');
-+ }
-+}
-+
diff --git a/development/Editra/Editra.SlackBuild b/development/Editra/Editra.SlackBuild
deleted file mode 100644
index 71146def0a..0000000000
--- a/development/Editra/Editra.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Editra
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# 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.
-
-PRGNAM=Editra
-VERSION=${VERSION:-0.7.20}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/share/applications
-install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/share/pixmaps/
-install -D -m644 pixmaps/${PRGNAM,,}.png $PKG/usr/share/pixmaps/${PRGNAM,,}.png
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGELOG COPYING FAQ NEWS README THANKS TODO docs/* \
- $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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/Editra/Editra.desktop b/development/Editra/Editra.desktop
deleted file mode 100644
index 4c0b5d8e60..0000000000
--- a/development/Editra/Editra.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=A Developer's Text Editor
-Name[he]= Editra
-Exec=editra
-Icon=editra
-Terminal=false
-Type=Application
-Categories=Development;TextEditor;
-GenericName=Editor
diff --git a/development/Editra/Editra.info b/development/Editra/Editra.info
deleted file mode 100644
index 8ad529287c..0000000000
--- a/development/Editra/Editra.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Editra"
-VERSION="0.7.20"
-HOMEPAGE="http://www.editra.org/"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/editra/Editra-0.7.20.tar.gz"
-MD5SUM="a52c6b3d703f98e0390aa7b44f991616"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wxPython"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/Editra/README b/development/Editra/README
deleted file mode 100644
index 377e5ba840..0000000000
--- a/development/Editra/README
+++ /dev/null
@@ -1,14 +0,0 @@
-Editra is a multi-platform text editor with an implementation that
-focuses on creating an easy to use nterface and features that aid in
-code development. Currently it supports syntax ighlighting and variety
-of other useful features for over 60 programming languages.
-
-Editra is freely available for use under the terms of the wxWindows
-License.
-
-Currently the project is in the alpha development phase but test builds
-of "stable" points are available for download and trial as Windows and
-Mac OSX (Universal) binaries, currently other Unix and Linux based
-systems will have to install from source using the included setup
-script. Please feel free give it a try and to report bugs and request
-features.
diff --git a/development/Editra/doinst.sh b/development/Editra/doinst.sh
deleted file mode 100644
index 473345de20..0000000000
--- a/development/Editra/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-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/development/Editra/slack-desc b/development/Editra/slack-desc
deleted file mode 100644
index 6eda73a83e..0000000000
--- a/development/Editra/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------------------------------------------------------|
-Editra: Editra (A Developer's Text Editor)
-Editra:
-Editra: Editra is a multi-platform text editor with an implementation that
-Editra: focuses on creating an easy to use interface and features that aid in
-Editra: code development. Currently it supports syntax highlighting and
-Editra: variety of other useful features for over 60 programming languages.
-Editra:
-Editra: Editra is freely available for use under the terms of the wxWindows
-Editra: License.
-Editra: Homepage : http://www.editra.org/
-Editra:
diff --git a/development/Fennel/Fennel.SlackBuild b/development/Fennel/Fennel.SlackBuild
index 00aa25d0c6..cdba0da44f 100644
--- a/development/Fennel/Fennel.SlackBuild
+++ b/development/Fennel/Fennel.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Fennel
-# Copyright 2020 abooksigun <abooksigun09@gmail.com>
+# Copyright 2022 abooksigun <abooksigun09@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +21,14 @@
# 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=Fennel
-VERSION=${VERSION:-0.7.0}
+SRCNAM=${PRGNAM,}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -58,9 +69,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 -o -perm 511 \) \
@@ -68,38 +79,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make fennel
-
LUAVER=${LUAVER:-"5.1 5.2 5.3 5.4 jit"}
-BINARY=${BINARY:-no}
+
for i in $LUAVER
do
- if [ $i == 5.1 ] || [ $i == 5.2 ] || [ $i == 5.3 ] || [ $i == 5.4 ] || [ $i == jit ]
+ if [ $i != 5.1 ]; then ver=$i; fi
+ if $(lua$ver -v &> /dev/null)
then
- if [ $i != 5.1 ]; then ver=$i libver=$i include=lua$i; fi
- if $(lua$ver -v &> /dev/null)
+ make LUA=lua$ver
+ install -D -m 0755 $SRCNAM $PKG/usr/bin/$SRCNAM$ver
+ if [ $i != jit ]
then
- sed -i "1s|lua.*|lua$ver|" fennel
- if [ "$BINARY" == "yes" ] && [ $i != 5.1 ]
- then
- if [ $i == jit ]; then libver=jit-5.1 include=luajit-2.0; fi
- make \
- STATIC_LUA_LIB=/usr/lib$LIBDIRSUFFIX/liblua$libver.a \
- LUA_INCLUDE_DIR=/usr/include/$include \
- fennel-bin
- install -D -m 0755 fennel-bin $PKG/usr/bin/fennel$ver
- rm fennel-bin
- else
- install -D -m 0755 fennel $PKG/usr/bin/fennel$ver
- fi
- if [ $i != jit ]
- then
- install -D -m 0644 -t $PKG/usr/share/lua/$i fennel.lua fennelview.fnl fennelview.lua
- fi
+ install -D -m 0644 $SRCNAM.lua $PKG/usr/share/lua/$i/$SRCNAM.lua
fi
- else
- echo -e 'LUAVER must be one or more of "5.1 5.2 5.3 5.4 jit" separated with space'
- exit 1
+ rm $SRCNAM $SRCNAM.lua
fi
done
@@ -107,13 +100,11 @@ 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/man/man1
-gzip -9 fennel.1
-cp fennel.1.gz $PKG/usr/man/man1
+gzip -9 $SRCNAM.1
+cp $SRCNAM.1.gz $PKG/usr/man/man1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -t $PKG/usr/doc/$PRGNAM-$VERSION \
- api.md changelog.md CODE-OF-CONDUCT.md CONTRIBUTING.md LICENSE lua-primer.md \
- rationale.md README.md reference.md release-checklist.md setup.md tutorial.md
+cp -a LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -121,4 +112,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Fennel/Fennel.info b/development/Fennel/Fennel.info
index 49b0957a7f..5bde0e670a 100644
--- a/development/Fennel/Fennel.info
+++ b/development/Fennel/Fennel.info
@@ -1,8 +1,8 @@
PRGNAM="Fennel"
-VERSION="0.7.0"
+VERSION="1.0.0"
HOMEPAGE="https://fennel-lang.org/"
-DOWNLOAD="https://github.com/bakpakin/Fennel/archive/0.7.0/Fennel-0.7.0.tar.gz"
-MD5SUM="1b8586a8b54e83c6ace7c3a0f876f237"
+DOWNLOAD="https://git.sr.ht/~technomancy/fennel/archive/1.0.0.tar.gz"
+MD5SUM="a42c841b00eecbe4a49402a1ab318a51"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
diff --git a/development/Fennel/README b/development/Fennel/README
index c34f0ae83c..fe1e9d1282 100644
--- a/development/Fennel/README
+++ b/development/Fennel/README
@@ -8,9 +8,9 @@ macro system.
than hand-written Lua.
* Compile-time macros: Ship compiled code with no runtime dependency
on Fennel.
-* Embeddable: Fennel is a one-file library as well as an
-* executable. Embed it in other programs to support runtime
-* extensibility and interactive development.
+* Embeddable: Fennel is a one-file library as well as an executable.
+ Embed it in other programs to support runtime extensibility
+ and interactive development.
Anywhere you can run Lua code, you can run Fennel code.
@@ -25,11 +25,6 @@ separated with space.
After installation there are one or more fennel executable files for the
equivalent versions of Lua.
-To install compiled binary versions (experimental, only works with
-lua5.2 or higher):
-
- export BINARY=yes
-
Optional dependency:
* lua-readline
For history completion
diff --git a/development/FreeBASIC/FreeBASIC.SlackBuild b/development/FreeBASIC/FreeBASIC.SlackBuild
index b851e000e0..b38e6f51a7 100644
--- a/development/FreeBASIC/FreeBASIC.SlackBuild
+++ b/development/FreeBASIC/FreeBASIC.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for FreeBASIC
-# Copyright 2014-2019 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
@@ -22,10 +22,41 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20201211 bkw: modified by SlackBuilds.org, to build FreeBASIC from source
+# instead of using prebuilt binary packages. There are various reasons for
+# wanting to do this:
+
+# - The prebuilt binaries were built on an OS where the terminfo fuctions
+# from ncurses were split into a separate library (libtinfo). Using
+# the binary package on Slackware 14.2 means creating a libtinfo
+# symlink in /usr/lib64, which can cause problems later (e.g. if
+# something else links with it, no harm done... until you removepkg
+# FreeBASIC). Also, there are reports on the mailing list of fbc
+# being unable to compile FreeBASIC code that uses curses, even with
+# the symlink in place. Building it on our OS prevents this issue.
+# The folks on the mailing list "solved" this problem by reverting to
+# the FreeBASIC version from the 14.0 repo, which is what prompted
+# me to fix this build...
+
+# - In the same vein, the prebuilt binaries have /usr/lib/freebasic hardcoded,
+# so there had to be a symlink to lib64 on Slackware64.
+
+# - General paranoia about trusting prebuilt binaries.
+
+# - If we build it, we get FreeBASIC bindings for various libraries that
+# are installed, e.g. mysql and libart_lgpl.
+
+# - I was hoping that compiling from source would fix a couple other
+# problems. The sdl2-hello example segfaults with both the prebuilt
+# and built-from-source fbc :(
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FreeBASIC
-VERSION=${VERSION:-1.07.1}
+VERSION=${VERSION:-1.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +66,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -56,57 +94,72 @@ fi
set -e
-if [ "$ARCH" = "x86_64" ]; then
- SRCVER=$(echo $VERSION-linux-x86_64)
-else
- SRCVER=$(echo $VERSION-linux-x86)
-fi
+SRCVER=$VERSION-source-bootstrap
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz
cd $PRGNAM-$SRCVER
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/usr/bin $PKG/usr/include/${PRGNAM,,} $PKG/usr/lib/${PRGNAM,,} \
- $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM,,} $PKG/usr/man/man1
-
-install -D -m0755 bin/fbc $PKG/usr/bin/fbc
-cp -rf include/${PRGNAM,,}/* $PKG/usr/include/${PRGNAM,,}
-cp -rf lib/${PRGNAM,,}/* $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM,,}
-
-# fix linking library for x86_64 arch
-if [ "$ARCH" = "x86_64" ]; then
- ln -sf \
- /usr/lib${LIBDIRSUFFIX}/${PRGNAM,,}/linux-x86_64 \
- $PKG/usr/lib/${PRGNAM,,}
-fi
-
-# fix linking with libtinfo over libncurses
-ln -sf \
- /usr/lib${LIBDIRSUFFIX}/libncurses.so.5 \
- $PKG/usr/lib${LIBDIRSUFFIX}/libtinfo.so.5
-ln -sf \
- /usr/lib${LIBDIRSUFFIX}/libtinfo.so.5 \
- $PKG/usr/lib${LIBDIRSUFFIX}/libtinfo.so
-
-# gzip man page
-gzip -c doc/fbc.1 > $PKG/usr/man/man1/fbc.1.gz
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+[ "$LIBDIRSUFFIX" = "64" ] && extra="ENABLE_LIB64=1"
+
+# This is interesting: we have "precompiled sources", which means
+# FreeBASIC source that was 'compiled' to C source. So to bootstrap
+# fbc, we first build the precompiled C to make a minimal fbc binary,
+# then use that to build the real fbc from the FreeBASIC sources.
+make bootstrap
+
+FBC="$( pwd )/bootstrap/fbc"
+FBFLAGS="-i $( pwd )/inc"
+
+# fbdoc needs its own FBFLAGS. Loosely based on a patch from ponce.
+sed -i -e 's,\<FBFLAGS\>,XFBFLAGS,g' \
+ -e 's,\$(XFBFLAGS),$(FBFLAGS) &,' \
+ doc/fbdoc/makefile
+
+# multiple make commands, with mostly the same args
+run_make() {
+ make \
+ V=1 \
+ FBC="$FBC" \
+ FBFLAGS="$FBFLAGS" \
+ prefix=/usr \
+ ENABLE_STRIPALL=1 \
+ INSTALL_PROGRAM="install -s" \
+ DESTDIR=$PKG \
+ $extra \
+ "$@"
+}
+
+run_make
+run_make install
+
+# Build and install the manual.
+run_make -C doc/libfbdoc
+run_make -C doc/fbdoc
+run_make -C doc/manual html/DocToc.html txt/fbdoc.txt
+
+mkdir -p $PKG/usr/man/man1
+gzip -9c < doc/fbc.1 > $PKG/usr/man/man1/fbc.1.gz
+
+# zero length files...
+find examples/ -name deleteme.txt -exec rm {} +
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/*.txt doc/manual/txt/ doc/manual/html/ examples/ \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ln -s DocToc.html $PKG/usr/doc/$PRGNAM-$VERSION/html/index.html
+
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/FreeBASIC/FreeBASIC.info b/development/FreeBASIC/FreeBASIC.info
index 820c24f02e..48bf59a061 100644
--- a/development/FreeBASIC/FreeBASIC.info
+++ b/development/FreeBASIC/FreeBASIC.info
@@ -1,10 +1,10 @@
PRGNAM="FreeBASIC"
-VERSION="1.07.1"
+VERSION="1.10.1"
HOMEPAGE="http://www.freebasic.net"
-DOWNLOAD="http://downloads.sourceforge.net/fbc/FreeBASIC-1.07.1-linux-x86.tar.gz"
-MD5SUM="a49da627f5605c0ce703adbc7f1d082c"
-DOWNLOAD_x86_64="http://downloads.sourceforge.net/fbc/FreeBASIC-1.07.1-linux-x86_64.tar.gz"
-MD5SUM_x86_64="12d32ee7148be69b47d6c1be1df64fb1"
+DOWNLOAD="https://downloads.sourceforge.net/project/fbc/FreeBASIC-1.10.1/Source/FreeBASIC-1.10.1-source-bootstrap.tar.xz"
+MD5SUM="266f7724b17731b54eeb21198ef3b263"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/development/FreeBASIC/README b/development/FreeBASIC/README
index 5163083ae5..731744dd1b 100644
--- a/development/FreeBASIC/README
+++ b/development/FreeBASIC/README
@@ -2,3 +2,8 @@ Open-source, free, multi-platform BASIC compiler, with syntax
similar MS-QuickBASIC (including the GFX statements), that adds
new features such as pointers, unsigned data types, inline
assembly, a pre-processor and many others.
+
+The complete FreeBASIC manual is included with the package. You can
+view it at:
+
+file:///usr/doc/FreeBASIC-1.07.1/html/index.html
diff --git a/development/GHDL/GHDL.SlackBuild b/development/GHDL/GHDL.SlackBuild
new file mode 100644
index 0000000000..f982d32bdd
--- /dev/null
+++ b/development/GHDL/GHDL.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for GHDL
+
+# Copyright 2022 William PC (Slack-it)- Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=GHDL
+VERSION=${VERSION:-2.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM="ghdl"
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $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 {} \;
+
+
+# fix for configure the building process so ghdl can find the libraries
+sed -i 's#libdirsuffix=.*#libdirsuffix=libexec/ghdl#' configure
+
+# fix for installing 64-bit libraries at /usr/lib64
+sed -i 's#libdir=$(prefix)/lib#&'${LIBDIRSUFFIX}'#' Makefile.in
+
+mkdir build && cd build
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../configure \
+ --prefix=/usr \
+ --enable-libghdl
+
+
+# fix for a building error
+mkdir lib
+
+make
+make install DESTDIR=$PKG
+cd ..
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a {COPYING,NEWS,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/development/GHDL/GHDL.info b/development/GHDL/GHDL.info
new file mode 100644
index 0000000000..da48efffb1
--- /dev/null
+++ b/development/GHDL/GHDL.info
@@ -0,0 +1,10 @@
+PRGNAM="GHDL"
+VERSION="2.0.0"
+HOMEPAGE="http://ghdl.free.fr"
+DOWNLOAD="https://github.com/ghdl/ghdl/archive/v2.0.0/ghdl-2.0.0.tar.gz"
+MD5SUM="d4abb57b0838eb54ad6ad59c62387973"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/GHDL/README b/development/GHDL/README
new file mode 100644
index 0000000000..6719bb8f83
--- /dev/null
+++ b/development/GHDL/README
@@ -0,0 +1,11 @@
+ GHDL is an open-source simulator for the VHDL language. GHDL allows
+you to compile and execute your VHDL code directly in your PC.
+
+ GHDL fully supports the 1987, 1993, 2002 versions of the IEEE 1076
+VHDL standard, and partially the latest 2008 revision (well enough to
+support fixed_generic_pkg or float_generic_pkg).
+
+ By using a code generator (llvm, GCC or a builtin one), GHDL is much
+faster than any interpreted simulator. GHDL runs on Linux, Windows and
+Apple OS X. You can freely download a binary distribution for your OS
+or try to compile GHDL on your own machine.
diff --git a/development/GHDL/slack-desc b/development/GHDL/slack-desc
new file mode 100644
index 0000000000..e7d5986689
--- /dev/null
+++ b/development/GHDL/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------------------------------------------------------|
+GHDL: GHDL (open-source simulator for the VHDL language)
+GHDL:
+GHDL:
+GHDL: GHDL is an open-source simulator for the VHDL language. GHDL allows
+GHDL: you to compile and execute your VHDL code directly in your PC.
+GHDL: GHDL fully supports the 1987, 1993, 2002 versions of the IEEE 1076
+GHDL: VHDL standard, and partially the latest 2008 revision (well enough
+GHDL: to support fixed_generic_pkg or float_generic_pkg).
+GHDL:
+GHDL:
+GHDL:
diff --git a/development/GitEye/GitEye.SlackBuild b/development/GitEye/GitEye.SlackBuild
index 544dbb4783..88db9cdba0 100644
--- a/development/GitEye/GitEye.SlackBuild
+++ b/development/GitEye/GitEye.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GitEye
@@ -22,10 +22,13 @@
# 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="GitEye"
VERSION=${VERSION:-1.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -82,4 +92,4 @@ cd $PKG/usr/bin
ln -s /usr/share/$PRGNAM/$PRGNAM $PRGNAM
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/GitEye/GitEye.info b/development/GitEye/GitEye.info
index 40bd1871ac..3e2f6fdea9 100644
--- a/development/GitEye/GitEye.info
+++ b/development/GitEye/GitEye.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://downloads-guests.open.collab.net/files/documents/61/12535/GitE
MD5SUM="02909e014f13dd29127887b02dbad1eb"
DOWNLOAD_x86_64="https://downloads-guests.open.collab.net/files/documents/61/12536/GitEye-1.12.0-linux.x86_64.zip"
MD5SUM_x86_64="ecff81dcaee493852ea66a105948af13"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Antonio Taverna"
EMAIL="antonio.tvr@gmail.com"
diff --git a/development/Hex2bin/Hex2bin.SlackBuild b/development/Hex2bin/Hex2bin.SlackBuild
index b4875deac9..411ca2e8b4 100644
--- a/development/Hex2bin/Hex2bin.SlackBuild
+++ b/development/Hex2bin/Hex2bin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Hex2bin
@@ -22,26 +22,36 @@
# 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=Hex2bin
VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ICTester/ICTester.SlackBuild b/development/ICTester/ICTester.SlackBuild
new file mode 100644
index 0000000000..43648a2c72
--- /dev/null
+++ b/development/ICTester/ICTester.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for ICTester
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ICTester
+VERSION=${VERSION:-20210823}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --strip-components 1 ICTester
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz doc
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+qmake PREFIX="/usr" ..
+
+CFLAGS="$SLKCFLAGS" \
+make
+
+# not working
+#make install INSTALL_ROOT=$PKG
+
+# manual install
+mkdir -p $PKG/usr/{bin,libexec/$PRGNAM}
+cp -a Qt$PRGNAM/Qt$PRGNAM $PKG/usr/bin
+
+LIBEXEC_FILES="2102test 2111test 2114test 6116test 6810test 93415test icromread ictestcon"
+for file in $LIBEXEC_FILES; do
+ cp -a $file/$file $PKG/usr/libexec/$PRGNAM
+done
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ../{CHANGES.TXT,COPYING,README} $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
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ICTester/ICTester.info b/development/ICTester/ICTester.info
new file mode 100644
index 0000000000..d02654c5c9
--- /dev/null
+++ b/development/ICTester/ICTester.info
@@ -0,0 +1,10 @@
+PRGNAM="ICTester"
+VERSION="20210823"
+HOMEPAGE="https://oldcomputer.info/software/ictester"
+DOWNLOAD="https://oldcomputer.info/software/ictester/ICTester-20210823.tar.gz"
+MD5SUM="ed3e857977953a584d2898aaff06528c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/ICTester/README b/development/ICTester/README
new file mode 100644
index 0000000000..b667c03365
--- /dev/null
+++ b/development/ICTester/README
@@ -0,0 +1,9 @@
+ ICTester is a free (GNU GPL) set of programs which allow to use
+Everyday Practical Electronics' IC Tester device in operating systems
+other than Windows XP or earlier. Original program for this tester is
+written in Visual Basic thus it's impossible to successfully run it
+in newer versions of Windows or in any Linux operating system.
+
+ Open source software for EPE IC Tester, device which allows to test
+TTL and CMOS logic chips. It consists of GUI version and command-line
+tools, which allow to work in batch mode.
diff --git a/development/ICTester/slack-desc b/development/ICTester/slack-desc
new file mode 100644
index 0000000000..b510284c83
--- /dev/null
+++ b/development/ICTester/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------------------------------------------------------|
+ICTester: ICTester (free IC tester)
+ICTester:
+ICTester: ICTester is a free (GNU GPL) set of programs which allow to use
+ICTester: Everyday Practical Electronics IC Tester device in operating systems
+ICTester: other than Windows XP or earlier. Original program for this tester
+ICTester: is written in Visual Basic thus it's impossible to successfully run
+ICTester: it in newer versions of Windows or in any Linux operating system.
+ICTester: Open source software for EPE IC Tester, device which allows to
+ICTester: test TTL and CMOS logic chips. It consists of GUI version and
+ICTester: command-line tools, which allow to work in batch mode.
+ICTester:
diff --git a/development/J-Link/J-Link.SlackBuild b/development/J-Link/J-Link.SlackBuild
index 5cadb2eff2..d6fad68d2c 100644
--- a/development/J-Link/J-Link.SlackBuild
+++ b/development/J-Link/J-Link.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SEGGER J-Link
-# Copyright 2015 Andrzej Telszewski, Sabadell
+# Copyright 2021 Andrzej Telszewski, Szczecin
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,21 +22,30 @@
# 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=J-Link
-VERSION=${VERSION:-5.02}
-SRCNAM="JLink_Linux_V"$(echo $VERSION | tr -d .)"_"
+VERSION=${VERSION:-7.00a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -47,15 +56,17 @@ else
LIBDIRSUFFIX=""
fi
-if [ "$ARCH" != "i486" ] && [ "$ARCH" != "x86_64" ]; then
+if [ "$ARCH" != "i586" ] && [ "$ARCH" != "x86_64" ]; then
echo -ne "\n\nError: \"${ARCH}\" architecture is not supported.\n\n"
exit 1
fi
-if [ "$ARCH" = "i486" ]; then
- SRCNAM="${SRCNAM}i386"
+SRCNAM="JLink_Linux_V$(echo $VERSION | tr -d .)"
+
+if [ "$ARCH" = "i586" ]; then
+ SRCNAM="${SRCNAM}_i386"
else
- SRCNAM="${SRCNAM}$ARCH"
+ SRCNAM="${SRCNAM}_${ARCH}"
fi
set -e
@@ -68,9 +79,11 @@ tar xvf $CWD/$SRCNAM.tgz
mv $SRCNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-TREE_MD5=80fa37c7583e6eb366e15c1fc84e630f
-UDEV_MD5=4918ffb129c5691e8f9a01313f975fea
-TREE_MD5_NEW=( $(find . ! -name "libjlinkarm.so.*" ! -name "libedit.so.*" | sort | md5sum) )
+TREE_MD5=bfc46ffdebe4e426f48d2ad74e1aeb33
+UDEV_MD5=048a92be10a5864e558415326001d5e9
+
+TREE_MD5_NEW=( $(find . -not \( -path './x86' -prune \) -not -name 'libjlinkarm.so*' \
+ -not -name 'libjlinkarm_x86.so*' -not -name 'libQt*' | LC_ALL=C sort | md5sum) )
UDEV_MD5_NEW=( $(md5sum 99-jlink.rules) )
if [ $TREE_MD5 != $TREE_MD5_NEW ] || [ $UDEV_MD5 != $UDEV_MD5_NEW ]; then
@@ -90,33 +103,43 @@ if [ $TREE_MD5 != $TREE_MD5_NEW ] || [ $UDEV_MD5 != $UDEV_MD5_NEW ]; then
fi
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/etc/udev/rules.d
-fromdos < 99-jlink.rules > $PKG/etc/udev/rules.d/99-jlink.rules
-sed -i 's/BUS!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="jlink_rules_end"/ACTION!="add", SUBSYSTEM!="usb", GOTO="jlink_rules_end"/' \
- $PKG/etc/udev/rules.d/99-jlink.rules
-sed -i 's/MODE="666"/MODE="664", GROUP="plugdev"/' $PKG/etc/udev/rules.d/99-jlink.rules
+chmod -R a-st,u+rwX,go-w+rX .
+
+mkdir -p $PKG/opt/J-Link
+cp -a Devices ETC GDBServer JFlash* JLink* JMemExe JRunExe JTAGLoadExe libQt* \
+ $PKG/opt/J-Link
mkdir -p $PKG/usr/bin
-cp -a JFlashSPI_CL JLink{Exe,GDBServer,RemoteServer,RTTClient,STM32,SWOViewer} $PKG/usr/bin
+
+# The official J-Link tarball contains executables and soft links to executables
+# in the _root_ directory of the tarball. This SlackBuild makes _/opt/J-Link_
+# the _root_ directory of the executables and exposes them in _/usr/bin_ with soft links.
+
+find $PKG/opt/J-Link -maxdepth 1 -print0 | xargs -0 file -L | grep -e 'ELF.*executable' | \
+ cut -f1 -d: | rev | cut -f1 -d/ | rev | while IFS= read -r EXENAME; do
+ if [ -L $EXENAME ]; then
+ ln -s /opt/J-Link/$(readlink $EXENAME) $PKG/usr/bin/$EXENAME
+ else
+ ln -s /opt/J-Link/$EXENAME $PKG/usr/bin/$EXENAME
+ fi
+done
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
-cp -a libjlinkarm.so.* $PKG/usr/lib$LIBDIRSUFFIX
+cp -a libjlinkarm.so* $PKG/usr/lib$LIBDIRSUFFIX
+ln -s /usr/lib$LIBDIRSUFFIX/libjlinkarm.so $PKG/opt/J-Link/libjlinkarm.so
+
+mkdir -p $PKG/lib/udev/rules.d
+fromdos < 99-jlink.rules > $PKG/lib/udev/rules.d/99-jlink.rules
+sed -i 's/SUBSYSTEM!="usb_device"/SUBSYSTEM!="usb"/g' $PKG/lib/udev/rules.d/99-jlink.rules
+sed -i -E 's/MODE="0{0,1}666"(, GROUP="dialout"){0,1}/MODE="0664", GROUP="plugdev"/g' \
+ $PKG/lib/udev/rules.d/99-jlink.rules
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Doc/{License.txt,UM08001_JLink.pdf,ReleaseNotes/ReleaseJLink.html} \
- $PKG/usr/doc/$PRGNAM-$VERSION
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/samples
-cp -a Samples/JLink/* $PKG/usr/doc/$PRGNAM-$VERSION/samples
+cp -a Doc/* Samples $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/J-Link/J-Link.info b/development/J-Link/J-Link.info
index 59ab609a0d..a0e4723bfa 100644
--- a/development/J-Link/J-Link.info
+++ b/development/J-Link/J-Link.info
@@ -1,10 +1,10 @@
PRGNAM="J-Link"
-VERSION="5.02"
-HOMEPAGE="https://www.segger.com/"
-DOWNLOAD="https://www.segger.com/jlink-software.html?step=1&file=JLinkLinuxTGZ32_502"
-MD5SUM="0f7d058711d62a2837a13f01d41caf8a"
-DOWNLOAD_x86_64="https://www.segger.com/jlink-software.html?step=1&file=JLinkLinuxTGZ64_502"
-MD5SUM_x86_64="1129746191f45657a6e24aa0e3c85b37"
-REQUIRES="libedit"
+VERSION="7.00a"
+HOMEPAGE="https://www.segger.com/products/debug-probes/j-link/"
+DOWNLOAD="https://www.segger.com/downloads/jlink/JLink_Linux_V700a_i386.tgz"
+MD5SUM="ed538976180a520b7931a7643df6e4f3"
+DOWNLOAD_x86_64="https://www.segger.com/downloads/jlink/JLink_Linux_V700a_x86_64.tgz"
+MD5SUM_x86_64="38974c621365e25575486343f12f108f"
+REQUIRES=""
MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
+EMAIL="andrzej@telszewski.com"
diff --git a/development/J-Link/README b/development/J-Link/README
index 79ad906590..183b1c49a4 100644
--- a/development/J-Link/README
+++ b/development/J-Link/README
@@ -1,23 +1,37 @@
-The J-Link software gives you the USB drivers needed for your system,
+J-Link software gives you the USB drivers needed for your system,
a number of utilities as well as a dynamically linkable library used
by most of the IDEs and debuggers using J-Link. Also included are
a number of sample setup scripts for devices needing one as well as
documentation.
NOTES:
-1. This SlackBuild is not sbopkg compatible because source download
+
+1. This SlackBuild is not _sbopkg_ compatible, because source download
requires licence acceptance (the link provided in .info points to
- download site) and the source tarball name is different from the
- resulting package name.
+ the download form). In addition, the source tarball name is
+ different from the resulting package name.
+
+2. This SlackBuild repackages the official J-Link pre-compiled
+ binaries.
+
+3. Remember to reload udev rules after installing this package:
+
+ $ /etc/rc.d/rc.udev reload
+
+ and then to re-plug your J-Link probe.
-2. This SlackBuild repackages the official J-Link binary package.
+4. The upstream _udev_ rules change the device nodes perms to 0666.
+ This SlackBuild updates the rules, so that the permissions are set
+ to 0664 and group is set to _plugdev_. Be sure to make yourself
+ a member of this group to use J-Link probes without _root_.
+ The same perms/group is applied to the J-Link embedded serial ports
+ device nodes as well.
-3. The official binary package bundles libedit, which is also
- available from slackbuilds.org so I decided to go with the one from
- slackbuilds.org and not with the bundled one. BTW, ldd shows that
- libedit is not used at all.
+5. If you're looking for replacing ST-LINK/V2 on ST Discovery or
+ Nucleo boards with J-Link, see [here]. It requires Windows
+ to perform the update, but can be done using QEMU with usbredir.
+ Such a converted board is used for testing the J-Link package
+ on my Slackware machine.
-4. The original udev rules change the device permissions to 0666.
- This SlackBuild modifies the rules, so that the permissions are
- 0664 and the group is plugdev. Make sure to make yourself a member
- of this group.
+[here]:
+https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
diff --git a/development/J-Link/slack-desc b/development/J-Link/slack-desc
index e659599c66..0d45ca26f8 100644
--- a/development/J-Link/slack-desc
+++ b/development/J-Link/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
J-Link: J-Link (software and documentation for J-Link)
J-Link:
-J-Link: The J-Link software gives you the USB drivers needed for your system,
+J-Link: J-Link software gives you the USB drivers needed for your system,
J-Link: a number of utilities as well as a dynamically linkable library used
-J-Link: by most of the IDEs and debuggers using J-Link. Also included are a
-J-Link: number of sample setup scripts for devices needing one as well as
+J-Link: by most of the IDEs and debuggers using J-Link. Also included are
+J-Link: a number of sample setup scripts for devices needing one as well as
J-Link: documentation.
J-Link:
+J-Link: Homepage: https://www.segger.com/products/debug-probes/j-link/
J-Link:
-J-Link: Homepage: https://www.segger.com/
J-Link:
diff --git a/development/JSONObject/JSONObject.SlackBuild b/development/JSONObject/JSONObject.SlackBuild
deleted file mode 100644
index 4dc3689d8c..0000000000
--- a/development/JSONObject/JSONObject.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for JSONObject
-
-# Copyright 2013 Mário Antunes <mariolpantunes@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=JSONObject
-VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
-if [ -f $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Fails to build with boost-1.58 (missing include)
-patch -p1 < $CWD/incl-iostream.patch
-
-mkdir -p build
-cd build
- LDFLAGS="-lboost_system" \
- cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON \
- -DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX \
- ..
- make VERBOSE=1
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" \
- | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-mkdir -p $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:-tgz}
diff --git a/development/JSONObject/JSONObject.info b/development/JSONObject/JSONObject.info
deleted file mode 100644
index c5e168b97d..0000000000
--- a/development/JSONObject/JSONObject.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="JSONObject"
-VERSION="1.0.2"
-HOMEPAGE="https://github.com/ATNoG/JSONObject"
-DOWNLOAD="https://github.com/ATNoG/JSONObject/archive/v1.0.2.tar.gz"
-MD5SUM="a329aed36a18170511cbadc009d75311"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Mário Antunes"
-EMAIL="mariolpantunes@gmail.com"
diff --git a/development/JSONObject/README b/development/JSONObject/README
deleted file mode 100644
index a21f2dd701..0000000000
--- a/development/JSONObject/README
+++ /dev/null
@@ -1,7 +0,0 @@
-JSON wrapper for boost property tree. Easy to use JSON library
-based on the API of the Java JSON.org one
-(http://www.json.org/java/index.html).
-
-The main focus of the library is to be easy to use and use the
-less amount of dependencies possible. This library only requires
-boost property tree, boost reges and boost thread to be used.
diff --git a/development/JSONObject/incl-iostream.patch b/development/JSONObject/incl-iostream.patch
deleted file mode 100644
index 1033ea7a6f..0000000000
--- a/development/JSONObject/incl-iostream.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -u -r JSONObject-1.0.2/JSONObject.hpp JSONObject-1.0.2-patched/JSONObject.hpp
---- JSONObject-1.0.2/JSONObject.hpp 2013-03-15 10:07:13.000000000 +0000
-+++ JSONObject-1.0.2-patched/JSONObject.hpp 2015-08-21 15:49:05.151811279 +0100
-@@ -15,6 +15,7 @@
- #include <string>
- #include <sstream>
- #include <vector>
-+#include <iostream>
-
- #include <boost/property_tree/ptree.hpp>
- #include <boost/regex.hpp>
diff --git a/development/JSONObject/slack-desc b/development/JSONObject/slack-desc
deleted file mode 100644
index 6027ae868c..0000000000
--- a/development/JSONObject/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------------------------------------------------------|
-JSONObject: JSONObject (JSON C++ library)
-JSONObject:
-JSONObject: JSON wrapper for boost property tree. Easy to use JSON library
-JSONObject: based on the API of the Java JSON.org one
-JSONObject: (http://www.json.org/java/index.html).
-JSONObject:
-JSONObject: The main focus of the library is to be easy to use and use the
-JSONObject: less amount of dependencies possible. This library only requires
-JSONObject: boost property tree, boost reges and boost thread to be used.
-JSONObject:
-JSONObject: homepage: https://github.com/mariolpantunes/json
diff --git a/development/KKEdit/KKEdit.SlackBuild b/development/KKEdit/KKEdit.SlackBuild
deleted file mode 100644
index 1f53e7daa7..0000000000
--- a/development/KKEdit/KKEdit.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for KKEdit
-
-# Copyright 2014 K.D.Hedger
-# 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.
-
-PRGNAM=KKEdit
-VERSION=${VERSION:-0.1.8}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --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 "Example External Tools/" ChangeLog $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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/KKEdit/KKEdit.info b/development/KKEdit/KKEdit.info
deleted file mode 100644
index bad539e841..0000000000
--- a/development/KKEdit/KKEdit.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="KKEdit"
-VERSION="0.1.8"
-HOMEPAGE="http://keithhedger.hostingsiteforfree.com/pages/kkedit/help.html"
-DOWNLOAD="https://dl.dropboxusercontent.com/s/cufjc9wh4qwmond/KKEdit-0.1.8.tar.gz"
-MD5SUM="b8f297d8d9b8714addf65dee1a0b9aee"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="gtksourceview libunique webkitgtk"
-MAINTAINER="K.D.Hedger"
-EMAIL="kdhedger68713@gmail.com"
diff --git a/development/KKEdit/README b/development/KKEdit/README
deleted file mode 100644
index 8e4106c9b8..0000000000
--- a/development/KKEdit/README
+++ /dev/null
@@ -1 +0,0 @@
-KKEdit is a deceptively simple text editor with syntax colouring.
diff --git a/development/KKEdit/slack-desc b/development/KKEdit/slack-desc
deleted file mode 100644
index 1c4d154491..0000000000
--- a/development/KKEdit/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------------------------------------------------------|
-KKEdit: KKEdit (a simple text editor)
-KKEdit:
-KKEdit: KKEdit is a deceptively simple text editor with syntax colouring.
-KKEdit:
-KKEdit: Homepage:
-KKEdit: http://keithhedger.hostingsiteforfree.com/pages/kkedit/help.html
-KKEdit:
-KKEdit:
-KKEdit:
-KKEdit:
-KKEdit:
diff --git a/development/LLgen/LLgen.SlackBuild b/development/LLgen/LLgen.SlackBuild
index 3ad34d5dcd..c80956b8fd 100644
--- a/development/LLgen/LLgen.SlackBuild
+++ b/development/LLgen/LLgen.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LLgen
#
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=LLgen
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/MinForth/MinForth.SlackBuild b/development/MinForth/MinForth.SlackBuild
new file mode 100644
index 0000000000..2e71618ae6
--- /dev/null
+++ b/development/MinForth/MinForth.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for MinForth
+
+# Copyright 2023 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=MinForth
+VERSION=${VERSION:-3.4.8}
+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 MF348
+tar xvf $CWD/MF348_Linux_211105.tgz
+cd MF348
+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 {} \+
+
+cd src
+cc mf2c.c -o mf2c -Wall -funsigned-char -lm
+./mf2c
+cc mf3.c -o mf3 -Wall -funsigned-char -lm
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+install -Dsv -m 0755 mf2c $PKG/usr/bin/mf2c
+rm mf2c
+install -Dsv -m 0755 mf3 $PKG/usr/bin/mf3
+rm mf3
+cd ..
+
+mkdir -p $PKG/usr/src/$PRGNAM-$VERSION
+mv src/* $PKG/usr/src/$PRGNAM-$VERSION
+rmdir src
+
+mkdir -p $PKG/usr/share/MinForth
+cp -avxu demo $PKG/usr/share/MinForth
+cp -avxu ecore $PKG/usr/share/MinForth
+cp -avxu fsl $PKG/usr/share/MinForth
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp change.log $PKG/usr/doc/$PRGNAM-$VERSION
+cp mflicense.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp MFREADME.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -avxu doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/usr/share/pixmaps
+cp $CWD/MinForth.png $PKG/usr/share/pixmaps
+
+mkdir -p $PKG/usr/share/applications
+cp $CWD/MinForth.desktop $PKG/usr/share/applications
+
+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/development/MinForth/MinForth.desktop b/development/MinForth/MinForth.desktop
new file mode 100644
index 0000000000..2700a857a2
--- /dev/null
+++ b/development/MinForth/MinForth.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=MinForth
+Comment=MinForth is a Forth that generates C code
+Exec=/usr/bin/mf3
+Icon=/usr/share/pixmaps/MinForth.png
+Terminal=true
+Type=Application
+Categories=System;Development;
+
diff --git a/development/MinForth/MinForth.info b/development/MinForth/MinForth.info
new file mode 100644
index 0000000000..c1a5beb61e
--- /dev/null
+++ b/development/MinForth/MinForth.info
@@ -0,0 +1,10 @@
+PRGNAM="MinForth"
+VERSION="3.4.8"
+HOMEPAGE="https://sourceforge.net/projects/minforth/"
+DOWNLOAD="https://sourceforge.net/projects/minforth/files/MF348_Linux_211105.tgz"
+MD5SUM="ca03d063bf9f199e065e9777fe34f26f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Antonio Leal"
+EMAIL="antonio.leal@yahoo.com"
diff --git a/development/MinForth/MinForth.png b/development/MinForth/MinForth.png
new file mode 100644
index 0000000000..f5735d252c
--- /dev/null
+++ b/development/MinForth/MinForth.png
Binary files differ
diff --git a/development/MinForth/README b/development/MinForth/README
new file mode 100644
index 0000000000..ddbb3f14f8
--- /dev/null
+++ b/development/MinForth/README
@@ -0,0 +1,52 @@
+----------------------------------------------------------------------
+
+ Welcome to MinForth V3.4
+
+----------------------------------------------------------------------
+
+MinForth V3.4 is a classic Forth compiler in C and Forth. Development
+resource requirements are minimal, hence the name MinForth. A text
+editor and a C compiler are sufficient; by design no toolchain is
+required to adapt or rebuild MinForth. A complete rebuild takes only
+few seconds.
+
+Some features:
+- Windows or Linux (or DOS) versions build from the same source
+- 64-bit or 32-bit versions build from the same source
+- 128-bit double integer numbers (in 64-bit versions)
+- complex numbers
+- comfortable locals for all number types and with output locals
+- NEW arbitrary length floating-point numbers
+- turnkey applications with overlays
+- comfortable block-file screen editor.
+
+MinForth comprises a Forth-to-C transpiler to generate C code from
+word or function definitions in mixed Forth and/or C language.
+Transpiled code can be compiled by many modern C99 compilers to fast
+and compact executable
+application programs. Main but not exclusive application for the
+transpiler is to build the MinForth V3.4 Forth compiler.
+
+MinForth V3.4 is widely conformant to the Forth-2012 draft standard
+(see enclosed file forth-2012.pdf) including all wordsets
+(but for xchars).
+It passes the standard test suite (and more), but it is still
+'in beta'. Feedback and bug reports are welcome by
+- posting in the old Usenet forum comp.lang.forth
+- email to minforth@gmx.net
+
+MinForth V3.4 is free software under an MIT license per enclosed file
+mflicense.txt.
+
+Have fun and stay healthy!
+
+Heidelberg, Germany
+Andreas Kochenburger
+
+----------------------------------------------------------------------
+
+This Slackware package places complementary files in:
+
+ /usr/src/MinForth-3.4.8
+ /usr/doc/MinForth-3.4.8
+ /usr/share/MinForth
diff --git a/development/fuel/doinst.sh b/development/MinForth/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/development/fuel/doinst.sh
+++ b/development/MinForth/doinst.sh
diff --git a/development/MinForth/slack-desc b/development/MinForth/slack-desc
new file mode 100644
index 0000000000..63ddf9a122
--- /dev/null
+++ b/development/MinForth/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------------------------------------------------------|
+MinForth: MinForth (A Forth System that can transpile Forth to C)
+MinForth:
+MinForth: MinForth V3.4 is a classic Forth system with command-line interface.
+MinForth: Development resource requirements are minimal. A source text editor
+MinForth: and a C compiler are sufficient. By design no toolchain is required
+MinForth: to adapt or rebuild MinForth. A complete rebuild takes only few
+MinForth: seconds.
+MinForth: Current sources are for Windows and Linux (32-bit or 64-bit).
+MinForth:
+MinForth:
+MinForth:
diff --git a/development/Mk4tcl/01-Makefile.patch b/development/Mk4tcl/01-Makefile.patch
deleted file mode 100644
index 3e2cde4ed6..0000000000
--- a/development/Mk4tcl/01-Makefile.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Nur metakit/tcl/Makefile.in metakit.new/tcl/Makefile.in
---- metakit/tcl/Makefile.in 2015-06-18 20:37:38.000000000 +0200
-+++ metakit.new/tcl/Makefile.in 2019-07-03 23:02:52.180453468 +0200
-@@ -57,7 +57,7 @@
-
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_VERSION = @PACKAGE_VERSION@
--CC = @CC@
-+CC = g++
- CFLAGS_DEFAULT = @CFLAGS_DEFAULT@
- CFLAGS_WARNING = @CFLAGS_WARNING@
- EXEEXT = @EXEEXT@
-@@ -117,7 +117,7 @@
- @echo " xml2nroff sample.xml > sample.n"
- @echo " xml2html sample.xml > sample.html"
-
--install: all install-binaries install-libraries install-doc
-+install: all install-binaries install-libraries
-
- install-binaries: binaries install-lib-binaries install-bin-binaries
-
diff --git a/development/Mk4tcl/Mk4tcl.SlackBuild b/development/Mk4tcl/Mk4tcl.SlackBuild
deleted file mode 100644
index 0ca8017faa..0000000000
--- a/development/Mk4tcl/Mk4tcl.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Mk4tcl
-
-# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
-
-PRGNAM=Mk4tcl
-VERSION=${VERSION:-2.4.9.8}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 metakit
-tar xvf $CWD/${VERSION}.tar.gz
-cd metakit/tcl
-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 {} \;
-
-cat $CWD/01-Makefile.patch | patch -p2 || exit
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cd ..
-cp -a demos doc examples $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-cd unix
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --build=$ARCH-slackware-linux
-
-make all
-make install DESTDIR=$PKG
-
-cp demo dump myio $PKG/usr/bin
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-cd ..
-
-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:-tgz}
diff --git a/development/Mk4tcl/Mk4tcl.info b/development/Mk4tcl/Mk4tcl.info
deleted file mode 100644
index 2c3a703b10..0000000000
--- a/development/Mk4tcl/Mk4tcl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Mk4tcl"
-VERSION="2.4.9.8"
-HOMEPAGE="https://equi4.com/metakit/"
-DOWNLOAD="https://git.jeelabs.org/jcw/metakit/archive/2.4.9.8.tar.gz"
-MD5SUM="272ccefc8efb1528377883753381589a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Zbigniew Baniewski"
-EMAIL="Zbigniew.Baniewski [at] gmail [dot] com"
diff --git a/development/Mk4tcl/README b/development/Mk4tcl/README
deleted file mode 100644
index 8f6a845998..0000000000
--- a/development/Mk4tcl/README
+++ /dev/null
@@ -1,16 +0,0 @@
-Mk4tcl - Tcl binding for Metakit embedded database library
-
-Metakit is an efficient embedded database library with a small
-footprint. It fills the gap between flat-file, relational,
-object-oriented, and tree-structured databases, supporting
-relational joins, serialization, nested structures, and instant schema
-evolution. There is a C++ API, a Python binding called Mk4py, and a Tcl
-binding called Mk4tcl. You can manipulate and exchange data between
-any of these.
-
-Data files are portable. The library has been used on Unix, Windows,
-Macintosh, VMS, and others, spanning a range of 16- to 64-bit
-architectures, from PDA's to S390's.
-
-Metakit is in use in various commercial projects and products on
-millions of desktops.
diff --git a/development/Mk4tcl/slack-desc b/development/Mk4tcl/slack-desc
deleted file mode 100644
index c8cc45bd68..0000000000
--- a/development/Mk4tcl/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------------------------------------------------------|
-Mk4tcl: Mk4tcl (TCL binding for Metakit embedded database library)
-Mk4tcl:
-Mk4tcl: Metakit is an efficient embedded database library with a small
-Mk4tcl: footprint. It fills the gap between flat-file, relational,
-Mk4tcl: object-oriented, and tree-structured databases, supporting relational
-Mk4tcl: joins, serialization, nested structures, and instant schema evolution
-Mk4tcl: This packages comprises metakit Tcl binding called Mk4tcl.
-Mk4tcl: Data files are portable. The library has been used on Unix, Windows,
-Mk4tcl: Macintosh, VMS, and others.
-Mk4tcl:
-Mk4tcl: Homepage: https://equi4.com/metakit/
diff --git a/development/MySQL-python/MySQL-python.SlackBuild b/development/MySQL-python/MySQL-python.SlackBuild
index c367b99dc9..0a8158e45c 100644
--- a/development/MySQL-python/MySQL-python.SlackBuild
+++ b/development/MySQL-python/MySQL-python.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MySQL-python.
# Written by Jick Nan (jick.nan@gmail.com)
# Modified by the Slackbuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=MySQL-python
-VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.2.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -52,12 +62,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Avoid downloading distribute
-patch -p1 < $CWD/patches/no_distribute_download.patch
-# Include my_config.h first
-patch -p1 < $CWD/patches/MySQL-python-1.2.4-include-my_config-first.patch
-
-python setup.py install --root=$PKG
+CPPFLAGS="-I/usr/include/mysql/server" python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -72,4 +77,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/MySQL-python/MySQL-python.info b/development/MySQL-python/MySQL-python.info
index a64af09544..a96804f1af 100644
--- a/development/MySQL-python/MySQL-python.info
+++ b/development/MySQL-python/MySQL-python.info
@@ -1,8 +1,8 @@
PRGNAM="MySQL-python"
-VERSION="1.2.4"
+VERSION="1.2.5"
HOMEPAGE="https://pypi.python.org/pypi/MySQL-python"
-DOWNLOAD="https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.4.zip"
-MD5SUM="ddf2386daf10a97af115ffad2ed4a9a0"
+DOWNLOAD="https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip"
+MD5SUM="654f75b302db6ed8dc5a898c625e030c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/MySQL-python/patches/MySQL-python-1.2.4-include-my_config-first.patch b/development/MySQL-python/patches/MySQL-python-1.2.4-include-my_config-first.patch
deleted file mode 100644
index 81d2041f47..0000000000
--- a/development/MySQL-python/patches/MySQL-python-1.2.4-include-my_config-first.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -Naur MySQL-python-1.2.4.orig/_mysql.c MySQL-python-1.2.4/_mysql.c
---- MySQL-python-1.2.4.orig/_mysql.c 2013-01-01 17:18:48.000000000 +0100
-+++ MySQL-python-1.2.4/_mysql.c 2014-11-07 20:25:20.483927425 +0100
-@@ -26,6 +26,14 @@
- PERFORMANCE OF THIS SOFTWARE.
- */
-
-+#if defined(MS_WINDOWS)
-+#include <config-win.h>
-+#else
-+#include "my_config.h"
-+#endif
-+#include "mysql.h"
-+#include "mysqld_error.h"
-+#include "errmsg.h"
- #include "Python.h"
- #if PY_MAJOR_VERSION >= 3
- #define IS_PY3K
-@@ -38,14 +46,6 @@
- #endif
- #include "pymemcompat.h"
- #include "structmember.h"
--#if defined(MS_WINDOWS)
--#include <config-win.h>
--#else
--#include "my_config.h"
--#endif
--#include "mysql.h"
--#include "mysqld_error.h"
--#include "errmsg.h"
-
- #if PY_VERSION_HEX < 0x02020000
- # define MyTuple_Resize(t,n,d) _PyTuple_Resize(t, n, d)
diff --git a/development/MySQL-python/patches/no_distribute_download.patch b/development/MySQL-python/patches/no_distribute_download.patch
deleted file mode 100644
index 2a94802373..0000000000
--- a/development/MySQL-python/patches/no_distribute_download.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur MySQL-python-1.2.4.orig/setup.py MySQL-python-1.2.4/setup.py
---- MySQL-python-1.2.4.orig/setup.py 2012-10-08 13:46:54.000000000 +0200
-+++ MySQL-python-1.2.4/setup.py 2013-12-06 20:34:36.214964072 +0100
-@@ -3,8 +3,6 @@
- import os
- import sys
-
--from distribute_setup import use_setuptools
--use_setuptools()
- from setuptools import setup, Extension
-
- if not hasattr(sys, "hexversion") or sys.hexversion < 0x02040000:
diff --git a/development/Naked/Naked.SlackBuild b/development/Naked/Naked.SlackBuild
index 4fe187f13d..a4cc093eec 100644
--- a/development/Naked/Naked.SlackBuild
+++ b/development/Naked/Naked.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Naked
@@ -22,10 +22,13 @@
# 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=Naked
VERSION=${VERSION:-0.1.31}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -80,7 +90,6 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Naked/Naked.info b/development/Naked/Naked.info
index b296dbdafd..3cd3776c7c 100644
--- a/development/Naked/Naked.info
+++ b/development/Naked/Naked.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/N/Naked/Naked-0.1.31.tar.gz"
MD5SUM="ec2cb4948c6ba72f92f57484eb27ee35"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-requests PyYAML"
+REQUIRES="python2-PyYAML"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/OpenCobolIDE/OpenCobolIDE.SlackBuild b/development/OpenCobolIDE/OpenCobolIDE.SlackBuild
deleted file mode 100644
index 3621472b89..0000000000
--- a/development/OpenCobolIDE/OpenCobolIDE.SlackBuild
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for OpenCobolIDE
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# 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.
-
-PRGNAM=OpenCobolIDE
-VERSION=${VERSION:-4.7.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-# Remove assertion about pyqode being in ocide package
-sed -i "s/assert/# assert/" open_cobol_ide/main.py
-
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/OpenCobolIDE/OpenCobolIDE.desktop b/development/OpenCobolIDE/OpenCobolIDE.desktop
deleted file mode 100644
index 76aadb4a91..0000000000
--- a/development/OpenCobolIDE/OpenCobolIDE.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=OpenCobolIDE
-Comment=A simple lightweight COBOL IDE based on OpenCobol
-Exec=open-cobol-ide
-Terminal=false
-Type=Application
-Icon=OpenCobolIDE
-Categories=Development;IDE;
diff --git a/development/OpenCobolIDE/OpenCobolIDE.info b/development/OpenCobolIDE/OpenCobolIDE.info
deleted file mode 100644
index de6cb4f286..0000000000
--- a/development/OpenCobolIDE/OpenCobolIDE.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="OpenCobolIDE"
-VERSION="4.7.4"
-HOMEPAGE="https://github.com/OpenCobolIDE/OpenCobolIDE"
-DOWNLOAD="https://pypi.python.org/packages/88/a4/5345d465897159eea2ded7722d47c116765399ad666be5fcc1f073839764/OpenCobolIDE-4.7.4.tar.gz"
-MD5SUM="d608a4abed36559f7cad193f6a5f41b7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="pyqode.cobol QDarkStyle python-keyring"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/OpenCobolIDE/README b/development/OpenCobolIDE/README
deleted file mode 100644
index 6121108bb7..0000000000
--- a/development/OpenCobolIDE/README
+++ /dev/null
@@ -1,2 +0,0 @@
-OpenCobolIDE is a simple and lightweight cobol IDE
-based on the OpenCobol compiler.
diff --git a/development/OpenCobolIDE/slack-desc b/development/OpenCobolIDE/slack-desc
deleted file mode 100644
index 23289608e0..0000000000
--- a/development/OpenCobolIDE/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------------------------------------------------------|
-OpenCobolIDE: OpenCobolIDE (A simple cobol IDE)
-OpenCobolIDE:
-OpenCobolIDE: OpenCobolIDE is a simple and lightweight cobol
-OpenCobolIDE: IDE based on the OpenCobol compiler.
-OpenCobolIDE:
-OpenCobolIDE: Homepage: https://github.com/OpenCobolIDE/OpenCobolIDE
-OpenCobolIDE:
-OpenCobolIDE:
-OpenCobolIDE:
-OpenCobolIDE:
-OpenCobolIDE:
diff --git a/development/OpenHantek6022/OpenHantek6022.SlackBuild b/development/OpenHantek6022/OpenHantek6022.SlackBuild
index 5466d21986..34cf478240 100644
--- a/development/OpenHantek6022/OpenHantek6022.SlackBuild
+++ b/development/OpenHantek6022/OpenHantek6022.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenHantek6022
@@ -22,10 +22,13 @@
# 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=OpenHantek6022
VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/OpenHantek6022/OpenHantek6022.info b/development/OpenHantek6022/OpenHantek6022.info
index 8acc03e7ae..ab5c0f3a00 100644
--- a/development/OpenHantek6022/OpenHantek6022.info
+++ b/development/OpenHantek6022/OpenHantek6022.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/OpenHantek/OpenHantek6022/archive/3.1.0/OpenHantek6
MD5SUM="1617f414c92e52f67d4f869c6de94919"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 pcre2"
+REQUIRES=""
MAINTAINER="Mauricio Martinez"
EMAIL="eigenfilter@gmail.com"
diff --git a/development/OpenJDK11/OpenJDK11.SlackBuild b/development/OpenJDK11/OpenJDK11.SlackBuild
new file mode 100644
index 0000000000..95c93e24f5
--- /dev/null
+++ b/development/OpenJDK11/OpenJDK11.SlackBuild
@@ -0,0 +1,247 @@
+#!/bin/bash
+
+# Slackware build script for OpenJDK11
+
+# Copyright 2021, 2022, 2023 Lenard Spencer, Orlando, Florida, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=OpenJDK11
+VERSION=${VERSION:-11.0.18}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm; echo "$ARCH is not supported, aborting."; exit 1 ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+ BSARCH="i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ BSARCH="x86_64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf jdk11u-jdk-$VERSION-ga
+tar xvf $CWD/jdk11u-jdk-${VERSION}-ga.tar.gz
+
+# Building openjdk from source requires bootstrapping from either a
+# current or previous version of the (open)jdk binary installation.
+# Extract the OpenJDK10 binary to bootstrap
+# (thanks to BLFS for the binary packages):
+rm -rf $TMP/OpenJDK-10.0.2+13-$BSARCH-bin
+tar xvf $CWD/OpenJDK-10.0.2+13-$BSARCH-bin.tar.xz
+export BOOT_JAVA=$TMP/OpenJDK-10.0.2+13-$BSARCH-bin
+
+# Unpack the jtreg package to run the tests:
+if [ "${TESTS:-no}" = "yes" ]; then
+ rm -rf $TMP/jtreg{,-reports}
+ tar xvf $CWD/jtreg-6.1-1.tar.xz
+ JTREG="--with-jtreg=$TMP/jtreg"
+else
+ JTREG=""
+fi
+
+cd jdk11u-jdk-${VERSION}-ga
+echo "Setting permissions (this may take a while so be patient)"
+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 {} \;
+
+unset JAVA_HOME # recommended by upstream
+
+if [ "${USE_CCACHE:-no}" = "yes" ]; then
+ USECCACHE="--enable-ccache"
+else
+ USECCACHE=""
+fi
+
+# By default, OpenJDK11 uses all available cpu cores.
+# We can override that here with the CORES= switch.
+if [ "${CORES:-""}" ]; then
+ JVAL="$(echo $CORES | grep -o "[0-9]")" || true
+ [ -n "$JVAL" ] && SJOBS="--with-jobs=$JVAL"
+ TJOBS=$JVAL
+else
+ SJOBS=""
+ TJOBS="$(expr $(nproc) + 1)"
+fi
+
+sh configure \
+ --with-boot-jdk=${BOOT_JAVA} \
+ --with-extra-cflags="$SLKCFLAGS" \
+ --with-extra-cxxflags="$SLKCFLAGS" \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-giflib=system \
+ --with-harfbuzz=system \
+ --with-lcms=system \
+ --with-libjpeg=system \
+ --with-libpng=system \
+ --with-zlib=system \
+ --disable-precompiled-headers \
+ --enable-unlimited-crypto \
+ --disable-warnings-as-errors \
+ --with-native-debug-symbols=none \
+ $SJOBS \
+ $USECCACHE \
+ $JTREG \
+ --build=$ARCH-slackware-linux
+
+unset MAKEFLAGS # causes the build to fail if set
+make bootcycle-images
+
+# Test the build using jtreg (thanks again BLFS):
+if [ "$TESTS" = "yes" ]; then
+ export JT_JAVA=$(echo $TMP/jdk11u-jdk-${VERSION}-ga/build/*/jdk)
+ mkdir -p $TMP/jtreg-reports
+ $TMP/jtreg/bin/jtreg -jdk:$JT_JAVA -automatic -ignore:quiet -v1 \
+ -r:$TMP/jtreg-reports -avm -conc:$TJOBS test/jdk:tier1 test/langtools:tier1 \
+ || true
+ unset JT_JAVA
+fi
+
+# make install does not respect DESTDIR, so we must move the image:
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/java
+cp -a build/*/images/jdk/* $PKG/usr/lib$LIBDIRSUFFIX/java
+
+for s in 16 24 32 48; do
+ install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
+ $PKG/usr/share/icons/hicolor/${s}x${s}/apps/java.png
+done
+# the 24x24 icon is missized, so we fix it here:
+cp $CWD/java.png $PKG/usr/share/icons/hicolor/24x24/apps
+
+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
+
+# Create some necessary symlinks:
+( cd $PKG/usr/lib$LIBDIRSUFFIX
+ln -sf java $PRGNAM-$VERSION
+ln -sf java/lib/libjawt.so
+ln -sf java/lib/server/libjvm.so
+ln -sf java/lib/libjava.so
+ln -sf java/lib/libawt.so
+ln -sf java/lib/libawt_xawt.so
+ln -sf java/lib/libverify.so
+)
+
+# Move man pages and compress:
+mv $PKG/usr/lib$LIBDIRSUFFIX/java/man $PKG/usr
+# fix Japanese folder (remove symlink):
+( cd $PKG/usr/man
+rm ja
+mv ja_JP.UTF-8 ja )
+
+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 \
+ LICENSE ADDITIONAL_LICENSE_INFO ASSEMBLY_EXCEPTION README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/usr/doc/$PRGNAM-$VERSION
+ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
+ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/release
+)
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Create desktop entries (Thanks BLFS):
+mkdir -p $PKG/usr/share/applications
+cat > $PKG/usr/share/applications/openjdk-java.desktop << EOF
+[Desktop Entry]
+Name=OpenJDK ${VERSION} Runtime
+Comment=OpenJDK Java ${VERSION} Runtime
+Exec=/usr/lib${LIBDIRSUFFIX}/java/bin/java -jar
+Terminal=false
+Type=Application
+Icon=java
+MimeType=application/x-java-archive;application/java-archive;application/x-jar;
+NoDisplay=true
+EOF
+
+cat > $PKG/usr/share/applications/openjdk-jconsole.desktop << EOF
+[Desktop Entry]
+Name=OpenJDK Java ${VERSION} Console
+Comment=OpenJDK ${VERSION} Console
+Keywords=java;console;monitoring
+Exec=/usr/lib${LIBDIRSUFFIX}/java/bin/jconsole
+Terminal=false
+Type=Application
+Icon=java
+Categories=System;
+EOF
+
+# Create /etc/profile.d scripts:
+mkdir -p $PKG/etc/profile.d
+cat > $PKG/etc/profile.d/jdk11.sh << EOF
+export JAVA_HOME=/usr/lib${LIBDIRSUFFIX}/java
+export PATH=\${PATH}:\${JAVA_HOME}/bin
+EOF
+
+cat > $PKG/etc/profile.d/jdk11.csh << EOF
+setenv JAVA_HOME /usr/lib${LIBDIRSUFFIX}/java
+setenv PATH \${PATH}:\${JAVA_HOME}/bin
+EOF
+chmod 755 $PKG/etc/profile.d/*
+
+mkdir -p $PKG/install
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/OpenJDK11/OpenJDK11.info b/development/OpenJDK11/OpenJDK11.info
new file mode 100644
index 0000000000..d77c11e528
--- /dev/null
+++ b/development/OpenJDK11/OpenJDK11.info
@@ -0,0 +1,18 @@
+PRGNAM="OpenJDK11"
+VERSION="11.0.18"
+HOMEPAGE="https://openjdk.java.net/"
+DOWNLOAD="https://github.com/openjdk/jdk11u/archive/jdk-11.0.18-ga/jdk11u-jdk-11.0.18-ga.tar.gz \
+ https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-10.0.2/OpenJDK-10.0.2+13-i686-bin.tar.xz \
+ http://www.lenardspencer.net/linux/slackbuilds/OpenJDK-bootstraps/jtreg-6.1-1.tar.xz"
+MD5SUM="a7b663f0618e3d7e4eefc4b5e0f097b0 \
+ d66af9a4303ce9d0c93c92945048e361 \
+ e3389e74678dcf707b5b3d5ec6c7510d"
+DOWNLOAD_x86_64="https://github.com/openjdk/jdk11u/archive/jdk-11.0.18-ga/jdk11u-jdk-11.0.18-ga.tar.gz \
+ https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-10.0.2/OpenJDK-10.0.2+13-x86_64-bin.tar.xz \
+ http://www.lenardspencer.net/linux/slackbuilds/OpenJDK-bootstraps/jtreg-6.1-1.tar.xz"
+MD5SUM_x86_64="a7b663f0618e3d7e4eefc4b5e0f097b0 \
+ a550f9e2aa1e8437346bb52a7b36052e \
+ e3389e74678dcf707b5b3d5ec6c7510d"
+REQUIRES=""
+MAINTAINER="Lenard Spencer"
+EMAIL="lenardrspencer@gmail.com"
diff --git a/development/OpenJDK11/README b/development/OpenJDK11/README
new file mode 100644
index 0000000000..bb738313e4
--- /dev/null
+++ b/development/OpenJDK11/README
@@ -0,0 +1,32 @@
+OpenJDK11 is an open source implementation of version 11 (LTS) of the
+Java Development Kit, Standard Edition. It includes tools for
+developing, testing, and running programs written in Java.
+
+This script builds the package from source using the packages listed
+in the .info file (the source tarball plus a binary of the prevous
+version to bootstrap from), so it is not necessary to have a jdk
+package installed to build this package.
+
+By default, the source package uses all available cores to build the
+package, but this can be controlled by passing CORES=<x> to the script.
+It is HIGHLY recommended to use all available cores as a single-core
+build can take quite a while, especially on slower machines.
+NOTE: The build normally fails with MAKEFLAGS set, but this script
+tempararily unsets it so it can proceed.
+
+The source is also able to use ccache to speed up rebuilds. To enable
+this, pass USE_CCACHE=yes to the script. NOTE: Some other SBo scripts
+recommend creating cc/c++/gcc/g++ symlinks to ccache in /usr/local/bin
+to use ccache, but this build fails on that, so make sure they are
+removed before running this script.
+
+To test the build, pass TESTS=yes. This will unpack the jtreg package
+to run the tests. You should expect to see somewhere in the area of
+about 20 to 30 failures and about 30 to 40 errors. The reports will be
+saved in $TMP/jtreg-reports if you want to review them.
+
+After installing this package you will need to logout/login to your
+machine as it will add new files to the /etc/profile.d folder.
+
+MANY thanks to the BLFS community for maintaining 32-bit builds of the
+later versions of OpenJDK we use for bootstrapping.
diff --git a/development/OpenJDK11/doinst.sh b/development/OpenJDK11/doinst.sh
new file mode 100644
index 0000000000..39ec34e32e
--- /dev/null
+++ b/development/OpenJDK11/doinst.sh
@@ -0,0 +1,15 @@
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/development/OpenJDK11/java.png b/development/OpenJDK11/java.png
new file mode 100644
index 0000000000..0c41d652a3
--- /dev/null
+++ b/development/OpenJDK11/java.png
Binary files differ
diff --git a/development/OpenJDK11/slack-desc b/development/OpenJDK11/slack-desc
new file mode 100644
index 0000000000..945e52a356
--- /dev/null
+++ b/development/OpenJDK11/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------------------------------------------------------|
+OpenJDK11: OpenJDK11 (open implementation of JDK 11 LTS)
+OpenJDK11:
+OpenJDK11: OpenJDK11 is an open source implementation of LTS version 11 of the
+OpenJDK11: Java Development Kit, Standard Edition. It includes tools for
+OpenJDK11: developing, testing, and running programs written in Java.
+OpenJDK11:
+OpenJDK11:
+OpenJDK11:
+OpenJDK11:
+OpenJDK11: homepage: https://OpenJDK.java.net/
+OpenJDK11:
diff --git a/development/OpenJDK17/OpenJDK17.SlackBuild b/development/OpenJDK17/OpenJDK17.SlackBuild
new file mode 100644
index 0000000000..bcbb342ab9
--- /dev/null
+++ b/development/OpenJDK17/OpenJDK17.SlackBuild
@@ -0,0 +1,247 @@
+#!/bin/bash
+
+# Slackware build script for OpenJDK17 LTS
+
+# Copyright 2021, 2022 Lenard Spencer, Orlando, Florida, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=OpenJDK17
+VERSION=${VERSION:-17.0.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm; echo "$ARCH is not supported, aborting."; exit 1 ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "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 jdk17u-jdk-$VERSION-ga
+tar xvf $CWD/jdk17u-jdk-$VERSION-ga.tar.gz
+
+# Building openjdk from source requires bootstrapping from either a
+# current or previous version of the (open)jdk binary installation.
+# Extract the OpenJDK16 binary to bootstrap
+if [ "$ARCH" = "x86_64" ]; then
+ export BSDIR="OpenJDK-16.0.2-ga-linux-x86_64-bin"
+ rm -rf $BSDIR
+ tar xvf $CWD/OpenJDK-16.0.2-ga-linux-x86_64-bin.tar.xz
+else
+ export BSDIR="OpenJDK-16.0.2-ga-linux-i586-bin"
+ rm -rf $BSDIR
+ tar xvf $CWD/OpenJDK-16.0.2-ga-linux-i586-bin.tar.xz
+fi
+
+export BOOT_JAVA=$TMP/$BSDIR
+
+# Unpack the jtreg package to run the tests:
+if [ "${TESTS:-no}" = "yes" ]; then
+ rm -rf $TMP/jtreg{,-reports}
+ tar xvf $CWD/jtreg-6.1+1.tar.gz
+ JTREG="--with-jtreg=$TMP/jtreg"
+else
+ JTREG=""
+fi
+
+cd jdk17u-jdk-${VERSION}-ga
+echo "Setting permissions (this may take a while so be patient)"
+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 {} \;
+
+unset JAVA_HOME # recommended by upstream
+
+if [ "${USE_CCACHE:-no}" = "yes" ]; then
+ USECCACHE="--enable-ccache"
+else
+ USECCACHE=""
+fi
+
+# By default, the OpenJDK17 build uses all available cpu cores.
+# We can override that here with the CORES= switch.
+if [ "${CORES:-""}" ]; then
+ JVAL="$(echo $CORES | grep -o "[0-9]")" || true
+ [ -n "$JVAL" ] && SJOBS="--with-jobs=$JVAL"
+ TJOBS=$JVAL
+else
+ SJOBS=""
+ TJOBS="$(expr $(nproc) + 1)"
+fi
+
+sh configure \
+ --with-boot-jdk=${BOOT_JAVA} \
+ --with-extra-cflags="$SLKCFLAGS" \
+ --with-extra-cxxflags="$SLKCFLAGS" \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-giflib=system \
+ --with-harfbuzz=system \
+ --with-lcms=system \
+ --with-libjpeg=system \
+ --with-libpng=system \
+ --with-zlib=system \
+ --disable-precompiled-headers \
+ --enable-unlimited-crypto \
+ --disable-warnings-as-errors \
+ --with-native-debug-symbols=none \
+ $SJOBS \
+ $USECCACHE \
+ $JTREG \
+ --build=$ARCH-slackware-linux
+
+unset MAKEFLAGS # causes the build to fail if set
+make bootcycle-images
+
+# Test the build using jtreg (thanks again BLFS):
+if [ "$TESTS" = "yes" ]; then
+ export JT_JAVA=$(echo $TMP/jdk17u-jdk-${VERSION}-ga/build/*/jdk)
+ mkdir -p $TMP/jtreg-reports
+ $TMP/jtreg/bin/jtreg -jdk:$JT_JAVA -automatic -ignore:quiet -v1 \
+ -r:$TMP/jtreg-reports -avm -conc:$TJOBS test/jdk:tier1 test/langtools:tier1 \
+ || true
+ unset JT_JAVA
+fi
+
+# make install does not respect DESTDIR, so we must move the image:
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/java
+cp -a build/*/images/jdk/* $PKG/usr/lib$LIBDIRSUFFIX/java
+
+for s in 16 24 32 48; do
+ install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
+ $PKG/usr/share/icons/hicolor/${s}x${s}/apps/java.png
+done
+# the 24x24 icon is missized, so we fix it here:
+cp $CWD/java.png $PKG/usr/share/icons/hicolor/24x24/apps
+
+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
+
+# Create some necessary symlinks:
+( cd $PKG/usr/lib$LIBDIRSUFFIX
+ln -sf java $PRGNAM-$VERSION
+ln -sf java/lib/libjawt.so
+ln -sf java/lib/server/libjvm.so
+ln -sf java/lib/libjava.so
+ln -sf java/lib/libawt.so
+ln -sf java/lib/libawt_xawt.so
+ln -sf java/lib/libverify.so
+)
+
+# Move man pages and compress:
+mv $PKG/usr/lib$LIBDIRSUFFIX/java/man $PKG/usr
+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 \
+ LICENSE ADDITIONAL_LICENSE_INFO ASSEMBLY_EXCEPTION README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/usr/doc/$PRGNAM-$VERSION
+ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
+ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/release
+)
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Create desktop entries (Thanks BLFS):
+mkdir -p $PKG/usr/share/applications
+cat > $PKG/usr/share/applications/openjdk-java.desktop << EOF
+[Desktop Entry]
+Name=OpenJDK ${VERSION} Runtime
+Comment=OpenJDK Java ${VERSION} Runtime
+Exec=/usr/lib${LIBDIRSUFFIX}/java/bin/java -jar
+Terminal=false
+Type=Application
+Icon=java
+MimeType=application/x-java-archive;application/java-archive;application/x-jar;
+NoDisplay=true
+EOF
+
+cat > $PKG/usr/share/applications/openjdk-jconsole.desktop << EOF
+[Desktop Entry]
+Name=OpenJDK Java ${VERSION} Console
+Comment=OpenJDK ${VERSION} Console
+Keywords=java;console;monitoring
+Exec=/usr/lib${LIBDIRSUFFIX}/java/bin/jconsole
+Terminal=false
+Type=Application
+Icon=java
+Categories=System;
+EOF
+
+# Create /etc/profile.d scripts:
+mkdir -p $PKG/etc/profile.d
+cat > $PKG/etc/profile.d/jdk17.sh << EOF
+export JAVA_HOME=/usr/lib${LIBDIRSUFFIX}/java
+export PATH=\${PATH}:\${JAVA_HOME}/bin
+EOF
+
+cat > $PKG/etc/profile.d/jdk17.csh << EOF
+setenv JAVA_HOME /usr/lib${LIBDIRSUFFIX}/java
+setenv PATH \${PATH}:\${JAVA_HOME}/bin
+EOF
+chmod 755 $PKG/etc/profile.d/*
+
+mkdir -p $PKG/install
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/OpenJDK17/OpenJDK17.info b/development/OpenJDK17/OpenJDK17.info
new file mode 100644
index 0000000000..6e511f4559
--- /dev/null
+++ b/development/OpenJDK17/OpenJDK17.info
@@ -0,0 +1,18 @@
+PRGNAM="OpenJDK17"
+VERSION="17.0.6"
+HOMEPAGE="https://openjdk.java.net/"
+DOWNLOAD="https://github.com/openjdk/jdk17u/archive/jdk-17.0.6-ga/jdk17u-jdk-17.0.6-ga.tar.gz \
+ http://www.lenardspencer.net/linux/slackbuilds/OpenJDK-bootstraps/OpenJDK-16.0.2-ga-linux-i586-bin.tar.xz \
+ https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-17.0.1/jtreg-6.1+1.tar.gz"
+MD5SUM="b1e04cf1feec28c6d5aa2e3315d21bcf \
+ 1122a0355d0f85af1f4458965661d37f \
+ 49e6bfa2506e96f461a01f9421a0961c"
+DOWNLOAD_x86_64="https://github.com/openjdk/jdk17u/archive/jdk-17.0.6-ga/jdk17u-jdk-17.0.6-ga.tar.gz \
+ http://www.lenardspencer.net/linux/slackbuilds/OpenJDK-bootstraps/OpenJDK-16.0.2-ga-linux-x86_64-bin.tar.xz \
+ https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-17.0.1/jtreg-6.1+1.tar.gz"
+MD5SUM_x86_64="b1e04cf1feec28c6d5aa2e3315d21bcf \
+ 5a78816bed3c90f4552dc2163282faca \
+ 49e6bfa2506e96f461a01f9421a0961c"
+REQUIRES=""
+MAINTAINER="Lenard Spencer"
+EMAIL="lenardrspencer@gmail.com"
diff --git a/development/OpenJDK17/README b/development/OpenJDK17/README
new file mode 100644
index 0000000000..d3c65f9fc0
--- /dev/null
+++ b/development/OpenJDK17/README
@@ -0,0 +1,32 @@
+OpenJDK17 is an open source implementation of version 17 (LTS) of the
+Java Development Kit, Standard Edition. It includes tools for
+developing, testing, and running programs written in Java.
+
+This script builds the package from source using the packages listed
+in the .info file (the source tarball plus a binary of the prevous
+version to bootstrap from), so it is not necessary to have a jdk
+package installed to build this package.
+
+By default, the source package uses all available cores to build the
+package, but this can be controlled by passing CORES=<x> to the script.
+It is HIGHLY recommended to use all available cores as a single-core
+build can take quite a while, especially on slower machines.
+NOTE: The build normally fails with MAKEFLAGS set, but this script
+tempararily unsets so it can proceed.
+
+The source is also able to use ccache to speed up rebuilds. To enable
+this, pass USE_CCACHE=yes to the script. NOTE: Some other SBo scripts
+recommend creating cc/c++/gcc/g++ symlinks to ccache in /usr/local/bin
+to use ccache, but this build fails on that, so make sure they are
+removed before running this script.
+
+To test the build, pass TESTS=yes. This will unpack the jtreg package
+to run the tests. You should expect to see somewhere in the area of
+about 30 to 40 failures and about a dozen errors. The reports will be
+saved in $TMP/jtreg-reports if you want to review them.
+
+After installing this package you will need to logout/login to your
+machine as it will add new files to the /etc/profile.d folder.
+
+MANY thanks to the BLFS community for maintaining 32-bit builds of the
+later versions of OpenJDK we use for bootstrapping.
diff --git a/development/OpenJDK17/doinst.sh b/development/OpenJDK17/doinst.sh
new file mode 100644
index 0000000000..39ec34e32e
--- /dev/null
+++ b/development/OpenJDK17/doinst.sh
@@ -0,0 +1,15 @@
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/development/OpenJDK17/java.png b/development/OpenJDK17/java.png
new file mode 100644
index 0000000000..0c41d652a3
--- /dev/null
+++ b/development/OpenJDK17/java.png
Binary files differ
diff --git a/development/OpenJDK17/slack-desc b/development/OpenJDK17/slack-desc
new file mode 100644
index 0000000000..be13b84bcc
--- /dev/null
+++ b/development/OpenJDK17/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------------------------------------------------------|
+OpenJDK17: OpenJDK17 (open implementation of JDK 17 LTS)
+OpenJDK17:
+OpenJDK17: OpenJDK17 is an open source implementation of version 17 (LTS) of
+OpenJDK17: the Java Development Kit, Standard Edition. It includes tools for
+OpenJDK17: developing, testing, and running programs written in Java.
+OpenJDK17:
+OpenJDK17:
+OpenJDK17:
+OpenJDK17:
+OpenJDK17: homepage: https://OpenJDK.java.net/
+OpenJDK17:
diff --git a/development/ParadisEO/ParadisEO.SlackBuild b/development/ParadisEO/ParadisEO.SlackBuild
index 5f364a5c6c..41c153c1db 100644
--- a/development/ParadisEO/ParadisEO.SlackBuild
+++ b/development/ParadisEO/ParadisEO.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ParadisEO
@@ -22,26 +22,37 @@
# 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=ParadisEO
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-3.0.0_beta}
+SRCVER=$(echo $VERSION | tr _ - )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -59,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-2.0
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-2.0
+rm -rf paradiseo-v$SRCVER
+tar xvf $CWD/paradiseo-v$SRCVER.tar.?z*
+cd paradiseo-v$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -77,7 +88,7 @@ make
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS README LICENSE INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS README* LICENSE INSTALL* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -85,4 +96,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ParadisEO/ParadisEO.info b/development/ParadisEO/ParadisEO.info
index 44415b247b..0638a93f11 100644
--- a/development/ParadisEO/ParadisEO.info
+++ b/development/ParadisEO/ParadisEO.info
@@ -1,8 +1,8 @@
PRGNAM="ParadisEO"
-VERSION="2.0.1"
-HOMEPAGE="http://paradiseo.gforge.inria.fr/"
-DOWNLOAD="https://gforge.inria.fr/frs/download.php/31732/ParadisEO-2.0.1.tar.gz"
-MD5SUM="89f875b3f92abdb64b26c6c207fef346"
+VERSION="3.0.0_beta"
+HOMEPAGE="https://gitlab.inria.fr/paradiseo/paradiseo/"
+DOWNLOAD="https://gitlab.inria.fr/paradiseo/paradiseo/-/archive/v3.0.0-beta/paradiseo-v3.0.0-beta.tar.bz2"
+MD5SUM="6c68bcb3a485f8726b12e1af6b09f5bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/PhpStorm/PhpStorm.SlackBuild b/development/PhpStorm/PhpStorm.SlackBuild
index dc30ddf014..e93f971007 100644
--- a/development/PhpStorm/PhpStorm.SlackBuild
+++ b/development/PhpStorm/PhpStorm.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for phpstorm
-# Copyright 2018 Joielechong <juansspy@gmail.com>
+# Copyright 2023 Joielechong <juansspy@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,16 +22,25 @@
# 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=PhpStorm
-VERSION=${VERSION:-2019.2.1}
+VERSION=${VERSION:-2022.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=${ARCH:-x86_64}
-FOLDER=${FOLDER:-PhpStorm-192.6262.66}
+FOLDER=${FOLDER:-PhpStorm-223.8836.42}
-ARCH=noarch
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,18 +63,32 @@ find -L . \
mkdir -p $PKG/opt/$PRGNAM
cp -rf * $PKG/opt/$PRGNAM
+mkdir -p $PKG/usr/share/applications
+cat << EOF > $PKG/usr/share/applications/$PRGNAM.desktop
+[Desktop Entry]
+Version=1.0
+Type=Application
+Path=/opt/$PRGNAM
+Exec=$PRGNAM %f
+Name=PhpStorm
+GenericName=Text Editor
+Comment=Lightning-smart PHP IDE
+Icon=$PRGNAM
+StartupNotify=true
+Terminal=false
+Categories=Development;IDE;
+EOF
+
+mkdir -p $PKG/usr/share/pixmaps
+install -D -m0644 $PKG/opt/$PRGNAM/bin/phpstorm.png \
+ $PKG/usr/share/pixmaps/$PRGNAM.png
+
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/bin
ln -sf /opt/$PRGNAM/bin/phpstorm.sh $PKG/usr/bin/$PRGNAM
-mkdir -p $PKG/usr/share/applications
-cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/share/pixmaps
-install -D -m0644 bin/phpstorm.png $PKG/usr/share/pixmaps/$PRGNAM.png
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -74,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/PhpStorm/PhpStorm.desktop b/development/PhpStorm/PhpStorm.desktop
deleted file mode 100644
index 82d35c717c..0000000000
--- a/development/PhpStorm/PhpStorm.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=PhpStorm
-GenericName=Text Editor
-Comment=Lightning-smart PHP IDE
-Exec=phpstorm
-Icon=phpstorm
-Type=Application
-Terminal=false
-Categories=Development;TextEditor;
diff --git a/development/PhpStorm/PhpStorm.info b/development/PhpStorm/PhpStorm.info
index 4621bc3895..9dd40e30c5 100644
--- a/development/PhpStorm/PhpStorm.info
+++ b/development/PhpStorm/PhpStorm.info
@@ -1,10 +1,10 @@
PRGNAM="PhpStorm"
-VERSION="2019.2.1"
+VERSION="2022.3.3"
HOMEPAGE="https://www.jetbrains.com/phpstorm/"
-DOWNLOAD="https://download-cf.jetbrains.com/webide/PhpStorm-2019.2.1.tar.gz"
-MD5SUM="b55131db61ff5718ad0172c43362f55e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.jetbrains.com/webide/PhpStorm-2022.3.3.tar.gz"
+MD5SUM_x86_64="546ae4c1a259d137d2228ea3fd278e8e"
+REQUIRES=""
MAINTAINER="Joielechong"
EMAIL="juansspy@gmail.com"
diff --git a/development/Pivy/Pivy.SlackBuild b/development/Pivy/Pivy.SlackBuild
index d5b40188c3..33bb3fddf9 100644
--- a/development/Pivy/Pivy.SlackBuild
+++ b/development/Pivy/Pivy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Pivy
@@ -23,28 +23,39 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date: 2011/08/10
+# Revision date: 2021/05/19
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Pivy
-VERSION=${VERSION:-hg_20101207}
+SRCNAM=pivy
+VERSION=${VERSION:-0.6.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -62,9 +73,9 @@ 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
+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 \) \
@@ -72,14 +83,24 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py install --root $PKG
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
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 \
- AUTHORS HACKING LICENSE NEWS README THANKS docs \
+ AUTHORS HACKING LICENSE NEWS README* THANKS docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
@@ -88,4 +109,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Pivy/Pivy.info b/development/Pivy/Pivy.info
index 74f011c302..eaa1427eab 100644
--- a/development/Pivy/Pivy.info
+++ b/development/Pivy/Pivy.info
@@ -1,8 +1,8 @@
PRGNAM="Pivy"
-VERSION="hg_20101207"
-HOMEPAGE="https://pypi.python.org/pypi/Pivy"
-DOWNLOAD="http://www.nielshorn.net/_download/slackware/source/Pivy-hg_20101207.tar.bz2"
-MD5SUM="ba6e9960f7cf0f9624d7b4f14172725a"
+VERSION="0.6.6"
+HOMEPAGE="https://coin3d.github.io"
+DOWNLOAD="https://github.com/coin3d/pivy/archive/0.6.6/pivy-0.6.6.tar.gz"
+MD5SUM="1b3d07aab6eccf2eba05479639825d86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SoQt"
diff --git a/development/Pivy/slack-desc b/development/Pivy/slack-desc
index ea330d24cd..f41d1bacf3 100644
--- a/development/Pivy/slack-desc
+++ b/development/Pivy/slack-desc
@@ -11,7 +11,7 @@ Pivy:
Pivy: Pivy is an extension to the Python programming language,
Pivy: wrapping Coin C++ scene graph library for usage from Python.
Pivy:
-Pivy: Homepage: https://pypi.python.org/pypi/Pivy
+Pivy: Homepage: https://coin3d.github.io
Pivy:
Pivy:
Pivy:
diff --git a/development/PythonToolkit/PythonToolkit.SlackBuild b/development/PythonToolkit/PythonToolkit.SlackBuild
index 349769c842..c4926a7a9c 100644
--- a/development/PythonToolkit/PythonToolkit.SlackBuild
+++ b/development/PythonToolkit/PythonToolkit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PythonToolkit
@@ -22,10 +22,13 @@
# 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=PythonToolkit
VERSION=${VERSION:-18.08}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -84,4 +94,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/QStlink/QStlink.SlackBuild b/development/QStlink/QStlink.SlackBuild
index db11e17732..333e49fb76 100644
--- a/development/QStlink/QStlink.SlackBuild
+++ b/development/QStlink/QStlink.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for QStlink
@@ -22,10 +22,13 @@
# 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=QStlink
VERSION=${VERSION:-2bf0cd7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=QStlink2
COMMIT=${COMMIT:-2bf0cd7d020e885a8b10f0d177c33f9bb1d5b00e}
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -94,4 +104,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/QtPy/QtPy.SlackBuild b/development/QtPy/QtPy.SlackBuild
new file mode 100644
index 0000000000..7f796858b2
--- /dev/null
+++ b/development/QtPy/QtPy.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for QtPy
+
+# Copyright 2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 nomnombtc <nomnombtc@arcor.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=QtPy
+VERSION=${VERSION:-2.4.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 {} \;
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS.md CHANGELOG.md LICENSE.txt README.md SECURITY.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/QtPy/QtPy.info b/development/QtPy/QtPy.info
new file mode 100644
index 0000000000..02c28ba536
--- /dev/null
+++ b/development/QtPy/QtPy.info
@@ -0,0 +1,10 @@
+PRGNAM="QtPy"
+VERSION="2.4.1"
+HOMEPAGE="https://github.com/spyder-ide/QtPy"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/Q/QtPy/QtPy-2.4.1.tar.gz"
+MD5SUM="9a4ed88d2b16b3e660265881430c4779"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="nomnombtc"
+EMAIL="nomnombtc@arcor.de"
diff --git a/development/QtPy/README b/development/QtPy/README
new file mode 100644
index 0000000000..d3c3b844ab
--- /dev/null
+++ b/development/QtPy/README
@@ -0,0 +1,5 @@
+QtPy is a small abstraction layer that lets you write applications using
+a single API call to either PyQt or PySide.
+
+It provides support for PyQt5, PySide2, PyQt6 and PySide6 using the Qt5
+layout (where the QtGui module has been split into QtGui and QtWidgets).
diff --git a/development/QtPy/slack-desc b/development/QtPy/slack-desc
new file mode 100644
index 0000000000..9646ac63f6
--- /dev/null
+++ b/development/QtPy/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------------------------------------------------------|
+QtPy: QtPy (Qt abstraction layer for Python)
+QtPy:
+QtPy: QtPy is a small abstraction layer that lets you write applications
+QtPy: using a single API call to either PyQt or PySide.
+QtPy:
+QtPy: It provides support for PyQt5, PySide2, PyQt6 and PySide6 using the
+QtPy: Qt5 layout (where the QtGui module has been split into QtGui and
+QtPy: QtWidgets).
+QtPy:
+QtPy:
+QtPy:
diff --git a/development/REDasm/README b/development/REDasm/README
new file mode 100644
index 0000000000..185398f5fd
--- /dev/null
+++ b/development/REDasm/README
@@ -0,0 +1,7 @@
+REDasm is a cross platform disassembler with a modern codebase useful
+from the hobbyist to the professional reverse engineer.
+All features are provided by LibREDasm which loads plugins developed
+in C, C++ and Python3 (you can also support new languages if you want!)
+and an user friendly Qt frontend.
+
+Home: https://redasm.io/
diff --git a/development/REDasm/REDasm.SlackBuild b/development/REDasm/REDasm.SlackBuild
new file mode 100644
index 0000000000..1f84d60236
--- /dev/null
+++ b/development/REDasm/REDasm.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for REDasm
+
+# Copyright 2022 Christopher Luck Orlando, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=REDasm
+VERSION=${VERSION:-3.0.0.beta5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+mkdir -p $TMP/$PRGNAM-$VERSION/libs/KDDockWidgets
+mkdir -p $TMP/$PRGNAM-$VERSION/libs/json
+tar -C $TMP/$PRGNAM-$VERSION/libs/KDDockWidgets --strip-components=1 -x -f $CWD/KDDockWidgets-1.4.0.tar.gz
+tar -C $TMP/$PRGNAM-$VERSION/libs/json --strip-components=1 -x -f $CWD/json-3.10.5.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DFETCHCONTENT_FULLY_DISCONNECTED=ON \
+ -DFETCHCONTENT_SOURCE_DIR_KDDOCKWIDGETES=$TMP/$PRGNAM-$VERSION/libs/KDDockWidgets \
+ -DKDDockWidgets_DOCS=ON \
+ -DCAPSTONE_SPARC_SUPPORT=ON \
+ -DCAPSTONE_PPC_SUPPORT=ON \
+ -DCAPSTONE_X86_SUPPORT=ON \
+ -DCAPSTONE_MIPS_SUPPORT=ON \
+ -DCAPSTONE_M68K_SUPPORT=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+install -Dm644 REDasm.desktop $PKG/usr/share/applications/REDasm.desktop
+
+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* \
+ CHANGELOG* COMPILE* \
+ $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
+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/development/REDasm/REDasm.info b/development/REDasm/REDasm.info
new file mode 100644
index 0000000000..b6dff89359
--- /dev/null
+++ b/development/REDasm/REDasm.info
@@ -0,0 +1,14 @@
+PRGNAM="REDasm"
+VERSION="3.0.0.beta5"
+HOMEPAGE="https://redasm.io/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/kermitdafrog8/REDasm/releases/download/v3.0.0.beta5/REDasm-3.0.0.beta5.tar.gz \
+ https://github.com/kermitdafrog8/REDasm/releases/download/v3.0.0.beta5/json-3.10.5.tar.gz \
+ https://github.com/kermitdafrog8/KDDockWidgets/releases/download/v1.4.0/KDDockWidgets-1.4.0.tar.gz"
+MD5SUM_x86_64="59b34f51bce714308f9cd150067183e4 \
+ 5b946f7d892fa55eabec45e76a20286b \
+ 2fe65788d10ef1cb3919ffd50c9be5a0"
+REQUIRES="spdlog"
+MAINTAINER="Christopher Luck"
+EMAIL="kermitdafrog8@gmail.com"
diff --git a/development/OpenCobolIDE/doinst.sh b/development/REDasm/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/development/OpenCobolIDE/doinst.sh
+++ b/development/REDasm/doinst.sh
diff --git a/development/REDasm/slack-desc b/development/REDasm/slack-desc
new file mode 100644
index 0000000000..5aab27e3a2
--- /dev/null
+++ b/development/REDasm/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------------------------------------------------------|
+REDasm: REDasm (Cross Platform Dissassembler)
+REDasm:
+REDasm: REDasm is a cross platform disassembler with a modern codebase useful
+REDasm: from the hobbyist to the professional reverse engineer. All features
+REDasm: are provided by LibREDasm which loads plugins developed in C, C++
+REDasm: and Python3 (you can also support new languages if you want!) and
+REDasm: an user friendly Qt frontend.
+REDasm:
+REDasm:
+REDasm:
+REDasm: Home: https://redasm.io/
diff --git a/development/SDL2_gfx/README b/development/SDL2_gfx/README
deleted file mode 100644
index 6be21f40d1..0000000000
--- a/development/SDL2_gfx/README
+++ /dev/null
@@ -1,3 +0,0 @@
-SDL graphics drawing primitives and other support functions
-wrapped up in an addon library for the Simple Direct Media
-(SDL) cross-platform API layer.
diff --git a/development/SDL2_gfx/SDL2_gfx.SlackBuild b/development/SDL2_gfx/SDL2_gfx.SlackBuild
deleted file mode 100644
index cdf7a8fb56..0000000000
--- a/development/SDL2_gfx/SDL2_gfx.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SDL2_gfx
-
-# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
-# 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.
-
-PRGNAM=SDL2_gfx
-VERSION=${VERSION:-1.0.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-./autogen.sh
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install 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 AUTHORS COPYING ChangeLog NEWS 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:-tgz}
diff --git a/development/SDL2_gfx/SDL2_gfx.info b/development/SDL2_gfx/SDL2_gfx.info
deleted file mode 100644
index 2f64868bd2..0000000000
--- a/development/SDL2_gfx/SDL2_gfx.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="SDL2_gfx"
-VERSION="1.0.4"
-HOMEPAGE="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
-DOWNLOAD="http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-1.0.4.tar.gz"
-MD5SUM="15f9866c6464ca298f28f62fe5b36d9f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SDL2"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/SDL2_gfx/slack-desc b/development/SDL2_gfx/slack-desc
deleted file mode 100644
index 72864f2da7..0000000000
--- a/development/SDL2_gfx/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------------------------------------------------------|
-SDL2_gfx: SDL2_gfx (addon library for the SDL2)
-SDL2_gfx:
-SDL2_gfx: SDL graphics drawing primitives and other support functions
-SDL2_gfx: wrapped up in an addon library for the Simple Direct Media (SDL)
-SDL2_gfx: cross-platform API layer.
-SDL2_gfx:
-SDL2_gfx: Homepage:
-SDL2_gfx: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
-SDL2_gfx:
-SDL2_gfx:
-SDL2_gfx:
diff --git a/development/SQLAlchemy/SQLAlchemy.SlackBuild b/development/SQLAlchemy/SQLAlchemy.SlackBuild
index d89e37135f..0b099d2a83 100644
--- a/development/SQLAlchemy/SQLAlchemy.SlackBuild
+++ b/development/SQLAlchemy/SQLAlchemy.SlackBuild
@@ -1,32 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SQLAlchemy
-# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2008 Andrea Maccis (andrea.maccis@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
-# Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# 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.
+# 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.
+
+# 20220512 46and2: Updated version, add greenlet to REQUIRES.
+# 20220515 46and2: New maintainer.
+# 20230410 46and2: Change build process, add DEPS for 2.0.x release.
+# 20230612 46and2: Contains ELF binaries, noarch=no
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SQLAlchemy
-VERSION=${VERSION:-1.3.13}
+VERSION=${VERSION:-2.0.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,25 +45,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -66,26 +65,22 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-python setup.py install --root=$PKG
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGES LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES.rst LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/SQLAlchemy/SQLAlchemy.info b/development/SQLAlchemy/SQLAlchemy.info
index 5e70410874..4d987f4c57 100644
--- a/development/SQLAlchemy/SQLAlchemy.info
+++ b/development/SQLAlchemy/SQLAlchemy.info
@@ -1,10 +1,10 @@
PRGNAM="SQLAlchemy"
-VERSION="1.3.13"
+VERSION="2.0.28"
HOMEPAGE="http://www.sqlalchemy.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/af/47/35edeb0f86c0b44934c05d961c893e223ef27e79e1f53b5e6f14820ff553/SQLAlchemy-1.3.13.tar.gz"
-MD5SUM="7ccf4fd305b2cd647221c4d6be0d7999"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sqlalchemy/SQLAlchemy-2.0.28.tar.gz"
+MD5SUM="7f23ed7bea86aa696c2894845dd311bc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="python3-wheel typing-extensions greenlet"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/development/SQLiteStudio/README b/development/SQLiteStudio/README
new file mode 100644
index 0000000000..55203ab9f8
--- /dev/null
+++ b/development/SQLiteStudio/README
@@ -0,0 +1,19 @@
+SQLiteStudio is a free, open source, multi-platform SQLite database
+manager written in C++, with use of Qt framework. It is a desktop
+application for browsing and editing SQLite database files, aimed
+for people who know what SQLite is, or what relational databases
+are in general.
+
+SQLiteStudio was created and is maintained by Pawel Salawa with
+contributions from the community.
+
+It is open-source software, released under GPL (v3) license.
+You are free to use it for any purpose you like.
+
+Homepage: https://sqlitestudio.pl/
+Github: https://github.com/pawelsalawa/sqlitestudio
+
+To build this package the official Slackware Python 3.9 and the
+chrpath package (found in SlackBuilds) are required.
+
+This package installs to /opt/SQLiteStudio
diff --git a/development/SQLiteStudio/SQLiteStudio.SlackBuild b/development/SQLiteStudio/SQLiteStudio.SlackBuild
new file mode 100644
index 0000000000..ed3172451d
--- /dev/null
+++ b/development/SQLiteStudio/SQLiteStudio.SlackBuild
@@ -0,0 +1,145 @@
+#!/bin/bash
+
+# Slackware build script for the SQLiteStudio
+
+# Copyright 2023 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.
+
+# 20230627 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - get rid of libkrb5*.so symlinks; the app uses the ones in /usr/lib64.
+# - fix a few typos in the README.
+# - don't chown and chmod all of /tmp/SBo.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=SQLiteStudio
+VERSION=${VERSION:-3.4.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+BASENAME=${BASENAME:-sqlitestudio}
+
+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
+
+# 20230627 bkw: SLKCFLAGS not needed (qmake handles it correctly).
+if [ "$ARCH" = "i586" ]; then
+ LIBDIRSUFFIX=""
+ QMAKE=/usr/lib/qt5/bin/qmake
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+ QMAKE=/usr/lib/qt5/bin/qmake
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+ QMAKE=/usr/lib64/qt5/bin/qmake
+else
+ LIBDIRSUFFIX=""
+ QMAKE=/usr/lib/qt5/bin/qmake
+fi
+
+set -e
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+BUILDDIR=$TMP/$BASENAME-$VERSION
+
+rm -rf $PKG $BUILDDIR
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+tar xvfz $CWD/$BASENAME-$VERSION.tar.gz
+cd $BUILDDIR
+
+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 {} +
+
+# build program
+mkdir -p $BUILDDIR/output/build $BUILDDIR/output/build/Plugins
+cd $BUILDDIR/output/build
+$QMAKE CONFIG+=portable ../../SQLiteStudio3
+make
+
+# build **all** plugins, requires python 3.9 installed
+set +e
+cd $BUILDDIR/output/build/Plugins
+$QMAKE CONFIG+=portable ../../../Plugins "INCLUDEPATH += /usr/include/python3.9"
+make
+set -e
+
+#Portable distribution created at: $BUILDDIR/output/portable/SQLiteStudio
+cd $BUILDDIR/scripts/linux
+./create_portable.sh $QMAKE
+
+# prepare the package files
+mkdir -p $PKG/opt/$PRGNAM
+cp -avxu $BUILDDIR/output/portable/SQLiteStudio/* $PKG/opt/$PRGNAM/
+
+mkdir -p $PKG/usr/share/pixmaps
+cp $CWD/SQLiteStudio.png $PKG/usr/share/pixmaps/SQLiteStudio.png
+mkdir -p $PKG/usr/share/applications
+cp $CWD/SQLiteStudio.desktop $PKG/usr/share/applications
+
+# remove broken symlinks
+(
+ cd $PKG/opt/SQLiteStudio/lib
+ rm -f libk5crypto.so* libkrb5.so* libkrb5support.so* \
+ libk5crypto.so* libkrb5.so* libkrb5support.so*
+)
+
+# create additonal program symlinks
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin ; rm -rf sqlitestudio )
+( cd $PKG/usr/bin ; ln -sf ../../opt/SQLiteStudio/sqlitestudio sqlitestudio )
+( cd $PKG/usr/bin ; rm -rf SQLiteStudio )
+( cd $PKG/usr/bin ; ln -sf ../../opt/SQLiteStudio/sqlitestudio SQLiteStudio )
+( cd $PKG/usr/bin ; rm -rf sqlitestudiocli )
+( cd $PKG/usr/bin ; ln -sf ../../opt/SQLiteStudio/sqlitestudiocli sqlitestudiocli )
+( cd $PKG/usr/bin ; rm -rf SQLiteStudioCli )
+( cd $PKG/usr/bin ; ln -sf ../../opt/SQLiteStudio/sqlitestudiocli SQLiteStudioCli )
+
+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
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $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
+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/development/SQLiteStudio/SQLiteStudio.desktop b/development/SQLiteStudio/SQLiteStudio.desktop
new file mode 100644
index 0000000000..14481051e3
--- /dev/null
+++ b/development/SQLiteStudio/SQLiteStudio.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=SQLiteStudio
+Comment=SQLite database manager
+Exec=/opt/SQLiteStudio/sqlitestudio
+Icon=/usr/share/pixmaps/SQLiteStudio.png
+Terminal=false
+Type=Application
+Categories=System;Development;
+
diff --git a/development/SQLiteStudio/SQLiteStudio.info b/development/SQLiteStudio/SQLiteStudio.info
new file mode 100644
index 0000000000..45827052b5
--- /dev/null
+++ b/development/SQLiteStudio/SQLiteStudio.info
@@ -0,0 +1,10 @@
+PRGNAM="SQLiteStudio"
+VERSION="3.4.4"
+HOMEPAGE="https://sqlitestudio.pl/"
+DOWNLOAD="https://github.com/pawelsalawa/sqlitestudio/archive/3.4.4/sqlitestudio-3.4.4.tar.gz"
+MD5SUM="a8af4e908dc7e6bf9a8578db1d44f2ec"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="chrpath"
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/SQLiteStudio/SQLiteStudio.png b/development/SQLiteStudio/SQLiteStudio.png
new file mode 100644
index 0000000000..9140aa27c3
--- /dev/null
+++ b/development/SQLiteStudio/SQLiteStudio.png
Binary files differ
diff --git a/development/SQLiteStudio/doinst.sh b/development/SQLiteStudio/doinst.sh
new file mode 100644
index 0000000000..38e4870b5f
--- /dev/null
+++ b/development/SQLiteStudio/doinst.sh
@@ -0,0 +1,15 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+
diff --git a/development/SQLiteStudio/slack-desc b/development/SQLiteStudio/slack-desc
new file mode 100644
index 0000000000..e37f5ac5d0
--- /dev/null
+++ b/development/SQLiteStudio/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------------------------------------------------------|
+SQLiteStudio: SQLiteStudio (SQLite database manager written in C++ using Qt)
+SQLiteStudio:
+SQLiteStudio: A free, open source, multi-platform SQLite database manager written
+SQLiteStudio: in C++, with use of Qt framework.
+SQLiteStudio:
+SQLiteStudio: SQLiteStudio is a desktop application for browsing and editing SQLite
+SQLiteStudio: database files. It is aimed for people, who know what SQLite is, or
+SQLiteStudio: what relational databases are in general.
+SQLiteStudio:
+SQLiteStudio: Homepage: https://sqlitestudio.pl/
+SQLiteStudio:
diff --git a/development/STM32CubeIDE/STM32CubeIDE.SlackBuild b/development/STM32CubeIDE/STM32CubeIDE.SlackBuild
index 3a4a4d7b8c..7f53283939 100644
--- a/development/STM32CubeIDE/STM32CubeIDE.SlackBuild
+++ b/development/STM32CubeIDE/STM32CubeIDE.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for STM32CubeIDE
@@ -22,17 +22,27 @@
# 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=STM32CubeIDE
VERSION=${VERSION:-1.1.0_4551_20191014_1140}
ST_LINK_UDEV_RULES_VERSION=${ST_LINK_UDEV_RULES_VERSION:-1.0.2-2}
SRCNAM=st-stm32cubeide_${VERSION}_amd64
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Only x86_64 is supported.
ARCH=x86_64
-CWD=$(pwd)
+# 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}
@@ -92,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ShellCheck-bin/ShellCheck-bin.SlackBuild b/development/ShellCheck-bin/ShellCheck-bin.SlackBuild
index bafddd7f8e..c9b0f122fe 100644
--- a/development/ShellCheck-bin/ShellCheck-bin.SlackBuild
+++ b/development/ShellCheck-bin/ShellCheck-bin.SlackBuild
@@ -1,50 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ShellCheck-bin
-# Copyright 2018 Dave Woodfall <dave@slackbuilds.org>
-# 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.
+# By Dave Woodfall <dave@slackbuilds.org>
+# Licensed under the WTFPL (http://www.wtfpl.net)
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ShellCheck-bin
BINNAM=shellcheck
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-0.9.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
+ ARCH=$( uname -m )
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
if [ "$ARCH" != "x86_64" ]; then
echo "$ARCH is not supported."
exit 1
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 [ -n "${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
@@ -83,4 +72,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ShellCheck-bin/ShellCheck-bin.info b/development/ShellCheck-bin/ShellCheck-bin.info
index 62d1f598e6..b542ebeb9c 100644
--- a/development/ShellCheck-bin/ShellCheck-bin.info
+++ b/development/ShellCheck-bin/ShellCheck-bin.info
@@ -1,10 +1,10 @@
PRGNAM="ShellCheck-bin"
-VERSION="0.7.1"
+VERSION="0.9.0"
HOMEPAGE="https://www.shellcheck.net"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.x86_64.tar.xz"
-MD5SUM_x86_64="76a9225cf936edfff4e8f124097f4215"
+DOWNLOAD_x86_64="https://github.com/koalaman/shellcheck/releases/download/v0.9.0/shellcheck-v0.9.0.linux.x86_64.tar.xz"
+MD5SUM_x86_64="206ca97e055fccfe3546369d14a37760"
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/development/ShellCheck-bin/shellcheck.1 b/development/ShellCheck-bin/shellcheck.1
index b98de14a65..40f293225f 100644
--- a/development/ShellCheck-bin/shellcheck.1
+++ b/development/ShellCheck-bin/shellcheck.1
@@ -1,17 +1,17 @@
-.\" Automatically generated by Pandoc 2.5
+.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "SHELLCHECK" "1" "" "Shell script analysis tool" ""
.hy
.SH NAME
.PP
-shellcheck \- Shell script analysis tool
+shellcheck - Shell script analysis tool
.SH SYNOPSIS
.PP
-\f[B]shellcheck\f[R] [\f[I]OPTIONS\f[R]\&...] \f[I]FILES\f[R]\&...
+\f[B]shellcheck\f[R] [\f[I]OPTIONS\f[R]...] \f[I]FILES\f[R]...
.SH DESCRIPTION
.PP
ShellCheck is a static analysis and linting tool for sh/bash scripts.
-It\[cq]s mainly focused on handling typical beginner and intermediate
+It\[aq]s mainly focused on handling typical beginner and intermediate
level syntax errors and pitfalls where the shell just gives a cryptic
error message or strange behavior, but it also reports on a few more
advanced issues where corner cases can cause delayed failures.
@@ -26,113 +26,119 @@ Consider this line:
.fi
.IP \[bu] 2
For scripts starting with \f[C]#!/bin/sh\f[R] (or when using
-\f[C]\-s sh\f[R]), ShellCheck will warn that \f[C](( .. ))\f[R] is not
+\f[C]-s sh\f[R]), ShellCheck will warn that \f[C](( .. ))\f[R] is not
POSIX compliant (similar to checkbashisms).
.IP \[bu] 2
For scripts starting with \f[C]#!/bin/bash\f[R] (or using
-\f[C]\-s bash\f[R]), ShellCheck will warn that decimals are not
+\f[C]-s bash\f[R]), ShellCheck will warn that decimals are not
supported.
.IP \[bu] 2
For scripts starting with \f[C]#!/bin/ksh\f[R] (or using
-\f[C]\-s ksh\f[R]), ShellCheck will not warn at all, as \f[C]ksh\f[R]
+\f[C]-s ksh\f[R]), ShellCheck will not warn at all, as \f[C]ksh\f[R]
supports decimals in arithmetic contexts.
.SH OPTIONS
.TP
-.B \f[B]\-a\f[R],\ \f[B]\[en]check\-sourced\f[R]
+\f[B]-a\f[R],\ \f[B]--check-sourced\f[R]
Emit warnings in sourced files.
Normally, \f[C]shellcheck\f[R] will only warn about issues in the
specified files.
With this option, any issues in sourced files will also be reported.
.TP
-.B \f[B]\-C\f[R][\f[I]WHEN\f[R]],\ \f[B]\[en]color\f[R][=\f[I]WHEN\f[R]]
+\f[B]-C\f[R][\f[I]WHEN\f[R]],\ \f[B]--color\f[R][=\f[I]WHEN\f[R]]
For TTY output, enable colors \f[I]always\f[R], \f[I]never\f[R] or
\f[I]auto\f[R].
The default is \f[I]auto\f[R].
-\f[B]\[en]color\f[R] without an argument is equivalent to
-\f[B]\[en]color=always\f[R].
+\f[B]--color\f[R] without an argument is equivalent to
+\f[B]--color=always\f[R].
.TP
-.B \f[B]\-i\f[R]\ \f[I]CODE1\f[R][,\f[I]CODE2\f[R]\&...],\ \f[B]\[en]include=\f[R]\f[I]CODE1\f[R][,\f[I]CODE2\f[R]\&...]
+\f[B]-i\f[R]\ \f[I]CODE1\f[R][,\f[I]CODE2\f[R]...],\ \f[B]--include=\f[R]\f[I]CODE1\f[R][,\f[I]CODE2\f[R]...]
Explicitly include only the specified codes in the report.
-Subsequent \f[B]\-i\f[R] options are cumulative, but all the codes can
-be specified at once, comma\-separated as a single argument.
+Subsequent \f[B]-i\f[R] options are cumulative, but all the codes can be
+specified at once, comma-separated as a single argument.
Include options override any provided exclude options.
.TP
-.B \f[B]\-e\f[R]\ \f[I]CODE1\f[R][,\f[I]CODE2\f[R]\&...],\ \f[B]\[en]exclude=\f[R]\f[I]CODE1\f[R][,\f[I]CODE2\f[R]\&...]
+\f[B]-e\f[R]\ \f[I]CODE1\f[R][,\f[I]CODE2\f[R]...],\ \f[B]--exclude=\f[R]\f[I]CODE1\f[R][,\f[I]CODE2\f[R]...]
Explicitly exclude the specified codes from the report.
-Subsequent \f[B]\-e\f[R] options are cumulative, but all the codes can
-be specified at once, comma\-separated as a single argument.
+Subsequent \f[B]-e\f[R] options are cumulative, but all the codes can be
+specified at once, comma-separated as a single argument.
.TP
-.B \f[B]\-f\f[R] \f[I]FORMAT\f[R], \f[B]\[en]format=\f[R]\f[I]FORMAT\f[R]
+\f[B]-f\f[R] \f[I]FORMAT\f[R], \f[B]--format=\f[R]\f[I]FORMAT\f[R]
Specify the output format of shellcheck, which prints its results in the
standard output.
-Subsequent \f[B]\-f\f[R] options are ignored, see \f[B]FORMATS\f[R]
-below for more information.
+Subsequent \f[B]-f\f[R] options are ignored, see \f[B]FORMATS\f[R] below
+for more information.
.TP
-.B \f[B]\[en]list\-optional\f[R]
+\f[B]--list-optional\f[R]
Output a list of known optional checks.
-These can be enabled with \f[B]\-o\f[R] flags or \f[B]enable\f[R]
+These can be enabled with \f[B]-o\f[R] flags or \f[B]enable\f[R]
directives.
.TP
-.B \f[B]\[en]norc\f[R]
-Don\[cq]t try to look for .shellcheckrc configuration files.
+\f[B]--norc\f[R]
+Don\[aq]t try to look for .shellcheckrc configuration files.
.TP
-.B \f[B]\-o\f[R]\ \f[I]NAME1\f[R][,\f[I]NAME2\f[R]\&...],\ \f[B]\[en]enable=\f[R]\f[I]NAME1\f[R][,\f[I]NAME2\f[R]\&...]
+\f[B]-o\f[R]\ \f[I]NAME1\f[R][,\f[I]NAME2\f[R]...],\ \f[B]--enable=\f[R]\f[I]NAME1\f[R][,\f[I]NAME2\f[R]...]
Enable optional checks.
The special name \f[I]all\f[R] enables all of them.
-Subsequent \f[B]\-o\f[R] options accumulate.
+Subsequent \f[B]-o\f[R] options accumulate.
This is equivalent to specifying \f[B]enable\f[R] directives.
.TP
-.B \f[B]\-P\f[R]\ \f[I]SOURCEPATH\f[R],\ \f[B]\[en]source\-path=\f[R]\f[I]SOURCEPATH\f[R]
+\f[B]-P\f[R]\ \f[I]SOURCEPATH\f[R],\ \f[B]--source-path=\f[R]\f[I]SOURCEPATH\f[R]
Specify paths to search for sourced files, separated by \f[C]:\f[R] on
Unix and \f[C];\f[R] on Windows.
-This is equivalent to specifying \f[C]search\-path\f[R] directives.
+This is equivalent to specifying \f[C]search-path\f[R] directives.
.TP
-.B \f[B]\-s\f[R]\ \f[I]shell\f[R],\ \f[B]\[en]shell=\f[R]\f[I]shell\f[R]
+\f[B]-s\f[R]\ \f[I]shell\f[R],\ \f[B]--shell=\f[R]\f[I]shell\f[R]
Specify Bourne shell dialect.
Valid values are \f[I]sh\f[R], \f[I]bash\f[R], \f[I]dash\f[R] and
\f[I]ksh\f[R].
-The default is to deduce the shell from the file\[cq]s \f[C]shell\f[R]
+The default is to deduce the shell from the file\[aq]s \f[C]shell\f[R]
directive, shebang, or \f[C].bash/.bats/.dash/.ksh\f[R] extension, in
that order.
-\f[I]sh\f[R] refers to POSIX \f[C]sh\f[R] (not the system\[cq]s), and
+\f[I]sh\f[R] refers to POSIX \f[C]sh\f[R] (not the system\[aq]s), and
will warn of portability issues.
.TP
-.B \f[B]\-S\f[R]\ \f[I]SEVERITY\f[R],\ \f[B]\[en]severity=\f[R]\f[I]severity\f[R]
+\f[B]-S\f[R]\ \f[I]SEVERITY\f[R],\ \f[B]--severity=\f[R]\f[I]severity\f[R]
Specify minimum severity of errors to consider.
Valid values in order of severity are \f[I]error\f[R],
\f[I]warning\f[R], \f[I]info\f[R] and \f[I]style\f[R].
The default is \f[I]style\f[R].
.TP
-.B \f[B]\-V\f[R],\ \f[B]\[en]version\f[R]
+\f[B]-V\f[R],\ \f[B]--version\f[R]
Print version information and exit.
.TP
-.B \f[B]\-W\f[R] \f[I]NUM\f[R],\ \f[B]\[en]wiki\-link\-count=NUM\f[R]
+\f[B]-W\f[R] \f[I]NUM\f[R],\ \f[B]--wiki-link-count=NUM\f[R]
For TTY output, show \f[I]NUM\f[R] wiki links to more information about
mentioned warnings.
Set to 0 to disable them entirely.
.TP
-.B \f[B]\-x\f[R],\ \f[B]\[en]external\-sources\f[R]
+\f[B]-x\f[R],\ \f[B]--external-sources\f[R]
Follow \f[C]source\f[R] statements even when the file is not specified
as input.
By default, \f[C]shellcheck\f[R] will only follow files specified on the
command line (plus \f[C]/dev/null\f[R]).
This option allows following any file the script may \f[C]source\f[R].
+.RS
+.PP
+This option may also be enabled using \f[C]external-sources=true\f[R] in
+\f[C].shellcheckrc\f[R].
+This flag takes precedence.
+.RE
.TP
-.B \f[B]FILES\&...\f[R]
-One or more script files to check, or \[lq]\-\[rq] for standard input.
+\f[B]FILES...\f[R]
+One or more script files to check, or \[dq]-\[dq] for standard input.
.SH FORMATS
.TP
-.B \f[B]tty\f[R]
+\f[B]tty\f[R]
Plain text, human readable output.
This is the default.
.TP
-.B \f[B]gcc\f[R]
+\f[B]gcc\f[R]
GCC compatible output.
Useful for editors that support compiling and showing syntax errors.
.RS
.PP
For example, in Vim,
-\f[C]:set makeprg=shellcheck\[rs] \-f\[rs] gcc\[rs] %\f[R] will allow
+\f[C]:set makeprg=shellcheck\[rs] -f\[rs] gcc\[rs] %\f[R] will allow
using \f[C]:make\f[R] to check the script, and \f[C]:cnext\f[R] to jump
to the next error.
.IP
@@ -143,7 +149,7 @@ to the next error.
.fi
.RE
.TP
-.B \f[B]checkstyle\f[R]
+\f[B]checkstyle\f[R]
Checkstyle compatible XML output.
Supported directly or through plugins by many IDEs and build monitoring
systems.
@@ -151,7 +157,7 @@ systems.
.IP
.nf
\f[C]
-<?xml version=\[aq]1.0\[aq] encoding=\[aq]UTF\-8\[aq]?>
+<?xml version=\[aq]1.0\[aq] encoding=\[aq]UTF-8\[aq]?>
<checkstyle version=\[aq]4.3\[aq]>
<file name=\[aq]file\[aq]>
<error
@@ -168,32 +174,32 @@ systems.
.fi
.RE
.TP
-.B \f[B]diff\f[R]
-Auto\-fixes in unified diff format.
-Can be piped to \f[C]git apply\f[R] or \f[C]patch \-p1\f[R] to
+\f[B]diff\f[R]
+Auto-fixes in unified diff format.
+Can be piped to \f[C]git apply\f[R] or \f[C]patch -p1\f[R] to
automatically apply fixes.
.RS
.IP
.nf
\f[C]
-\-\-\- a/test.sh
+--- a/test.sh
+++ b/test.sh
-\[at]\[at] \-2,6 +2,6 \[at]\[at]
+\[at]\[at] -2,6 +2,6 \[at]\[at]
## Example of a broken script.
for f in $(ls *.m3u)
do
-\- grep \-qi hq.*mp3 $f \[rs]
-+ grep \-qi hq.*mp3 \[dq]$f\[dq] \[rs]
- && echo \-e \[aq]Playlist $f contains a HQ file in mp3 format\[aq]
+- grep -qi hq.*mp3 $f \[rs]
++ grep -qi hq.*mp3 \[dq]$f\[dq] \[rs]
+ && echo -e \[aq]Playlist $f contains a HQ file in mp3 format\[aq]
done
\f[R]
.fi
.RE
.TP
-.B \f[B]json1\f[R]
+\f[B]json1\f[R]
Json is a popular serialization format that is more suitable for web
applications.
-ShellCheck\[cq]s json is compact and contains only the bare minimum.
+ShellCheck\[aq]s json is compact and contains only the bare minimum.
Tabs are counted as 1 character.
.RS
.IP
@@ -216,24 +222,24 @@ Tabs are counted as 1 character.
.fi
.RE
.TP
-.B \f[B]json\f[R]
+\f[B]json\f[R]
This is a legacy version of the \f[B]json1\f[R] format.
-It\[cq]s a raw array of comments, and all offsets have a tab stop of 8.
+It\[aq]s a raw array of comments, and all offsets have a tab stop of 8.
.TP
-.B \f[B]quiet\f[R]
+\f[B]quiet\f[R]
Suppress all normal output.
Exit with zero if no issues are found, otherwise exit with one.
Stops processing after the first issue.
.SH DIRECTIVES
.PP
ShellCheck directives can be specified as comments in the shell script.
-If they appear before the first command, they are considered file\-wide.
+If they appear before the first command, they are considered file-wide.
Otherwise, they apply to the immediately following command or block:
.IP
.nf
\f[C]
# shellcheck key=value key=value
-command\-or\-structure
+command-or-structure
\f[R]
.fi
.PP
@@ -271,46 +277,61 @@ lines:
.PP
Valid keys are:
.TP
-.B \f[B]disable\f[R]
+\f[B]disable\f[R]
Disables a comma separated list of error codes for the following
command.
The command can be a simple command like \f[C]echo foo\f[R], or a
compound command like a function definition, subshell block or loop.
+A range can be be specified with a dash, e.g.
+\f[C]disable=SC3000-SC4000\f[R] to exclude 3xxx.
+All warnings can be disabled with \f[C]disable=all\f[R].
.TP
-.B \f[B]enable\f[R]
+\f[B]enable\f[R]
Enable an optional check by name, as listed with
-\f[B]\[en]list\-optional\f[R].
-Only file\-wide \f[C]enable\f[R] directives are considered.
+\f[B]--list-optional\f[R].
+Only file-wide \f[C]enable\f[R] directives are considered.
+.TP
+\f[B]external-sources\f[R]
+Set to \f[C]true\f[R] in \f[C].shellcheckrc\f[R] to always allow
+ShellCheck to open arbitrary files from \[aq]source\[aq] statements (the
+way most tools do).
+.RS
+.PP
+This option defaults to \f[C]false\f[R] only due to ShellCheck\[aq]s
+origin as a remote service for checking untrusted scripts.
+It can safely be enabled for normal development.
+.RE
.TP
-.B \f[B]source\f[R]
+\f[B]source\f[R]
Overrides the filename included by a \f[C]source\f[R]/\f[C].\f[R]
statement.
This can be used to tell shellcheck where to look for a file whose name
is determined at runtime, or to skip a source by telling it to use
\f[C]/dev/null\f[R].
.TP
-.B \f[B]source\-path\f[R]
+\f[B]source-path\f[R]
Add a directory to the search path for \f[C]source\f[R]/\f[C].\f[R]
-statements (by default, only ShellCheck\[cq]s working directory is
+statements (by default, only ShellCheck\[aq]s working directory is
included).
Absolute paths will also be rooted in these paths.
The special path \f[C]SCRIPTDIR\f[R] can be used to specify the
-currently checked script\[cq]s directory, as in
-\f[C]source\-path=SCRIPTDIR\f[R] or
-\f[C]source\-path=SCRIPTDIR/../libs\f[R].
-Multiple paths accumulate, and \f[C]\-P\f[R] takes precedence over them.
+currently checked script\[aq]s directory, as in
+\f[C]source-path=SCRIPTDIR\f[R] or
+\f[C]source-path=SCRIPTDIR/../libs\f[R].
+Multiple paths accumulate, and \f[C]-P\f[R] takes precedence over them.
.TP
-.B \f[B]shell\f[R]
+\f[B]shell\f[R]
Overrides the shell detected from the shebang.
This is useful for files meant to be included (and thus lacking a
-shebang), or possibly as a more targeted alternative to `disable=2039'.
+shebang), or possibly as a more targeted alternative to
+\[aq]disable=SC2039\[aq].
.SH RC FILES
.PP
-Unless \f[C]\-\-norc\f[R] is used, ShellCheck will look for a file
-\f[C].shellcheckrc\f[R] or \f[C]shellcheckrc\f[R] in the script\[cq]s
+Unless \f[C]--norc\f[R] is used, ShellCheck will look for a file
+\f[C].shellcheckrc\f[R] or \f[C]shellcheckrc\f[R] in the script\[aq]s
directory and each parent directory.
If found, it will read \f[C]key=value\f[R] pairs from it and treat them
-as file\-wide directives.
+as file-wide directives.
.PP
Here is an example \f[C].shellcheckrc\f[R]:
.IP
@@ -318,16 +339,19 @@ Here is an example \f[C].shellcheckrc\f[R]:
\f[C]
# Look for \[aq]source\[aq]d files relative to the checked script,
# and also look for absolute paths in /mnt/chroot
-source\-path=SCRIPTDIR
-source\-path=/mnt/chroot
+source-path=SCRIPTDIR
+source-path=/mnt/chroot
+
+# Allow opening any \[aq]source\[aq]d file, even if not specified as input
+external-sources=true
# Turn on warnings for unquoted variables with safe values
-enable=quote\-safe\-variables
+enable=quote-safe-variables
# Turn on warnings for unassigned uppercase variables
-enable=check\-unassigned\-uppercase
+enable=check-unassigned-uppercase
-# Allow [ ! \-z foo ] instead of suggesting \-n
+# Allow [ ! -z foo ] instead of suggesting -n
disable=SC2236
\f[R]
.fi
@@ -351,7 +375,7 @@ default flags:
.IP
.nf
\f[C]
-export SHELLCHECK_OPTS=\[aq]\-\-shell=bash \-\-exclude=SC2016\[aq]
+export SHELLCHECK_OPTS=\[aq]--shell=bash --exclude=SC2016\[aq]
\f[R]
.fi
.PP
@@ -365,34 +389,74 @@ ShellCheck uses the following exit codes:
.IP \[bu] 2
1: All files successfully scanned with some issues.
.IP \[bu] 2
-2: Some files could not be processed (e.g.\ file not found).
+2: Some files could not be processed (e.g.
+file not found).
.IP \[bu] 2
-3: ShellCheck was invoked with bad syntax (e.g.\ unknown flag).
+3: ShellCheck was invoked with bad syntax (e.g.
+unknown flag).
.IP \[bu] 2
-4: ShellCheck was invoked with bad options (e.g.\ unknown formatter).
+4: ShellCheck was invoked with bad options (e.g.
+unknown formatter).
.SH LOCALE
.PP
This version of ShellCheck is only available in English.
-All files are leniently decoded as UTF\-8, with a fallback of
-ISO\-8859\-1 for invalid sequences.
-\f[C]LC_CTYPE\f[R] is respected for output, and defaults to UTF\-8 for
+All files are leniently decoded as UTF-8, with a fallback of ISO-8859-1
+for invalid sequences.
+\f[C]LC_CTYPE\f[R] is respected for output, and defaults to UTF-8 for
locales where encoding is unspecified (such as the \f[C]C\f[R] locale).
.PP
Windows users seeing
\f[C]commitBuffer: invalid argument (invalid character)\f[R] should set
-their terminal to use UTF\-8 with \f[C]chcp 65001\f[R].
-.SH AUTHORS
+their terminal to use UTF-8 with \f[C]chcp 65001\f[R].
+.SH KNOWN INCOMPATIBILITIES
.PP
-ShellCheck is developed and maintained by Vidar Holen, with assistance
-from a long list of wonderful contributors.
+(If nothing in this section makes sense, you are unlikely to be affected
+by it)
+.PP
+To avoid confusing and misguided suggestions, ShellCheck requires
+function bodies to be either \f[C]{ brace groups; }\f[R] or
+\f[C]( subshells )\f[R], and function names containing \f[C][]*=!\f[R]
+are only recognized after a \f[C]function\f[R] keyword.
+.PP
+The following unconventional function definitions are identical in Bash,
+but ShellCheck only recognizes the latter.
+.IP
+.nf
+\f[C]
+[x!=y] () [[ $1 ]]
+function [x!=y] () { [[ $1 ]]; }
+\f[R]
+.fi
+.PP
+Shells without the \f[C]function\f[R] keyword do not allow these
+characters in function names to begin with.
+Function names containing \f[C]{}\f[R] are not supported at all.
+.PP
+Further, if ShellCheck sees \f[C][x!=y]\f[R] it will assume this is an
+invalid comparison.
+To invoke the above function, quote the command as in
+\f[C]\[aq][x!=y]\[aq]\f[R], or to retain the same globbing behavior, use
+\f[C]command [x!=y]\f[R].
+.PP
+ShellCheck imposes additional restrictions on the \f[C][\f[R] command to
+help diagnose common invalid uses.
+While \f[C][ $x= 1 ]\f[R] is defined in POSIX, ShellCheck will assume it
+was intended as the much more likely comparison
+\f[C][ \[dq]$x\[dq] = 1 ]\f[R] and fail accordingly.
+For unconventional or dynamic uses of the \f[C][\f[R] command, use
+\f[C]test\f[R] or \f[C]\[rs][\f[R] instead.
.SH REPORTING BUGS
.PP
Bugs and issues can be reported on GitHub:
.PP
https://github.com/koalaman/shellcheck/issues
+.SH AUTHORS
+.PP
+ShellCheck is developed and maintained by Vidar Holen, with assistance
+from a long list of wonderful contributors.
.SH COPYRIGHT
.PP
-Copyright 2012\-2019, Vidar Holen and contributors.
+Copyright 2012-2021, Vidar Holen and contributors.
Licensed under the GNU General Public License version 3 or later, see
https://gnu.org/licenses/gpl.html
.SH SEE ALSO
diff --git a/development/SmallBASIC/README b/development/SmallBASIC/README
new file mode 100644
index 0000000000..70dc2f4f9e
--- /dev/null
+++ b/development/SmallBASIC/README
@@ -0,0 +1,35 @@
+SmallBASIC is a fast and easy to learn BASIC language interpreter
+ideal for everyday calculations, scripts and prototypes. SmallBASIC
+includes trigonometric, matrices and algebra functions, a built in
+IDE, a powerful string library, system, sound, graphic commands and
+communication via serial or sockets along with structured
+programming syntax.
+
+SmallBASIC is available for various operating systems, including
+Windows, Linux, and Android. You can even build it from source to
+run on many other POSIX-compliant systems, such as Raspberry Pi OS
+for the Raspberry Pi. With its built-in Integrated Development
+Environment (IDE), you can write programs on your Android-powered
+tablet or mobile phone and run them instantly.
+If you want to get started, you can download SmallBASIC from our
+Downloads page.
+
+SmallBASIC makes it easy to bundle your program with all the
+necessary libraries, creating executable files for Windows
+(exe-files) or Linux (AppImage).
+For Android, you can create a signed package (pkg) and
+distribute it through platforms like Google Play. Learn more
+about distributing your program on our (Distribution) page.
+
+If you prefer an online experience, you can start programming
+with the web-based version of SmallBASIC in your browser right now.
+Just click on Start online to begin coding.
+
+This Slackware package produces 3 executables:
+ - sbasici - Using FLTK graphics
+ - sbasicg - Using SDL graphics
+ - sbasic - the Console (text only)
+
+See the online samples from the run menu or the provided
+examples at /usr/share/SmallBASIC
+(some run only on the SDL version)
diff --git a/development/SmallBASIC/SmallBASIC.SlackBuild b/development/SmallBASIC/SmallBASIC.SlackBuild
new file mode 100644
index 0000000000..df25d96146
--- /dev/null
+++ b/development/SmallBASIC/SmallBASIC.SlackBuild
@@ -0,0 +1,146 @@
+#!/bin/bash
+
+# Slackware build script for SmallBASIC
+
+# 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=SmallBASIC
+VERSION=${VERSION:-12.26}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+FLTKTARBALL=fltk-1.4.x-20240119-01f2f760
+
+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 /tmp/$FLTKTARBALL
+rm -rf $FLTKTARBALL $PRGNAM-$VERSION
+rm -rf $TMP/${VERSION/./_}
+
+tar xvfz $CWD/$FLTKTARBALL.tar.gz
+tar xvfz $CWD/${PRGNAM,,}-$VERSION.tar.gz
+unzip $CWD/${PRGNAM,,}_$VERSION.zip "${VERSION/./_}/examples/*"
+
+fixperms() {
+ 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 {} \;
+}
+
+# Build statical FLTK libraries
+(
+ cd $FLTKTARBALL
+ fixperms
+ ./autogen.sh
+ ./configure --prefix=/tmp/$FLTKTARBALL
+ make -j1
+ make install
+)
+
+cd ${PRGNAM,,}-$VERSION
+fixperms
+
+# Build Console Version
+./configure
+make -j1
+make install DESTDIR=$PKG
+
+# Build SDL Version
+make clean
+./configure --enable-sdl
+make -j1
+make install DESTDIR=$PKG
+mv $PKG/usr/local/share/applications/io.github.smallbasic.desktop $PKG/usr/local/share/applications/smallbasic-sdl.desktop
+sed -i -e "s/SmallBASIC/SmallBASIC (SDL)/" $PKG/usr/local/share/applications/smallbasic-sdl.desktop
+
+# Build FLTK Version
+make clean
+export PATH=/tmp/$FLTKTARBALL/bin:$PATH
+CFLAGS="-I/tmp/$FLTKTARBALL/include" LDFLAGS="-L/tmp/$FLTKTARBALL/lib" ./configure --enable-fltk
+make
+make install DESTDIR=$PKG
+mv $PKG/usr/local/share/applications/io.github.smallbasic.desktop $PKG/usr/local/share/applications/smallbasic-fltk.desktop
+sed -i -e "s/SmallBASIC/SmallBASIC (FLTK)/" $PKG/usr/local/share/applications/smallbasic-fltk.desktop
+
+# Place files at the correct locations
+mkdir -p $PKG/usr/bin -p $PKG/usr/share/pixmaps $PKG/usr/share/applications $PKG/usr/share/$PRGNAM
+mv $PKG/usr/local/bin/* $PKG/usr/bin
+mv $PKG/usr/local/share/icons/hicolor/128x128/apps/sb-desktop-128x128.png $PKG/usr/share/pixmaps
+mv $PKG/usr/local/share/applications/* $PKG/usr/share/applications
+mv $TMP/${VERSION/./_}/examples $PKG/usr/share/$PRGNAM
+
+# Clean-up
+rm -rf $PKG/usr/local
+rm -rf /tmp/$FLTKTARBALL
+rm -rf $TMP/${VERSION/./_}
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $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
+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/development/SmallBASIC/SmallBASIC.info b/development/SmallBASIC/SmallBASIC.info
new file mode 100644
index 0000000000..bc79c9e7e2
--- /dev/null
+++ b/development/SmallBASIC/SmallBASIC.info
@@ -0,0 +1,14 @@
+PRGNAM="SmallBASIC"
+VERSION="12.26"
+HOMEPAGE="https://smallbasic.github.io"
+DOWNLOAD="https://github.com/smallbasic/SmallBASIC/releases/download/12_26/smallbasic-12.26.tar.gz \
+ https://www.fltk.org/pub/fltk/snapshots/fltk-1.4.x-20240119-01f2f760.tar.gz \
+ https://github.com/smallbasic/SmallBASIC/releases/download/12_26/smallbasic_12.26.zip"
+MD5SUM="33d227f2be855e2aed60e761f563c038 \
+ 7e2954731c18fd179ef3250b31e09cb9 \
+ ca5e146d0afb50d4c9b9f66d5f32d100"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/scratch/doinst.sh b/development/SmallBASIC/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/development/scratch/doinst.sh
+++ b/development/SmallBASIC/doinst.sh
diff --git a/development/SmallBASIC/slack-desc b/development/SmallBASIC/slack-desc
new file mode 100644
index 0000000000..8da20195c2
--- /dev/null
+++ b/development/SmallBASIC/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------------------------------------------------------|
+SmallBASIC: SmallBASIC (basic-interpreter)
+SmallBASIC:
+SmallBASIC: SmallBASIC is a fast and easy to learn BASIC language interpreter
+SmallBASIC: ideal for everyday calculations, scripts and prototypes.
+SmallBASIC: SmallBASIC includes trigonometric, matrices and algebra functions,
+SmallBASIC: a built in IDE, a powerful string library, system, sound, graphic
+SmallBASIC: commands and communication via serial or sockets along with
+SmallBASIC: structured programming syntax.
+SmallBASIC:
+SmallBASIC: SmallBASIC includes online examples ready to run.
+SmallBASIC:
diff --git a/development/SoQt/SoQt.SlackBuild b/development/SoQt/SoQt.SlackBuild
index f56a556a11..488c066fc9 100644
--- a/development/SoQt/SoQt.SlackBuild
+++ b/development/SoQt/SoQt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SoQt
@@ -6,26 +6,37 @@
# Maintained as of version 1.5.0 by Niels Horn <niels.horn@gmail.com>
# Revision data 2010/07/10
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SoQt
-VERSION=${VERSION:-1.5.0}
-BUILD=${BUILD:-2}
+SRCNAM=soqt
+VERSION=${VERSION:-1.6.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
@@ -51,9 +62,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-src.tar.gz
+cd $SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -61,31 +72,37 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux$ARCHQUADLET
-
-make
-make install DESTDIR=$PKG
+mkdir -p soqt_build
+cd soqt_build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSOQT_BUILD_DOCUMENTATION=ON \
+ -DSOQT_BUILD_DOC_MAN=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mv $PKG/usr/share/man $PKG/usr/
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 BUGS.txt COPYING ChangeLog FAQ INSTALL* LICENSE.GPL NEWS README* \
+ AUTHORS BUGS.txt COPYING ChangeLog FAQ INSTALL* NEWS README* RELEASE.txt\
$PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/SoQt/SoQt.info b/development/SoQt/SoQt.info
index db19279a27..ad6728bb90 100644
--- a/development/SoQt/SoQt.info
+++ b/development/SoQt/SoQt.info
@@ -1,8 +1,8 @@
PRGNAM="SoQt"
-VERSION="1.5.0"
-HOMEPAGE="https://bitbucket.org/Coin3D/soqt"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/SoQt-1.5.0.tar.gz"
-MD5SUM="9f1e582373d66f556b1db113a93ac68e"
+VERSION="1.6.0"
+HOMEPAGE="https://coin3d.github.io/"
+DOWNLOAD="https://github.com/coin3d/soqt/releases/download/SoQt-1.6.0/soqt-1.6.0-src.tar.gz"
+MD5SUM="724996aedad2a33760dc36f08ceeda22"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Coin"
diff --git a/development/Sphinx/README b/development/Sphinx/README
index 9a5cd64baf..e3f923a7f7 100644
--- a/development/Sphinx/README
+++ b/development/Sphinx/README
@@ -3,14 +3,3 @@ source files into various output formats, including HTML, ePub,
LaTeX and plain text. Sphinx was originally created for the Python
documentation, but it has excellent facilities for the documentation
of software projects in a range of languages.
-
-All Sphinx dependencies must be built with Python 3 support and since
-there are many different way of providing this, the following packages
-require special build instructions not captured in REQUIRES:
-- python/python-urllib3: install python/python3 first
-- python/idna: install python/python3 first
-- python/python-chardet: install python/python3 first
-- python/imagesize: install python/python3 first
-- python/alabaster: install python/python3 first
-- python/python-requests: install python/python3-certifi first
-- python/pytz: install python/python3 first
diff --git a/development/Sphinx/Sphinx.SlackBuild b/development/Sphinx/Sphinx.SlackBuild
index 378d9b691f..330564c274 100644
--- a/development/Sphinx/Sphinx.SlackBuild
+++ b/development/Sphinx/Sphinx.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Sphinx
+# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2013 Mikko Värri, Finland
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Sphinx
-VERSION=${VERSION:-3.3.1}
+SRCNAM=Sphinx
+VERSION=${VERSION:-5.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -46,17 +55,21 @@ 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 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# lower Pygments required version
+sed -i '/Pygments>=/ s/2.12/2.10.0/' pyproject.toml
-python3 setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -71,4 +84,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/Sphinx/Sphinx.info b/development/Sphinx/Sphinx.info
index fce0cef7db..9d05ca57e9 100644
--- a/development/Sphinx/Sphinx.info
+++ b/development/Sphinx/Sphinx.info
@@ -1,10 +1,10 @@
PRGNAM="Sphinx"
-VERSION="3.3.1"
+VERSION="5.3.0"
HOMEPAGE="http://www.sphinx-doc.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-3.3.1.tar.gz"
-MD5SUM="a082ab4be33777ff9567c0bdb510c0f7"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-5.3.0.tar.gz"
+MD5SUM="b752f7b0177865a36cbcdcef4ac80cd4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="alabaster imagesize python3-babel docutils Jinja2 python3-packaging Pygments python-requests python3-six snowballstemmer sphinxcontrib-applehelp sphinxcontrib-devhelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath sphinxcontrib-qthelp sphinxcontrib-serializinghtml python3-certifi"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="alabaster imagesize python3-babel snowballstemmer sphinxcontrib-applehelp sphinxcontrib-devhelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath sphinxcontrib-qthelp sphinxcontrib-serializinghtml python-importlib_metadata"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/development/StarPU/README b/development/StarPU/README
new file mode 100644
index 0000000000..20314006f5
--- /dev/null
+++ b/development/StarPU/README
@@ -0,0 +1,17 @@
+ StarPU is a runtime system that offers support for heterogeneous
+multicore machines. While many efforts are devoted to design
+efficient computation kernels for those architectures (e.g. to
+implement BLAS kernels on GPUs), StarPU not only takes care of
+offloading such kernels (and implementing data coherency across
+the machine), but it also makes sure the kernels are executed as
+efficiently as possible.
+
+For enabling HWLOC set HWLOC=yes (this requires hwloc)
+For enabling OpenMP set OMP=yes
+For enabling trace support set FXT=yes (requires libfxt)
+For enabling HDF5 set HDF5=yes (requires hdf5)
+For enabling cluster support set CLUSTER=yes
+
+Optional requirements (auto-detect)
+ - blas
+ - MPI (mpich or openmpi)
diff --git a/development/StarPU/StarPU.SlackBuild b/development/StarPU/StarPU.SlackBuild
new file mode 100644
index 0000000000..55816de3e2
--- /dev/null
+++ b/development/StarPU/StarPU.SlackBuild
@@ -0,0 +1,150 @@
+#!/bin/bash
+
+# Slackware build script for StarPU
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=StarPU
+VERSION=${VERSION:-1.3.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM="starpu-starpu"
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $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 {} \;
+
+
+if [ "${HWLOC:-no}" == "yes" ]; then
+ OPTS="--with-hwloc"
+else
+ OPTS="--without-hwloc"
+fi
+
+if [ "${FXT:-no}" == "yes" ]; then
+ OPTS="$OPTS --with-fxt"
+fi
+
+if [ "${OMP:-no}" == "yes" ]; then
+ OPTS="$OPTS --enable-openmp"
+fi
+
+if [ "${CLUSTER:-no}" == "yes" ]; then
+ OPTS="$OPTS --enable-cluster"
+fi
+
+if [ "${HDF5:-no}" == "yes" ]; then
+ OPTS="$OPTS --enable-hdf5"
+fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./autogen.sh
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ $OPTS \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# purge empty doc files
+find $PKG/usr/doc -size 0 -exec rm '{}' \;
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/StarPU/StarPU.info b/development/StarPU/StarPU.info
new file mode 100644
index 0000000000..ef09f25165
--- /dev/null
+++ b/development/StarPU/StarPU.info
@@ -0,0 +1,10 @@
+PRGNAM="StarPU"
+VERSION="1.3.9"
+HOMEPAGE="https://starpu.gitlabpages.inria.fr"
+DOWNLOAD="https://gitlab.inria.fr/starpu/starpu/-/archive/starpu-1.3.9/starpu-starpu-1.3.9.tar.gz"
+MD5SUM="a05d28ed3f9e476ca66f1396addd411c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/StarPU/slack-desc b/development/StarPU/slack-desc
new file mode 100644
index 0000000000..42b14c83d7
--- /dev/null
+++ b/development/StarPU/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------------------------------------------------------|
+StarPU: StarPU (runtime system for heterogeneous multicore machines)
+StarPU:
+StarPU: StarPU is a runtime system that offers support for heterogeneous
+StarPU: multicore machines. While many efforts are devoted to design
+StarPU: efficient computation kernels for those architectures (e.g. to
+StarPU: implement BLAS kernels on GPUs), StarPU not only takes care of
+StarPU: offloading such kernels (and implementing data coherency across
+StarPU: the machine), but it also makes sure the kernels are executed as
+StarPU: efficiently as possible.
+StarPU:
+StarPU:
diff --git a/development/SystemC/README b/development/SystemC/README
new file mode 100644
index 0000000000..e34ed3437a
--- /dev/null
+++ b/development/SystemC/README
@@ -0,0 +1,17 @@
+ SystemC addresses the need for a system design and verification
+language that spans hardware and software. It is a language built
+in standard C++ by extending the language with the use of class
+libraries. The language is particularly suited to model system's
+partitioning, to evaluate and verify the assignment of blocks to
+either hardware or software implementations, and to architect and
+measure the interactions between and among functional blocks. Leading
+companies in the intellectual property (IP), electronic design
+automation (EDA), semiconductor, electronic systems, and embedded
+software industries currently use SystemC for architectural
+exploration, to deliver high-performance hardware blocks at various
+levels of abstraction and to develop virtual platforms for
+hardware/software co-design. SystemC has been standardized by
+the Open SystemC Initiative (OSCI) and Accellera Systems Initiative
+and ratified as IEEE Std. 1666-2011.
+
+For enabling pthreads set the environment variable PTHREAD=yes.
diff --git a/development/SystemC/SystemC.SlackBuild b/development/SystemC/SystemC.SlackBuild
new file mode 100644
index 0000000000..a06cc8cabb
--- /dev/null
+++ b/development/SystemC/SystemC.SlackBuild
@@ -0,0 +1,136 @@
+#!/bin/bash
+
+# Slackware build script for SystemC
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=SystemC
+VERSION=${VERSION:-2.3.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=${PRGNAM,,}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+if [ "${PTHREADS:-no}" == "yes" ]; then
+ OPTS="-enable-pthreads"
+fi
+
+# fix for installing examples at /usr/share/$PRGNAM-$VERSION
+sed -i.orig 's#${rootdocdir}/examples#${prefix}/share/${PACKAGE_NAME}-${PACKAGE_VERSION}/examples#' configure
+
+# fix installation path for building examples
+sed -i 's#^\(SYSTEMC_HOME?=\).*#\1/usr#' examples/build-unix/Makefile.config
+sed -i 's#libsystemc.a#libsystemc.so#' examples/build-unix/Makefile.rules
+sed -i 's/^SYSTEMC_HOME/#&/' examples/sysc/{2.1,2.3}/*/Makefile
+
+mkdir -p build
+cd build
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --with-arch-suffix=no \
+ $OPTS \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+cd ..
+
+# remove install doc
+rm $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog LICENSE NEWS \
+ NOTICE RELEASENOTES $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/SystemC/SystemC.info b/development/SystemC/SystemC.info
new file mode 100644
index 0000000000..ac0d885f67
--- /dev/null
+++ b/development/SystemC/SystemC.info
@@ -0,0 +1,10 @@
+PRGNAM="SystemC"
+VERSION="2.3.3"
+HOMEPAGE="https://systemc.org"
+DOWNLOAD="https://github.com/accellera-official/systemc/archive/2.3.3/systemc-2.3.3.tar.gz"
+MD5SUM="589d313f3477f42d259607e5dbd316b4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/SystemC/slack-desc b/development/SystemC/slack-desc
new file mode 100644
index 0000000000..ca5bc3d4e2
--- /dev/null
+++ b/development/SystemC/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------------------------------------------------------|
+SystemC: SystemC (SystemC Class Library for design and verification HW/SW)
+SystemC:
+SystemC: SystemC addresses the need for a system design and verification
+SystemC: language that spans hardware and software. It is a language built as
+SystemC: an ANSI C++ class library created for design and verification. Users
+SystemC: worldwide are applying SystemC to system-level modeling, abstract
+SystemC: analog/mixed-signal modeling, architectural exploration, performance
+SystemC: modeling, software development, functional verification, and high-
+SystemC: level synthesis. The SystemC API and its semantics are developed
+SystemC: by the Accellera Systems Initiative and formally standardized
+SystemC: and governed by the IEEE in the IEEE Std. 1666-2011 standard.
diff --git a/development/THE/THE-configure.patch b/development/THE/THE-configure.patch
deleted file mode 100644
index 3d64346038..0000000000
--- a/development/THE/THE-configure.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Thu Oct 30 15:13:56 2014
-+++ configure Sun Dec 28 17:25:25 2014
-@@ -3381,7 +3381,7 @@
- osis64bit=yes
- fi
- ;;
-- *-freebsd*)
-+ *-freebsd* | *-openbsd* | *-bitrig*)
- mach="`uname -m`"
- if test "$mach" = "amd64"; then
- bitflag="64"
diff --git a/development/THE/THE-file-c.patch b/development/THE/THE-file-c.patch
deleted file mode 100644
index e9a8bbba42..0000000000
--- a/development/THE/THE-file-c.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- file.c.orig 2013-07-09 17:06:21.000000000 -0700
-+++ file.c 2018-06-14 22:20:32.667616957 -0700
-@@ -759,7 +759,7 @@ bool called_from_get_command;
- if (feof(fp))
- {
- eof_reached = TRUE;
-- for (;*(trec+read_start+chars_read-1)==DOSEOF;chars_read--)
-+ for (;chars_read>0 && *(trec+read_start+chars_read-1)==DOSEOF;chars_read--)
- ;
- }
- /*
diff --git a/development/THE/THE-xcurses.patch b/development/THE/THE-xcurses.patch
deleted file mode 100644
index 8e79ae6c27..0000000000
--- a/development/THE/THE-xcurses.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a//the.c.orig 2013-12-28 20:08:15.000000000 -0800
-+++ b/the.c 2018-06-14 14:49:04.152326981 -0700
-@@ -1113,7 +1113,7 @@
- #endif
- curses_started = TRUE;
-
--#if defined(USE_WINGUICURSES) || defined(USE_XCURSES)
-+#if defined(USE_WINGUICURSES)
- /*
- * Tell PDCurses which key should be returned when the window close button is clicked
- */
diff --git a/development/THE/THE.SlackBuild b/development/THE/THE.SlackBuild
index be28c22f41..f40924a9fe 100644
--- a/development/THE/THE.SlackBuild
+++ b/development/THE/THE.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for The Hessling Editor
-# Copyright 2012-2018 Richard Narron, California, USA
+# Copyright 2012-2022 Richard Narron, California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,15 @@
# 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=THE
-VERSION=${VERSION:-3.3RC4}
-BUILD=${BUILD:-5}
+VERSION=${VERSION:-3.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TARFILE=the-${VERSION}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -60,8 +69,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $PRGNAM-$VERSION $TARFILE
+tar xvf $CWD/$TARFILE.tar.gz
+mv $TARFILE $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -71,9 +81,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 {} \;
-cat $CWD/THE-file-c.patch | patch -p0
-cat $CWD/THE-xcurses.patch | patch -p1
-
# make the ncurses version of THE and the documentation
mkdir ncurses
cd ncurses
@@ -81,7 +88,7 @@ cd ncurses
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
../configure \
- --with-ncurses \
+ --with-curses=ncurses \
--with-rexx=regina \
--build=$ARCH-slackware-linux \
--docdir=/usr/doc/$PRGNAM-$VERSION \
@@ -92,28 +99,43 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc
make
-make install DESTDIR=$PKG
+make -j1 install DESTDIR=$PKG
+
+rm -rf doc/html
make html
-rm -f $PKG/usr/bin/the ; ln -fs nthe $PKG/usr/bin/the
+rm -f $PKG/usr/bin/the
+ln -fs the-con $PKG/usr/bin/the
+ln -fs the-con $PKG/usr/bin/nthe
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
-install -m0644 *.html $PKG/usr/doc/$PRGNAM-$VERSION/html
-install -m0644 the64.png the64.gif $PKG/usr/doc/$PRGNAM-$VERSION/html
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+install -m0644 the64.gif the64.png doc/html/*.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION/html
cd $TMP/$PRGNAM-$VERSION
-install -m0644 COPYING FAQ HISTORY INSTALL README* THE*spec TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 COPYING FAQ HISTORY INSTALL README* THE_Help.txt TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+# Try to make the X11 version of THE by using PDCurses (XCurses)
-# if PDCurses (XCurses) then make the X11 version
-if ldconfig -p | grep -q libXCurses.so ; then
+if ldconfig -p | grep -q libXCurses.so; then
mkdir xcurses
cd xcurses
+ # for XCurses, create pdcurses-x11.pc pkg-config
+ XLIBDIR=lib${LIBDIRSUFFIX}
+ XVERSION=$(xcurses-config --version)
+ mkdir -p pkgconfig
+ sed -e "s/XLIBDIR/${XLIBDIR}/" \
+ -e "s/XVERSION/${XVERSION}/" \
+ < $CWD/libpdcurses-x11.pc \
+ > pkgconfig/libpdcurses-x11.pc
+
+ PKG_CONFIG_PATH=pkgconfig \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
../configure \
- --with-xcurses \
+ --with-curses=pdcurses-x11 \
--with-rexx=regina \
--build=$ARCH-slackware-linux \
--docdir=/usr/doc/$PRGNAM-$VERSION \
@@ -122,9 +144,10 @@ if ldconfig -p | grep -q libXCurses.so ; then
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc
-
- make xthe
- install -m0755 xthe $PKG/usr/bin
+
+ make the-x11
+ install -m0755 the-x11 $PKG/usr/bin
+ ln -fs the-x11 $PKG/usr/bin/xthe
fi
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -136,4 +159,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/THE/THE.info b/development/THE/THE.info
index b9edf9291a..ba436832f7 100644
--- a/development/THE/THE.info
+++ b/development/THE/THE.info
@@ -1,8 +1,8 @@
PRGNAM="THE"
-VERSION="3.3RC4"
+VERSION="3.3"
HOMEPAGE="http://hessling-editor.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/hessling-editor/THE-3.3RC4.tar.gz"
-MD5SUM="34e6b45a023edaf4f2de112528e156e1"
+DOWNLOAD="https://sourceforge.net/projects/hessling-editor/files/hessling-editor/3.3%20Release%20Candidate%208/the-3.3.tar.gz"
+MD5SUM="27cea01b790a1a57a80f578f69602411"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="regina-rexx"
diff --git a/development/THE/libpdcurses-x11.pc b/development/THE/libpdcurses-x11.pc
new file mode 100644
index 0000000000..5da4083b6c
--- /dev/null
+++ b/development/THE/libpdcurses-x11.pc
@@ -0,0 +1,14 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/XLIBDIR
+includedir=${prefix}/include/xcurses
+version=XVERSION
+
+Name: PDCurses
+Description: PDCurses ${version} X11 library
+Version: ${version}
+URL: https://pdcurses.org
+Requires.private:
+Libs: -lXCurses
+Libs.private: -l:libXCurses.a -lXaw -lXmu -lXt -lX11 -lXpm -lSM -lICE -lXext
+Cflags: -DXCURSES -I${includedir} -I/usr/include/X11
diff --git a/development/VisUAL/VisUAL.SlackBuild b/development/VisUAL/VisUAL.SlackBuild
index b89996cfa6..dc2f1c0f59 100644
--- a/development/VisUAL/VisUAL.SlackBuild
+++ b/development/VisUAL/VisUAL.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for VisUAL
@@ -22,10 +22,13 @@
# 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=VisUAL
VERSION=${VERSION:-1.27}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/VisUAL/VisUAL.info b/development/VisUAL/VisUAL.info
index 639f432b62..43fb01077a 100644
--- a/development/VisUAL/VisUAL.info
+++ b/development/VisUAL/VisUAL.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://bitbucket.org/salmanarif/visual-release/downloads/visual_1.27-
MD5SUM="70b8cbc684be728bb9118c443d4ee3a8"
DOWNLOAD_x86_64="https://bitbucket.org/salmanarif/visual-release/downloads/visual_1.27-1_amd64.deb"
MD5SUM_x86_64="e159f7d2a16239e5a6ced105b572602b"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/development/WebStorm/WebStorm.SlackBuild b/development/WebStorm/WebStorm.SlackBuild
index d602f10856..9ae9b9ba75 100644
--- a/development/WebStorm/WebStorm.SlackBuild
+++ b/development/WebStorm/WebStorm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pycharm
@@ -22,15 +22,25 @@
# 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=WebStorm
VERSION=${VERSION:-10.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
CARPETA=WebStorm-141.1550
ICONO=webide
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/WebStorm/WebStorm.info b/development/WebStorm/WebStorm.info
index 3fad89515f..e1431e1495 100644
--- a/development/WebStorm/WebStorm.info
+++ b/development/WebStorm/WebStorm.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://download-cf.jetbrains.com/webstorm/WebStorm-10.0.4.tar.gz"
MD5SUM="672f62a6334383636c01b59c4ead43f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Maximiliano Sorribas"
EMAIL="mjsorribas@gmail.com"
diff --git a/development/Xdialog/Xdialog.SlackBuild b/development/Xdialog/Xdialog.SlackBuild
index 8dc29a61a0..5484525dad 100644
--- a/development/Xdialog/Xdialog.SlackBuild
+++ b/development/Xdialog/Xdialog.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Xdialog
# Written by slakmagik <slakmagik@gmail.com>
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Xdialog
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -84,4 +94,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/abseil-cpp/README b/development/abseil-cpp/README
new file mode 100644
index 0000000000..b1b90760e1
--- /dev/null
+++ b/development/abseil-cpp/README
@@ -0,0 +1,2 @@
+Abseil is an open-source collection of C++ code designed to augment the
+C++ standard library.
diff --git a/development/abseil-cpp/abseil-cpp.SlackBuild b/development/abseil-cpp/abseil-cpp.SlackBuild
new file mode 100644
index 0000000000..5b823e7e09
--- /dev/null
+++ b/development/abseil-cpp/abseil-cpp.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for abseil-cpp
+
+# 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=abseil-cpp
+VERSION=${VERSION:-20240116.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.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -DNDEBUG" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_CXX_STANDARD=17 \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CONTRIBUTING.md FAQ.md LICENSE README.md UPGRADES.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/abseil-cpp/abseil-cpp.info b/development/abseil-cpp/abseil-cpp.info
new file mode 100644
index 0000000000..8274f19690
--- /dev/null
+++ b/development/abseil-cpp/abseil-cpp.info
@@ -0,0 +1,10 @@
+PRGNAM="abseil-cpp"
+VERSION="20240116.2"
+HOMEPAGE="https://abseil.io"
+DOWNLOAD="https://github.com/abseil/abseil-cpp/archive/20240116.2/abseil-cpp-20240116.2.tar.gz"
+MD5SUM="f2c807858166b0a8ce4f679b17111335"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/abseil-cpp/slack-desc b/development/abseil-cpp/slack-desc
new file mode 100644
index 0000000000..cd4106eb18
--- /dev/null
+++ b/development/abseil-cpp/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------------------------------------------------------|
+abseil-cpp: abseil-cpp (Abseil C++ Common Libraries)
+abseil-cpp:
+abseil-cpp: Abseil is an open-source collection of C++ code designed to augment
+abseil-cpp: the C++ standard library.
+abseil-cpp:
+abseil-cpp:
+abseil-cpp:
+abseil-cpp:
+abseil-cpp:
+abseil-cpp:
+abseil-cpp:
diff --git a/development/acc/README b/development/acc/README
index 95e414557b..7c18f4769a 100644
--- a/development/acc/README
+++ b/development/acc/README
@@ -1 +1,5 @@
-ACC is an ACS script compiler for use with ZDoom and Hexen.
+Linux version of the ACC script compiler.
+
+Command-line utility only; requires terminal to run.
+
+ACC is an Action Code script compiler for use with GZDoom and Hexen.
diff --git a/development/acc/acc.SlackBuild b/development/acc/acc.SlackBuild
index 24254d7453..257ea82dc0 100644
--- a/development/acc/acc.SlackBuild
+++ b/development/acc/acc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for acc
-# Copyright 2019 Hexxend USA
+# Copyright 2023 Hexxend USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=acc
-VERSION=${VERSION:-1.57}
+VERSION=${VERSION:-1.60}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr/bin $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/acc157src.zip
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,7 +82,8 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-make
+cmake . || exit 1
+cmake --build $TMP/$PRGNAM-$VERSION || exit 1
mv $PRGNAM $PKG/usr/bin
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -86,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/acc/acc.info b/development/acc/acc.info
index 59d6e47034..c6e6e52667 100644
--- a/development/acc/acc.info
+++ b/development/acc/acc.info
@@ -1,8 +1,8 @@
PRGNAM="acc"
-VERSION="1.57"
-HOMEPAGE="https://www.zdoom.org/downloads"
-DOWNLOAD="https://zdoom.org/files/utils/acc/acc157src.zip"
-MD5SUM="a9fc20ca9035c572e4a9579eb0fe85dd"
+VERSION="1.60"
+HOMEPAGE="https://www.zdoom.org"
+DOWNLOAD="https://github.com/Zdoom/acc/archive/1.60/acc-1.60.tar.gz"
+MD5SUM="b1d78421f0fcd3301bf8e657eea84f40"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/acc/slack-desc b/development/acc/slack-desc
index 99a935bf4a..cbb17d06bd 100644
--- a/development/acc/slack-desc
+++ b/development/acc/slack-desc
@@ -13,7 +13,7 @@ acc: (http://zdoom.org/wiki/ACC)
acc: Original ACC Version 1.10 by Ben Gokey
acc: Copyright (c) 1995 Raven Software, Corp.
acc:
-acc: This is version 1.57 (Mar 2 2019)
+acc: This is version 1.60 (Oct 19 2023)
acc: This software is not supported by Raven Software or Activision
acc: ZDoom changes and language extensions by Randy Heit
acc: Further changes by Brad Carney
diff --git a/development/acpica/acpica.SlackBuild b/development/acpica/acpica.SlackBuild
index f3ffc6d06f..7ba1a39095 100644
--- a/development/acpica/acpica.SlackBuild
+++ b/development/acpica/acpica.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for acpica
-# Copyright 2008-2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2023 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,51 +11,57 @@
# 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.
+# 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=acpica
-VERSION=${VERSION:-20170531}
+VERSION=${VERSION:-20230331}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- BITS="32"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- BITS="32"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- BITS="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
- BITS="32"
fi
set -e
@@ -63,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-unix2-$VERSION
-tar xvf $CWD/$PRGNAM-unix2-$VERSION.tar.gz
-cd $PRGNAM-unix2-$VERSION
+rm -rf $PRGNAM-unix-$VERSION
+tar xvf $CWD/$PRGNAM-unix-$VERSION.tar.gz
+cd $PRGNAM-unix-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -74,9 +80,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd generate/unix
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- make BITS=$BITS
+ OPT_CFLAGS="$SLKCFLAGS" \
+ make
make install DESTDIR=$PKG
cd -
@@ -92,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/acpica/acpica.info b/development/acpica/acpica.info
index dea5cd5d50..1b3f810767 100644
--- a/development/acpica/acpica.info
+++ b/development/acpica/acpica.info
@@ -1,10 +1,10 @@
PRGNAM="acpica"
-VERSION="20170531"
+VERSION="20230331"
HOMEPAGE="http://www.acpica.org"
-DOWNLOAD="https://acpica.org/sites/acpica/files/acpica-unix2-20170531.tar.gz"
-MD5SUM="46c4c93435ad1d8c4eb5bacde17503b8"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/acpica-unix-20230331.tar.gz"
+MD5SUM="9610f97f23389bbe72c75a4c1bd6442f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/development/actionlint/README b/development/actionlint/README
new file mode 100644
index 0000000000..4a12de1efb
--- /dev/null
+++ b/development/actionlint/README
@@ -0,0 +1,4 @@
+actionlint - Static checker for GitHub Actions workflow files
+
+NOTE: google-go-lang is only needed at compile time - not at runtime.
+ ronn is a build only dependency for creating the man page.
diff --git a/development/actionlint/actionlint.SlackBuild b/development/actionlint/actionlint.SlackBuild
new file mode 100644
index 0000000000..3b534d19d3
--- /dev/null
+++ b/development/actionlint/actionlint.SlackBuild
@@ -0,0 +1,180 @@
+#!/bin/bash
+
+# Slackware build script for actionlint
+
+# Copyright 2023-2024 Andrew Clemons, Tokyo Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=actionlint
+VERSION=${VERSION:-1.6.27}
+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 $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+mkdir -p vendor/github.com
+
+for DEPENDENCY in fatih/color/1.16.0 \
+ google/go-cmp/0.6.0 \
+ mattn/go-colorable/0.1.13 \
+ mattn/go-isatty/0.0.20 \
+ mattn/go-runewidth/0.0.15 \
+ rivo/uniseg/0.4.7 \
+ robfig/cron/3.0.1 \
+ yuin/goldmark/1.7.0 ; do
+ DEPENDENCY_OWNER="$(echo "$DEPENDENCY" | cut -d/ -f1)"
+ DEPENDENCY_NAME="$(echo "$DEPENDENCY" | cut -d/ -f2)"
+ DEPENDENCY_REV="$(echo "$DEPENDENCY" | cut -d/ -f3)"
+
+ mkdir -p "vendor/github.com/$DEPENDENCY_OWNER"
+
+ tar xf "$CWD/$DEPENDENCY_NAME-$DEPENDENCY_REV.tar.gz"
+
+ if [ "$DEPENDENCY_NAME" = "cron" ] ; then
+ mkdir "vendor/github.com/$DEPENDENCY_OWNER/$DEPENDENCY_NAME/"
+ mv "$DEPENDENCY_NAME-$DEPENDENCY_REV" "vendor/github.com/$DEPENDENCY_OWNER/$DEPENDENCY_NAME/v3"
+ else
+ mv "$DEPENDENCY_NAME-$DEPENDENCY_REV" "vendor/github.com/$DEPENDENCY_OWNER/$DEPENDENCY_NAME"
+ fi
+done
+
+mkdir -p vendor/golang.org/x
+for DEPENDENCY in sync/0.6.0 \
+ sys/0.17.0 ; do
+ DEPENDENCY_NAME="$(echo "$DEPENDENCY" | cut -d/ -f1)"
+ DEPENDENCY_REV="$(echo "$DEPENDENCY" | cut -d/ -f2)"
+
+ tar xf "$CWD/$DEPENDENCY_NAME-$DEPENDENCY_REV.tar.gz"
+ mv "$DEPENDENCY_NAME-$DEPENDENCY_REV" "vendor/golang.org/x/$DEPENDENCY_NAME"
+done
+
+mkdir -p vendor/gopkg.in
+tar -xf "$CWD/yaml-3.0.1.tar.gz"
+mv yaml-3.0.1 "vendor/gopkg.in/yaml.v3"
+
+cat << EOF > vendor/modules.txt
+# github.com/fatih/color v1.16.0
+## explicit; go 1.17
+github.com/fatih/color
+# github.com/google/go-cmp v0.6.0
+## explicit; go 1.13
+github.com/google/go-cmp/cmp
+github.com/google/go-cmp/cmp/cmpopts
+github.com/google/go-cmp/cmp/internal/diff
+github.com/google/go-cmp/cmp/internal/flags
+github.com/google/go-cmp/cmp/internal/function
+github.com/google/go-cmp/cmp/internal/value
+# github.com/mattn/go-colorable v0.1.13
+## explicit; go 1.15
+github.com/mattn/go-colorable
+# github.com/mattn/go-isatty v0.0.20
+## explicit; go 1.15
+github.com/mattn/go-isatty
+# github.com/mattn/go-runewidth v0.0.15
+## explicit; go 1.9
+github.com/mattn/go-runewidth
+# github.com/rivo/uniseg v0.4.7
+## explicit; go 1.18
+github.com/rivo/uniseg
+# github.com/robfig/cron/v3 v3.0.1
+## explicit; go 1.12
+github.com/robfig/cron/v3
+# github.com/yuin/goldmark v1.7.0
+## explicit; go 1.19
+github.com/yuin/goldmark
+github.com/yuin/goldmark/ast
+github.com/yuin/goldmark/extension
+github.com/yuin/goldmark/extension/ast
+github.com/yuin/goldmark/parser
+github.com/yuin/goldmark/renderer
+github.com/yuin/goldmark/renderer/html
+github.com/yuin/goldmark/text
+github.com/yuin/goldmark/util
+# golang.org/x/sync v0.6.0
+## explicit; go 1.18
+golang.org/x/sync/errgroup
+golang.org/x/sync/semaphore
+# golang.org/x/sys v0.17.0
+## explicit; go 1.18
+golang.org/x/sys/execabs
+golang.org/x/sys/unix
+golang.org/x/sys/windows
+# gopkg.in/yaml.v3 v3.0.1
+## explicit
+gopkg.in/yaml.v3
+EOF
+
+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 {} \;
+
+go build -ldflags "-s -w -X github.com/rhysd/actionlint.version=$VERSION" -mod=vendor ./cmd/actionlint
+install -D -m0755 actionlint $PKG/usr/bin/actionlint
+
+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
+
+ronn man/actionlint.1.ronn
+install -D -m0644 man/actionlint.1 $PKG/usr/man/man1/actionlint.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 \
+ CHANGELOG.md CONTRIBUTING.md LICENSE.txt README.md docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/actionlint/actionlint.info b/development/actionlint/actionlint.info
new file mode 100644
index 0000000000..0db6a7419b
--- /dev/null
+++ b/development/actionlint/actionlint.info
@@ -0,0 +1,32 @@
+PRGNAM="actionlint"
+VERSION="1.6.27"
+HOMEPAGE="https://github.com/rhysd/actionlint"
+DOWNLOAD="https://github.com/rhysd/actionlint/archive/v1.6.27/actionlint-1.6.27.tar.gz \
+ https://github.com/fatih/color/archive/v1.16.0/color-1.16.0.tar.gz \
+ https://github.com/google/go-cmp/archive/v0.6.0/go-cmp-0.6.0.tar.gz \
+ https://github.com/mattn/go-colorable/archive/v0.1.13/go-colorable-0.1.13.tar.gz \
+ https://github.com/mattn/go-isatty/archive/v0.0.20/go-isatty-0.0.20.tar.gz \
+ https://github.com/mattn/go-runewidth/archive/v0.0.15/go-runewidth-0.0.15.tar.gz \
+ https://github.com/rivo/uniseg/archive/v0.4.7/uniseg-0.4.7.tar.gz \
+ https://github.com/robfig/cron/archive/v3.0.1/cron-3.0.1.tar.gz \
+ https://github.com/yuin/goldmark/archive/v1.7.0/goldmark-1.7.0.tar.gz \
+ https://github.com/golang/sync/archive/v0.6.0/sync-0.6.0.tar.gz \
+ https://github.com/golang/sys/archive/v0.17.0/sys-0.17.0.tar.gz \
+ https://github.com/go-yaml/yaml/archive/v3.0.1/yaml-3.0.1.tar.gz"
+MD5SUM="e4df3137469434768968d93861158a9f \
+ 3f3abb1b34a6f54dc26255395d425271 \
+ 5f88097e0cfd038e6f44c80c3580fa78 \
+ ac74020d881d4966e33ab6580f509aeb \
+ 0e9df2fea5b77d464d518a6c60ce8ba2 \
+ 3da9ee6fafe706e99bd88ac86023f6a5 \
+ 3751c82dd342cd5823703910b9da173d \
+ 6165823364bc3bd568d3a6a1dee6c2cb \
+ 2668b89123f9a0acccf8a9a89d0679e4 \
+ 85888b0694f3bcbe23e64ced0c3446c7 \
+ fff45f6edce665d4ab42a18817bb212d \
+ 3653fca1491a8b432d590ed3dab3aa77"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang rubygem-ronn"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/actionlint/slack-desc b/development/actionlint/slack-desc
new file mode 100644
index 0000000000..15eb006f9a
--- /dev/null
+++ b/development/actionlint/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------------------------------------------------------|
+actionlint: actionlint (Static checker for GitHub Actions workflow files)
+actionlint:
+actionlint: actionlint is a static checker for GitHub Actions workflow files.
+actionlint:
+actionlint: https://github.com/rhysd/actionlint
+actionlint:
+actionlint:
+actionlint:
+actionlint:
+actionlint:
+actionlint:
diff --git a/development/adms/adms.SlackBuild b/development/adms/adms.SlackBuild
index 6f0e69f444..91c60650d9 100644
--- a/development/adms/adms.SlackBuild
+++ b/development/adms/adms.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for adms
@@ -23,10 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220401 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip binaries and libraries.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=adms
VERSION=${VERSION:-2.3.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -64,9 +75,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
./bootstrap.sh
CFLAGS="$SLKCFLAGS" \
@@ -78,22 +89,22 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
if [ "$ARCH" = "x86_64" ]; then
mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
fi
-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 ChangeLog INSTALL NEWS README* TODO \
+cp -a AUTHORS COPYING ChangeLog NEWS README* TODO \
$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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/adoptopenjdk-openj9/LICENSE b/development/adoptopenjdk-openj9/LICENSE
deleted file mode 100644
index 9a044f3f67..0000000000
--- a/development/adoptopenjdk-openj9/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2018 Sukma Wardana <sukma.wardana>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/development/adoptopenjdk-openj9/README b/development/adoptopenjdk-openj9/README
deleted file mode 100644
index c484d92dbe..0000000000
--- a/development/adoptopenjdk-openj9/README
+++ /dev/null
@@ -1,12 +0,0 @@
-This is a SlackBuild to repackage OpenJDK binary from AdoptOpenJDK
-community with OpenJ9 JVM.
-
-Before installing this package please consider any other jdk's / jre's
-that you have already installed as they may cause conflicts with the
-PATH, JAVA_HOME and MANPATH variables.
-
-After installing the package you will need to logout / reboot your
-machine as it will add files to the /etc/profile.d folder.
-
-To enable JavaFX / OpenJFX support currently you need to add
-IcedTea-Web.
diff --git a/development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild b/development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild
deleted file mode 100644
index aa83d24ed8..0000000000
--- a/development/adoptopenjdk-openj9/adoptopenjdk-openj9.SlackBuild
+++ /dev/null
@@ -1,126 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for adoptopenjdk
-
-# Copyright 2018 Sukma Wardana <sukma.wardana@mail.com>
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
-# and associated documentation files (the "Software"), to deal in the Software without restriction,
-# including without limitation the rights to use, copy, modify, merge, publish, distribute,
-# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all copies or
-# substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
-# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
-# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
-# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-
-PRGNAM=adoptopenjdk-openj9
-SRCNAM=jdk
-VERSION=${VERSION:-14.0.1+7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-MAINVER=${VERSION%%.*}
-MAJORVER=${VERSION%+*}
-MINORVER=${VERSION#*+}
-J9VER=0.20.0
-
-TARNAM=OpenJDK${MAINVER}U-jdk_x64_linux_openj9_${MAJORVER}_${MINORVER}_openj9-${J9VER}.tar.gz
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${TMP}/package-${PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i586 ;;
- arm*) export ARCH=arm ;;
- *) export ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- echo "$ARCH port is not supported"
- exit -1
-fi
-
-JDK_HOME=/usr/lib${LIBDIRSUFFIX}/${SRCNAM}-${VERSION}
-
-set -e
-
-rm -rf ${PKG}
-mkdir -p ${TMP} ${PKG} ${OUTPUT}
-
-mkdir -p $PKG/$JDK_HOME $PKG/usr/{bin,man}
-# Extract start from sub-directory 1 level beneath
-cd $PKG/$JDK_HOME
-tar -xvzf ${CWD}/${TARNAM} --strip-components=1
-cp -a man/man1/ $PKG/usr/man/man1
-
-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 {} \;
-
-# Define whether or not a symlink to libjvm.so library must
-# be created into /usr/lib${LIBDIRSUFFIX}. Can be set to "yes"
-# or "no". Default to "yes".
-if [ "${CREATE_LIBJVM_SYMLINK:-yes}" = "yes" ]; then
- # Important Note:
- # --------------
- # This will create symlink under /usr/lib${LIBDIRSUFFIX}
- cd ${PKG}/usr/lib${LIBDIRSUFFIX}
- ln -sf $JDK_HOME/lib/libjawt.so
- ln -sf $JDK_HOME/lib/server/libjvm.so
- ln -sf $JDK_HOME/lib/libjava.so
- ln -sf $JDK_HOME/lib/libawt.so
- ln -sf $JDK_HOME/lib/libawt_xawt.so
- ln -sf $JDK_HOME/lib/libverify.so
- cd -
-fi
-
-# Add profile scripts.
-mkdir -p $PKG/etc/profile.d
-for script in $(ls "${CWD}/profile.d/${PRGNAM}"*) ; do
- # Modifying the LIBDIRSUFFIX and VERSION using Stream Editor (sed)
- sed -e "s;lib/${SRCNAM};lib${LIBDIRSUFFIX}/${SRCNAM};" -e "s;@VERSION@;${VERSION};" \
- < $script \
- > ${PKG}/etc/profile.d/$(basename ${script})
- chmod 755 ${PKG}/etc/profile.d/*
-done
-
-mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION
-cp -a release legal/ $PKG/usr/doc/$SRCNAM-$VERSION || true
-cat $CWD/$(basename $0) > $PKG/usr/doc/$SRCNAM-$VERSION/$PRGNAM.SlackBuild
-chown -R root:root $PKG/usr/doc/$SRCNAM-$VERSION
-find $PKG/usr/doc -type f -exec chmod 644 {} \;
-
-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
-
-rm -rf $PKG/usr/lib64/jdk-14.0.1+7/{man,legal}
-
-mkdir -p ${PKG}/install
-cat ${CWD}/slack-desc > ${PKG}/install/slack-desc
-
-(
- cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
-
-cd ${PKG}
-/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz}
diff --git a/development/adoptopenjdk-openj9/adoptopenjdk-openj9.info b/development/adoptopenjdk-openj9/adoptopenjdk-openj9.info
deleted file mode 100644
index 0fb132672e..0000000000
--- a/development/adoptopenjdk-openj9/adoptopenjdk-openj9.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="adoptopenjdk-openj9"
-VERSION="14.0.1+7"
-HOMEPAGE="https://adoptopenjdk.net"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14.0.1+7_openj9-0.20.0/OpenJDK14U-jdk_x64_linux_openj9_14.0.1_7_openj9-0.20.0.tar.gz"
-MD5SUM_x86_64="ec7cd7e0df40ba2a4af8869abc4e31a2"
-REQUIRES=""
-MAINTAINER="Sukma Wardana"
-EMAIL="sukma.wardana@mail.com"
diff --git a/development/adoptopenjdk-openj9/profile.d/adoptopenjdk-openj9.csh b/development/adoptopenjdk-openj9/profile.d/adoptopenjdk-openj9.csh
deleted file mode 100644
index 142da8e492..0000000000
--- a/development/adoptopenjdk-openj9/profile.d/adoptopenjdk-openj9.csh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/csh
-setenv JAVA_HOME /usr/local/lib/jdk-@VERSION@
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
-setenv PATH ${PATH}:${JAVA_HOME}/bin
diff --git a/development/adoptopenjdk-openj9/profile.d/adoptopenjdk-openj9.sh b/development/adoptopenjdk-openj9/profile.d/adoptopenjdk-openj9.sh
deleted file mode 100644
index e85e66de71..0000000000
--- a/development/adoptopenjdk-openj9/profile.d/adoptopenjdk-openj9.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export JAVA_HOME=/usr/local/lib/jdk-@VERSION@
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
-export PATH="${PATH}:${JAVA_HOME}/bin"
diff --git a/development/adoptopenjdk-openj9/slack-desc b/development/adoptopenjdk-openj9/slack-desc
deleted file mode 100644
index 26a8dd2c68..0000000000
--- a/development/adoptopenjdk-openj9/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------------------------------------------------------|
-adoptopenjdk-openj9: adoptopenjdk-openj9 (Open Implementation of JDK)
-adoptopenjdk-openj9:
-adoptopenjdk-openj9: AdoptOpenJDK is a community of Java User Group (JUG) members, Java
-adoptopenjdk-openj9: developers and vendors who are advocates of OpenJDK. Providing rock-
-adoptopenjdk-openj9: solid binaries which utilising existing OpenJDK test suites.
-adoptopenjdk-openj9:
-adoptopenjdk-openj9:
-adoptopenjdk-openj9:
-adoptopenjdk-openj9:
-adoptopenjdk-openj9:
-adoptopenjdk-openj9: Homepage: https://adoptopenjdk.net
diff --git a/development/adoptopenjdk/LICENSE b/development/adoptopenjdk/LICENSE
deleted file mode 100644
index 9a044f3f67..0000000000
--- a/development/adoptopenjdk/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2018 Sukma Wardana <sukma.wardana>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/development/adoptopenjdk/README b/development/adoptopenjdk/README
deleted file mode 100644
index 518cd3b816..0000000000
--- a/development/adoptopenjdk/README
+++ /dev/null
@@ -1,12 +0,0 @@
-This is a SlackBuild to repackage OpenJDK 11 binary from AdoptOpenJDK
-community with HotSpot JVM.
-
-Before installing this package please consider any other jdk's / jre's
-that you have already installed as they may cause conflicts with the
-PATH, JAVA_HOME and MANPATH variables.
-
-After installing the package you will need to logout / reboot your
-machine as it will add files to the /etc/profile.d folder.
-
-To enable JavaFX / OpenJFX support currently you need to add
-IcedTea-Web.
diff --git a/development/adoptopenjdk/adoptopenjdk.SlackBuild b/development/adoptopenjdk/adoptopenjdk.SlackBuild
deleted file mode 100644
index ff255ee1f1..0000000000
--- a/development/adoptopenjdk/adoptopenjdk.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for adoptopenjdk
-
-# Copyright 2018 Sukma Wardana <sukma.wardana@mail.com>
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
-# and associated documentation files (the "Software"), to deal in the Software without restriction,
-# including without limitation the rights to use, copy, modify, merge, publish, distribute,
-# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all copies or
-# substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
-# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
-# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
-# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-
-PRGNAM=adoptopenjdk
-VERSION=${VERSION:-12.0.2+10}
-BUILD=${BUILD:-1}
-ARCH=${ARCH:-$(uname -m)}
-TAG=${TAG:-_SBo}
-
-MAJORVER=${VERSION%+*}
-MINORVER=${VERSION#*+}
-
-TARNAM=OpenJDK12U-jdk_x64_linux_hotspot_${MAJORVER}_${MINORVER}.tar.gz
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${TMP}/package-${PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "${ARCH}" != "x86_64" ]; then
- echo "Architecture ${ARCH} is not supported."
- exit 1
-fi
-LIBDIRSUFFIX="64"
-
-set -e
-
-rm -rf ${PKG}
-mkdir -p ${TMP} ${PKG} ${OUTPUT}
-
-mkdir -p ${PKG}/usr/lib${LIBDIRSUFFIX}/${PRGNAM}${MAJORVER}
-# Extract start from sub-directory 1 level beneath
-cd ${PKG}/usr/lib${LIBDIRSUFFIX}/${PRGNAM}${MAJORVER}
-tar -xvzf ${CWD}/${TARNAM} --strip-components=1
-
-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 {} \;
-
-# Define whether or not a symlink to libjvm.so library must
-# be created into /usr/lib${LIBDIRSUFFIX}. Can be set to "yes"
-# or "no". Default to "yes".
-if [ "${CREATE_LIBJVM_SYMLINK:-yes}" = "yes" ]; then
- # Important Note:
- # --------------
- # This will create symlink under /usr/lib${LIBDIRSUFFIX}
- cd ${PKG}/usr/lib${LIBDIRSUFFIX}
- ln -sf ./${PRGNAM}${MAJORVER}/lib/server/libjvm.so \
- ${PKG}/usr/lib${LIBDIRSUFFIX}/libjvm.so
-fi
-
-# Add profile scripts.
-mkdir -p ${PKG}/etc/profile.d
-for SCRIPT in $(ls "${CWD}/profile.d/${PRGNAM}"*) ; do
- sed -e "s;@MAJORVER@;${MAJORVER};" \
- < ${SCRIPT} \
- > ${PKG}/etc/profile.d/$(basename ${SCRIPT})
- chmod 755 ${PKG}/etc/profile.d/*
-done
-
-# Create documentation directory.
-mkdir -p ${PKG}/usr/doc/${PRGNAM}-${MAJORVER}
-# Copy documentation within OpenJDK binary.
-cd ${PKG}/usr/lib${LIBDIRSUFFIX}/${PRGNAM}${MAJORVER}
-cp -a release ${PKG}/usr/doc/${PRGNAM}-${MAJORVER}
-# Copy SlackBuild docfile.
-cat ${CWD}/${PRGNAM}.SlackBuild > \
- ${PKG}/usr/doc/${PRGNAM}-${MAJORVER}/${PRGNAM}.SlackBuild
-
-# Create install directory.
-mkdir -p ${PKG}/install
-# Copy slack-desc into install directory.
-cat ${CWD}/slack-desc > ${PKG}/install/slack-desc
-
-# Strip some libraries and binaries
-(
- cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
-
-# Build the package.
-cd ${PKG}
-/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz}
diff --git a/development/adoptopenjdk/adoptopenjdk.csh b/development/adoptopenjdk/adoptopenjdk.csh
deleted file mode 100644
index 6eff47174f..0000000000
--- a/development/adoptopenjdk/adoptopenjdk.csh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/csh
-setenv JAVA_HOME /usr/lib64/adoptopenjdk@MAJORVER@
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
-setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
diff --git a/development/adoptopenjdk/adoptopenjdk.info b/development/adoptopenjdk/adoptopenjdk.info
deleted file mode 100644
index 7bbcc700ea..0000000000
--- a/development/adoptopenjdk/adoptopenjdk.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="adoptopenjdk"
-VERSION="12.0.2+10"
-HOMEPAGE="https://adoptopenjdk.net"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/AdoptOpenJDK/openjdk12-binaries/releases/download/jdk-12.0.2%2B10/OpenJDK12U-jdk_x64_linux_hotspot_12.0.2_10.tar.gz"
-MD5SUM_x86_64="7a4501c91a5fbd3882815d1d035b87aa"
-REQUIRES=""
-MAINTAINER="Sukma Wardana"
-EMAIL="sukma.wardana@mail.com"
diff --git a/development/adoptopenjdk/adoptopenjdk.sh b/development/adoptopenjdk/adoptopenjdk.sh
deleted file mode 100644
index fce9d71069..0000000000
--- a/development/adoptopenjdk/adoptopenjdk.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export JAVA_HOME=/usr/lib64/adoptopenjdk@MAJORVER@
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
-export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
diff --git a/development/adoptopenjdk/profile.d/adoptopenjdk.csh b/development/adoptopenjdk/profile.d/adoptopenjdk.csh
deleted file mode 100644
index 1e9ef50051..0000000000
--- a/development/adoptopenjdk/profile.d/adoptopenjdk.csh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/csh
-setenv JAVA_HOME /usr/lib64/adoptopenjdk@MAJORVER@
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
-setenv PATH ${PATH}:${JAVA_HOME}/bin
diff --git a/development/adoptopenjdk/profile.d/adoptopenjdk.sh b/development/adoptopenjdk/profile.d/adoptopenjdk.sh
deleted file mode 100644
index 0d0ffb2500..0000000000
--- a/development/adoptopenjdk/profile.d/adoptopenjdk.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export JAVA_HOME=/usr/lib64/adoptopenjdk@MAJORVER@
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
-export PATH="${PATH}:${JAVA_HOME}/bin"
diff --git a/development/adoptopenjdk/slack-desc b/development/adoptopenjdk/slack-desc
deleted file mode 100644
index a5560ba048..0000000000
--- a/development/adoptopenjdk/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------------------------------------------------------|
-adoptopenjdk: adoptopenjdk (Open Implementation of JDK)
-adoptopenjdk:
-adoptopenjdk: OpenJDK 11 is an open source implementation of version 11 of the
-adoptopenjdk: Java Development Kit, Standard Edition. It includes tools for
-adoptopenjdk: developing testing, and running programs written in java.
-adoptopenjdk:
-adoptopenjdk: OpenJDK 11 binary provided by AdoptOpenJDK, community of Java user
-adoptopenjdk: group members who are advocates of OpenJDK. Part of the group's
-adoptopenjdk: activities occur at the Adoption Group on the OpenJDK project.
-adoptopenjdk:
-adoptopenjdk: Homepage: https://adoptopenjdk.net
diff --git a/development/afl/README b/development/afl/README
deleted file mode 100644
index d4615ca919..0000000000
--- a/development/afl/README
+++ /dev/null
@@ -1,21 +0,0 @@
-afl (security-oriented fuzzer)
-
-American fuzzy lop is a security-oriented fuzzer that employs a
-novel type of compile-time instrumentation and genetic algorithms to
-automatically discover clean, interesting test cases that trigger new
-internal states in the targeted binary. This substantially improves
-the functional coverage for the fuzzed code. The compact synthesized
-corpora produced by the tool are also useful for seeding other, more
-labor- or resource-intensive testing regimes down the road.
-
-To use afl with binary-only code (no source available), a custom qemu
-wrapper is used (afl-qemu-trace). This does NOT require a system-wide
-installation of qemu, but it does require the source to qemu. To build
-qemu support, download the qemu source from:
-
-https://download.qemu-project.org/qemu-2.10.0.tar.xz
-
-Save the file in the same directory as the afl.SlackBuild script.
-
-If binary-only support is not needed, don't download the qemu
-source. This will speed up the build quite a bit.
diff --git a/development/afl/afl.SlackBuild b/development/afl/afl.SlackBuild
deleted file mode 100644
index e78269f6a3..0000000000
--- a/development/afl/afl.SlackBuild
+++ /dev/null
@@ -1,138 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for afl
-
-# Written by B. Watson (yalhcru@gmail.com)
-
-# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-
-# 20200217 bkw: BUILD=2.
-# - fix afl-clang-fast
-# - include README.llvm and optional README.qemu in doc dir
-# - update README slightly
-# 20180709 bkw: updated for v2.52b.
-
-PRGNAM=afl
-VERSION=${VERSION:-2.52b}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-
-# apply slack cflags, tell gcc to create stripped binaries
-sed -i "/^CFLAGS/s|-O3.*|$SLKCFLAGS -Wl,-s|" Makefile llvm_mode/Makefile
-sed -i "/^CFLAGS/s|-O3|$SLKCFLAGS|" qemu_mode/build_qemu_support.sh
-
-PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-
-make \
- DESTDIR=$PKG \
- PREFIX=/usr \
- HELPER_PATH=/usr/lib$LIBDIRSUFFIX/$PRGNAM \
- DOC_PATH=/usr/doc/$PRGNAM-$VERSION \
- all \
- install
-
-# llvm fast mode looks useful, include it.
-# comment this out if you're building on slack 14.1, its llvm is too old.
-make -C llvm_mode \
- PREFIX=/usr \
- HELPER_PATH=/usr/lib$LIBDIRSUFFIX/$PRGNAM
-
-# no 'make install' support, manual install.
-install -s -m0755 -oroot -groot afl-clang-fast $PKG/usr/bin
-ln -s afl-clang-fast $PKG/usr/bin/afl-clang-fast++
-
-# 20200217 bkw: clang fast mode support libraries. Thanks to mity for
-# a very detailed bug report.
-CLANGLIB=$PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
-install -s -m0755 -oroot -groot afl-llvm-pass.so $CLANGLIB
-# no -s here, stripping this would be bad:
-install -m0644 -oroot -groot afl-llvm-rt*.o $CLANGLIB
-
-# replace identical .o files with symlinks
-baseobj=$CLANGLIB/afl-llvm-rt.o
-for bits in 32 64; do
- bitobj=$CLANGLIB/afl-llvm-rt-$bits.o
- if [ -e $bitobj ] && cmp $bitobj $baseobj; then
- rm -f $bitobj
- ln -s afl-llvm-rt.o $bitobj
- fi
-done
-
-WITHQEMU="without"
-
-# figure out the qemu source tarball name. N.B. update the README
-# when this changes!
-( egrep "^(VERSION|QEMU_URL)=" qemu_mode/build_qemu_support.sh > 1.sh
- source ./1.sh
- echo "$QEMU_URL" > qemu.url )
-QEMU_SRC="$( basename "$( cat qemu.url )" )"
-
-# optional qemu support, needed for fuzzing binary-only stuff,
-# only built if $CWD contains the qemu source.
-if [ -e "$CWD/$QEMU_SRC" ]; then
- echo "=== qemu source \$CWD/$QEMU_SRC found"
- cp "$CWD/$QEMU_SRC" qemu_mode
-
- cd qemu_mode
- sh build_qemu_support.sh
- cp -a README.qemu $PKGDOC
- cd -
-
- install -s -m0755 -oroot -groot afl-qemu-trace $PKG/usr/bin
- WITHQEMU="with"
-else
- echo "!!! qemu source \$CWD/$QEMU_SRC not found"
- echo "!!! wget $( cat qemu.url )"
- # grep for the !!! in the log to find the URL, when updating afl
-fi
-
-# 'make install' already put the docs where they belong.
-# the experimental/ stuff is sample source code, include in docs.
-# since llvm_mode has no 'make install', we install its doc here.
-cp -a llvm_mode/README.llvm experimental $PKGDOC
-cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-sed "s,@WITHQEMU@,$WITHQEMU," $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/afl/afl.info b/development/afl/afl.info
deleted file mode 100644
index a4851061e0..0000000000
--- a/development/afl/afl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="afl"
-VERSION="2.52b"
-HOMEPAGE="http://lcamtuf.coredump.cx/afl/"
-DOWNLOAD="http://lcamtuf.coredump.cx/afl/releases/afl-2.52b.tgz"
-MD5SUM="d4fa778e6c2221aee4f5326f22e1983d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/development/afl/slack-desc b/development/afl/slack-desc
deleted file mode 100644
index 92a45ffa4a..0000000000
--- a/development/afl/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------------------------------------------------------|
-afl: afl (security-oriented fuzzer)
-afl:
-afl: American fuzzy lop is a security-oriented fuzzer that employs a
-afl: novel type of compile-time instrumentation and genetic algorithms to
-afl: automatically discover clean, interesting test cases that trigger new
-afl: internal states in the targeted binary. This substantially improves
-afl: the functional coverage for the fuzzed code. The compact synthesized
-afl: corpora produced by the tool are also useful for seeding other,
-afl: more labor- or resource-intensive testing regimes down the road.
-afl:
-afl: This package was built @WITHQEMU@ QEMU support.
diff --git a/development/aflplusplus/README b/development/aflplusplus/README
new file mode 100644
index 0000000000..ec2a23db01
--- /dev/null
+++ b/development/aflplusplus/README
@@ -0,0 +1,26 @@
+aflplusplus (enhanced fork of afl fuzzer)
+
+afl++ is a superior fork to Google's afl - more speed, more and better
+mutations, more and better instrumentation, custom module support, etc.
+
+American fuzzy lop is a security-oriented fuzzer that employs a
+novel type of compile-time instrumentation and genetic algorithms to
+automatically discover clean, interesting test cases that trigger new
+internal states in the targeted binary. This substantially improves
+the functional coverage for the fuzzed code. The compact synthesized
+corpora produced by the tool are also useful for seeding other, more
+labor- or resource-intensive testing regimes down the road.
+
+This build of aflplusplus does not include the frida, unicorn,
+coresight, or nyx modes, so the afl-fuzz -O, -U, -X, -Y options won't
+work.
+
+Build option: If you need to fuzz binary-only software, aflplusplus can
+be built with QEMU support. To do this, download the qemu source from:
+
+https://slackware.uk/~urchlay/src/qemuafl-ff9de4fbeb.tar.xz
+
+Its md5sum is 58547e2ea53b639c17a585be376b5bb7. Place it in the
+SlackBuild's directory before running the script. The resulting
+package will support the -Q option to afl-fuzz. An existing
+installation of qemu is not required.
diff --git a/development/aflplusplus/aflplusplus.SlackBuild b/development/aflplusplus/aflplusplus.SlackBuild
new file mode 100644
index 0000000000..3864595b78
--- /dev/null
+++ b/development/aflplusplus/aflplusplus.SlackBuild
@@ -0,0 +1,123 @@
+#!/bin/bash
+
+# Slackware build script for aflplusplus
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=aflplusplus
+SRCNAM=AFLplusplus
+VERSION=${VERSION:-4.04c}
+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}
+
+# No SLKCFLAGS here, use upstream's flags (they know what they're doing).
+LIBDIRSUFFIX=""
+[ "$ARCH" = "x86_64" ] && LIBDIRSUFFIX="64"
+
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+DOCDIR=/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/$DOCDIR
+
+runmake() {
+ make \
+ DESTDIR=$PKG \
+ PREFIX=/usr \
+ HELPER_PATH=/usr/lib$LIBDIRSUFFIX/$PRGNAM \
+ DOC_PATH=$DOCDIR \
+ MAN_PATH=/usr/man/man8 \
+ "$1"
+}
+
+# "make all" doesn't include qemu_mode (which gets built separately,
+# below). The other modes aren't built because they're a lot of effort
+# to build for not much gain:
+
+# coresight_mode: ARM64-only. Beyond the scope of this SBo build.
+# frida_mode: New and missing a lot of features. Also a PITA to build.
+# nyx_mode: Written in Rust. Too fast-moving of a target for me, sorry.
+# unicorn_mode: Looks interesting, but I don't need it, do you?
+
+# Anyone who wants to is welcome to submit SlackBuilds for the other
+# modes, though it'll take some care to keep them from conflicting
+# with this one: your script will have to build the main aflplusplus
+# stuff (make all), because the "modes" require it to be built first,
+# but your package should only install the mode-specific stuff (so you
+# can't just use "make install").
+
+runmake all
+runmake man
+
+# Make it use the qemu source provided by us, instead of doing a git
+# clone (which didn't work properly anyway). Also this disables -Werror
+# in the qemu build.
+patch -p1 < $CWD/build_qemu_support.diff
+
+# qemu mode is optional, only build if the source exists.
+QEMUVER="$( cat qemu_mode/QEMUAFL_VERSION )"
+QEMUSRC="$CWD/qemuafl-$QEMUVER.tar.xz"
+if [ -e "$QEMUSRC" ]; then
+ echo "=== QEMU source found, building qemu_mode"
+ WITHQEMU=WITH
+ ( cd qemu_mode
+ rm -rf qemuafl
+ tar xvf "$QEMUSRC"
+ NO_CHECKOUT=1 sh build_qemu_support.sh )
+else
+ echo "=== QEMU source NOT found, not building qemu_mode"
+ WITHQEMU=WITHOUT
+fi
+
+runmake install
+
+# 20211216 bkw: faster than the usual find|strip stuff. Maybe this
+# should be the new template.
+find $PKG/usr/bin $PKG/usr/lib* -type f -print0 | \
+ xargs -0 file -m /etc/file/magic/elf | \
+ grep -e "executable" -e "shared object" | \
+ grep ELF | \
+ cut -d: -f1 | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+
+gzip $PKG/usr/man/man8/*.8
+
+rm -f $PKGDOC/INSTALL* # useless.
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+sed "s,@WITHQEMU@,$WITHQEMU," $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/aflplusplus/aflplusplus.info b/development/aflplusplus/aflplusplus.info
new file mode 100644
index 0000000000..49583978be
--- /dev/null
+++ b/development/aflplusplus/aflplusplus.info
@@ -0,0 +1,10 @@
+PRGNAM="aflplusplus"
+VERSION="4.04c"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+DOWNLOAD="https://github.com/AFLplusplus/AFLplusplus/archive/4.04c/AFLplusplus-4.04c.tar.gz"
+MD5SUM="11f0176843c4b327e4e2312095cfb056"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/aflplusplus/build_qemu_support.diff b/development/aflplusplus/build_qemu_support.diff
new file mode 100644
index 0000000000..ab4321ca2b
--- /dev/null
+++ b/development/aflplusplus/build_qemu_support.diff
@@ -0,0 +1,47 @@
+diff -Naur AFLplusplus-4.04c/qemu_mode/build_qemu_support.sh AFLplusplus-4.04c.patched/qemu_mode/build_qemu_support.sh
+--- AFLplusplus-4.04c/qemu_mode/build_qemu_support.sh 2022-10-11 09:40:55.000000000 -0400
++++ AFLplusplus-4.04c.patched/qemu_mode/build_qemu_support.sh 2022-12-29 17:08:26.492717555 -0500
+@@ -70,35 +70,7 @@
+
+ echo "[*] Making sure qemuafl is checked out"
+
+-git status 1>/dev/null 2>/dev/null
+-if [ $? -eq 0 ]; then
+- echo "[*] initializing qemuafl submodule"
+- git submodule init || exit 1
+- git submodule update ./qemuafl 2>/dev/null # ignore errors
+-else
+- echo "[*] cloning qemuafl"
+- test -d qemuafl/.git || {
+- CNT=1
+- while [ '!' -d qemuafl/.git -a "$CNT" -lt 4 ]; do
+- echo "Trying to clone qemuafl (attempt $CNT/3)"
+- git clone --depth 1 https://github.com/AFLplusplus/qemuafl
+- CNT=`expr "$CNT" + 1`
+- done
+- }
+-fi
+-
+-test -e qemuafl/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; }
+-echo "[+] Got qemuafl."
+-
+ cd "qemuafl" || exit 1
+-if [ -n "$NO_CHECKOUT" ]; then
+- echo "[*] Skipping checkout to $QEMUAFL_VERSION"
+-else
+- echo "[*] Checking out $QEMUAFL_VERSION"
+- sh -c 'git stash' 1>/dev/null 2>/dev/null
+- git pull
+- git checkout "$QEMUAFL_VERSION" || echo Warning: could not check out to commit $QEMUAFL_VERSION
+-fi
+
+ echo "[*] Making sure imported headers matches"
+ cp "../../include/config.h" "./qemuafl/imported/" || exit 1
+@@ -239,7 +211,6 @@
+ --enable-debug-stack-usage \
+ --enable-debug-tcg \
+ --enable-qom-cast-debug \
+- --enable-werror \
+ "
+
+ else
diff --git a/development/aflplusplus/mkqemutarball.sh b/development/aflplusplus/mkqemutarball.sh
new file mode 100644
index 0000000000..0bd7b7b11f
--- /dev/null
+++ b/development/aflplusplus/mkqemutarball.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# maintainer script. prepares qemuafl tarball for a given version of
+# aflplusplus. requires network access and write permission to current
+# directory. qemuafl has a long git history so this takes forever...
+
+set -e
+
+source ./aflplusplus.info
+
+QEMUVER="$( tar xvfO AFLplusplus-$VERSION.tar.gz AFLplusplus-$VERSION/qemu_mode/QEMUAFL_VERSION )"
+if [ -z "$QEMUVER" ]; then
+ echo "Can't get qemuafl version, missing AFLplusplus tarball?" 1>&2
+ exit 1
+fi
+
+echo "==> checking out qemuafl commit $QEMUVER"
+rm -rf qemuafl qemuafl-$QEMUVER.tar.xz
+git clone https://github.com/AFLplusplus/qemuafl
+cd qemuafl
+git checkout $QEMUVER
+git submodule init
+git submodule update
+find . -name .git\* | xargs rm -rf
+cd -
+tar cvfJ qemuafl-$QEMUVER.tar.xz qemuafl
+md5sum qemuafl-$QEMUVER.tar.xz
diff --git a/development/aflplusplus/slack-desc b/development/aflplusplus/slack-desc
new file mode 100644
index 0000000000..153526c57b
--- /dev/null
+++ b/development/aflplusplus/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------------------------------------------------------|
+aflplusplus: aflplusplus (enhanced fork of afl fuzzer)
+aflplusplus:
+aflplusplus: afl++ is a superior fork to Google's afl - more speed, more/better
+aflplusplus: mutations, more/better instrumentation, custom module support, etc.
+aflplusplus:
+aflplusplus: American fuzzy lop is a security-oriented fuzzer that employs a
+aflplusplus: novel type of compile-time instrumentation and genetic algorithms to
+aflplusplus: automatically discover clean, interesting test cases that trigger new
+aflplusplus: internal states in the targeted binary.
+aflplusplus:
+aflplusplus: This package built @WITHQEMU@ qemu support.
diff --git a/development/ahven/README b/development/ahven/README
deleted file mode 100644
index a7133d4162..0000000000
--- a/development/ahven/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Ahven is a simple unit test library (or a framework) for Ada
-programming language. It is loosely modelled after JUnit and some
-ideas are taken from AUnit.
-
-Ahven is free software distributed under permissive ISC license and
-should work with any Ada 95 or 2005 compiler.
diff --git a/development/ahven/ahven.SlackBuild b/development/ahven/ahven.SlackBuild
deleted file mode 100644
index 14145bd903..0000000000
--- a/development/ahven/ahven.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-# ahven package build script
-# Copyright 2012-2018 Zhu Qun-Ying
-# 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.
-
-PRGNAM=ahven
-VERSION=${VERSION:-2.7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-make DESTDIR=$PKG prefix=/usr libdir=/usr/lib$LIBDIRSUFFIX
-
-make DESTDIR=$PKG prefix=/usr libdir=/usr/lib$LIBDIRSUFFIX install
-
-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/lib$LIBDIRSUFFIX/gnat
-sed -e "s/@prefix@/\/usr/" -e "s/@libdir@/\/usr\/lib$LIBDIRSUFFIX/g" \
- $CWD/ahven.gpr > $PKG/usr/lib$LIBDIRSUFFIX/gnat/ahven.gpr
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp README.rst ROADMAP NEWS.txt LICENSE.txt $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/tutorial examples $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:-tgz}
diff --git a/development/ahven/ahven.gpr b/development/ahven/ahven.gpr
deleted file mode 100644
index 37d10529d5..0000000000
--- a/development/ahven/ahven.gpr
+++ /dev/null
@@ -1,8 +0,0 @@
-library project Ahven is
- for Library_Name use "ahven";
- for Library_Kind use "dynamic";
- for Source_Dirs use ("@prefix@/include/ahven");
- for Library_Dir use "@libdir@";
- for Library_ALI_Dir use "@libdir@/ahven";
- for Externally_Built use "true";
-end Ahven;
diff --git a/development/ahven/ahven.info b/development/ahven/ahven.info
deleted file mode 100644
index a3c2ef6b1f..0000000000
--- a/development/ahven/ahven.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ahven"
-VERSION="2.7"
-HOMEPAGE="http://ahven.stronglytyped.org/"
-DOWNLOAD="http://www.ahven-framework.com/releases/ahven-2.7.tar.gz"
-MD5SUM="71be8fda91900de53c519c2eecfd50b8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Zhu Qun-Ying"
-EMAIL="zhu.qunying at gmail dot com"
diff --git a/development/ahven/slack-desc b/development/ahven/slack-desc
deleted file mode 100644
index 855c7f2957..0000000000
--- a/development/ahven/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------------------------------------------------------|
-ahven: ahven (simple unit test library)
-ahven:
-ahven: Ahven is a simple unit test library (or a framework) for Ada
-ahven: programming language. It is loosely modelled after JUnit and some
-ahven: ideas are taken from AUnit.
-ahven:
-ahven: Ahven is free software distributed under permissive ISC license and
-ahven: should work with any Ada 95 or 2005 compiler.
-ahven:
-ahven: Homepage: http://ahven.stronglytyped.org/
-ahven:
diff --git a/development/alembic/alembic.SlackBuild b/development/alembic/alembic.SlackBuild
index e609bdc8d5..32750c16d7 100644
--- a/development/alembic/alembic.SlackBuild
+++ b/development/alembic/alembic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for alembic
@@ -22,10 +22,13 @@
# 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=alembic
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,7 +79,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 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -84,4 +94,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/alembic/alembic.info b/development/alembic/alembic.info
index 5e800cc989..1c38d88bd7 100644
--- a/development/alembic/alembic.info
+++ b/development/alembic/alembic.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/6f/42/48447bf41287bc577e4f340e
MD5SUM="6fe272274fce2641b93998ef9b702b76"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SQLAlchemy Mako MarkupSafe python-editor python-dateutil"
+REQUIRES="SQLAlchemy python2-MarkupSafe python2-editor python2-dateutil"
MAINTAINER="Chris Walker"
EMAIL="kris240376@gmail.com"
diff --git a/development/alex/alex.SlackBuild b/development/alex/alex.SlackBuild
index 71e6321bc1..78e37c82d7 100644
--- a/development/alex/alex.SlackBuild
+++ b/development/alex/alex.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for alex
@@ -23,10 +23,13 @@
# 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=alex
VERSION=${VERSION:-3.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -94,4 +104,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/alloy/README b/development/alloy/README
deleted file mode 100644
index 49ec15f20b..0000000000
--- a/development/alloy/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Alloy is a lightweight modelling language for software design. It is
-amenable to a fully automatic analysis, using the Alloy Analyzer, and
-provides a visualizer for making sense of solutions and counterexamples
-it finds.
diff --git a/development/alloy/alloy.SlackBuild b/development/alloy/alloy.SlackBuild
deleted file mode 100644
index b0906a7279..0000000000
--- a/development/alloy/alloy.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for alloy
-#
-# Originally written by Jockey S. Kyd (jockey dot kyd at gmail dot com)
-#
-# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
-# 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.
-
-PRGNAM=alloy
-VERSION=${VERSION:-4.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-DIST=$PRGNAM${VERSION}
-
-case "$ARCH" in
- x86_64) LIBDIRSUFFIX="64" ;;
- *) LIBDIRSUFFIX="" ;;
-esac
-
-set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-
-# check the jarball's version matches VERSION (doesn't matter the dots
-# in VERSION are treated as meta-character by grep)
-if ! unzip -c $CWD/$DIST.jar edu/mit/csail/sdg/alloy4/Version.java \
- | grep 'String version()' | grep --quiet $VERSION; then
- printf "%s is not of version %s.\n" $DIST.jar $VERSION 1>&2
- exit 1
-fi
-
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
-install -Dm 644 $CWD/$DIST.jar $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/$DIST.jar
-
-mkdir -p $PKG/usr/bin
-( cd $PKG/usr/bin
- cat > $PRGNAM <<__END__
-#!/bin/sh
-exec java -jar /usr/lib$LIBDIRSUFFIX/$PRGNAM/$DIST.jar "\$@"
-__END__
- chmod 0755 $PRGNAM
-)
-
-mkdir -p $PKG/usr/share/pixmaps
-cat $CWD/alloy.png > $PKG/usr/share/pixmaps/alloy.png
-
-mkdir -p $PKG/usr/share/applications
-cat $CWD/alloy.desktop > $PKG/usr/share/applications/alloy.desktop
-
-mkdir -p $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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/alloy/alloy.desktop b/development/alloy/alloy.desktop
deleted file mode 100644
index 6e0739e971..0000000000
--- a/development/alloy/alloy.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=Alloy Analyzer
-Comment=Alloy modeling language and analyzer
-Exec=alloy
-Icon=alloy
-Terminal=false
-Categories=Development;
-StartupNotify=true
diff --git a/development/alloy/alloy.info b/development/alloy/alloy.info
deleted file mode 100644
index 82db176c76..0000000000
--- a/development/alloy/alloy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="alloy"
-VERSION="4.2"
-HOMEPAGE="http://alloy.mit.edu/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/alloy4.2.jar"
-MD5SUM="dfc6f233a88738f2ac62bd2d6eb1c2bc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/alloy/alloy.png b/development/alloy/alloy.png
deleted file mode 100644
index 8d01c72da2..0000000000
--- a/development/alloy/alloy.png
+++ /dev/null
Binary files differ
diff --git a/development/alloy/slack-desc b/development/alloy/slack-desc
deleted file mode 100644
index a6a1559de4..0000000000
--- a/development/alloy/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------------------------------------------------------|
-alloy: alloy (Alloy Analyzer)
-alloy:
-alloy: Alloy is a lightweight modelling language for software design. It is
-alloy: amenable to a fully automatic analysis, using the Alloy Analyzer, and
-alloy: provides a visualizer for making sense of solutions and
-alloy: counterexamples it finds.
-alloy:
-alloy: http://alloy.mit.edu/
-alloy:
-alloy:
-alloy:
diff --git a/development/amazon-corretto/README b/development/amazon-corretto/README
index 541fc0d99f..fd774df217 100644
--- a/development/amazon-corretto/README
+++ b/development/amazon-corretto/README
@@ -1,6 +1,7 @@
-This is a SlackBuild that will repackage Amazon Corretto into a package
-that can be easily installed, upgraded, or removed using Slackware's
-native package management tools.
+Amazon Corretto is a no-cost, multiplatform, production-ready
+distribution of the Open Java Development Kit (OpenJDK).
+Corretto is used internally at Amazon for production services.
+With Corretto, you can develop and run Java applications on
+operating systems such as Linux, Windows, and macOS.
-This will also package the JRE so you will not need a separate JRE
-build.
+This will also package the JRE.
diff --git a/development/amazon-corretto/amazon-corretto.SlackBuild b/development/amazon-corretto/amazon-corretto.SlackBuild
index d84aa7f756..02c5f1d5bd 100644
--- a/development/amazon-corretto/amazon-corretto.SlackBuild
+++ b/development/amazon-corretto/amazon-corretto.SlackBuild
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-# Copyright 2019-2020 bifferos@gmail.com UK
+# Copyright 2022 Yousha Aleayoub, Iran
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,15 +21,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=amazon-corretto
-VERSION=${VERSION:-8.242.08.1}
+VERSION=${VERSION:-17.0.4.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-amazon-corretto
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
ARCH=$( uname -m )
@@ -39,6 +41,11 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
LIB_ARCH=amd64
LIBDIRSUFFIX="64"
SRC_ARCH="x64"
@@ -54,9 +61,9 @@ tar xvf $CWD/$PRGNAM-$VERSION-linux-$SRC_ARCH.tar.gz
chown -R root.root $PKG
find $PKG \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
mkdir -p $PKG/etc/profile.d
for file in $(ls $CWD/profile.d/*) ; do
@@ -79,10 +86,9 @@ EOF
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- $PKG/usr/lib${LIBDIRSUFFIX}/java/THIRD_PARTY_README \
$PKG/usr/lib${LIBDIRSUFFIX}/java/LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/amazon-corretto/amazon-corretto.info b/development/amazon-corretto/amazon-corretto.info
index 26508cd9db..c81a8e77ae 100644
--- a/development/amazon-corretto/amazon-corretto.info
+++ b/development/amazon-corretto/amazon-corretto.info
@@ -1,10 +1,10 @@
PRGNAM="amazon-corretto"
-VERSION="8.242.08.1"
-HOMEPAGE="https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html"
+VERSION="17.0.4.8.1"
+HOMEPAGE="https://github.com/corretto/corretto-17/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://corretto.aws/downloads/resources/8.242.08.1/amazon-corretto-8.242.08.1-linux-x64.tar.gz"
-MD5SUM_x86_64="3a614a0e32aa5324843781d1077aad7a"
+DOWNLOAD_x86_64="https://corretto.aws/downloads/resources/17.0.4.8.1/amazon-corretto-17.0.4.8.1-linux-x64.tar.gz"
+MD5SUM_x86_64="4e8762a6e46000dd64ce51f2980ee30b"
REQUIRES=""
-MAINTAINER="Bifferos"
-EMAIL="bifferos@gmail.com"
+MAINTAINER="Yousha Aleayoub"
+EMAIL="yousha.a@hotmail.com"
diff --git a/development/amd-app-sdk/amd-app-sdk.SlackBuild b/development/amd-app-sdk/amd-app-sdk.SlackBuild
index a17be413dc..6b3922ffc6 100644
--- a/development/amd-app-sdk/amd-app-sdk.SlackBuild
+++ b/development/amd-app-sdk/amd-app-sdk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for amd-app-sdk
@@ -30,11 +30,14 @@
# 20121220 - Updated for version 2.6: incompatible packaging with 2.4- versions
# 20130530 - Updated for version 2.8 and made samples optional
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=amd-app-sdk
INT_NAME=AMD-APP-SDK
VERSION=${VERSION:-2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SAMPLES=${SAMPLES:-no}
# (only x86 and x86_64 are supported)
@@ -46,7 +49,14 @@ case "$TESTARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
+# 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}
@@ -138,4 +148,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/android-studio/android-studio.SlackBuild b/development/android-studio/android-studio.SlackBuild
index aab5877a39..6f92ebbd66 100644
--- a/development/android-studio/android-studio.SlackBuild
+++ b/development/android-studio/android-studio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Android Studio
# Copyright 2012-2017 Roberto Metere, Cagliari (CA), Italy <roberto@metere.it>
@@ -21,18 +21,28 @@
# 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=android-studio
VERSION=${VERSION:-3.5.0_191.5791312}
BUILD=${BUILD:-1}
ARCH=${ARCH:-$(uname -m)}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
MAJORVER=${VERSION%_*}
MINORVER=$(echo ${VERSION#*_} | sed 's/_/./')
PKGNAM=android-studio-ide-${MINORVER}-linux.tar.gz
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.$PKGTYPE
diff --git a/development/android-studio/android-studio.info b/development/android-studio/android-studio.info
index 3e79f5adc0..241263c8f4 100644
--- a/development/android-studio/android-studio.info
+++ b/development/android-studio/android-studio.info
@@ -5,6 +5,6 @@ DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://dl.google.com/dl/android/studio/ide-zips/3.5.0.21/android-studio-ide-191.5791312-linux.tar.gz"
MD5SUM_x86_64="faacd845796792ecdfd5cb7efd46d6b2"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Sukma Wardana"
EMAIL="sukma.wardana@mail.com"
diff --git a/development/android-tools/README b/development/android-tools/README
index e7d793fe84..81d40297a3 100644
--- a/development/android-tools/README
+++ b/development/android-tools/README
@@ -1,2 +1,3 @@
-These are the adb, fastboot, mkbootimg and make_ext4fs tools from the
-android sdk.
+These are the adb, append2simg, fastboot, img2simg, mke2fs.android
+and simg2img tools from the android sdk.
+
diff --git a/development/android-tools/android-tools.SlackBuild b/development/android-tools/android-tools.SlackBuild
index 8e141f5fbd..680f6c2a72 100644
--- a/development/android-tools/android-tools.SlackBuild
+++ b/development/android-tools/android-tools.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for android-tools
# Thanks to the Arch linux maintainers for the makefiles
-# Copyright 2016, 2017 Philip van der Hoeven, Almere, NL
+# Copyright 2016, 2017, 2022 Philip van der Hoeven, Almere, NL
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,16 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=android-tools
-VERSION=${VERSION:-8.0.0_r24}
-SRC1=core-6cd85e2a89347e0a107f59e38ece61fa19e6da78.tar.gz
-SRC2=extras-af2dce5151ad478673401211dd71ae1579d2b5be.tar.gz
-SRC3=selinux-be29c2550c3ff6551a56048c075a88da01b46cab.tar.gz
-SRC4=f2fs-tools-b8baf1712d991541141bb0bdddd625f527e6d41f.tar.gz
-SRC5=boringssl-58e449904e248f34bdfc2be7a609c58bcb0257b7.tar.gz
+cd $(dirname $0) ; CWD=$(pwd)
+PRGNAM=android-tools
+VERSION=${VERSION:-34.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -67,59 +68,33 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $TMP/android-tools
-mkdir $TMP/android-tools
-cd $TMP/android-tools
-
-mkdir core
-tar -xvf $CWD/$SRC1 -C core
-mkdir extras
-tar -xvf $CWD/$SRC2 -C extras
-mkdir selinux
-tar -xvf $CWD/$SRC3 -C selinux
-mkdir f2fs-tools
-tar -xvf $CWD/$SRC4 -C f2fs-tools
-mkdir boringssl
-tar -xvf $CWD/$SRC5 -C boringssl
-
-#git clone --branch android-$VERSION --depth 1 https://android.googlesource.com/platform/system/core
-#git clone --branch android-$VERSION --depth 1 https://android.googlesource.com/platform/system/extras
-#git clone --branch android-$VERSION --depth 1 https://android.googlesource.com/platform/external/libselinux
-#git clone --branch android-$VERSION --depth 1 https://android.googlesource.com/platform/external/f2fs-tools
-
-# generate_build.rb borrowed from Arch Linux
-# And thanks to Alan Alberghini for the make_ext4fs patch.
-PKGVER=$VERSION ruby $CWD/generate_build.rb > build.ninja
-
-cd core
-patch -p1 < $CWD/fix_build_core.patch
-cd ..
-
-cd selinux
-patch -p1 < $CWD/fix_build_selinux.patch
-cd ..
-
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+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 {} \;
-# Build boringssl
-mkdir -p boringssl/build
-cd boringssl/build
-cmake -GNinja ..
-ninja
-cd ../..
-
-ninja
-
-mkdir -p $PKG/usr/bin
-install -Dm 755 adb $PKG/usr/bin/adb
-install -Dm 755 fastboot $PKG/usr/bin/fastboot
-install -Dm 755 core/mkbootimg/mkbootimg $PKG/usr/bin/mkbootimg
-install -Dm 755 make_ext4fs $PKG/usr/bin/make_ext4fs
+# fix build with go 1.16.5
+sed -i 's%//go:build%// +build%' vendor/boringssl/crypto/err/err_data_generate.go
+
+export GOCACHE=$(pwd)/build/go-cache
+export GO111MODULE=off
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -GNinja -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release ..
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -131,4 +106,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/android-tools/android-tools.info b/development/android-tools/android-tools.info
index ba44d787e2..cce38fb014 100644
--- a/development/android-tools/android-tools.info
+++ b/development/android-tools/android-tools.info
@@ -1,18 +1,10 @@
PRGNAM="android-tools"
-VERSION="8.0.0_r24"
+VERSION="34.0.5"
HOMEPAGE="http://developer.android.com/sdk/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/8.0.0_r24/core-6cd85e2a89347e0a107f59e38ece61fa19e6da78.tar.gz \
- https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/8.0.0_r24/extras-af2dce5151ad478673401211dd71ae1579d2b5be.tar.gz \
- https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/8.0.0_r24/f2fs-tools-b8baf1712d991541141bb0bdddd625f527e6d41f.tar.gz \
- https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/8.0.0_r24/selinux-be29c2550c3ff6551a56048c075a88da01b46cab.tar.gz \
- https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/8.0.0_r24/boringssl-58e449904e248f34bdfc2be7a609c58bcb0257b7.tar.gz"
-MD5SUM="b5b3857b5edae7305f5348e1db148b61 \
- 19bdc27835ed340fdbb4205d6af8e721 \
- 2ebe16bb82a5b24706d78d9e16d66f6e \
- 0599c72a1ff3142ad6baed8886d074a3 \
- 83ed1371eee7769f29b767c217e865e7"
+DOWNLOAD="https://github.com/nmeum/android-tools/releases/download/34.0.5/android-tools-34.0.5.tar.xz"
+MD5SUM="8faca7116e885e6a225791b284cbce2e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtest ninja pcre2"
+REQUIRES="gtest protobuf3"
MAINTAINER="Philip van der Hoeven"
EMAIL="philip@vd-hoeven.nl"
diff --git a/development/android-tools/fix_build_core.patch b/development/android-tools/fix_build_core.patch
deleted file mode 100644
index b67a540199..0000000000
--- a/development/android-tools/fix_build_core.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff --git a/adb/client/usb_libusb.cpp b/adb/client/usb_libusb.cpp
-index 7025f283c..66fad6564 100644
---- a/adb/client/usb_libusb.cpp
-+++ b/adb/client/usb_libusb.cpp
-@@ -21,6 +21,7 @@
- #include <stdint.h>
-
- #include <atomic>
-+#include <condition_variable>
- #include <chrono>
- #include <memory>
- #include <mutex>
-@@ -28,7 +29,7 @@
- #include <thread>
- #include <unordered_map>
-
--#include <libusb/libusb.h>
-+#include <libusb-1.0/libusb.h>
-
- #include <android-base/file.h>
- #include <android-base/logging.h>
-diff --git a/adb/sysdeps/posix/network.cpp b/adb/sysdeps/posix/network.cpp
-index 45da5af4a..516c716d9 100644
---- a/adb/sysdeps/posix/network.cpp
-+++ b/adb/sysdeps/posix/network.cpp
-@@ -16,6 +16,7 @@
-
- #include "sysdeps/network.h"
-
-+#include <cstring>
- #include <errno.h>
- #include <netinet/in.h>
- #include <sys/socket.h>
-diff --git a/base/errors_unix.cpp b/base/errors_unix.cpp
-index 296995efe..48269b675 100644
---- a/base/errors_unix.cpp
-+++ b/base/errors_unix.cpp
-@@ -17,6 +17,7 @@
- #include "android-base/errors.h"
-
- #include <errno.h>
-+#include <string.h>
-
- namespace android {
- namespace base {
-diff --git a/base/file.cpp b/base/file.cpp
-index 2f697a1cc..81aef5758 100644
---- a/base/file.cpp
-+++ b/base/file.cpp
-@@ -22,6 +22,7 @@
- #include <sys/stat.h>
- #include <sys/types.h>
- #include <unistd.h>
-+#include <string.h>
-
- #include <memory>
- #include <mutex>
-diff --git a/base/logging.cpp b/base/logging.cpp
-index 6357b4ba7..3c7dbce13 100644
---- a/base/logging.cpp
-+++ b/base/logging.cpp
-@@ -23,6 +23,7 @@
- #include <fcntl.h>
- #include <libgen.h>
- #include <time.h>
-+#include <string.h>
-
- // For getprogname(3) or program_invocation_short_name.
- #if defined(__ANDROID__) || defined(__APPLE__)
-diff --git a/libsparse/sparse_read.cpp b/libsparse/sparse_read.cpp
-index bd668735a..76cf43299 100644
---- a/libsparse/sparse_read.cpp
-+++ b/libsparse/sparse_read.cpp
-@@ -18,6 +18,7 @@
- #define _LARGEFILE64_SOURCE 1
-
- #include <algorithm>
-+#include <cstring>
- #include <inttypes.h>
- #include <fcntl.h>
- #include <stdarg.h>
diff --git a/development/android-tools/fix_build_selinux.patch b/development/android-tools/fix_build_selinux.patch
deleted file mode 100644
index 429f87ce57..0000000000
--- a/development/android-tools/fix_build_selinux.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/libsepol/src/private.h b/libsepol/src/private.h
-index b884c23b..447fa64b 100644
---- a/libsepol/src/private.h
-+++ b/libsepol/src/private.h
-@@ -14,7 +14,7 @@
- #endif
-
- #include <errno.h>
--#include <dso.h>
-+#include "dso.h"
-
- #ifdef __APPLE__
- #define __BYTE_ORDER BYTE_ORDER
-diff --git a/libsepol/src/util.c b/libsepol/src/util.c
-index b00251c6..68e7c6a0 100644
---- a/libsepol/src/util.c
-+++ b/libsepol/src/util.c
-@@ -27,7 +27,7 @@
- #include <sepol/policydb/flask_types.h>
- #include <sepol/policydb/policydb.h>
- #include <sepol/policydb/util.h>
--#include <dso.h>
-+#include "dso.h"
-
- struct val_to_name {
- unsigned int val;
diff --git a/development/android-tools/generate_build.rb b/development/android-tools/generate_build.rb
deleted file mode 100644
index cb3e1e685c..0000000000
--- a/development/android-tools/generate_build.rb
+++ /dev/null
@@ -1,283 +0,0 @@
-#!/usr/bin/ruby
-
-# Android build system is complicated and does not allow to build
-# separate parts easily.
-# This script tries to mimic Android build rules.
-
-def expand(dir, files)
- files.map{|f| File.join(dir,f)}
-end
-
-# Compiles sources to *.o files.
-# Returns array of output *.o filenames
-def compile(sources, cflags)
- outputs = []
- for s in sources
- ext = File.extname(s)
-
- case ext
- when '.c'
- cc = 'cc'
- lang_flags = '-std=gnu11 $CFLAGS $CPPFLAGS'
- when '.cpp', '.cc'
- cc = 'cxx'
- lang_flags = '-std=gnu++14 $CXXFLAGS $CPPFLAGS'
- else
- raise "Unknown extension #{ext}"
- end
-
- output = s + '.o'
- outputs << output
- puts "build #{output}: #{cc} #{s}\n cflags = #{lang_flags} #{cflags}"
- end
-
- return outputs
-end
-
-# dir - directory where ninja file is located
-# lib - static library path relative to dir
-def subninja(dir, lib)
- puts "subninja #{dir}build.ninja"
- return lib.each{|l| dir + l}
-end
-
-# Links object files
-def link(output, objects, ldflags)
- puts "build #{output}: link #{objects.join(' ')}\n ldflags = #{ldflags} $LDFLAGS"
-end
-
-puts "# This set of commands generated by generate_build.rb script\n\n"
-puts "CC = #{ENV['CC'] || 'clang'}"
-puts "CXX = #{ENV['CXX'] || 'clang++'}\n\n"
-puts "CFLAGS = #{ENV['CFLAGS']}"
-puts "CXXFLAGS = #{ENV['CXXFLAGS']}"
-puts "LDFLAGS = #{ENV['LDFLAGS']}"
-puts "PKGVER = #{ENV['PKGVER']}\n\n"
-
-
-puts """
-rule cc
- command = $CC $cflags -c $in -o $out
-
-rule cxx
- command = $CXX $cflags -c $in -o $out
-
-rule link
- command = $CXX $ldflags $LDFLAGS $in -o $out
-
-
-"""
-
-adbdfiles = %w(
- adb.cpp
- adb_io.cpp
- adb_listeners.cpp
- adb_trace.cpp
- adb_utils.cpp
- bugreport.cpp
- line_printer.cpp
- sockets.cpp
- transport.cpp
- transport_local.cpp
- transport_usb.cpp
- transport_mdns_unsupported.cpp
- fdevent.cpp
- adb_auth_host.cpp
- shell_service_protocol.cpp
-)
-libadbd = compile(expand('core/adb', adbdfiles), '-DADB_VERSION="\"$PKGVER\"" -DADB_HOST=1 -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -Iboringssl/include')
-
-adbfiles = %w(
- console.cpp
- socket_spec.cpp
- commandline.cpp
- adb_client.cpp
- services.cpp
- file_sync_client.cpp
- sysdeps_unix.cpp
- sysdeps/errno.cpp
- sysdeps/posix/network.cpp
- client/main.cpp
- client/usb_dispatch.cpp
- client/usb_linux.cpp
- client/usb_libusb.cpp
-)
-libadb = compile(expand('core/adb', adbfiles), '-D_GNU_SOURCE -DADB_HOST=1 -Icore/include -Icore/base/include -Icore/adb')
-
-basefiles = %w(
- file.cpp
- logging.cpp
- parsenetaddress.cpp
- stringprintf.cpp
- strings.cpp
- errors_unix.cpp
- test_utils.cpp
-)
-libbase = compile(expand('core/base', basefiles), '-DADB_HOST=1 -Icore/base/include -Icore/include')
-
-logfiles = %w(
- log_event_write.c
- fake_log_device.c
- log_event_list.c
- logger_write.c
- config_write.c
- config_read.c
- logger_lock.c
- local_logger.c
- fake_writer.c
- logger_name.c
- stderr_write.c
- logprint.c
-)
-liblog = compile(expand('core/liblog', logfiles), '-DLIBLOG_LOG_TAG=1006 -D_XOPEN_SOURCE=700 -DFAKE_LOG_DEVICE=1 -Icore/log/include -Icore/include')
-
-cutilsfiles = %w(
- load_file.c
- canned_fs_config.c
- fs_config.cpp
- socket_local_client_unix.c
- socket_network_client_unix.c
- socket_local_server_unix.c
- sockets_unix.cpp
- socket_inaddr_any_server_unix.c
- sockets.cpp
- android_get_control_file.cpp
- threads.c
-)
-libcutils = compile(expand('core/libcutils', cutilsfiles), '-D_GNU_SOURCE -Icore/include -Icore/libcutils/include')
-
-diagnoseusbfiles = %w(
- diagnose_usb.cpp
-)
-libdiagnoseusb = compile(expand('core/adb', diagnoseusbfiles), '-Icore/include -Icore/base/include')
-
-libcryptofiles = %w(
- android_pubkey.c
-)
-libcrypto = compile(expand('core/libcrypto_utils', libcryptofiles), '-Icore/libcrypto_utils/include -Iboringssl/include')
-
-# TODO: make subninja working
-#boringssl = subninja('boringssl/build/', ['crypto/libcrypto.a'])
-boringssl = ['boringssl/build/crypto/libcrypto.a']
-
-link('adb', libbase + liblog + libcutils + libadbd + libadb + libdiagnoseusb + libcrypto + boringssl, '-lpthread -lusb-1.0')
-
-
-fastbootfiles = %w(
- protocol.cpp
- engine.cpp
- bootimg_utils.cpp
- fastboot.cpp
- util.cpp
- fs.cpp
- usb_linux.cpp
- socket.cpp
- tcp.cpp
- udp.cpp
-)
-libfastboot = compile(expand('core/fastboot', fastbootfiles), '-DFASTBOOT_VERSION="\"$PKGVER\"" -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -DUSE_F2FS -Icore/base/include -Icore/include -Icore/adb -Icore/libsparse/include -Icore/mkbootimg -Iextras/ext4_utils/include -Iextras/f2fs_utils')
-
-sparsefiles = %w(
- backed_block.c
- output_file.c
- sparse.c
- sparse_crc32.c
- sparse_err.c
- sparse_read.cpp
-)
-libsparse = compile(expand('core/libsparse', sparsefiles), '-Icore/libsparse/include -Icore/base/include')
-
-f2fsfiles = %w(
- f2fs_utils.c
- f2fs_ioutils.c
- f2fs_dlutils.c
-)
-f2fs = compile(expand('extras/f2fs_utils', f2fsfiles), '-Iextras/f2fs_utils -If2fs-tools/include -If2fs-tools/mkfs -Icore/libsparse/include -Iselinux/libselinux/include')
-
-zipfiles = %w(
- zip_archive.cc
-)
-libzip = compile(expand('core/libziparchive', zipfiles), '-Icore/base/include -Icore/include')
-
-utilfiles = %w(
- FileMap.cpp
-)
-libutil = compile(expand('core/libutils', utilfiles), '-Icore/include')
-
-ext4files = %w(
- make_ext4fs.c
- ext4fixup.c
- ext4_utils.c
- allocate.c
- contents.c
- extent.c
- indirect.c
- sha1.c
- wipe.c
- crc16.c
- ext4_sb.c
-)
-libext4 = compile(expand('extras/ext4_utils', ext4files), '-D_GNU_SOURCE -Icore/libsparse/include -Icore/include -Iselinux/libselinux/include -Iextras/ext4_utils/include -DANDROID -DHOST=1')
-
-make_ext4files = %w(
- make_ext4fs_main.c
-)
-libmake_ext4 = compile(expand('extras/ext4_utils', make_ext4files), '-DANDROID -Icore/libsparse/include -Icore/include -Iselinux/libselinux/include -Iextras/ext4_utils/include -DHOST=1')
-
-selinuxfiles = %w(
- callbacks.c
- check_context.c
- freecon.c
- init.c
- label.c
- label_file.c
- label_support.c
- setrans_client.c
- regex.c
- matchpathcon.c
- selinux_config.c
- label_backends_android.c
- canonicalize_context.c
- lsetfilecon.c
- policyvers.c
- lgetfilecon.c
- load_policy.c
- seusers.c
- sha1.c
- booleans.c
- disable.c
- enabled.c
- getenforce.c
- setenforce.c
-)
-libselinux = compile(expand('selinux/libselinux/src', selinuxfiles), '-DAUDITD_LOG_TAG=1003 -D_GNU_SOURCE -DHOST -DUSE_PCRE2 -DNO_PERSISTENTLY_STORED_PATTERNS -DDISABLE_SETRANS -DDISABLE_BOOL -DNO_MEDIA_BACKEND -DNO_X_BACKEND -DNO_DB_BACKEND -DPCRE2_CODE_UNIT_WIDTH=8 -Iselinux/libselinux/include -Iselinux/libsepol/include')
-
-libsepolfiles = %w(
- policydb_public.c
- genbools.c
- debug.c
- policydb.c
- conditional.c
- services.c
- ebitmap.c
- util.c
- assertion.c
- avtab.c
- hashtab.c
- sidtab.c
- context.c
- genusers.c
- context_record.c
- mls.c
- avrule_block.c
- symtab.c
- policydb_convert.c
- write.c
- constraint.c
- expand.c
- hierarchy.c
-)
-libsepol = compile(expand('selinux/libsepol/src', libsepolfiles), '-Iselinux/libsepol/include')
-
-link('fastboot', libsparse + libzip + libcutils + liblog + libutil + libbase + libext4 + f2fs + libselinux + libsepol + libfastboot + libdiagnoseusb, '-lz -lpcre2-8 -lpthread -ldl')
-link('make_ext4fs', libmake_ext4 + libzip + libcutils + liblog + libutil + libbase + libext4 + libselinux + libsepol + libsparse, '-lz -lpcre2-8 -lpthread')
diff --git a/development/anjuta/README b/development/anjuta/README
deleted file mode 100644
index 680d70471c..0000000000
--- a/development/anjuta/README
+++ /dev/null
@@ -1,10 +0,0 @@
-Anjuta DevStudio is a versatile software development studio featuring a
-number of advanced programming facilities including project management,
-application wizard, interactive debugger, source editor, version
-control, GUI designer, profiler and many more tools. It focuses on
-providing simple and usable user interface, yet powerful for efficient
-development.
-
-vala and graphviz are optional dependencies.
-
-vieweing help pages requires yelp
diff --git a/development/anjuta/anjuta.SlackBuild b/development/anjuta/anjuta.SlackBuild
deleted file mode 100644
index f9944de6a4..0000000000
--- a/development/anjuta/anjuta.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for anjuta
-
-# Copyright 2012-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# 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.
-
-PRGNAM=anjuta
-VERSION=${VERSION:-3.28.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-glade-catalog \
- --disable-schemas-compile \
- --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
-
-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 ABOUT-NLS AUTHORS COPYING ChangeLog FUTURE INSTALL MAINTAINERS NEWS README ROADMAP \
- THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/anjuta/anjuta.info b/development/anjuta/anjuta.info
deleted file mode 100644
index 5ed614e59a..0000000000
--- a/development/anjuta/anjuta.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="anjuta"
-VERSION="3.28.0"
-HOMEPAGE="http://anjuta.org/"
-DOWNLOAD="https://sources.voidlinux.org/anjuta-3.28.0/anjuta-3.28.0.tar.xz"
-MD5SUM="5c76725853710055fb9bee008cf78658"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="autogen gdl gtksourceview3 libgda vte3"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/development/anjuta/slack-desc b/development/anjuta/slack-desc
deleted file mode 100644
index a38440658d..0000000000
--- a/development/anjuta/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------------------------------------------------------|
-anjuta: anjuta (GNOME Integrated Development Environment)
-anjuta:
-anjuta: Advanced programming facilities including project management,
-anjuta: application wizard, interactive debugger, source editor, version
-anjuta: control, GUI designer, profiler and many more tools.
-anjuta: It focuses on providing simple and usable user interface,
-anjuta: yet powerful for efficient development.
-anjuta:
-anjuta: Project Site: http://anjuta.org/
-anjuta:
-anjuta:
diff --git a/development/antlr2/README b/development/antlr2/README
index efe5426e3d..3a64e63dc3 100644
--- a/development/antlr2/README
+++ b/development/antlr2/README
@@ -2,7 +2,8 @@ ANTLR (ANother Tool for Language Recognition) is a powerful parser
generator for reading, processing, executing, or translating
structured text or binary files.
-Optional dependencies are jdk and mono (to enable Java and C# support).
-C++ and Python are enabled by default.
+Optional dependencies are jdk/openjdk8/zulu-openjdk8 and mono (to
+enable Java and C# support). C++ and Python are enabled by
+default.
It is safe to install alongside libantlr3c.
diff --git a/development/antlr2/antlr2.SlackBuild b/development/antlr2/antlr2.SlackBuild
index a80ec48423..6f74074faf 100644
--- a/development/antlr2/antlr2.SlackBuild
+++ b/development/antlr2/antlr2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for antlr2
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=antlr2
BASENAM=antlr
VERSION=${VERSION:-2.7.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -104,4 +114,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/apache-ant/README b/development/apache-ant/README
index 3236ae09c9..b48176fc2c 100644
--- a/development/apache-ant/README
+++ b/development/apache-ant/README
@@ -1,5 +1,5 @@
-Apache Ant is a Java-based build tool - like make, but without make's
-wrinkles. :-)
+Apache Ant is a Java library and command-line tool that help
+building software.
Ant is extended using Java classes. The configuration files are
XML-based, calling out a target tree where tasks get executed. Each
diff --git a/development/apache-ant/apache-ant.SlackBuild b/development/apache-ant/apache-ant.SlackBuild
index 9a97d02b27..c8fe843283 100644
--- a/development/apache-ant/apache-ant.SlackBuild
+++ b/development/apache-ant/apache-ant.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apache-ant
@@ -27,17 +27,27 @@
# Started by Dugan Chen (dugan[underscore]c[at]fastmail[dot]fm)
# Taken over by Vincent Batts (vbatts@hashbangbash.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apache-ant
-VERSION=${VERSION:-1.9.14}
+VERSION=${VERSION:-1.10.12}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
TEAM=$(echo $PRGNAM | cut -d- -f1)
PROJECT=$(echo $PRGNAM | cut -d- -f2)
ANT_HOME=/usr/share/$PROJECT
-CWD=$(pwd)
+# 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}
@@ -89,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/apache-ant/apache-ant.info b/development/apache-ant/apache-ant.info
index b5b82484d9..90802daf2e 100644
--- a/development/apache-ant/apache-ant.info
+++ b/development/apache-ant/apache-ant.info
@@ -1,10 +1,10 @@
PRGNAM="apache-ant"
-VERSION="1.9.14"
+VERSION="1.10.12"
HOMEPAGE="http://ant.apache.org/"
-DOWNLOAD="https://archive.apache.org/dist/ant/binaries/apache-ant-1.9.14-bin.tar.bz2"
-MD5SUM="04ea0b503e1fd3a4e375009d021e98da"
+DOWNLOAD="https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.12-bin.tar.bz2"
+MD5SUM="a63962139a5e031940ef4f48ea11298a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Luc Van Rompaey"
-EMAIL="luc.vanrompaey@gmail.com"
+MAINTAINER="Yousha Aleayoub"
+EMAIL="yousha.a@hotmail.com"
diff --git a/development/apache-ant/slack-desc b/development/apache-ant/slack-desc
index 55f136179b..d7077812ed 100644
--- a/development/apache-ant/slack-desc
+++ b/development/apache-ant/slack-desc
@@ -8,8 +8,8 @@
|-----handy-ruler------------------------------------------------------|
apache-ant: apache-ant (Java-based build tool)
apache-ant:
-apache-ant: Apache Ant is a Java-based build tool - like make but without
-apache-ant: make's wrinkles.
+apache-ant: Apache Ant is a Java library and command-line tool that help
+apache-ant: building software.
apache-ant:
apache-ant: Ant is extended using Java classes. The configuration files are
apache-ant: XML-based, calling out a target tree where tasks get executed.
diff --git a/development/apache-ivy/apache-ivy.SlackBuild b/development/apache-ivy/apache-ivy.SlackBuild
index 18cd85ba71..ba59a76c1d 100644
--- a/development/apache-ivy/apache-ivy.SlackBuild
+++ b/development/apache-ivy/apache-ivy.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apache-ivy
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apache-ivy
VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
TEAM=$(echo $PRGNAM | cut -d- -f1)
PROJECT=$(echo $PRGNAM | cut -d- -f2)
@@ -21,7 +24,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -57,4 +67,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/apache-ivy/apache-ivy.info b/development/apache-ivy/apache-ivy.info
index 54d17ec07a..8e9efb3197 100644
--- a/development/apache-ivy/apache-ivy.info
+++ b/development/apache-ivy/apache-ivy.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://archive.apache.org/dist/ant/ivy/2.3.0/apache-ivy-2.3.0-bin.tar
MD5SUM="3abd763cb472692a988e69208913bafe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
diff --git a/development/apache-jmeter/apache-jmeter.SlackBuild b/development/apache-jmeter/apache-jmeter.SlackBuild
index f1bd3274a9..66609e632e 100644
--- a/development/apache-jmeter/apache-jmeter.SlackBuild
+++ b/development/apache-jmeter/apache-jmeter.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apache-jmeter
# Original author: Benjamin Trigona-Harany
-# Copyright 2016-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -21,14 +21,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220407 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install docs to correct dir (/usr/doc/$PRGNAM-$VERSION).
+# - fix permissions in doc dir (dirs => 0755).
+# - use relative symlinks in /usr/bin.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apache-jmeter
-VERSION=${VERSION:-5.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-5.4.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+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}
@@ -54,22 +66,23 @@ cp -a bin extras lib $PKG/$JMETER_HOME/
sed -i "s_\`dirname \\\"\$0\\\"\`_/$JMETER_HOME/bin_" $PKG/$JMETER_HOME/bin/jmeter
sed -i "s_\`dirname \"\$0\"\`_/$JMETER_HOME/bin_" $PKG/$JMETER_HOME/bin/jmeter-server
cd $PKG/usr/bin
- ln -s /$JMETER_HOME/bin/jmeter
- ln -s /$JMETER_HOME/bin/jmeter-server
+ ln -s ../../$JMETER_HOME/bin/jmeter
+ ln -s ../../$JMETER_HOME/bin/jmeter-server
cd $TMP/$PRGNAM-$VERSION
-mkdir -p $PKG/usr/share/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/jmeter/bin/examples $PKG/usr/share/doc/$PRGNAM-$VERSION
-cp -a LICENSE NOTICE README.md printable_docs/* $PKG/usr/share/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/jmeter/bin/examples $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE NOTICE README.md printable_docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 0755 $PKG/usr/doc/$PRGNAM-$VERSION/{*,*/*}/
if [ "$API_DOCS" = "yes" ]; then
- cp -a docs/* $PKG/usr/share/doc/$PRGNAM-$VERSION
+ cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION
fi
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/share/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/apache-jmeter/apache-jmeter.info b/development/apache-jmeter/apache-jmeter.info
index 1a91d9da8e..504c28ac8c 100644
--- a/development/apache-jmeter/apache-jmeter.info
+++ b/development/apache-jmeter/apache-jmeter.info
@@ -1,10 +1,10 @@
PRGNAM="apache-jmeter"
-VERSION="5.3"
+VERSION="5.4.3"
HOMEPAGE="http://jmeter.apache.org/"
-DOWNLOAD="https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.3.tgz"
-MD5SUM="ed6efb9685b196d4395662488a712c5b"
+DOWNLOAD="https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.4.3.tgz"
+MD5SUM="2cf3fe9edf8eea6cddd25bcaf9348154"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/apache-log4cxx/apache-log4cxx.SlackBuild b/development/apache-log4cxx/apache-log4cxx.SlackBuild
index 8e1adafefb..81eef41932 100644
--- a/development/apache-log4cxx/apache-log4cxx.SlackBuild
+++ b/development/apache-log4cxx/apache-log4cxx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apache-log4cxx
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220408 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - move docs to correct directory (not /usr/share/doc).
+# - get rid of static library.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apache-log4cxx
-VERSION=${VERSION:-0.10.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.11.0}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -65,11 +76,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-zcat $CWD/fixincludes.patch.gz | patch -p1 || exit
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,16 +90,21 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --disable-static \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/log4cxx/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share # 20220408 bkw: nothing here but doc/
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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/apache-log4cxx/apache-log4cxx.info b/development/apache-log4cxx/apache-log4cxx.info
index 4f23c19804..02fe5005b3 100644
--- a/development/apache-log4cxx/apache-log4cxx.info
+++ b/development/apache-log4cxx/apache-log4cxx.info
@@ -1,8 +1,8 @@
PRGNAM="apache-log4cxx"
-VERSION="0.10.0"
+VERSION="0.11.0"
HOMEPAGE="https://logging.apache.org/log4cxx/latest_stable/index.html"
-DOWNLOAD="http://www-us.apache.org/dist/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz"
-MD5SUM="b30ffb8da3665178e68940ff7a61084c"
+DOWNLOAD="http://distcache.FreeBSD.org/ports-distfiles/apache-log4cxx-0.11.0.tar.gz"
+MD5SUM="bf8d5e2a1356ae593c952e45bf96c5d9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/apache-log4cxx/fixincludes.patch.gz b/development/apache-log4cxx/fixincludes.patch.gz
deleted file mode 100644
index b2d23c84b2..0000000000
--- a/development/apache-log4cxx/fixincludes.patch.gz
+++ /dev/null
Binary files differ
diff --git a/development/apache-maven/apache-maven.SlackBuild b/development/apache-maven/apache-maven.SlackBuild
index 78b8cc6b15..bfe6269853 100644
--- a/development/apache-maven/apache-maven.SlackBuild
+++ b/development/apache-maven/apache-maven.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apache-maven
# Copyright 2008-2013 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016 Ciorceri Petru Sorin, Cluj-Napoca, Romania
-# Copyright 2017-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2017-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,20 @@
# 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=apache-maven
-VERSION=${VERSION:-3.6.3}
+VERSION=${VERSION:-3.9.6}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/apache-maven/apache-maven.info b/development/apache-maven/apache-maven.info
index 6735b9e69f..162c172f45 100644
--- a/development/apache-maven/apache-maven.info
+++ b/development/apache-maven/apache-maven.info
@@ -1,10 +1,10 @@
PRGNAM="apache-maven"
-VERSION="3.6.3"
+VERSION="3.9.6"
HOMEPAGE="https://maven.apache.org/"
-DOWNLOAD="http://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz"
-MD5SUM="9792c717f5845d952907d5144b8253c3"
+DOWNLOAD="http://archive.apache.org/dist/maven/maven-3/3.9.6/binaries/apache-maven-3.9.6-bin.tar.gz"
+MD5SUM="fb90d9f8aa9ac18e8aa0a0842a09239f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/arcan/README b/development/arcan/README
new file mode 100644
index 0000000000..3e4e832b4d
--- /dev/null
+++ b/development/arcan/README
@@ -0,0 +1,9 @@
+Arcan is a powerful development framework for creating virtually
+anything from user interfaces for specialized embedded applications
+all the way to full-blown standalone desktop environments.
+
+At its heart lies a robust and portable multimedia engine, with a
+well-tested and well-documented Lua scripting interface.
+The development emphasizes security, debuggability and
+performance -- guided by a principle of least surprise in terms of
+API design.
diff --git a/development/arcan/arcan.SlackBuild b/development/arcan/arcan.SlackBuild
new file mode 100644
index 0000000000..14da55d297
--- /dev/null
+++ b/development/arcan/arcan.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for arcan
+
+# Copyright 2022 Damian Perticone, Berisso, Argentina
+# 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=arcan
+VERSION=${VERSION:-0.6.1.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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# patch for fix library and man path
+patch -p1 < $CWD/gnu-install-dirs-3.diff
+
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DSTATIC_LIBUVC=OFF \
+ -DDISABLE_JIT=ON \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLUA_INCLUDE_DIR=/usr/include/lua5.1 \
+ -DVIDEO_PLATFORM=egl-dri \
+ -DSHMIF_TUI_ACCEL=ON \
+ -DENABLE_LWA=ON \
+ -DHYBRID_SDL=ON \
+ -DHYBRID_HEADLESS=ON \
+ src
+ 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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md COPYING HACKING.md 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/development/arcan/arcan.info b/development/arcan/arcan.info
new file mode 100644
index 0000000000..7d0bd13efd
--- /dev/null
+++ b/development/arcan/arcan.info
@@ -0,0 +1,10 @@
+PRGNAM="arcan"
+VERSION="0.6.1.1"
+HOMEPAGE="https://arcan-fe.com/"
+DOWNLOAD="https://github.com/letoram/arcan/archive/0.6.1.1/arcan-0.6.1.1.tar.gz"
+MD5SUM="30ba84fe658f4136865756ece8b2e503"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lua tesseract"
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/development/arcan/gnu-install-dirs-3.diff b/development/arcan/gnu-install-dirs-3.diff
new file mode 100644
index 0000000000..136a6eaae6
--- /dev/null
+++ b/development/arcan/gnu-install-dirs-3.diff
@@ -0,0 +1,324 @@
+From 2aba9cf07aaed31f4411a5cbee096a569fd07edc Mon Sep 17 00:00:00 2001
+From: AndersonTorres <torres.anderson.85@protonmail.com>
+Date: Mon, 23 May 2022 22:54:28 -0300
+Subject: [PATCH] Cmake build system: implement GNU directory conventions
+
+With this patch, many hardcoded paths are now substituted by GNU conventions, as
+documented in the references below:
+
+https://cmake.org/cmake/help/v3.23/module/GNUInstallDirs.html
+https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
+---
+ src/CMakeLists.txt | 6 +++---
+ src/a12/CMakeLists.txt | 6 +++---
+ src/a12/net/CMakeLists.txt | 2 +-
+ src/frameserver/CMakeLists.txt | 2 +-
+ src/frameserver/avfeed/CMakeLists.txt | 2 +-
+ src/frameserver/decode/CMakeLists.txt | 2 +-
+ src/frameserver/encode/CMakeLists.txt | 2 +-
+ src/frameserver/game/CMakeLists.txt | 2 +-
+ src/frameserver/net/CMakeLists.txt | 2 +-
+ src/frameserver/remoting/CMakeLists.txt | 2 +-
+ src/frameserver/terminal/CMakeLists.txt | 2 +-
+ src/platform/cmake/CMakeLists.LWA | 2 +-
+ src/platform/cmake/CMakeLists.Linux | 4 ++--
+ src/shmif/CMakeLists.txt | 10 ++++------
+ src/tools/acfgfs/CMakeLists.txt | 4 ++--
+ src/tools/aclip/CMakeLists.txt | 4 ++--
+ src/tools/aloadimage/CMakeLists.txt | 4 ++--
+ src/tools/shmmon/CMakeLists.txt | 2 +-
+ src/tools/vrbridge/CMakeLists.txt | 2 +-
+ src/wayland/CMakeLists.txt | 6 +++---
+ 20 files changed, 33 insertions(+), 35 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 8f1ff2a9..caf2faee 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -747,7 +747,7 @@ else()
+ #
+ if (VIDEO_PLATFORM STREQUAL "egl-dri")
+ amsg("${CL_YEL}egl-dri+privsep${CL_RST}\t${CL_GRN}installing SUID${CL_RST}")
+- install(TARGETS arcan DESTINATION bin
++ install(TARGETS arcan DESTINATION ${CMAKE_INSTALL_BINDIR}
+ PERMISSIONS
+ SETUID
+ OWNER_WRITE OWNER_READ OWNER_EXECUTE
+@@ -755,10 +755,10 @@ else()
+ WORLD_READ WORLD_EXECUTE
+ )
+ else()
+- install(TARGETS arcan DESTINATION bin)
++ install(TARGETS arcan DESTINATION ${CMAKE_INSTALL_BINDIR})
+ endif()
+
+- install(TARGETS ${BIN_INSTALL} DESTINATION bin)
++ install(TARGETS ${BIN_INSTALL} DESTINATION ${CMAKE_INSTALL_BINDIR})
+
+ install(DIRECTORY ${CMAKE_SOURCE_DIR}/../data/appl
+ DESTINATION ${APPL_DEST}
+diff --git a/src/a12/CMakeLists.txt b/src/a12/CMakeLists.txt
+index 892565c6..2ede2266 100644
+--- a/src/a12/CMakeLists.txt
++++ b/src/a12/CMakeLists.txt
+@@ -97,8 +97,8 @@ target_link_libraries(arcan_a12 ${LIBRARIES})
+
+ set(A12_LIBRARIES arcan_a12 PARENT_SCOPE)
+ install(TARGETS arcan_a12
+- LIBRARY DESTINATION lib
+- ARCHIVE DESTINATION lib
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
+-install(FILES a12.h DESTINATION include/arcan)
++install(FILES a12.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/arcan)
+ add_subdirectory("net")
+diff --git a/src/a12/net/CMakeLists.txt b/src/a12/net/CMakeLists.txt
+index 2ba4ae9c..6f629d94 100644
+--- a/src/a12/net/CMakeLists.txt
++++ b/src/a12/net/CMakeLists.txt
+@@ -23,4 +23,4 @@ add_executable(arcan-net ${SOURCES})
+ add_sanitizers(arcan-net)
+ target_link_libraries(arcan-net PRIVATE arcan_a12 )
+ target_include_directories(arcan-net PRIVATE ${INCLUDE_DIRS})
+-install(TARGETS arcan-net DESTINATION bin)
++install(TARGETS arcan-net DESTINATION ${CMAKE_INSTALL_BINDIR})
+diff --git a/src/frameserver/CMakeLists.txt b/src/frameserver/CMakeLists.txt
+index f8d2adee..a46ba3d0 100644
+--- a/src/frameserver/CMakeLists.txt
++++ b/src/frameserver/CMakeLists.txt
+@@ -69,6 +69,6 @@ endforeach()
+ add_executable(arcan_frameserver frameserver.c)
+ add_sanitizers(arcan_frameserver)
+ target_compile_definitions(arcan_frameserver PRIVATE AFSRV_CHAINLOADER)
+-install(TARGETS arcan_frameserver DESTINATION bin)
++install(TARGETS arcan_frameserver DESTINATION ${CMAKE_INSTALL_BINDIR})
+ amsg("${CL_YEL}frameservers\t${CL_GRN}${FRAMESERVER_MODESTRING}${CL_RST}")
+ set(FRAMESERVER_MODESTRING ${FRAMESERVER_MODESTRING} PARENT_SCOPE)
+diff --git a/src/frameserver/avfeed/CMakeLists.txt b/src/frameserver/avfeed/CMakeLists.txt
+index 7290336d..3daf0de3 100644
+--- a/src/frameserver/avfeed/CMakeLists.txt
++++ b/src/frameserver/avfeed/CMakeLists.txt
+@@ -18,5 +18,5 @@ if (AVFEED_SOURCES)
+ )
+ target_include_directories(afsrv_avfeed PRIVATE ${FSRV_ROOT} ${AVFEED_INCLUDE_DIRS})
+ target_link_libraries(afsrv_avfeed ${STDLIB} arcan_shmif_int ${AVFEED_LIBS})
+- install(TARGETS afsrv_avfeed DESTINATION bin)
++ install(TARGETS afsrv_avfeed DESTINATION ${CMAKE_INSTALL_BINDIR})
+ endif()
+diff --git a/src/frameserver/decode/CMakeLists.txt b/src/frameserver/decode/CMakeLists.txt
+index 85f0d27a..6b515ab6 100644
+--- a/src/frameserver/decode/CMakeLists.txt
++++ b/src/frameserver/decode/CMakeLists.txt
+@@ -22,5 +22,5 @@ if (DECODE_SOURCES)
+ add_dependencies(afsrv_decode ${DECODE_DEPS})
+ endif()
+
+- install(TARGETS afsrv_decode DESTINATION bin)
++ install(TARGETS afsrv_decode DESTINATION ${CMAKE_INSTALL_BINDIR})
+ endif()
+diff --git a/src/frameserver/encode/CMakeLists.txt b/src/frameserver/encode/CMakeLists.txt
+index 87ca659e..c2cb9c46 100644
+--- a/src/frameserver/encode/CMakeLists.txt
++++ b/src/frameserver/encode/CMakeLists.txt
+@@ -18,5 +18,5 @@ if (ENCODE_SOURCES)
+ )
+ target_include_directories(afsrv_encode PRIVATE ${FSRV_ROOT} ${ENCODE_INCLUDE_DIRS})
+ target_link_libraries(afsrv_encode ${STDLIB} arcan_shmif_int ${ENCODE_LIBS})
+- install(TARGETS afsrv_encode DESTINATION bin)
++ install(TARGETS afsrv_encode DESTINATION ${CMAKE_INSTALL_BINDIR})
+ endif()
+diff --git a/src/frameserver/game/CMakeLists.txt b/src/frameserver/game/CMakeLists.txt
+index 88d4e5d4..a10890fc 100644
+--- a/src/frameserver/game/CMakeLists.txt
++++ b/src/frameserver/game/CMakeLists.txt
+@@ -28,5 +28,5 @@ if (GAME_SOURCES)
+ arcan_shmif_int
+ ${GAME_LIBS}
+ )
+- install(TARGETS afsrv_game DESTINATION bin)
++ install(TARGETS afsrv_game DESTINATION ${CMAKE_INSTALL_BINDIR})
+ endif()
+diff --git a/src/frameserver/net/CMakeLists.txt b/src/frameserver/net/CMakeLists.txt
+index 93762287..ebeb0eb2 100644
+--- a/src/frameserver/net/CMakeLists.txt
++++ b/src/frameserver/net/CMakeLists.txt
+@@ -18,5 +18,5 @@ if (NET_SOURCES)
+ )
+ target_include_directories(afsrv_net PRIVATE ${FSRV_ROOT} ${NET_INCLUDE_DIRS})
+ target_link_libraries(afsrv_net ${STDLIB} arcan_shmif_int ${NET_LIBS})
+- install(TARGETS afsrv_net DESTINATION bin)
++ install(TARGETS afsrv_net DESTINATION ${CMAKE_INSTALL_BINDIR})
+ endif()
+diff --git a/src/frameserver/remoting/CMakeLists.txt b/src/frameserver/remoting/CMakeLists.txt
+index ad5c0c8c..3e599d66 100644
+--- a/src/frameserver/remoting/CMakeLists.txt
++++ b/src/frameserver/remoting/CMakeLists.txt
+@@ -22,5 +22,5 @@ if (REMOTING_SOURCES)
+ ${REMOTING_INCLUDE_DIRS}
+ )
+ target_link_libraries(afsrv_remoting ${STDLIB} arcan_shmif_int ${REMOTING_LIBS})
+- install(TARGETS afsrv_remoting DESTINATION bin)
++ install(TARGETS afsrv_remoting DESTINATION ${CMAKE_INSTALL_BINDIR})
+ endif()
+diff --git a/src/frameserver/terminal/CMakeLists.txt b/src/frameserver/terminal/CMakeLists.txt
+index 3b5ef4a1..e979bb9c 100644
+--- a/src/frameserver/terminal/CMakeLists.txt
++++ b/src/frameserver/terminal/CMakeLists.txt
+@@ -24,5 +24,5 @@ if (TERMINAL_SOURCES)
+ add_dependencies(afsrv_terminal ${TERMINAL_DEPENDENCIES})
+ endif()
+
+- install(TARGETS afsrv_terminal DESTINATION bin)
++ install(TARGETS afsrv_terminal DESTINATION ${CMAKE_INSTALL_BINDIR})
+ endif()
+diff --git a/src/platform/cmake/CMakeLists.LWA b/src/platform/cmake/CMakeLists.LWA
+index 76711fc5..e3057ddc 100644
+--- a/src/platform/cmake/CMakeLists.LWA
++++ b/src/platform/cmake/CMakeLists.LWA
+@@ -111,4 +111,4 @@ target_compile_definitions(arcan_lwa PRIVATE
+ ARCAN_BUILDVERSION=\"${SOURCE_TAG}-${PLATFORM_BUILDTAG}-${CMAKE_SYSTEM_NAME}\"
+ )
+
+-install(TARGETS arcan_lwa DESTINATION bin)
++install(TARGETS arcan_lwa DESTINATION ${CMAKE_INSTALL_BINDIR})
+diff --git a/src/platform/cmake/CMakeLists.Linux b/src/platform/cmake/CMakeLists.Linux
+index 9c8e6529..9be1e239 100644
+--- a/src/platform/cmake/CMakeLists.Linux
++++ b/src/platform/cmake/CMakeLists.Linux
+@@ -41,11 +41,11 @@ if (NOT RES_DEST)
+ endif()
+
+ if (NOT APIMAN_DEST)
+- set(APIMAN_DEST ${CMAKE_INSTALL_PREFIX}/share/man/man3)
++ set(APIMAN_DEST ${CMAKE_INSTALL_MANDIR}/man3)
+ endif()
+
+ if (NOT MAN_DEST)
+- set(MAN_DEST ${CMAKE_INSTALL_PREFIX}/share/man/man1)
++ set(MAN_DEST ${CMAKE_INSTALL_MANDIR}/man1)
+ endif()
+
+ set(ARCAN_PLATFORM
+diff --git a/src/shmif/CMakeLists.txt b/src/shmif/CMakeLists.txt
+index 06d34a21..e2cd95bb 100644
+--- a/src/shmif/CMakeLists.txt
++++ b/src/shmif/CMakeLists.txt
+@@ -31,8 +31,6 @@ else()
+ set(ASD ${CMAKE_CURRENT_SOURCE_DIR}/../)
+ endif()
+
+-set(ASHMIF_INSTPATH lib)
+-
+ set (TUI_HEADERS
+ ${ASD}/shmif/arcan_tui.h
+ ${ASD}/shmif/arcan_tuidefs.h
+@@ -273,9 +271,9 @@ target_include_directories(arcan_shmif_server PRIVATE ${ASD}/shmif)
+
+ if (NOT ARCAN_SOURCE_DIR)
+ install(TARGETS ${TARGET_LIST}
+- LIBRARY DESTINATION ${ASHMIF_INSTPATH}
+- ARCHIVE DESTINATION ${ASHMIF_INSTPATH}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
+- install(FILES ${SHMIF_HEADERS} DESTINATION include/arcan/shmif)
+- install(FILES ${TUI_HEADERS} DESTINATION include/arcan)
++ install(FILES ${SHMIF_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/arcan/shmif)
++ install(FILES ${TUI_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/arcan)
+ endif()
+diff --git a/src/tools/acfgfs/CMakeLists.txt b/src/tools/acfgfs/CMakeLists.txt
+index 8a42f53c..8ca13dfd 100644
+--- a/src/tools/acfgfs/CMakeLists.txt
++++ b/src/tools/acfgfs/CMakeLists.txt
+@@ -38,11 +38,11 @@ set(SOURCES
+
+ add_executable(${PROJECT_NAME} ${SOURCES})
+ target_link_libraries(${PROJECT_NAME} ${LIBRARIES})
+-install(TARGETS ${PROJECT_NAME} DESTINATION bin)
++install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
+ target_include_directories(${PROJECT_NAME} PUBLIC ${ARCAN_SHMIF_INCLUDE_DIR} ${FUSE3_INCLUDE_DIRS})
+
+ if (CMAKE_SYSTEM_NAME MATCHES "(DragonFly|FreeBSD|NetBSD|OpenBSD)")
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/arcan_cfgfs.1 DESTINATION man/man1)
+ else()
+-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/arcan_cfgfs.1 DESTINATION share/man/man1)
++install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/arcan_cfgfs.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+ endif()
+diff --git a/src/tools/aclip/CMakeLists.txt b/src/tools/aclip/CMakeLists.txt
+index 7ef47c58..436548bb 100644
+--- a/src/tools/aclip/CMakeLists.txt
++++ b/src/tools/aclip/CMakeLists.txt
+@@ -42,10 +42,10 @@ set(SOURCES
+
+ add_executable(${PROJECT_NAME} ${SOURCES})
+ target_link_libraries(${PROJECT_NAME} ${LIBRARIES})
+-install(TARGETS ${PROJECT_NAME} DESTINATION bin)
++install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
+
+ if (CMAKE_SYSTEM_NAME MATCHES "(DragonFly|FreeBSD|NetBSD|OpenBSD)")
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/aclip.1 DESTINATION man/man1)
+ else()
+-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/aclip.1 DESTINATION share/man/man1)
++install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/aclip.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+ endif()
+diff --git a/src/tools/aloadimage/CMakeLists.txt b/src/tools/aloadimage/CMakeLists.txt
+index 0d948b6c..326c3fc8 100644
+--- a/src/tools/aloadimage/CMakeLists.txt
++++ b/src/tools/aloadimage/CMakeLists.txt
+@@ -64,11 +64,11 @@ SET(SOURCES
+
+ add_executable(${PROJECT_NAME} ${SOURCES})
+ target_link_libraries(${PROJECT_NAME} ${LIBRARIES})
+-install(TARGETS ${PROJECT_NAME} DESTINATION bin)
++install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
+ add_sanitizers(${PROJECT_NAME})
+
+ if (CMAKE_SYSTEM_NAME MATCHES "(DragonFly|FreeBSD|NetBSD|OpenBSD)")
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/aloadimage.1 DESTINATION man/man1)
+ else()
+-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/aloadimage.1 DESTINATION share/man/man1)
++install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/aloadimage.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+ endif()
+diff --git a/src/tools/shmmon/CMakeLists.txt b/src/tools/shmmon/CMakeLists.txt
+index 736a0fa4..46758db9 100644
+--- a/src/tools/shmmon/CMakeLists.txt
++++ b/src/tools/shmmon/CMakeLists.txt
+@@ -44,4 +44,4 @@ set(SOURCES
+
+ add_executable(${PROJECT_NAME} ${SOURCES})
+ target_link_libraries(${PROJECT_NAME} ${LIBRARIES})
+-install(TARGETS ${PROJECT_NAME} DESTINATION bin)
++install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
+diff --git a/src/tools/vrbridge/CMakeLists.txt b/src/tools/vrbridge/CMakeLists.txt
+index 28488290..fc8eb0f8 100644
+--- a/src/tools/vrbridge/CMakeLists.txt
++++ b/src/tools/vrbridge/CMakeLists.txt
+@@ -111,4 +111,4 @@ endif()
+
+ target_link_libraries(${PROJECT_NAME} ${LIBRARIES})
+
+-install(TARGETS ${PROJECT_NAME} DESTINATION bin)
++install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
+diff --git a/src/wayland/CMakeLists.txt b/src/wayland/CMakeLists.txt
+index 1d6b8cc3..4cd44922 100644
+--- a/src/wayland/CMakeLists.txt
++++ b/src/wayland/CMakeLists.txt
+@@ -96,11 +96,11 @@ target_include_directories(arcan-wayland PRIVATE ${WAYBRIDGE_INCLUDES})
+ target_include_directories(arcan_xwm PRIVATE ${WAYBRIDGE_INCLUDES})
+
+ add_sanitizers(arcan-wayland)
+-install(TARGETS arcan-wayland DESTINATION bin)
+-install(TARGETS arcan_xwm DESTINATION bin)
++install(TARGETS arcan-wayland DESTINATION ${CMAKE_INSTALL_BINDIR})
++install(TARGETS arcan_xwm DESTINATION ${CMAKE_INSTALL_BINDIR})
+
+ if (CMAKE_SYSTEM_NAME MATCHES "(DragonFly|FreeBSD|NetBSD|OpenBSD)")
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/arcan-wayland.1 DESTINATION man/man1)
+ else()
+-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/arcan-wayland.1 DESTINATION share/man/man1)
++install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/arcan-wayland.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+ endif()#install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/arcan-wayland.1 DESTINATION man)
+--
+2.35.3
+
diff --git a/development/arcan/slack-desc b/development/arcan/slack-desc
new file mode 100644
index 0000000000..0508f8ccb2
--- /dev/null
+++ b/development/arcan/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------------------------------------------------------|
+arcan: arcan (Display Server, Multimedia Framework, Game Engine)
+arcan:
+arcan: Arcan is a powerful development framework for creating virtually
+arcan: anything from user interfaces for specialized embedded applications
+arcan: all the way to full-blown standalone desktop environments.
+arcan:
+arcan:
+arcan:
+arcan:
+arcan: Home: https://arcan-fe.com
+arcan:
diff --git a/development/arduino-cli/README b/development/arduino-cli/README
new file mode 100644
index 0000000000..fbf53be421
--- /dev/null
+++ b/development/arduino-cli/README
@@ -0,0 +1,4 @@
+Arduino CLI is an all-in-one solution that provides Boards/Library
+Managers, sketch builder, board detection, uploader, and many other
+tools needed to use any Arduino compatible board and platform from
+command line or machine interfaces.
diff --git a/development/arduino-cli/arduino-cli.SlackBuild b/development/arduino-cli/arduino-cli.SlackBuild
new file mode 100644
index 0000000000..372f8d916b
--- /dev/null
+++ b/development/arduino-cli/arduino-cli.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for Arduino CLI
+
+# Copyright 2023-2024 Ebben Aries <slackbuilds@dscp.org>
+# 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=arduino-cli
+VERSION=${VERSION:-0.35.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ BIT="32bit"
+elif [ "$ARCH" = "x86_64" ]; then
+ BIT="64bit"
+else
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+tar xvf $CWD/${PRGNAM}_${VERSION}_Linux_${BIT}.tar.gz
+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/usr/bin
+cp -a $PRGNAM $PKG/usr/bin/$PRGNAM
+strip --strip-unneeded $PKG/usr/bin/$PRGNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.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/development/arduino-cli/arduino-cli.info b/development/arduino-cli/arduino-cli.info
new file mode 100644
index 0000000000..7e40806f10
--- /dev/null
+++ b/development/arduino-cli/arduino-cli.info
@@ -0,0 +1,10 @@
+PRGNAM="arduino-cli"
+VERSION="0.35.3"
+HOMEPAGE="https://www.arduino.cc/pro/cli"
+DOWNLOAD="https://github.com/arduino/arduino-cli/releases/download/v0.35.3/arduino-cli_0.35.3_Linux_32bit.tar.gz"
+MD5SUM="e91c8a080119ca38bbb0b871e5c22d64"
+DOWNLOAD_x86_64="https://github.com/arduino/arduino-cli/releases/download/v0.35.3/arduino-cli_0.35.3_Linux_64bit.tar.gz"
+MD5SUM_x86_64="58714c5be08ac9fa1ad1e65980749a7b"
+REQUIRES=""
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/development/arduino-cli/slack-desc b/development/arduino-cli/slack-desc
new file mode 100644
index 0000000000..519d915377
--- /dev/null
+++ b/development/arduino-cli/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------------------------------------------------------|
+arduino-cli: arduino-cli (tool to manage arduino)
+arduino-cli:
+arduino-cli: Arduino CLI is an all-in-one solution that provides Boards/Library
+arduino-cli: Managers, sketch builder, board detection, uploader, and many other
+arduino-cli: tools needed to use any Arduino compatible board and platform from
+arduino-cli: command line or machine interfaces.
+arduino-cli:
+arduino-cli:
+arduino-cli: Homepage: https://github.com/arduino/arduino-cli
+arduino-cli:
+arduino-cli:
diff --git a/development/arduino/arduino.SlackBuild b/development/arduino/arduino.SlackBuild
index c7474d0d92..5e86d585e7 100644
--- a/development/arduino/arduino.SlackBuild
+++ b/development/arduino/arduino.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for arduino
-# Copyright 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
+# Copyright 2015, 2022 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=arduino
-VERSION=${VERSION:-1.8.3}
+VERSION=${VERSION:-1.8.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -71,7 +81,7 @@ find -L . \
# Manual install ensues
mkdir -p $PKG/opt/$PRGNAM
-mv $PRGNAM{,-builder} examples hardware lib libraries reference \
+mv $PRGNAM{,-builder} examples hardware lib libraries \
tools{,-builder} $PKG/opt/$PRGNAM
# Make it a bit more user friendly
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/arduino/arduino.info b/development/arduino/arduino.info
index 8dad018095..b04b69ccda 100644
--- a/development/arduino/arduino.info
+++ b/development/arduino/arduino.info
@@ -1,10 +1,10 @@
PRGNAM="arduino"
-VERSION="1.8.3"
+VERSION="1.8.19"
HOMEPAGE="https://www.arduino.cc/"
-DOWNLOAD="http://mirror.slackware.hr/sources/arduino/arduino-1.8.3-linux32.tar.xz"
-MD5SUM="bddd208e721aad0b0d079c5eddb9b6b6"
-DOWNLOAD_x86_64="http://mirror.slackware.hr/sources/arduino/arduino-1.8.3-linux64.tar.xz"
-MD5SUM_x86_64="4385433f3ce7dda7fe58ee72da56811e"
-REQUIRES="jdk"
+DOWNLOAD="https://downloads.arduino.cc/arduino-1.8.19-linux32.tar.xz"
+MD5SUM="b0d8a5622314f555a2fe3ba24f72c6b7"
+DOWNLOAD_x86_64="https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz"
+MD5SUM_x86_64="bd741c73da82debf93abcc2845e1480a"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/development/argagg/argagg.SlackBuild b/development/argagg/argagg.SlackBuild
index 9d022544af..5dfed3b668 100644
--- a/development/argagg/argagg.SlackBuild
+++ b/development/argagg/argagg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for argagg
#
# Yth | Pont-en-Royans, France | yth@ythogtha.org
@@ -20,10 +20,13 @@
# 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=argagg
-VERSION=${VERSION:-0.4.6}
+VERSION=${VERSION:-0.4.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -49,6 +59,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=""
@@ -94,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/argagg/argagg.info b/development/argagg/argagg.info
index 2ac34b819f..7d31a715b1 100644
--- a/development/argagg/argagg.info
+++ b/development/argagg/argagg.info
@@ -1,8 +1,8 @@
PRGNAM="argagg"
-VERSION="0.4.6"
+VERSION="0.4.7"
HOMEPAGE="https://github.com/vietjtnguyen/argagg"
-DOWNLOAD="https://github.com/vietjtnguyen/argagg/archive/0.4.6/argagg-0.4.6.tar.gz"
-MD5SUM="af98335fbc29ff6555b0d66f15825091"
+DOWNLOAD="https://github.com/vietjtnguyen/argagg/archive/0.4.7/argagg-0.4.7.tar.gz"
+MD5SUM="e5dc3b749ed9030b17dd180e86e4cb30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/argouml/argouml.SlackBuild b/development/argouml/argouml.SlackBuild
index 4980c87a17..9b12df3cad 100644
--- a/development/argouml/argouml.SlackBuild
+++ b/development/argouml/argouml.SlackBuild
@@ -1,17 +1,27 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for argouml
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=argouml
-VERSION=${VERSION:-0.34}
+VERSION=${VERSION:-0.35.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -49,11 +59,11 @@ cp icon/ArgoIcon128x128.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cp README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+install -D -m 0644 README.txt $PKG/usr/doc/$PRGNAM-$VERSION/README.txt
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/argouml/argouml.info b/development/argouml/argouml.info
index 63b9c62b62..a10ddd4b26 100644
--- a/development/argouml/argouml.info
+++ b/development/argouml/argouml.info
@@ -1,10 +1,10 @@
PRGNAM="argouml"
-VERSION="0.34"
-HOMEPAGE="http://argouml.tigris.org/"
-DOWNLOAD="http://argouml-downloads.tigris.org/nonav/argouml-0.34/ArgoUML-0.34.tar.gz"
-MD5SUM="440efea6096a00b8c19daab1ecddaf7c"
+VERSION="0.35.1"
+HOMEPAGE="https://argouml-tigris-org.github.io/tigris/argouml/"
+DOWNLOAD="https://github.com/argouml-tigris-org/argouml/releases/download/VERSION_0_35_1/ArgoUML-0.35.1.tar.gz"
+MD5SUM="6bce5c68e0468b3fc5528228590c7fec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Dario Nicodemi"
EMAIL="dario.sbo@gmail.com"
diff --git a/development/arm-binutils/arm-binutils.SlackBuild b/development/arm-binutils/arm-binutils.SlackBuild
index b6c5cf415d..1b102605bd 100644
--- a/development/arm-binutils/arm-binutils.SlackBuild
+++ b/development/arm-binutils/arm-binutils.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for arm-binutils
@@ -22,15 +22,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc ownership, if $CWD isn't owned by root.
+
# based on the work of:
# Marek Buras <cyfr0n (at) go2 !dot pl>,
# Vliegendehuiskat <vliegendehuiskat [at] gmail [dot] com> and
# Claudio Henrique Fortes Felix <felix.claudio [at] gmail [dot] com>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arm-binutils
-VERSION=${VERSION:-2.34}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.35}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -65,14 +75,15 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf binutils-$VERSION
-tar xvf $CWD/binutils-$VERSION.tar.xz
+tar xvf $CWD/binutils-$VERSION.tar.?z
cd binutils-$VERSION
chown -R root:root .
+
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -96,20 +107,17 @@ CXXFLAGS="$SLKCFLAGS" \
--with-gnu-ld
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs 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
+make install-strip DESTDIR=$PKG
# Don't overwrite files from Slackware's binutils
-rm -rf $PKG/usr/info
-rm -rf $PKG/usr/man
+rm -rf $PKG/usr/info $PKG/usr/man
+# 20220408 bkw: don't change the install command below back to "cp -a"
+# please. configure_options.txt comes from $CWD and could be owned by
+# anyone.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING* ChangeLog MAINTAINERS README* $CWD/configure_options.txt \
+install -m0644 -oroot -groot \
+ COPYING* ChangeLog MAINTAINERS README* $CWD/configure_options.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -117,4 +125,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/arm-binutils/arm-binutils.info b/development/arm-binutils/arm-binutils.info
index e768e4f573..2194fa17a8 100644
--- a/development/arm-binutils/arm-binutils.info
+++ b/development/arm-binutils/arm-binutils.info
@@ -1,8 +1,8 @@
PRGNAM="arm-binutils"
-VERSION="2.34"
+VERSION="2.35"
HOMEPAGE="http://www.gnu.org/software/binutils"
-DOWNLOAD="https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.xz"
-MD5SUM="664ec3a2df7805ed3464639aaae332d6"
+DOWNLOAD="https://ftp.gnu.org/gnu/binutils/binutils-2.35.tar.xz"
+MD5SUM="fc8d55e2f6096de8ff8171173b6f5087"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/arm-gcc/arm-gcc.SlackBuild b/development/arm-gcc/arm-gcc.SlackBuild
index e69cacfb1d..c9d0563399 100644
--- a/development/arm-gcc/arm-gcc.SlackBuild
+++ b/development/arm-gcc/arm-gcc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for arm-gcc
@@ -24,10 +24,13 @@
# Written by Marek Buras <cyfr0n (at) go2 !dot pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arm-gcc
-VERSION=${VERSION:-9.2.0}
+VERSION=${VERSION:-10.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -62,9 +72,10 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf gcc-$VERSION arm-gcc-build-$VERSION
-tar xvf $CWD/gcc-$VERSION.tar.xz
+tar xvf $CWD/gcc-$VERSION.tar.?z
mkdir arm-gcc-build-$VERSION
cd arm-gcc-build-$VERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -147,4 +158,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/arm-gcc/arm-gcc.info b/development/arm-gcc/arm-gcc.info
index 5c40c50106..4ec85d0b15 100644
--- a/development/arm-gcc/arm-gcc.info
+++ b/development/arm-gcc/arm-gcc.info
@@ -1,8 +1,8 @@
PRGNAM="arm-gcc"
-VERSION="9.2.0"
+VERSION="10.2.0"
HOMEPAGE="http://www.gnu.org/software/gcc/"
-DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz"
-MD5SUM="3818ad8600447f05349098232c2ddc78"
+DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-10.2.0/gcc-10.2.0.tar.xz"
+MD5SUM="e9fd9b1789155ad09bcf3ae747596b50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="arm-binutils"
diff --git a/development/arm-gcc/configure_options.txt b/development/arm-gcc/configure_options.txt
new file mode 100644
index 0000000000..e48b91773c
--- /dev/null
+++ b/development/arm-gcc/configure_options.txt
@@ -0,0 +1,252 @@
+`configure' configures this package to adapt to many kinds of systems.
+
+Usage: ./configure [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print `checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for `--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or `..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [/usr/local]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, `make install' will install all the files in
+`/usr/local/bin', `/usr/local/lib' etc. You can specify
+an installation prefix other than `/usr/local' using `--prefix',
+for instance `--prefix=$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+ --target=TARGET configure for building compilers for TARGET [HOST]
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-as-accelerator-for=ARG
+ build as offload target compiler. Specify offload
+ host triple by ARG
+ --enable-offload-targets=LIST
+ enable offloading to devices from comma-separated
+ LIST of TARGET[=DIR]. Use optional path to find
+ offload target compiler during the build
+ --enable-gold[=ARG] build gold [ARG={default,yes,no}]
+ --enable-ld[=ARG] build ld [ARG={default,yes,no}]
+ --enable-compressed-debug-sections={all,gas,gold,ld,none}
+ Enable compressed debug sections for gas, gold or ld
+ by default
+ --disable-libquadmath do not build libquadmath directory
+ --disable-libquadmath-support
+ disable libquadmath support for Fortran
+ --enable-libada build libada directory
+ --enable-libssp build libssp directory
+ --disable-libstdcxx do not build libstdc++-v3 directory
+ --enable-liboffloadmic=ARG
+ build liboffloadmic [ARG={no,host,target}]
+ --enable-bootstrap enable bootstrapping [yes if native build]
+ --disable-isl-version-check
+ disable check for isl version
+ --enable-lto enable link time optimization support
+ --enable-linker-plugin-configure-flags=FLAGS
+ additional flags for configuring linker plugins
+ [none]
+ --enable-linker-plugin-flags=FLAGS
+ additional flags for configuring and building linker
+ plugins [none]
+ --enable-host-shared build host code as shared libraries
+ --enable-stage1-languages[=all]
+ choose additional languages to build during stage1.
+ Mostly useful for compiler development
+ --enable-objc-gc enable use of Boehm's garbage collector with the GNU
+ Objective-C runtime
+ --enable-vtable-verify Enable vtable verification feature
+ --enable-serial-[{host,target,build}-]configure
+ force sequential configuration of sub-packages for
+ the host, target or build machine, or all
+ sub-packages
+ --enable-maintainer-mode
+ enable make rules and dependencies not useful (and
+ sometimes confusing) to the casual installer
+ --enable-stage1-checking[=all]
+ choose additional checking for stage1 of the
+ compiler
+ --enable-werror enable -Werror in bootstrap stage2 and later
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-build-libsubdir=DIR Directory where to find libraries for build system
+ --with-system-zlib use installed libz
+ --with-mpc=PATH specify prefix directory for installed MPC package.
+ Equivalent to --with-mpc-include=PATH/include plus
+ --with-mpc-lib=PATH/lib
+ --with-mpc-include=PATH specify directory for installed MPC include files
+ --with-mpc-lib=PATH specify directory for the installed MPC library
+ --with-mpfr-dir=PATH this option has been REMOVED
+ --with-mpfr=PATH specify prefix directory for installed MPFR package.
+ Equivalent to --with-mpfr-include=PATH/include plus
+ --with-mpfr-lib=PATH/lib
+ --with-mpfr-include=PATH
+ specify directory for installed MPFR include files
+ --with-mpfr-lib=PATH specify directory for the installed MPFR library
+ --with-gmp-dir=PATH this option has been REMOVED
+ --with-gmp=PATH specify prefix directory for the installed GMP
+ package. Equivalent to
+ --with-gmp-include=PATH/include plus
+ --with-gmp-lib=PATH/lib
+ --with-gmp-include=PATH specify directory for installed GMP include files
+ --with-gmp-lib=PATH specify directory for the installed GMP library
+ --with-stage1-libs=LIBS libraries for stage1
+ --with-static-standard-libraries
+ use -static-libstdc++ and -static-libgcc
+ (default=auto)
+ --with-stage1-ldflags=FLAGS
+ linker flags for stage1
+ --with-boot-libs=LIBS libraries for stage2 and later
+ --with-boot-ldflags=FLAGS
+ linker flags for stage2 and later
+ --with-isl=PATH Specify prefix directory for the installed isl
+ package. Equivalent to
+ --with-isl-include=PATH/include plus
+ --with-isl-lib=PATH/lib
+ --with-isl-include=PATH Specify directory for installed isl include files
+ --with-isl-lib=PATH Specify the directory for the installed isl library
+ --with-target-bdw-gc=PATHLIST
+ specify prefix directory for installed bdw-gc
+ package. Equivalent to
+ --with-target-bdw-gc-include=PATH/include plus
+ --with-target-bdw-gc-lib=PATH/lib
+ --with-target-bdw-gc-include=PATHLIST
+ specify directories for installed bdw-gc include
+ files
+ --with-target-bdw-gc-lib=PATHLIST
+ specify directories for installed bdw-gc library
+ --with-gcc-major-version-only
+ use only GCC major number in filesystem paths
+ --with-build-sysroot=SYSROOT
+ use sysroot as the system root during the build
+ --with-debug-prefix-map='A=B C=D ...'
+ map A to B, C to D ... in debug information
+ --with-build-config='NAME NAME2...'
+ use config/NAME.mk build configuration
+ --with-build-time-tools=PATH
+ use given path to find target tools during the build
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ build_configargs
+ additional configure arguments for build directories
+ host_configargs
+ additional configure arguments for host directories
+ target_configargs
+ additional configure arguments for target directories
+ AR AR for the host
+ AS AS for the host
+ DLLTOOL DLLTOOL for the host
+ LD LD for the host
+ LIPO LIPO for the host
+ NM NM for the host
+ RANLIB RANLIB for the host
+ STRIP STRIP for the host
+ WINDRES WINDRES for the host
+ WINDMC WINDMC for the host
+ OBJCOPY OBJCOPY for the host
+ OBJDUMP OBJDUMP for the host
+ OTOOL OTOOL for the host
+ READELF READELF for the host
+ CC_FOR_TARGET
+ CC for the target
+ CXX_FOR_TARGET
+ CXX for the target
+ GCC_FOR_TARGET
+ GCC for the target
+ GFORTRAN_FOR_TARGET
+ GFORTRAN for the target
+ GOC_FOR_TARGET
+ GOC for the target
+ GDC_FOR_TARGET
+ GDC for the target
+ AR_FOR_TARGET
+ AR for the target
+ AS_FOR_TARGET
+ AS for the target
+ DLLTOOL_FOR_TARGET
+ DLLTOOL for the target
+ LD_FOR_TARGET
+ LD for the target
+ LIPO_FOR_TARGET
+ LIPO for the target
+ NM_FOR_TARGET
+ NM for the target
+ OBJCOPY_FOR_TARGET
+ OBJCOPY for the target
+ OBJDUMP_FOR_TARGET
+ OBJDUMP for the target
+ OTOOL_FOR_TARGET
+ OTOOL for the target
+ RANLIB_FOR_TARGET
+ RANLIB for the target
+ READELF_FOR_TARGET
+ READELF for the target
+ STRIP_FOR_TARGET
+ STRIP for the target
+ WINDRES_FOR_TARGET
+ WINDRES for the target
+ WINDMC_FOR_TARGET
+ WINDMC for the target
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to the package provider.
diff --git a/development/arm-gdb/arm-gdb.SlackBuild b/development/arm-gdb/arm-gdb.SlackBuild
index c13359ef3c..2a0ddee541 100644
--- a/development/arm-gdb/arm-gdb.SlackBuild
+++ b/development/arm-gdb/arm-gdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for arm-gdb
@@ -24,10 +24,13 @@
# Written by thorsten <thorsten (dot) johannvorderbrueggen (at) t-online (dot) de>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arm-gdb
-VERSION=${VERSION:-8.3}
+VERSION=${VERSION:-10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -62,9 +72,10 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf gdb-$VERSION arm-gdb-build-$VERSION
-tar xvf $CWD/gdb-$VERSION.tar.xz
+tar xvf $CWD/gdb-$VERSION.tar.?z
mkdir arm-gdb-build-$VERSION
cd arm-gdb-build-$VERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -115,4 +126,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/arm-gdb/arm-gdb.info b/development/arm-gdb/arm-gdb.info
index b3aede5b85..e0ed08f206 100644
--- a/development/arm-gdb/arm-gdb.info
+++ b/development/arm-gdb/arm-gdb.info
@@ -1,8 +1,8 @@
PRGNAM="arm-gdb"
-VERSION="8.3"
+VERSION="10.1"
HOMEPAGE="http://www.gnu.org/software/gdb/"
-DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-8.3.tar.xz"
-MD5SUM="bbd95b2f9b34621ad7a19a3965476314"
+DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-10.1.tar.xz"
+MD5SUM="1822a7dd45e7813f4408407eec1a6af1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="arm-gcc"
diff --git a/development/arm-gdb/configure_options.txt b/development/arm-gdb/configure_options.txt
new file mode 100644
index 0000000000..f6344f4a8b
--- /dev/null
+++ b/development/arm-gdb/configure_options.txt
@@ -0,0 +1,247 @@
+`configure' configures this package to adapt to many kinds of systems.
+
+Usage: ./configure [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print `checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for `--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or `..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [/usr/local]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, `make install' will install all the files in
+`/usr/local/bin', `/usr/local/lib' etc. You can specify
+an installation prefix other than `/usr/local' using `--prefix',
+for instance `--prefix=$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+ --target=TARGET configure for building compilers for TARGET [HOST]
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-as-accelerator-for=ARG
+ build as offload target compiler. Specify offload
+ host triple by ARG
+ --enable-offload-targets=LIST
+ enable offloading to devices from comma-separated
+ LIST of TARGET[=DIR]. Use optional path to find
+ offload target compiler during the build
+ --enable-gold[=ARG] build gold [ARG={default,yes,no}]
+ --enable-ld[=ARG] build ld [ARG={default,yes,no}]
+ --enable-compressed-debug-sections={all,gas,gold,ld,none}
+ Enable compressed debug sections for gas, gold or ld
+ by default
+ --disable-libquadmath do not build libquadmath directory
+ --disable-libquadmath-support
+ disable libquadmath support for Fortran
+ --enable-libada build libada directory
+ --enable-libssp build libssp directory
+ --disable-libstdcxx do not build libstdc++-v3 directory
+ --enable-liboffloadmic=ARG
+ build liboffloadmic [ARG={no,host,target}]
+ --enable-bootstrap enable bootstrapping [yes if native build]
+ --disable-isl-version-check
+ disable check for isl version
+ --enable-lto enable link time optimization support
+ --enable-linker-plugin-configure-flags=FLAGS
+ additional flags for configuring linker plugins
+ [none]
+ --enable-linker-plugin-flags=FLAGS
+ additional flags for configuring and building linker
+ plugins [none]
+ --enable-host-shared build host code as shared libraries
+ --enable-stage1-languages[=all]
+ choose additional languages to build during stage1.
+ Mostly useful for compiler development
+ --enable-objc-gc enable use of Boehm's garbage collector with the GNU
+ Objective-C runtime
+ --enable-vtable-verify Enable vtable verification feature
+ --enable-serial-[{host,target,build}-]configure
+ force sequential configuration of sub-packages for
+ the host, target or build machine, or all
+ sub-packages
+ --enable-maintainer-mode
+ enable make rules and dependencies not useful (and
+ sometimes confusing) to the casual installer
+ --enable-stage1-checking[=all]
+ choose additional checking for stage1 of the
+ compiler
+ --enable-werror enable -Werror in bootstrap stage2 and later
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-build-libsubdir=DIR Directory where to find libraries for build system
+ --with-system-zlib use installed libz
+ --with-mpc=PATH specify prefix directory for installed MPC package.
+ Equivalent to --with-mpc-include=PATH/include plus
+ --with-mpc-lib=PATH/lib
+ --with-mpc-include=PATH specify directory for installed MPC include files
+ --with-mpc-lib=PATH specify directory for the installed MPC library
+ --with-mpfr-dir=PATH this option has been REMOVED
+ --with-mpfr=PATH specify prefix directory for installed MPFR package.
+ Equivalent to --with-mpfr-include=PATH/include plus
+ --with-mpfr-lib=PATH/lib
+ --with-mpfr-include=PATH
+ specify directory for installed MPFR include files
+ --with-mpfr-lib=PATH specify directory for the installed MPFR library
+ --with-gmp-dir=PATH this option has been REMOVED
+ --with-gmp=PATH specify prefix directory for the installed GMP
+ package. Equivalent to
+ --with-gmp-include=PATH/include plus
+ --with-gmp-lib=PATH/lib
+ --with-gmp-include=PATH specify directory for installed GMP include files
+ --with-gmp-lib=PATH specify directory for the installed GMP library
+ --with-stage1-libs=LIBS libraries for stage1
+ --with-static-standard-libraries
+ use -static-libstdc++ and -static-libgcc
+ (default=auto)
+ --with-stage1-ldflags=FLAGS
+ linker flags for stage1
+ --with-boot-libs=LIBS libraries for stage2 and later
+ --with-boot-ldflags=FLAGS
+ linker flags for stage2 and later
+ --with-isl=PATH Specify prefix directory for the installed isl
+ package. Equivalent to
+ --with-isl-include=PATH/include plus
+ --with-isl-lib=PATH/lib
+ --with-isl-include=PATH Specify directory for installed isl include files
+ --with-isl-lib=PATH Specify the directory for the installed isl library
+ --with-target-bdw-gc=PATHLIST
+ specify prefix directory for installed bdw-gc
+ package. Equivalent to
+ --with-target-bdw-gc-include=PATH/include plus
+ --with-target-bdw-gc-lib=PATH/lib
+ --with-target-bdw-gc-include=PATHLIST
+ specify directories for installed bdw-gc include
+ files
+ --with-target-bdw-gc-lib=PATHLIST
+ specify directories for installed bdw-gc library
+ --with-gcc-major-version-only
+ use only GCC major number in filesystem paths
+ --with-build-sysroot=SYSROOT
+ use sysroot as the system root during the build
+ --with-debug-prefix-map='A=B C=D ...'
+ map A to B, C to D ... in debug information
+ --with-build-config='NAME NAME2...'
+ use config/NAME.mk build configuration
+ --with-build-time-tools=PATH
+ use given path to find target tools during the build
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ build_configargs
+ additional configure arguments for build directories
+ host_configargs
+ additional configure arguments for host directories
+ target_configargs
+ additional configure arguments for target directories
+ AR AR for the host
+ AS AS for the host
+ DLLTOOL DLLTOOL for the host
+ LD LD for the host
+ LIPO LIPO for the host
+ NM NM for the host
+ RANLIB RANLIB for the host
+ STRIP STRIP for the host
+ WINDRES WINDRES for the host
+ WINDMC WINDMC for the host
+ OBJCOPY OBJCOPY for the host
+ OBJDUMP OBJDUMP for the host
+ READELF READELF for the host
+ CC_FOR_TARGET
+ CC for the target
+ CXX_FOR_TARGET
+ CXX for the target
+ GCC_FOR_TARGET
+ GCC for the target
+ GFORTRAN_FOR_TARGET
+ GFORTRAN for the target
+ GOC_FOR_TARGET
+ GOC for the target
+ AR_FOR_TARGET
+ AR for the target
+ AS_FOR_TARGET
+ AS for the target
+ DLLTOOL_FOR_TARGET
+ DLLTOOL for the target
+ LD_FOR_TARGET
+ LD for the target
+ LIPO_FOR_TARGET
+ LIPO for the target
+ NM_FOR_TARGET
+ NM for the target
+ OBJCOPY_FOR_TARGET
+ OBJCOPY for the target
+ OBJDUMP_FOR_TARGET
+ OBJDUMP for the target
+ RANLIB_FOR_TARGET
+ RANLIB for the target
+ READELF_FOR_TARGET
+ READELF for the target
+ STRIP_FOR_TARGET
+ STRIP for the target
+ WINDRES_FOR_TARGET
+ WINDRES for the target
+ WINDMC_FOR_TARGET
+ WINDMC for the target
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to the package provider.
diff --git a/development/as31/as31.SlackBuild b/development/as31/as31.SlackBuild
index 4ea2db5470..2c9b8c9dd7 100644
--- a/development/as31/as31.SlackBuild
+++ b/development/as31/as31.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for as31
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=as31
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -91,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/as31/as31.info b/development/as31/as31.info
index dad6430a70..6272e4f75b 100644
--- a/development/as31/as31.info
+++ b/development/as31/as31.info
@@ -1,10 +1,10 @@
PRGNAM="as31"
VERSION="2.3.1"
-HOMEPAGE="http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31"
-DOWNLOAD="http://wiki.erazor-zone.de/_media/wiki:projects:linux:as31:as31-2.3.1.tar.gz"
+HOMEPAGE="https://www.pjrc.com/tech/8051/tools/as31-doc.html"
+DOWNLOAD="https://slackware.uk/~urchlay/src/wiki:projects:linux:as31:as31-2.3.1.tar.gz"
MD5SUM="e70d7a2d6b80dc37082e79480bb2d1da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/asem51/asem51.SlackBuild b/development/asem51/asem51.SlackBuild
index de8bb7b0b1..ab7bdb1a05 100644
--- a/development/asem51/asem51.SlackBuild
+++ b/development/asem51/asem51.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for asem51
@@ -22,26 +22,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - don't install redundant upload and upload.new.
+# - don't install empty /usr/share dir in package.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asem51
VERSION=${VERSION:-1.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,12 +76,11 @@ cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p $PKG/usr/bin
-mkdir -p $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/include/asem51
mkdir -p $PKG/etc/profile.d
@@ -80,8 +90,12 @@ cp boot $PKG/usr/bin/boot
cp customiz $PKG/usr/bin/customiz
cp hexbin $PKG/usr/bin/hexbin
cp reset51 $PKG/usr/bin/reset51
-cp upload $PKG/usr/bin/upload
-cp upload.new $PKG/usr/bin/upload.new
+
+# 20220408 bkw: upload and upload.new are almost identical, except
+# that upload.new uses "stty -F" instead of redirecting from stdin.
+# no reason to install both, and the .new one seems more correct
+# to me.
+cp upload.new $PKG/usr/bin/upload
mv html $PKG/usr/doc/$PRGNAM-$VERSION/html
mv mcu $PKG/usr/include/asem51
@@ -106,4 +120,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/asl/README b/development/asl/README
index fb95769c32..663b16f0ae 100644
--- a/development/asl/README
+++ b/development/asl/README
@@ -11,17 +11,7 @@ Note: The source downloaded is a snapshot. There hasn't been an ASL
release since 1999, although development snapshots are still released
every month or so.
-Build options:
+Build option:
-UTF8=yes - Set this in the environment if you want ASL to use UTF-8 for
-its log and error messages. By default, ISO-8859-1 is used.
-
-TESTS=no - Don't run ASL's test suite. This should only be used on slow
-systems to save building time.
-
-DOCTYPES - ASL's documentation can be installed as HTML, PDF,
-PostScript, and/or plain text. DOCTYPES is a space-separated
-list of formats, which may include any of: html pdf ps txt. The
-default is "html". If you plan to print a copy of the docs, you
-might want e.g. DOCTYPES="html pdf". All formats are installed to
-/usr/doc/asl-$VERSION/, as usual.
+TESTS=no - Don't run ASL's test suite. This should only be used on
+slow systems to save building time.
diff --git a/development/asl/asl.SlackBuild b/development/asl/asl.SlackBuild
index 8ccdf75e02..09f1aae3a1 100644
--- a/development/asl/asl.SlackBuild
+++ b/development/asl/asl.SlackBuild
@@ -1,12 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for asl
# Originally written by Oleg O. Chukaev <email removed>
-# Modified and currently maintained by B. Watson <yalhcru@gmail.com>.
+# Modified and currently maintained by B. Watson <urchlay@slackware.uk>.
# Original version had no license. Modified version released under the
# WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230114 bkw: update for 142_bld235.
+# - docs build again (on 15.0), let 'em, no more prebuilt docs.
+# - UTF8 option removed, as upstream no longer supports it.
+# 20210829 bkw: update for 142_bld207.
+# - docs won't build on -current's texlive, use prebuilt (on 14.2).
# 20201106 bkw: update for 142_bld178.
# 20191202 bkw: update for 142_bld150.
# 20180911 bkw: update for 142_bld137.
@@ -25,12 +30,15 @@
# - nitpick README and slack-desc
# - run test suite, include results in doc dir
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asl
SRCNAM=asl-current
-VERSION=${VERSION:-142_bld178}
+VERSION=${VERSION:-142_bld235}
SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +48,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -71,6 +83,8 @@ 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 {} \+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+
sed -e "/^CFLAGS/s,=.*,= $SLKCFLAGS," \
-e 's,/local,,' \
-e "s,/lib,&$LIBDIRSUFFIX," \
@@ -78,75 +92,24 @@ sed -e "/^CFLAGS/s,=.*,= $SLKCFLAGS," \
< Makefile.def.tmpl \
> Makefile.def
-# Slackware standard is still non-utf8 locales in 14.2.
-UTF8="${UTF8:-no}"
-[ "$UTF8" = "yes" ] && \
- sed -i 's/CHARSET_ISO8859_1/CHARSET_UTF8/' Makefile.def
-
# binaries are already stripped, no symlinks in man pages.
-# 20201106 bkw: upstream changed PREFIX to INSTROOT, support both
-# in case someone wants to build an old version.
-DESTDIR=PREFIX
-grep -q INSTROOT Makefile && DESTDIR=INSTROOT
-make -j1 binaries install $DESTDIR=$PKG DOCPATH=""
+make -j1 install INSTROOT=$PKG DOCPATH=""
gzip -9 $PKG/usr/man/man?/*.?
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-
[ "${TESTS:-yes}" = "yes" ] && \
- make -j1 test > $PKG/usr/doc/$PRGNAM-$VERSION/test_suite.log 2>&1
-
-# Don't use 'make docs', we don't need to waste time converting the
-# same documentation into multiple formats (html, ps, pdf, plain text)
-# unless the user really wants to. Also, "make docs" followed by "make
-# install" results in a mess, the /usr/doc dir ends up containing all
-# the converted formats, plus the TeX source, plus all the temporary
-# files created during the doc build. The stuff below is more work than
-# I really wanted to do, but...
-
-DOCTYPES="${DOCTYPES:-html}"
-
-for doctype in $DOCTYPES; do
- for lang in EN DE; do
- case "$doctype" in
- html)
- make tex2html
- make -C doc_$lang as.html TEX2HTML=../tex2html
- cat doc_$lang/as.html > $PKG/usr/doc/$PRGNAM-$VERSION/as-$lang.html
- ;;
- pdf)
- make -C doc_$lang as.pdf TEX2HTML=../tex2html
- cat doc_$lang/as.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/as-$lang.pdf
- ;;
- ps)
- make -C doc_$lang as.ps TEX2HTML=../tex2html
- cat doc_$lang/as.ps > $PKG/usr/doc/$PRGNAM-$VERSION/as-$lang.ps
- ;;
- txt)
- make tex2doc
- make -C doc_$lang as.doc TEX2DOC=../tex2doc
- cat doc_$lang/as.doc > $PKG/usr/doc/$PRGNAM-$VERSION/as-$lang.txt
- ;;
- *)
- echo "Unknown value for DOCTYPES, valid types are: html pdf ps txt" 1>&2
- exit 1
- ;;
- esac
- done
-done
-
-# 20191202 bkw: even after all that, I have to do this:
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/*.tex
-
-cp -a BENCHES README README.LANGS TODO changelog \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ make -j1 test > $PKGDOC/test_suite.log 2>&1
+
+# no, they're not MS Word docs:
+rename .doc .txt $PKGDOC/*.doc
+
+# and we don't need these:
+rm -f $PKGDOC/*.tex
+
+cp -a BENCHES README README.LANGS TODO changelog $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-sed -e "s,@UTF8@,$UTF8," \
- -e "s,@DOCTYPES@,$DOCTYPES," \
- $CWD/slack-desc \
- > $PKG/install/slack-desc
+cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/asl/asl.info b/development/asl/asl.info
index eac582d044..d17a1553da 100644
--- a/development/asl/asl.info
+++ b/development/asl/asl.info
@@ -1,10 +1,10 @@
PRGNAM="asl"
-VERSION="142_bld178"
+VERSION="142_bld235"
HOMEPAGE="http://john.ccac.rwth-aachen.de:8000/as/"
-DOWNLOAD="http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-current-142-bld178.tar.bz2"
-MD5SUM="742f3ed7090c71c15dd6d75a08e9f7b1"
+DOWNLOAD="http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-current-142-bld235.tar.gz"
+MD5SUM="6019745dc328a41bc034cc21b8bff15a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/asl/fixup_manpage_install.diff b/development/asl/fixup_manpage_install.diff
deleted file mode 100644
index 3da6b3938a..0000000000
--- a/development/asl/fixup_manpage_install.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur asl-current.orig/install.sh asl-current/install.sh
---- asl-current.orig/install.sh 2006-05-01 05:31:10.000000000 -0500
-+++ asl-current/install.sh 2009-08-10 11:56:52.645489939 -0500
-@@ -54,7 +54,7 @@
- for i in man/*.1; do
- echo ${MANPATH}/man1/`basename $i`
- cp $i ${MANPATH}/man1
-- chmod 644 ${MANPATH}/man1/$i
-+ chmod 644 ${MANPATH}/man1/`basename $i`
- done
- fi
-
diff --git a/development/asl/slack-desc b/development/asl/slack-desc
index b56840ea17..c81dbb1fa8 100644
--- a/development/asl/slack-desc
+++ b/development/asl/slack-desc
@@ -15,5 +15,5 @@ asl: CPU families in the target list that are used in workstations and PCs.
asl:
asl: Homepage: http://john.ccac.rwth-aachen.de:8000/as/
asl:
-asl: Build options: UTF8="@UTF8@" DOCTYPES="@DOCTYPES@"
+asl:
asl:
diff --git a/development/asm6809/asm6809.SlackBuild b/development/asm6809/asm6809.SlackBuild
index 1d3cb6a6e8..4511b95fc7 100644
--- a/development/asm6809/asm6809.SlackBuild
+++ b/development/asm6809/asm6809.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for asm6809
-# Copyright 2016-2018 David Golus <bassplayer69@gmail.com>
+# Copyright 2016-2022 David Golus <bassplayer69@gmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -21,10 +21,13 @@
# 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=asm6809
-VERSION=${VERSION:-2.11}
+VERSION=${VERSION:-2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -97,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/asm6809/asm6809.info b/development/asm6809/asm6809.info
index 024c1df966..741c7a06fc 100644
--- a/development/asm6809/asm6809.info
+++ b/development/asm6809/asm6809.info
@@ -1,8 +1,8 @@
PRGNAM="asm6809"
-VERSION="2.11"
+VERSION="2.12"
HOMEPAGE="http://www.6809.org.uk/asm6809/"
-DOWNLOAD="http://www.6809.org.uk/asm6809/dl/asm6809-2.11.tar.gz"
-MD5SUM="67eca54a83b0acdb6dcb2be802beb99f"
+DOWNLOAD="http://www.6809.org.uk/asm6809/dl/asm6809-2.12.tar.gz"
+MD5SUM="cb43da8cd7551b6f04b3fabc1d083812"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/aspnetcore-runtime-7.0/README b/development/aspnetcore-runtime-7.0/README
new file mode 100644
index 0000000000..8b653339f3
--- /dev/null
+++ b/development/aspnetcore-runtime-7.0/README
@@ -0,0 +1,10 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub.
+It's cross-platform (supporting Windows, macOS, and Linux)
+and can be used to build device, cloud, and IoT applications.
+
+This package contains everything you need to run a ASP.NET 7.0
+application.
+It includes ASP.NET Core 7.0 runtime and .NET 7.0 runtime.
+If you want to build apps, install .NET 7.0 SDK (dotnet-sdk-7.0),
+which contains these runtimes too.
diff --git a/development/aspnetcore-runtime-7.0/aspnetcore-runtime-7.0.SlackBuild b/development/aspnetcore-runtime-7.0/aspnetcore-runtime-7.0.SlackBuild
new file mode 100644
index 0000000000..97f332ae11
--- /dev/null
+++ b/development/aspnetcore-runtime-7.0/aspnetcore-runtime-7.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for aspnetcore-runtime-7.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=aspnetcore-runtime-7.0
+SRCNAM=aspnetcore-runtime
+VERSION=${VERSION:-7.0.16}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/aspnetcore-runtime-7.0/aspnetcore-runtime-7.0.info b/development/aspnetcore-runtime-7.0/aspnetcore-runtime-7.0.info
new file mode 100644
index 0000000000..af3f4ff4bd
--- /dev/null
+++ b/development/aspnetcore-runtime-7.0/aspnetcore-runtime-7.0.info
@@ -0,0 +1,10 @@
+PRGNAM="aspnetcore-runtime-7.0"
+VERSION="7.0.16"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/cd076f88-c72a-411d-8d7c-a5ed352dce9c/fd020c0de8e056bb5c4a7ef6d1d983d4/aspnetcore-runtime-7.0.16-linux-x64.tar.gz"
+MD5SUM_x86_64="bbf68c47c6a29ba822a0fe84c633497e"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/aspnetcore-runtime-7.0/slack-desc b/development/aspnetcore-runtime-7.0/slack-desc
new file mode 100644
index 0000000000..0f2d3f3b70
--- /dev/null
+++ b/development/aspnetcore-runtime-7.0/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------------------------------------------------------|
+aspnetcore-runtime-7.0: aspnetcore-runtime-7.0 (Runtime for ASP.NET 7.0 applications)
+aspnetcore-runtime-7.0:
+aspnetcore-runtime-7.0: .NET is an open-source, general-purpose development platform
+aspnetcore-runtime-7.0: maintained by Microsoft and the .NET community on GitHub. It's
+aspnetcore-runtime-7.0: cross-platform (supporting Windows, macOS, and Linux) and can be
+aspnetcore-runtime-7.0: used to build device, cloud, and IoT applications. This package
+aspnetcore-runtime-7.0: contains everything you need to run a ASP.NET 7.0 application.
+aspnetcore-runtime-7.0: It includes ASP.NET Core 7.0 runtime and .NET 7.0 runtime.
+aspnetcore-runtime-7.0:
+aspnetcore-runtime-7.0: https://dotnet.microsoft.com/
+aspnetcore-runtime-7.0:
diff --git a/development/aspnetcore-runtime-8.0/README b/development/aspnetcore-runtime-8.0/README
new file mode 100644
index 0000000000..61c7fce00a
--- /dev/null
+++ b/development/aspnetcore-runtime-8.0/README
@@ -0,0 +1,10 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub.
+It's cross-platform (supporting Windows, macOS, and Linux)
+and can be used to build device, cloud, and IoT applications.
+
+This package contains everything you need to run a ASP.NET 8.0
+application.
+It includes ASP.NET Core 8.0 runtime and .NET 8.0 runtime.
+If you want to build apps, install .NET 8.0 SDK (dotnet-sdk-8.0),
+which contains these runtimes too.
diff --git a/development/aspnetcore-runtime-8.0/aspnetcore-runtime-8.0.SlackBuild b/development/aspnetcore-runtime-8.0/aspnetcore-runtime-8.0.SlackBuild
new file mode 100644
index 0000000000..412eaca545
--- /dev/null
+++ b/development/aspnetcore-runtime-8.0/aspnetcore-runtime-8.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for aspnetcore-runtime-8.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=aspnetcore-runtime-8.0
+SRCNAM=aspnetcore-runtime
+VERSION=${VERSION:-8.0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/aspnetcore-runtime-8.0/aspnetcore-runtime-8.0.info b/development/aspnetcore-runtime-8.0/aspnetcore-runtime-8.0.info
new file mode 100644
index 0000000000..048b6285ea
--- /dev/null
+++ b/development/aspnetcore-runtime-8.0/aspnetcore-runtime-8.0.info
@@ -0,0 +1,10 @@
+PRGNAM="aspnetcore-runtime-8.0"
+VERSION="8.0.2"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/d6d79cc3-df2f-4680-96ff-a7198f461139/df025000eaf5beb85d9137274a8c53ea/aspnetcore-runtime-8.0.2-linux-x64.tar.gz"
+MD5SUM_x86_64="c57fae347e9f39f6a3d6e32b09edaca3"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/aspnetcore-runtime-8.0/slack-desc b/development/aspnetcore-runtime-8.0/slack-desc
new file mode 100644
index 0000000000..57dd067efa
--- /dev/null
+++ b/development/aspnetcore-runtime-8.0/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------------------------------------------------------|
+aspnetcore-runtime-8.0: aspnetcore-runtime-8.0 (Runtime for ASP.NET 8.0 applications)
+aspnetcore-runtime-8.0:
+aspnetcore-runtime-8.0: .NET is an open-source, general-purpose development platform
+aspnetcore-runtime-8.0: maintained by Microsoft and the .NET community on GitHub. It's
+aspnetcore-runtime-8.0: cross-platform (supporting Windows, macOS, and Linux) and can be
+aspnetcore-runtime-8.0: used to build device, cloud, and IoT applications. This package
+aspnetcore-runtime-8.0: contains everything you need to run a ASP.NET 8.0 application.
+aspnetcore-runtime-8.0: It includes ASP.NET Core 8.0 runtime and .NET 8.0 runtime.
+aspnetcore-runtime-8.0:
+aspnetcore-runtime-8.0: https://dotnet.microsoft.com/
+aspnetcore-runtime-8.0:
diff --git a/development/astyle/README b/development/astyle/README
index ca67a8daca..d806b14db0 100644
--- a/development/astyle/README
+++ b/development/astyle/README
@@ -1,8 +1,8 @@
astyle (Artistic Style code beautifier)
-Artistic Style is a code indenter, beautifier and formatter for C, C++,
-C#, and Java. It can be used from the command-line or linked into other
-programs. Complete documentation is included.
+Artistic Style is a code indenter, beautifier and formatter for C,
+C++, C#, and Java. It can be used from the command-line or linked into
+other programs. Complete documentation is included.
-The optional shared library is not installed by the package. If it is
+The optional shared library is not installed by the package. If it is
needed for another project, please contact the maintainer.
diff --git a/development/astyle/astyle.1 b/development/astyle/astyle.1
deleted file mode 100644
index a97b49835b..0000000000
--- a/development/astyle/astyle.1
+++ /dev/null
@@ -1,127 +0,0 @@
-.TH ASTYLE 1 @DATE@ @VERSION@ "SlackBuilds.org"
-.SH NAME
-astyle \- multi-language indentation and reformatting filters
-
-.SH SYNOPSIS
-.B astyle
-
-\fBastyle\fR [\fIoptions\fR] \fIFile1\fR [\fIFile2\fR] [\fI...\fR]
-
-.SH DESCRIPTION
-\fBArtistic Style\fR (or \fBastyle\fR) is a source code indenter, formatter
-and beautifier, written in C++. It handles the following programming languages:
-
-.RS
-.IP \(bu 3
-C
-.IP \(bu 3
-C++
-.IP \(bu 3
-C++/CLI
-.IP \(bu 3
-Objective-C
-.IP \(bu 3
-C#
-.IP \(bu 3
-Java
-.RE
-
-.SH USAGE
-For the full usage, please refer to the HTML documentation provided with this
-distribution in \fI/usr/doc/astyle\-@VERSION@/html/astyle.html\fR.
-
-.P
-.B astyle
-has \fImany\fR command\-line options.
-For a summary, run "\fBastyle \-\-help | less\fR".
-
-.P
-Please note that when indenting a specific file the newly indented file retains
-the original filename, while a copy of the original file is created, with a
-suffix of ".orig" added to the original filename.
-
-.SH OPTIONS
-
-Here is a brief list of options, copied from the HTML documentation. Most
-of these can appear either as command line options (with \-\- prefixed)
-or option file directives.
-
-.nf
-.eo
-
-Brace Style Options
-
- default brace style style=allman style=java style=kr
- style=stroustrup style=whitesmith style=vtk style=ratliff style=gnu
- style=linux style=horstmann style=1tbs style=google style=mozilla
- style=pico style=lisp
-
-Tab Options
-
- default indent indent=spaces indent=tab indent=force-tab
- --indent=force-tab-x
-
- Brace Modify Options
-
- attach-namespaces attach-classes attach-inlines attach-extern-c
- attach-closing-while
-
-Indentation Options
-
- indent-classes indent-modifiers indent-switches indent-cases
- indent-namespaces indent-after-parens indent-continuation
- indent-labels indent-preproc-block indent-preproc-define
- indent-preproc-cond indent-col1-comments min-conditional-indent
- max-continuation-indent
-
-Padding Options
-
- break-blocks break-blocks=all pad-oper pad-comma pad-paren
- pad-paren-out pad-first-paren-out pad-paren-in pad-header
- unpad-paren delete-empty-lines fill-empty-lines align-pointer
- align-reference
-
-Formatting Options
-
- break-closing-braces break-elseifs break-one-line-headers add-braces
- add-one-line-braces remove-braces break-return-type attach-return-type
- keep-one-line-blocks keep-one-line-statements convert-tabs
- close-templates remove-comment-prefix max-code-length
- break-after-logical mode
-
-Objective-C Options
-
- pad-method-prefix unpad-method-prefix pad-return-type
- unpad-return-type pad-param-type unpad-param-type align-method-colon
- pad-method-colon
-
-Other Options
-
- suffix suffix=none recursive dry-run exclude
- ignore-exclude-errors ignore-exclude-errors-x errors-to-stdout
- preserve-date verbose formatted quiet lineend
-
-Command Line Only
-
- options project ascii version help html html= stdin=
- stdout=
-
-.ec
-.fi
-
-.SH "SEE ALSO"
-.BR indent(1)
-
-.I http://astyle.sourceforge.net/
-.br
-.I http://www.sourceforge.net/projects/astyle/
-.br
-.I /usr/doc/astyle\-3.1/html/astyle.html
-
-.SH AUTHOR
-Artistic Style was originally written by Tal Davidson <davidsont@bigfoot.com>
-and is currently maintained by Jim Pattee <jimp03@email.com>.
-
-This stub manual page was written by Matteo Cypriani <mcy@lm7.fr>
-for the Debian project, and modified by B. Watson <yalhcru@gmail.com>
-for the SlackBuilds.org project.
diff --git a/development/astyle/astyle.SlackBuild b/development/astyle/astyle.SlackBuild
index 07cf9d9c57..b903f559e0 100644
--- a/development/astyle/astyle.SlackBuild
+++ b/development/astyle/astyle.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Artistic Style
-# Copyright 2020 B. Watson <yalhcru@gmail.com>
+# Copyright 2020-2023 B. Watson <urchlay@slackware.uk>
# Copyright 2017,2018 Nate Bargmann <email removed>
@@ -34,6 +34,17 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+# 20240313 bkw: update for v3.4.13.
+# 20231101 bkw: update for v3.4.10.
+# 20230918 bkw: update for v3.4.6, fix zsh completion.
+
+# 20230818 bkw:
+# - Update for v3.4.
+# - Upstream includes a man page now, use it instead of Debian's.
+# - Use sed instead of a patch, for privacy in the HTML files.
+# - Move the .ini files to /usr/share/astyle.
+# - Install the shell completions (new in 3.4).
+
# 20200113 bkw:
# - Take over maintenance.
# - Add man page and privacy patch, BUILD=2.
@@ -46,12 +57,13 @@
# .so isn't versioned (upgrades may cause breakage).
# - Simplify and tweak the script.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=astyle
-VERSION=${VERSION:-3.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.4.13}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-TARBALL="astyle_${VERSION}_linux.tar.gz"
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -61,23 +73,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -85,37 +97,49 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/$TARBALL
-cd $PRGNAM
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
# Don't change this back to template please. Every file in the tarball
# is +x, and *none* of them need to be.
-find -L . -type d -a -exec chmod 755 {} \+ -o \
- -type f -a -exec chmod 644 {} \+
+find -L . -type d -a -exec chmod 755 {} + -o \
+ -type f -a -exec chmod 644 {} +
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
-# This patch (from Debian) prevents the user's browser from trying to
-# load images from sourceforge, when viewing the *local* HTML docs in
-# a browser.
-patch -p1 < $CWD/privacy.patch
+# This prevents the user's browser from trying to load images from
+# sourceforge, when viewing the *local* HTML docs in a browser. It's
+# based on a patch from Debian.
+sed -i 's,<img[^>]*sflogo\.[^>]*>,Artistic Style on SourceForge.net,' doc/*.html
CFLAGS="$SLKCFLAGS -Wl,-s" \
CXXFLAGS="$SLKCFLAGS -Wl,-s" \
make -C build/gcc release
make -C build/gcc install prefix=$PKG/usr SYSCONF_PATH=$DOCDIR
-# Man page borrowed from Debian. It's kind of a placeholder, will
-# expand it someday.
mkdir -p $PKG/usr/man/man1
-sed -e "s|@VERSION@|$VERSION|" \
- -e "s|@DATE@|$( date +"%B %e, %Y" )|" \
- $CWD/$PRGNAM.1 | \
- gzip -9c > $PKG/usr/man/man1/$PRGNAM.1.gz
-
-cp -a *.md file $DOCDIR
+gzip -9c < man/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+# 20230818 bkw: this stuff used to be in the doc dir. Makes more sense
+# to keep it in /usr/share... though I'll keep a symlink in the doc dir
+# for users of the old package.
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -a file/* $PKG/usr/share/$PRGNAM
+ln -s ../../share/$PRGNAM $DOCDIR/file
+
+# 20230820 bkw: upstream added shell completion support.
+# 20230918 bkw: the zsh completion is broken, fix it.
+sed -i 's,"\(mode\[\),"--\1,' sh-completion/astyle.zsh
+mkdir -p $PKG/usr/share/bash-completion/completions \
+ $PKG/usr/share/zsh/site-functions \
+ $PKG/etc/fish/completions
+install -m0644 sh-completion/astyle.bash $PKG/usr/share/bash-completion/completions/astyle
+install -m0644 sh-completion/astyle.zsh $PKG/usr/share/zsh/site-functions/_astyle
+install -m0644 sh-completion/astyle.fish $PKG/etc/fish/completions
+
+cp -a *.md $DOCDIR
sed -i 's,\r,,' $DOCDIR/file/*
cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$PRGNAM.SlackBuild
@@ -124,4 +148,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/astyle/astyle.info b/development/astyle/astyle.info
index fe6de06b60..ba47f7c3db 100644
--- a/development/astyle/astyle.info
+++ b/development/astyle/astyle.info
@@ -1,10 +1,10 @@
PRGNAM="astyle"
-VERSION="3.1"
-HOMEPAGE="http://astyle.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/astyle/astyle_3.1_linux.tar.gz"
-MD5SUM="7712622f62661b1d8cb1062d7fedc390"
+VERSION="3.4.13"
+HOMEPAGE="https://astyle.sourceforge.net/"
+DOWNLOAD="https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.4/astyle-3.4.13.tar.bz2"
+MD5SUM="963a5ec41031e78237dec4d0aa843b31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/astyle/privacy.patch b/development/astyle/privacy.patch
deleted file mode 100644
index 6a7a930a03..0000000000
--- a/development/astyle/privacy.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Description: Remove SourceForge logo privacy breach
-Author: Matteo Cypriani <mcy@lm7.fr>
-Forwarded: not-needed
-Last-Update: 2018-03-18
---- a/doc/astyle.html
-+++ b/doc/astyle.html
-@@ -2465,7 +2465,7 @@
-
- <p style="margin-left: -0.4in; text-align: center;">
- <a href="http://sourceforge.net/projects/astyle">
-- <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" />
-+ Artistic Style on SourceForge.net
- </a></p>
-
- <p>
---- a/doc/install.html
-+++ b/doc/install.html
-@@ -567,7 +567,7 @@
-
- <p style="margin-left: -0.4in; text-align: center;">
- <a href="http://sourceforge.net/projects/astyle">
-- <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" />
-+ Artistic Style on SourceForge.net
- </a></p>
-
- <p>
---- a/doc/news.html
-+++ b/doc/news.html
-@@ -731,7 +731,7 @@
-
- <p style="margin-left: -0.4in; text-align: center;">
- <a href="http://sourceforge.net/projects/astyle">
-- <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" /></a></p>
-+ Artistic Style on SourceForge.net</a></p>
-
- <p>
- &nbsp;</p>
---- a/doc/notes.html
-+++ b/doc/notes.html
-@@ -391,7 +391,7 @@
-
- <p style="margin-left: -0.4in; text-align: center;">
- <a href="http://sourceforge.net/projects/astyle">
-- <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" /></a></p>
-+ Artistic Style on SourceForge.net</a></p>
-
- <p>
- &nbsp;</p>
diff --git a/development/atasm/atasm.SlackBuild b/development/atasm/atasm.SlackBuild
index c454694204..7923307007 100644
--- a/development/atasm/atasm.SlackBuild
+++ b/development/atasm/atasm.SlackBuild
@@ -1,15 +1,27 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for atasm
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240207 bkw:
+# - update for v1.23, which is a maintained fork from a new dev.
+
+# 20221230 bkw:
+# - update for v1.09.
+# - install binary with standard permissions (0755).
+# - mention atari.txt in man page.
+# - run test suite (add "test" to make targets).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=atasm
-VERSION=${VERSION:-1.07d}
+VERSION=${VERSION:-1.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,60 +31,57 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
-SRCNAM="${PRGNAM}${VERSION/./}"
-ZIPFILE="$SRCNAM.zip"
-SRCDIR="$( echo "$SRCNAM" | sed 's,[a-z]$,,' )"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCDIR
-unzip $CWD/$ZIPFILE
-cd $SRCDIR
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz \
+ --exclude='*.exe' --exclude='*.sln' --exclude="*.vcx*"
+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 {} \+
DOCDIR=/usr/doc/$PRGNAM-$VERSION
# fix reference to full documentation.
sed -i \
- -e "s,$PRGNAM\.txt,$PRGNAM.pdf," \
+ -e "s,$PRGNAM\.txt,& (or $PRGNAM.pdf in the same directory)," \
-e "s,%%DOCDIR%%,$DOCDIR," \
src/$PRGNAM.1.in
-sed -i "s,-O3.*,$SLKCFLAGS," src/Makefile
+sed -i \
+ -e "s,-O3.*,$SLKCFLAGS," \
+ -e 's,\(chmod \)711,\1755,' \
+ src/Makefile
mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION
# 'make install' chokes because this file's missing:
touch $PRGNAM.txt
# N.B. nonstandard use of DESTDIR and MANDIR here.
-make -C src all install \
+make -C src all test install \
DESTDIR=$PKG/usr/bin \
MANDIR=$PKG/usr/man/man1 \
DOCDIR=$PKG/$DOCDIR
@@ -81,11 +90,11 @@ strip $PKG/usr/bin/$PRGNAM
gzip $PKG/usr/man/man1/$PRGNAM.1
rm -f $PKG/$DOCDIR/$PRGNAM.txt
-cp -a LICENSE *.TXT docs/* examples $PKG/$DOCDIR
+cp -a README* LICENSE* *.TXT docs/* examples $PKG/$DOCDIR
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/atasm/atasm.info b/development/atasm/atasm.info
index 6ed3a76672..73aee354f6 100644
--- a/development/atasm/atasm.info
+++ b/development/atasm/atasm.info
@@ -1,10 +1,10 @@
PRGNAM="atasm"
-VERSION="1.07d"
-HOMEPAGE="http://atari.miribilist.com/atasm/"
-DOWNLOAD="http://atari.miribilist.com/atasm/atasm107d.zip"
-MD5SUM="02c2ad750cdff8b38038ca13894b1f3c"
+VERSION="1.23"
+HOMEPAGE="https://github.com/CycoPH/atasm/"
+DOWNLOAD="https://github.com/CycoPH/atasm/archive/V1.23/atasm-1.23.tar.gz"
+MD5SUM="8530e6c68b9c0d68dee592ac24f0b247"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/atom-amd64/atom-amd64.SlackBuild b/development/atom-amd64/atom-amd64.SlackBuild
index 5dc5cf1a73..2ac956f5d0 100644
--- a/development/atom-amd64/atom-amd64.SlackBuild
+++ b/development/atom-amd64/atom-amd64.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Atom
@@ -27,16 +27,26 @@
# Thanks Azar Shafiei for her helps and great encouragement.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=atom-amd64
SRCNAM=atom-amd64
-VERSION=${VERSION:-1.28.0}
+VERSION=${VERSION:-1.60.0}
SRCDIR=atom-$VERSION-amd64
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=x86_64
-CWD=$(pwd)
+# 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}
@@ -79,4 +89,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/atom-amd64/atom-amd64.info b/development/atom-amd64/atom-amd64.info
index 6bda60c596..70608d16d2 100644
--- a/development/atom-amd64/atom-amd64.info
+++ b/development/atom-amd64/atom-amd64.info
@@ -1,10 +1,10 @@
PRGNAM="atom-amd64"
-VERSION="1.28.0"
+VERSION="1.60.0"
HOMEPAGE="https://atom.io/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/atom/atom/releases/download/v1.28.0/atom-amd64.tar.gz"
-MD5SUM_x86_64="d0cb34707319eacfe60a73133dec20da"
+DOWNLOAD_x86_64="https://github.com/atom/atom/releases/download/v1.60.0/atom-amd64.tar.gz"
+MD5SUM_x86_64="ee9822d8221339bd0d98a20c72e013e7"
REQUIRES=""
MAINTAINER="Mohammad Etemaddar"
EMAIL="mohammad.etemaddar@gmail.com"
diff --git a/development/atom/README b/development/atom/README
deleted file mode 100644
index 801daa2b59..0000000000
--- a/development/atom/README
+++ /dev/null
@@ -1,34 +0,0 @@
-Atom is a Chrome-based text editor, hackable and full-featured.
-
-Atom comes loaded with the features you've come to expect from
-a modern text editor, like a file system browser, fuzzy finder for
-quickly opening files, fast project-wide search and replace,
-snippets, code folding and more.
-
-To build Atom is necessary to download about 500MB of data,
-which are temporarily stored in ~/.atom, which can be
-deleted after building.
-
-If you use apmd package you need rename apm tool.
-
-Optional building features:
-* Disable compiling metrics module for Google Analytics
- for people who love your privacy
- https://github.com/atom/metrics
- DISABLE_METRICS=yes|no (default: no)
-* Delete temporary data cached after building package
- DELETE_CACHE=yes|no (default: no)
-* Use atom with some version of electron previously
- installed in the system. This feature don't make
- a distributable binary, and you can use like as node
- script application. This requires electron
- available in SBo
- ELECTRON=yes|no (default=no)
-
-If you need to use any option do something like:
-
-ELECTRON=yes ./atom.SlackBuild
-
-NOTE:
-Atom may failed to build at first attempt.
-Simply retry the process and it should be working.
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild
deleted file mode 100644
index 84e747cdb6..0000000000
--- a/development/atom/atom.SlackBuild
+++ /dev/null
@@ -1,167 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for atom
-
-# Copyright 2013-2016 Dhaby Xiloj <slack.dhabyx@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=atom
-VERSION=${VERSION:-1.50.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-#Disable send metrics to Google Analytics module
-DISABLE_METRICS=${DISABLE_METRICS:-no}
-#Clean cache data after building
-DELETE_CACHE=${DELETE_CACHE:-no}
-#Use pre-installed electron from SBo
-ELECTRON=${ELECTRON:-no}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [[ "$ARCH" = "i"?"86" ]]; then
- LIBDIRSUFFIX=""
- NPMARCH="ia32"
- ARCH_OUTPUT="i386" # for detect output directory
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
- NPMARCH="x64"
- ARCH_OUTPUT="amd64" # for detect output directory
-else
- echo "Your platform $ARCH is not supported."
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION
-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 {} \;
-
-if [ "$ELECTRON" != "no" ]; then
- # test if electron is installed
- ELECTRON_VERSION=$(electron --version | tr -d 'v')
-fi
-
-if [ "${ELECTRON_VERSION}" != "" ]; then
- # change electron version in package.json
- sed -i -E -e 's/"electronVersion": "[0-9.]+"/"electronVersion": "'${ELECTRON_VERSION}'"/g' package.json
- # patch for use electron pre-installed
- patch -p1 < $CWD/use-system-electron.patch
- patch -p1 < $CWD/fix-atom.sh.patch
- # patch for IME events from ARCH AUR PKGBuild
- patch -p1 < $CWD/fix-ime-events-handler-electron-1.4.patch
-fi
-
-if [ "$DISABLE_METRICS" = "yes" ]; then
- sed -i '/"metrics":/d' package.json
-fi
-
-echo '*********************************************************************'
-echo '* The installation process will download a lot of modules for atom. *'
-echo '*********************************************************************'
-
-npm_config_arch=$NPMARCH \
-npm_config_target_arch=$NPMARCH \
-PYTHON=python2 \
- ./script/build
-
-# Manual installation since --install-dir option is deleted
-# Installation based on spec file from official RPM package from atom
-install -d $PKG/usr/{bin,doc,share}
-
-if [ "${ELECTRON_VERSION}" != "" ]; then
- cp -r out/app $PKG/usr/share/atom
- # apm - manually installation to upstream recommended place
- ATOM_RESOURCES=/usr/share/atom/resources/app
- install -d $PKG/$ATOM_RESOURCES
- cp -r apm $PKG/$ATOM_RESOURCES
- # fix paths for apm
- sed -i -e 's#'$TMP/$PRGNAM-$VERSION'#'$ATOM_RESOURCES'#g' \
- $PKG/$ATOM_RESOURCES/apm/node_modules/atom-package-manager/package.json
- sed -i -e 's#resources/app.asar##g' \
- $PKG/$ATOM_RESOURCES/apm/node_modules/atom-package-manager/lib/apm.js
-else
- # packaged installation
- cp -r out/$PRGNAM-$VERSION-$ARCH_OUTPUT $PKG/usr/share/atom
-fi
-
-install -Dm755 atom.sh $PKG/usr/bin/atom
-(
- cd $PKG/usr/bin
- ln -sf ../share/atom/resources/app/apm/node_modules/.bin/apm apm
-)
-
-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
-
-# use only if you use apmd package from Slackware pastures
-# mv $PKG/usr/bin/apm $PKG/usr/bin/atom-apm
-
-# move and configure icons and .desktop file
-(
- cd resources/app-icons/stable/png
- for IMG in *.png
- do
- DIR_NAME=${IMG%.*}x${IMG%.*}
- install -D $IMG $PKG/usr/share/icons/hicolor/$DIR_NAME/apps/$PRGNAM.png
- done
-)
-mkdir -p $PKG/usr/share/applications
-cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-
-
-if [ "$DELETE_CACHE" = "yes" ]; then
- # delete temporal data
- rm -rf ~/.atom/
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar LICENSE.md README.md CONTRIBUTING.md CHANGELOG.md docs \
- $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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/atom/atom.desktop b/development/atom/atom.desktop
deleted file mode 100644
index 9c7fc4b640..0000000000
--- a/development/atom/atom.desktop
+++ /dev/null
@@ -1,14 +0,0 @@
-[Desktop Entry]
-Name=Atom
-Comment=A hackable text editor for the 21st Century.
-GenericName=Text Editor
-GenericName[es]=Editor de texto
-GenericName[it]=Editor di testo
-GenericName[pt]=Editor de texto
-Exec=/usr/bin/atom %U
-Icon=atom
-Type=Application
-StartupNotify=true
-Terminal=false
-Categories=GNOME;GTK;Utility;TextEditor;Development;
-MimeType=text/plain;
diff --git a/development/atom/atom.info b/development/atom/atom.info
deleted file mode 100644
index bdfaa22a63..0000000000
--- a/development/atom/atom.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="atom"
-VERSION="1.50.0"
-HOMEPAGE="https://atom.io/"
-DOWNLOAD="https://github.com/atom/atom/archive/v1.50.0/atom-1.50.0.tar.gz"
-MD5SUM="d02081ca1c02726f0ae4e72bd27e5139"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="nodejs"
-MAINTAINER="DhabyX"
-EMAIL="slack.dhabyx@gmail.com"
diff --git a/development/atom/fix-atom.sh.patch b/development/atom/fix-atom.sh.patch
deleted file mode 100644
index c65ae86d90..0000000000
--- a/development/atom/fix-atom.sh.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-diff -Naur a/atom.sh c/atom.sh
---- a/atom.sh 2017-02-17 10:53:06.000000000 -0600
-+++ c/atom.sh 2017-02-24 23:45:17.745685040 -0600
-@@ -1,14 +1,5 @@
- #!/bin/bash
-
--if [ "$(uname)" == 'Darwin' ]; then
-- OS='Mac'
--elif [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then
-- OS='Linux'
--else
-- echo "Your platform ($(uname -a)) is not supported."
-- exit 1
--fi
--
- if [ "$(basename $0)" == 'atom-beta' ]; then
- BETA_VERSION=true
- else
-@@ -54,79 +45,29 @@
- export ELECTRON_ENABLE_LOGGING=1
- fi
-
--if [ $OS == 'Mac' ]; then
-- if [ -L "$0" ]; then
-- SCRIPT="$(readlink "$0")"
-- else
-- SCRIPT="$0"
-- fi
-- ATOM_APP="$(dirname "$(dirname "$(dirname "$(dirname "$SCRIPT")")")")"
-- if [ "$ATOM_APP" == . ]; then
-- unset ATOM_APP
-- else
-- ATOM_PATH="$(dirname "$ATOM_APP")"
-- ATOM_APP_NAME="$(basename "$ATOM_APP")"
-- fi
--
-- if [ -n "$BETA_VERSION" ]; then
-- ATOM_EXECUTABLE_NAME="Atom Beta"
-- else
-- ATOM_EXECUTABLE_NAME="Atom"
-- fi
--
-- if [ -z "${ATOM_PATH}" ]; then
-- # If ATOM_PATH isn't set, check /Applications and then ~/Applications for Atom.app
-- if [ -x "/Applications/$ATOM_APP_NAME" ]; then
-- ATOM_PATH="/Applications"
-- elif [ -x "$HOME/Applications/$ATOM_APP_NAME" ]; then
-- ATOM_PATH="$HOME/Applications"
-- else
-- # We haven't found an Atom.app, use spotlight to search for Atom
-- ATOM_PATH="$(mdfind "kMDItemCFBundleIdentifier == 'com.github.atom'" | grep -v ShipIt | head -1 | xargs -0 dirname)"
--
-- # Exit if Atom can't be found
-- if [ ! -x "$ATOM_PATH/$ATOM_APP_NAME" ]; then
-- echo "Cannot locate ${ATOM_APP_NAME}, it is usually located in /Applications. Set the ATOM_PATH environment variable to the directory containing ${ATOM_APP_NAME}."
-- exit 1
-- fi
-- fi
-- fi
-
-- if [ $EXPECT_OUTPUT ]; then
-- "$ATOM_PATH/$ATOM_APP_NAME/Contents/MacOS/$ATOM_EXECUTABLE_NAME" --executed-from="$(pwd)" --pid=$$ "$@"
-- exit $?
-- else
-- open -a "$ATOM_PATH/$ATOM_APP_NAME" -n --args --executed-from="$(pwd)" --pid=$$ --path-environment="$PATH" "$@"
-- fi
--elif [ $OS == 'Linux' ]; then
-- SCRIPT=$(readlink -f "$0")
-- USR_DIRECTORY=$(readlink -f $(dirname $SCRIPT)/..)
--
-- if [ -n "$BETA_VERSION" ]; then
-- ATOM_PATH="$USR_DIRECTORY/share/atom-beta/atom"
-- else
-- ATOM_PATH="$USR_DIRECTORY/share/atom/atom"
-- fi
--
-- ATOM_HOME="${ATOM_HOME:-$HOME/.atom}"
-- mkdir -p "$ATOM_HOME"
-+if [ -n "$BETA_VERSION" ]; then
-+ ATOM_PATH="electron --app=/usr/share/atom-beta/atom"
-+else
-+ ATOM_PATH="electron --app=/usr/share/atom"
-+fi
-
-- : ${TMPDIR:=/tmp}
-+ATOM_HOME="${ATOM_HOME:-$HOME/.atom}"
-+mkdir -p "$ATOM_HOME"
-
-- [ -x "$ATOM_PATH" ] || ATOM_PATH="$TMPDIR/atom-build/Atom/atom"
-+: ${TMPDIR:=/tmp}
-
-- if [ $EXPECT_OUTPUT ]; then
-- "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@"
-+if [ $EXPECT_OUTPUT ]; then
-+ $ATOM_PATH --executed-from="$(pwd)" --pid=$$ "$@"
-+ exit $?
-+else
-+ (
-+ nohup $ATOM_PATH --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
-+ if [ $? -ne 0 ]; then
-+ cat "$ATOM_HOME/nohup.out"
- exit $?
-- else
-- (
-- nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
-- if [ $? -ne 0 ]; then
-- cat "$ATOM_HOME/nohup.out"
-- exit $?
-- fi
-- ) &
- fi
-+ ) &
- fi
-
- # Exits this process when Atom is used as $EDITOR
diff --git a/development/atom/fix-ime-events-handler-electron-1.4.patch b/development/atom/fix-ime-events-handler-electron-1.4.patch
deleted file mode 100644
index db5681d4fd..0000000000
--- a/development/atom/fix-ime-events-handler-electron-1.4.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/src/text-editor-component.coffee
-+++ b/src/text-editor-component.coffee
-@@ -110,6 +110,7 @@ class TextEditorComponent
- @updateSync()
- @checkForVisibilityChange()
- @initialized = true
-+ @checkpointForIME = null
-
- destroy: ->
- @mounted = false
-@@ -305,19 +306,20 @@ class TextEditorComponent
- # User escape to cancel
- # 4. compositionend fired
- # OR User chooses a completion
-- # 4. compositionend fired
-- # 5. textInput fired; event.data == the completion string
-+ # 4. textInput fired; event.data == the completion string
-+ # 5. compositionend fired
-
-- checkpoint = null
- @domNode.addEventListener 'compositionstart', =>
- if @openedAccentedCharacterMenu
- @editor.selectLeft()
- @openedAccentedCharacterMenu = false
-- checkpoint = @editor.createCheckpoint()
-+ @checkpointForIME = @editor.createCheckpoint()
- @domNode.addEventListener 'compositionupdate', (event) =>
- @editor.insertText(event.data, select: true)
- @domNode.addEventListener 'compositionend', (event) =>
-- @editor.revertToCheckpoint(checkpoint)
-+ if @checkpointForIME
-+ @editor.revertToCheckpoint(@checkpointForIME)
-+ @checkpointForIME = null
- event.target.value = ''
-
- # Listen for selection changes and store the currently selected text
-@@ -354,6 +356,10 @@ class TextEditorComponent
- onTextInput: (event) =>
- event.stopPropagation()
-
-+ if @checkpointForIME
-+ @editor.revertToCheckpoint(@checkpointForIME)
-+ @checkpointForIME = null
-+
- # WARNING: If we call preventDefault on the input of a space character,
- # then the browser interprets the spacebar keypress as a page-down command,
- # causing spaces to scroll elements containing editors. This is impossible
diff --git a/development/atom/slack-desc b/development/atom/slack-desc
deleted file mode 100644
index c90d0b3d60..0000000000
--- a/development/atom/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------------------------------------------------------|
-atom: atom (Chrome-based and Hackable text editor)
-atom:
-atom: A chrome-based text editor, with full-featured, right out of the
-atom: box: file system browser, multiple panes, snippets, and more.
-atom:
-atom:
-atom:
-atom:
-atom:
-atom:
-atom:
diff --git a/development/atom/use-system-electron.patch b/development/atom/use-system-electron.patch
deleted file mode 100644
index eba8b5ed74..0000000000
--- a/development/atom/use-system-electron.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-diff -Naur a/script/build b/script/build
---- a/script/build 2017-05-25 12:32:43.000000000 -0600
-+++ b/script/build 2017-06-03 14:39:33.504500031 -0600
-@@ -24,7 +24,6 @@
- .wrap(yargs.terminalWidth())
- .argv
-
--const checkChromedriverVersion = require('./lib/check-chromedriver-version')
- const cleanOutputDirectory = require('./lib/clean-output-directory')
- const codeSignOnMac = require('./lib/code-sign-on-mac')
- const compressArtifacts = require('./lib/compress-artifacts')
-@@ -36,7 +35,6 @@
- const generateAPIDocs = require('./lib/generate-api-docs')
- const generateMetadata = require('./lib/generate-metadata')
- const generateModuleCache = require('./lib/generate-module-cache')
--const generateStartupSnapshot = require('./lib/generate-startup-snapshot')
- const installApplication = require('./lib/install-application')
- const packageApplication = require('./lib/package-application')
- const prebuildLessCache = require('./lib/prebuild-less-cache')
-@@ -51,7 +49,6 @@
- process.exit(1)
- })
-
--checkChromedriverVersion()
- cleanOutputDirectory()
- copyAssets()
- transpilePackagesWithCustomTranspilerPaths()
-@@ -64,47 +61,4 @@
- generateMetadata()
- generateAPIDocs()
- dumpSymbols()
-- .then(packageApplication)
-- .then(packagedAppPath => generateStartupSnapshot(packagedAppPath).then(() => packagedAppPath))
-- .then(packagedAppPath => {
-- if (process.platform === 'darwin') {
-- if (argv.codeSign) {
-- codeSignOnMac(packagedAppPath)
-- } else {
-- console.log('Skipping code-signing. Specify the --code-sign option to perform code-signing'.gray)
-- }
-- } else if (process.platform === 'win32') {
-- if (argv.createWindowsInstaller) {
-- return createWindowsInstaller(packagedAppPath, argv.codeSign).then(() => packagedAppPath)
-- }
-- else {
-- console.log('Skipping creating installer. Specify the --create-windows-installer option to create a Squirrel-based Windows installer. Code-signing was skipped too.'.gray)
-- }
-- } else if (process.platform === 'linux') {
-- if (argv.createDebianPackage) {
-- createDebianPackage(packagedAppPath)
-- } else {
-- console.log('Skipping creating debian package. Specify the --create-debian-package option to create it.'.gray)
-- }
--
-- if (argv.createRpmPackage) {
-- createRpmPackage(packagedAppPath)
-- } else {
-- console.log('Skipping creating rpm package. Specify the --create-rpm-package option to create it.'.gray)
-- }
-- }
--
-- return Promise.resolve(packagedAppPath)
-- }).then(packagedAppPath => {
-- if (argv.compressArtifacts) {
-- compressArtifacts(packagedAppPath)
-- } else {
-- console.log('Skipping artifacts compression. Specify the --compress-artifacts option to compress Atom binaries (and symbols on macOS)'.gray)
-- }
--
-- if (argv.install != null) {
-- installApplication(packagedAppPath, argv.install)
-- } else {
-- console.log('Skipping installation. Specify the --install option to install Atom'.gray)
-- }
-- })
-+
-diff -Naur a/script/package.json b/script/package.json
---- a/script/package.json 2017-05-25 12:32:43.000000000 -0600
-+++ b/script/package.json 2017-06-03 14:39:33.505500053 -0600
-@@ -8,9 +8,6 @@
- "colors": "1.1.2",
- "csslint": "1.0.2",
- "donna": "1.0.13",
-- "electron-chromedriver": "~1.3",
-- "electron-link": "0.0.22",
-- "electron-mksnapshot": "~1.3",
- "electron-packager": "7.3.0",
- "electron-winstaller": "2.5.1",
- "fs-extra": "0.30.0",
-diff -Naur a/src/main-process/atom-application.coffee b/src/main-process/atom-application.coffee
---- a/src/main-process/atom-application.coffee 2017-05-25 12:32:43.000000000 -0600
-+++ b/src/main-process/atom-application.coffee 2017-06-03 14:39:55.687979978 -0600
-@@ -821,7 +821,7 @@
- @restart()
-
- restart: ->
-- args = []
-+ args = ["--app=/usr/share/atom"]
- args.push("--safe") if @safeMode
- args.push("--log-file=#{@logFile}") if @logFile?
- args.push("--socket-path=#{@socketPath}") if @socketPath?
-diff -Naur a/src/package-manager.coffee b/src/package-manager.coffee
---- a/src/package-manager.coffee 2017-05-25 12:32:43.000000000 -0600
-+++ b/src/package-manager.coffee 2017-06-03 14:39:33.505500053 -0600
-@@ -150,7 +150,7 @@
- apmRoot = path.join(process.resourcesPath, 'app', 'apm')
- @apmPath = path.join(apmRoot, 'bin', commandName)
- unless fs.isFileSync(@apmPath)
-- @apmPath = path.join(apmRoot, 'node_modules', 'atom-package-manager', 'bin', commandName)
-+ @apmPath = path.join('/usr/share/atom/resources/app/apm', 'node_modules', 'atom-package-manager', 'bin', commandName)
- @apmPath
-
- # Public: Get the paths being used to look for packages.
diff --git a/development/autoconf-archive/README b/development/autoconf-archive/README
deleted file mode 100644
index e9857f8ddf..0000000000
--- a/development/autoconf-archive/README
+++ /dev/null
@@ -1,15 +0,0 @@
-The GNU Autoconf Archive is a collection of more than 500 macros for
-GNU Autoconf that have been contributed as free software by friendly
-supporters of the cause from all over the Internet. Every single one of
-those macros can be re-used without imposing any restrictions whatsoever
-on the licensing of the generated configure script. In particular, it is
-possible to use all those macros in configure scripts that are meant for
-non-free software. This policy is unusual for a Free Software Foundation
-project. The FSF firmly believes that software ought to be free, and
-software licenses like the GPL are specifically designed to ensure that
-derivative work based on free software must be free as well. In case of
-Autoconf, however, an exception has been made, because Autoconf is at
-such a pivotal position in the software development tool chain that the
-benefits from having this tool available as widely as possible outweigh
-the disadvantage that some authors may choose to use it, too, for
-proprietary software.
diff --git a/development/autoconf-archive/autoconf-archive.SlackBuild b/development/autoconf-archive/autoconf-archive.SlackBuild
deleted file mode 100644
index e4149fee6d..0000000000
--- a/development/autoconf-archive/autoconf-archive.SlackBuild
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for autoconf-archive
-
-# Copyright 2018-2019 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.
-
-PRGNAM=autoconf-archive
-VERSION=${VERSION:-2019.01.06}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -eu
-
-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 {} \;
-
-autoreconf -fi
-
-./configure \
- --prefix=/usr \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Files conflict with versions in development/gnome-common and these files are
-# not needed by games/nestopia which requires autoconf-archive.
-rm -f $PKG/usr/share/aclocal/ax_check_enable_debug.m4 \
- $PKG/usr/share/aclocal/ax_code_coverage.m4
-
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog INSTALL NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/autoconf-archive/autoconf-archive.info b/development/autoconf-archive/autoconf-archive.info
deleted file mode 100644
index cfda18cc22..0000000000
--- a/development/autoconf-archive/autoconf-archive.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="autoconf-archive"
-VERSION="2019.01.06"
-HOMEPAGE="https://www.gnu.org/software/autoconf-archive/"
-DOWNLOAD="https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2019.01.06.tar.xz"
-MD5SUM="d46413c8b00a125b1529bae385bbec55"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/development/autoconf-archive/slack-desc b/development/autoconf-archive/slack-desc
deleted file mode 100644
index 5264c36ece..0000000000
--- a/development/autoconf-archive/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------------------------------------------------------|
-autoconf-archive: autoconf-archive (GNU Autoconf macros)
-autoconf-archive:
-autoconf-archive: The GNU Autoconf Archive is a collection of more than 500 macros for
-autoconf-archive: GNU Autoconf that have been contributed as free software by friendly
-autoconf-archive: supporters of the cause from all over the Internet.
-autoconf-archive:
-autoconf-archive: Homepage: https://www.gnu.org/software/autoconf-archive/
-autoconf-archive:
-autoconf-archive:
-autoconf-archive:
-autoconf-archive:
diff --git a/development/autogen/autogen.SlackBuild b/development/autogen/autogen.SlackBuild
index 8318ecd660..257d4bf1ec 100644
--- a/development/autogen/autogen.SlackBuild
+++ b/development/autogen/autogen.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for autogen
@@ -23,10 +23,13 @@
# 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=autogen
VERSION=${VERSION:-5.18.14}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -70,7 +80,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 {} \;
-CFLAGS="$SLKCFLAGS" \
+# Patched for guile 2.2.x
+patch -p1 < $CWD/guile-2.2.patch
+
+autoreconf
+CFLAGS="$SLKCFLAGS -Wno-error" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -81,6 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
+ --disable-dependency-tracking \
--build=$ARCH-slackware-linux
make
@@ -100,8 +115,10 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO VERSION \
$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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/autogen/autogen.info b/development/autogen/autogen.info
index 99955206bf..49da49c53f 100644
--- a/development/autogen/autogen.info
+++ b/development/autogen/autogen.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://ftp.gnu.org/gnu/autogen/rel5.18.14/autogen-5.18.14.tar.xz"
MD5SUM="c4d9a1641cb1bad4a3cc4108de6d867a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="guile2.2"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/autogen/guile-2.2.patch b/development/autogen/guile-2.2.patch
new file mode 100644
index 0000000000..b3d50f4b79
--- /dev/null
+++ b/development/autogen/guile-2.2.patch
@@ -0,0 +1,78 @@
+diff --git a/agen5/guile-iface.h b/agen5/guile-iface.h
+index 0aeabb0..6ce3520 100644
+--- a/agen5/guile-iface.h
++++ b/agen5/guile-iface.h
+@@ -9,7 +9,7 @@
+ # error AutoGen does not work with this version of Guile
+ choke me.
+
+-#elif GUILE_VERSION < 201000
++#else
+ # define AG_SCM_IS_PROC(_p) scm_is_true( scm_procedure_p(_p))
+ # define AG_SCM_LIST_P(_l) scm_is_true( scm_list_p(_l))
+ # define AG_SCM_PAIR_P(_p) scm_is_true( scm_pair_p(_p))
+@@ -24,9 +24,6 @@
+ # define AG_SCM_TO_ULONG(_v) ((unsigned long)scm_to_ulong(_v))
+ # define AG_SCM_VEC_P(_v) scm_is_vector(_v)
+
+-#else
+-# error unknown GUILE_VERSION
+- choke me.
+ #endif
+
+ #endif /* MUTATING_GUILE_IFACE_H_GUARD */
+diff --git a/configure b/configure
+index befe20b..c4254eb 100755
+--- a/configure
++++ b/configure
+@@ -14191,7 +14191,7 @@ $as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+ fi
+- _guile_versions_to_search="2.0 1.8"
++ _guile_versions_to_search="2.2 2.0 1.8"
+ if test -n "$GUILE_EFFECTIVE_VERSION"; then
+ _guile_tmp=""
+ for v in $_guile_versions_to_search; do
+
+diff --git a/agen5/guile-iface.h b/agen5/guile-iface.h
+index 0aeabb0..6ce3520 100644
+--- autogen-5.18.12/config/guile-orig.m4 2017-11-21 15:23:45.047606700 -0500
++++ autogen-5.18.12/config/guile.m4 2017-11-21 15:24:20.414686700 -0500
+@@ -47,7 +47,7 @@
+ # for an available version of Guile.
+ #
+ # By default, this macro will search for the latest stable version of
+-# Guile (e.g. 2.0), falling back to the previous stable version
++# Guile (e.g. 2.2), falling back to the previous stable version
+ # (e.g. 1.8) if it is available. If no guile-@var{VERSION}.pc file is
+ # found, an error is signalled. The found version is stored in
+ # @var{GUILE_EFFECTIVE_VERSION}.
+@@ -61,7 +61,7 @@
+ #
+ AC_DEFUN([GUILE_PKG],
+ [PKG_PROG_PKG_CONFIG
+- _guile_versions_to_search="m4_default([$1], [2.0 1.8])"
++ _guile_versions_to_search="m4_default([$1], [2.2 1.8])"
+ if test -n "$GUILE_EFFECTIVE_VERSION"; then
+ _guile_tmp=""
+ for v in $_guile_versions_to_search; do
+@@ -184,7 +184,7 @@
+ # If @code{guile} is not found, signal an error.
+ #
+ # By default, this macro will search for the latest stable version of
+-# Guile (e.g. 2.0). x.y or x.y.z versions can be specified. If an older
++# Guile (e.g. 2.2). x.y or x.y.z versions can be specified. If an older
+ # version is found, the macro will signal an error.
+ #
+ # The effective version of the found @code{guile} is set to
+@@ -201,7 +201,7 @@
+ [AC_PATH_PROG(GUILE,guile)
+ _guile_required_version="m4_default([$1], [$GUILE_EFFECTIVE_VERSION])"
+ if test -z "$_guile_required_version"; then
+- _guile_required_version=2.0
++ _guile_required_version=2.2
+ fi
+ if test "$GUILE" = "" ; then
+ AC_MSG_ERROR([guile required but not found])
+
diff --git a/development/avarice/README b/development/avarice/README
index 22e27c6e50..53fda7280b 100644
--- a/development/avarice/README
+++ b/development/avarice/README
@@ -1,2 +1,2 @@
-AVaRICE is a program which interfaces the GNU Debugger GDB with the
+AVaRICE is a program which interfaces the GNU Debugger GDB with the
AVR JTAG ICE available from Atmel.
diff --git a/development/avarice/avarice.SlackBuild b/development/avarice/avarice.SlackBuild
index 3346fc77cc..bdc7352a85 100644
--- a/development/avarice/avarice.SlackBuild
+++ b/development/avarice/avarice.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avarice
# Written by thorsten
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avarice
-VERSION=${VERSION:-2.13}
+VERSION=${VERSION:-2.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -43,6 +53,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+# thanks alpine linux maintainers
+zcat $CWD/drop_keyword_unused.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -50,14 +62,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 {} \;
-# Fix for gcc-5.2.0 (-current)
-# http://anonscm.debian.org/cgit/collab-maint/avarice.git/plain/debian/patches/bug-777789-gcc-5.patch?id=f8686dbd02cc6710e36f31ab118a46ed0adc758c
-patch -p1 < $CWD/bug-777789-gcc-5.patch
-
rm -rf $TMP/$PRGNAM-build-$VERSION
mkdir $TMP/$PRGNAM-build-$VERSION
cd $TMP/$PRGNAM-build-$VERSION
+export CXXFLAGS="-std=c++14"
CFLAGS_FOR_BUILD="$SLKCFLAGS" \
CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
../$PRGNAM-$VERSION/configure \
@@ -89,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/avarice/avarice.info b/development/avarice/avarice.info
index 1ad7ba7bd3..09cab6e04e 100644
--- a/development/avarice/avarice.info
+++ b/development/avarice/avarice.info
@@ -1,8 +1,8 @@
PRGNAM="avarice"
-VERSION="2.13"
+VERSION="2.14"
HOMEPAGE="http://avarice.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/avarice/files/avarice/avarice-2.13/avarice-2.13.tar.bz2"
-MD5SUM="b9ea1202cfe78b6b008192f092b2dd6c"
+DOWNLOAD="https://sourceforge.net/projects/avarice/files/avarice/avarice-2.14/avarice-2.14.tar.bz2"
+MD5SUM="393f5f607a42a6ac9b47b5e963a66584"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="avr-gdb"
diff --git a/development/avarice/bug-777789-gcc-5.patch b/development/avarice/bug-777789-gcc-5.patch
deleted file mode 100644
index a4e385e3f9..0000000000
--- a/development/avarice/bug-777789-gcc-5.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Description: Fix FTBFS for GCC 5
-Author: Tobias Frost <tobi@debian.org>
-Bug: https://sourceforge.net/p/avarice/patches/34/
-Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777789
-Last-Update: 2015-05-18
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/src/pragma.h
-+++ b/src/pragma.h
-@@ -28,9 +28,10 @@
- */
- #if defined(__GNUC__)
- # if __GNUC__ > 4
--# define PRAGMA_DIAG_PUSH _Pragma(GCC diagnostic push)
--# define PRAGMA_DIAG_POP _Pragma(GCC diagnostic pop)
--# define PRAGMA_DIAG_IGNORED(x) _Pragma(GCC diagnostic ignored x)
-+# define PRAGMA_DIAG_PUSH _Pragma("GCC diagnostic push")
-+# define PRAGMA_DIAG_POP _Pragma("GCC diagnostic pop")
-+# define PRAGMA_(x) _Pragma(#x)
-+# define PRAGMA_DIAG_IGNORED(x) PRAGMA_(GCC diagnostic ignored x)
- # elif __GNUC__ == 4
- # if __GNUC_MINOR__ >= 6
- # define PRAGMA_DIAG_PUSH _Pragma("GCC diagnostic push")
diff --git a/development/avarice/drop_keyword_unused.patch.gz b/development/avarice/drop_keyword_unused.patch.gz
new file mode 100644
index 0000000000..d23aa38ada
--- /dev/null
+++ b/development/avarice/drop_keyword_unused.patch.gz
Binary files differ
diff --git a/development/avr-binutils/avr-binutils.SlackBuild b/development/avr-binutils/avr-binutils.SlackBuild
index 3b31a96b3f..f0be939b0b 100644
--- a/development/avr-binutils/avr-binutils.SlackBuild
+++ b/development/avr-binutils/avr-binutils.SlackBuild
@@ -1,33 +1,44 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avr-binutils
# Written by Marek Buras <cyfr0n (at) go2 !dot pl>
-# Previously maintainted by Vliegendehuiskat <vliegendehuiskat [at] gmail [dot] com>
-# Now maintained by Claudio Henrique Fortes Felix <felix.claudio [at] gmail [dot] com>.
+# Previously maintained by Vliegendehuiskat <vliegendehuiskat [at] gmail [dot] com>
+# Previously maintained by Claudio Henrique Fortes Felix <felix.claudio [at] gmail [dot] com>
+# Now maintained by Heiko Rosemann <heiko [dot] rosemann [at] web [dot] de>
# This file is placed in the public domain.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avr-binutils
-VERSION=${VERSION:-2.25}
+VERSION=${VERSION:-2.38}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -46,17 +57,17 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf binutils-$VERSION
-tar xvf $CWD/binutils-$VERSION.tar.bz2
+tar xvf $CWD/binutils-$VERSION.tar.?z*
cd binutils-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
# Apply patch for AVR specific output of 'size' (avr-size)
-patch -p0 < $CWD/avr-size.patch
+patch -p1 < $CWD/avr-size.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -95,7 +106,7 @@ rm -f $PKG/usr/man/man1/avr-dlltool.1
rm -f $PKG/usr/man/man1/avr-nlmconv.1
rm -f $PKG/usr/man/man1/avr-windres.1
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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 {} \;
@@ -110,4 +121,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/avr-binutils/avr-binutils.info b/development/avr-binutils/avr-binutils.info
index a5ea0988d2..f69dbef5ee 100644
--- a/development/avr-binutils/avr-binutils.info
+++ b/development/avr-binutils/avr-binutils.info
@@ -1,8 +1,8 @@
PRGNAM="avr-binutils"
-VERSION="2.25"
+VERSION="2.38"
HOMEPAGE="http://www.gnu.org/software/binutils"
-DOWNLOAD="http://ftp.gnu.org/gnu/binutils/binutils-2.25.tar.bz2"
-MD5SUM="d9f3303f802a5b6b0bb73a335ab89d66"
+DOWNLOAD="https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.xz"
+MD5SUM="6e39cad1bb414add02b5b1169c18fdc5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/avr-binutils/avr-size.patch b/development/avr-binutils/avr-size.patch
index 2e01c3d31f..ae78228b0a 100644
--- a/development/avr-binutils/avr-size.patch
+++ b/development/avr-binutils/avr-size.patch
@@ -1,53 +1,18 @@
-AVR specific only
---------------------------------------------------------------------------------
---- binutils/size.c 2007-08-06 13:56:14.000000000 -0600
-+++ binutils/size.c 2007-09-13 09:13:10.281250000 -0600
-@@ -35,10 +35,31 @@
- #include "getopt.h"
- #include "bucomm.h"
-
--#ifndef BSD_DEFAULT
--#define BSD_DEFAULT 1
-+typedef enum
-+{
-+ format_sysv = 0,
-+ format_bsd = 1,
-+ format_avr = 2,
-+} format_type_t;
-+
-+
-+/* Set the default format. */
-+#define FORMAT_DEFAULT_SYSV 0
-+#define FORMAT_DEFAULT_BSD 1
-+#define FORMAT_DEFAULT_AVR 0
-+
-+#if FORMAT_DEFAULT_SYSV
-+ #define FORMAT_DEFAULT format_sysv
-+ #define FORMAT_NAME "sysv"
-+#elif FORMAT_DEFAULT_BSD
-+ #define FORMAT_DEFAULT format_bsd
-+ #define FORMAT_NAME "berkeley"
-+#elif FORMAT_DEFAULT_AVR
-+ #define FORMAT_DEFAULT format_avr
-+ #define FORMAT_NAME "avr"
- #endif
-
-+
- /* Program options. */
-
- static enum
-@@ -47,9 +68,8 @@ static enum
- }
- radix = decimal;
-
--/* 0 means use AT&T-style output. */
--static int berkeley_format = BSD_DEFAULT;
-
-+format_type_t format = FORMAT_DEFAULT;
- static int show_version = 0;
- static int show_help = 0;
- static int show_totals = 0;
-@@ -63,6 +83,157 @@ static bfd_size_type total_textsize;
+diff --git a/binutils/size.c b/binutils/size.c
+index 3697087714..f99d45a6bf 100644
+--- a/binutils/size.c
++++ b/binutils/size.c
+@@ -51,7 +51,8 @@ enum output_format
+ {
+ FORMAT_BERKLEY,
+ FORMAT_SYSV,
+- FORMAT_GNU
++ FORMAT_GNU,
++ FORMAT_AVR
+ };
+ static enum output_format selected_output_format =
+ #if BSD_DEFAULT
+@@ -74,6 +75,246 @@ static bfd_size_type total_textsize;
/* Program exit status. */
static int return_code = 0;
@@ -63,12 +28,18 @@ AVR specific only
+#define AVR4K 4096UL
+#define AVR8K 8192UL
+#define AVR16K 16384UL
++#define AVR20K 20480UL
+#define AVR24K 24576UL
+#define AVR32K 32768UL
++#define AVR36K 36864UL
+#define AVR40K 40960UL
+#define AVR64K 65536UL
++#define AVR68K 69632UL
+#define AVR128K 131072UL
++#define AVR136K 139264UL
++#define AVR200K 204800UL
+#define AVR256K 262144UL
++#define AVR264K 270336UL
+
+typedef struct
+{
@@ -80,123 +51,206 @@ AVR specific only
+
+avr_device_t avr[] =
+{
-+ {"atmega2560", AVR256K, AVR8K, AVR4K},
-+ {"atmega2561", AVR256K, AVR8K, AVR4K},
-+
-+ {"at43usb320", AVR128K, 608UL, 0},
-+ {"at90can128", AVR128K, AVR4K, AVR4K},
-+ {"at90usb1286", AVR128K, AVR8K, AVR4K},
-+ {"at90usb1287", AVR128K, AVR8K, AVR4K},
-+ {"atmega128", AVR128K, AVR4K, AVR4K},
-+ {"atmega1280", AVR128K, AVR8K, AVR4K},
-+ {"atmega1281", AVR128K, AVR8K, AVR4K},
-+ {"atmega1284P", AVR128K, AVR16K, AVR4K},
-+ {"atmega103", AVR128K, 4000UL, AVR4K},
-+ {"atxmega128a1",AVR128K, AVR8K, AVR2K},
-+
-+ {"at90can64", AVR64K, AVR4K, AVR2K},
-+ {"at90usb646", AVR64K, AVR4K, AVR2K},
-+ {"at90usb647", AVR64K, AVR4K, AVR2K},
-+ {"atmega64", AVR64K, AVR4K, AVR2K},
-+ {"atmega640", AVR64K, AVR8K, AVR4K},
-+ {"atmega644", AVR64K, AVR4K, AVR2K},
-+ {"atmega644p", AVR64K, AVR4K, AVR2K},
-+ {"atmega645", AVR64K, AVR4K, AVR2K},
-+ {"atmega6450", AVR64K, AVR4K, AVR2K},
-+ {"atmega649", AVR64K, AVR4K, AVR2K},
-+ {"atmega6490", AVR64K, AVR4K, AVR2K},
-+ {"atxmega64a1", AVR64K, AVR4K, AVR2K},
-+
-+ {"atmega406", AVR40K, AVR512, AVR2K},
-+
-+ {"at90can32", AVR32K, AVR2K, AVR1K},
-+ {"at94k", AVR32K, AVR4K, 0},
-+ {"atmega32", AVR32K, AVR2K, AVR1K},
-+ {"atmega323", AVR32K, AVR2K, AVR1K},
-+ {"atmega324p", AVR32K, AVR2K, AVR1K},
-+ {"atmega325", AVR32K, AVR2K, AVR1K},
-+ {"atmega325p", AVR32K, AVR2K, AVR1K},
-+ {"atmega3250", AVR32K, AVR2K, AVR1K},
-+ {"atmega3250p", AVR32K, AVR2K, AVR1K},
-+ {"atmega328p", AVR32K, AVR2K, AVR1K},
-+ {"atmega329", AVR32K, AVR2K, AVR1K},
-+ {"atmega329p", AVR32K, AVR2K, AVR1K},
-+ {"atmega3290", AVR32K, AVR2K, AVR1K},
-+ {"atmega3290p", AVR32K, AVR2K, AVR1K},
-+ {"atmega32hvb", AVR32K, AVR2K, AVR1K},
-+ {"atmega32c1", AVR32K, AVR2K, AVR1K},
-+ {"atmega32m1", AVR32K, AVR2K, AVR1K},
-+ {"atmega32u4", AVR32K, 2560UL, AVR1K},
-+
-+ {"at43usb355", AVR24K, 1120, 0},
-+
-+ {"at76c711", AVR16K, AVR2K, 0},
-+ {"at90pwm216", AVR16K, AVR1K, AVR512},
-+ {"at90pwm316", AVR16K, AVR1K, AVR512},
-+ {"at90usb162", AVR16K, AVR512, AVR512},
-+ {"atmega16", AVR16K, AVR1K, AVR512},
-+ {"atmega161", AVR16K, AVR1K, AVR512},
-+ {"atmega162", AVR16K, AVR1K, AVR512},
-+ {"atmega163", AVR16K, AVR1K, AVR512},
-+ {"atmega164", AVR16K, AVR1K, AVR512},
-+ {"atmega164p", AVR16K, AVR1K, AVR512},
-+ {"atmega165", AVR16K, AVR1K, AVR512},
-+ {"atmega165p", AVR16K, AVR1K, AVR512},
-+ {"atmega168", AVR16K, AVR1K, AVR512},
-+ {"atmega168p", AVR16K, AVR1K, AVR512},
-+ {"atmega169", AVR16K, AVR1K, AVR512},
-+ {"atmega169p", AVR16K, AVR1K, AVR512},
-+ {"attiny167", AVR16K, AVR512, AVR512},
-+ {"atxmega16d4", AVR16K, AVR2K, AVR1K},
-+
-+ {"at90c8534", AVR8K, 352, AVR512},
-+ {"at90pwm1", AVR8K, AVR512, AVR512},
-+ {"at90pwm2", AVR8K, AVR512, AVR512},
-+ {"at90pwm2b", AVR8K, AVR512, AVR512},
-+ {"at90pwm3", AVR8K, AVR512, AVR512},
-+ {"at90pwm3b", AVR8K, AVR512, AVR512},
-+ {"at90s8515", AVR8K, AVR512, AVR512},
-+ {"at90s8535", AVR8K, AVR512, AVR512},
-+ {"at90usb82", AVR8K, AVR512, AVR512},
-+ {"atmega8", AVR8K, AVR1K, AVR512},
-+ {"atmega8515", AVR8K, AVR512, AVR512},
-+ {"atmega8535", AVR8K, AVR512, AVR512},
-+ {"atmega88", AVR8K, AVR1K, AVR512},
-+ {"atmega88p", AVR8K, AVR1K, AVR512},
-+ {"attiny84", AVR8K, AVR512, AVR512},
-+ {"attiny85", AVR8K, AVR512, AVR512},
-+ {"attiny861", AVR8K, AVR512, AVR512},
-+ {"attiny88", AVR8K, AVR256, AVR64},
-+
-+ {"at90s4414", AVR4K, 352, AVR256},
-+ {"at90s4433", AVR4K, AVR128, AVR256},
-+ {"at90s4434", AVR4K, 352, AVR256},
-+ {"atmega48", AVR4K, AVR512, AVR256},
-+ {"atmega48p", AVR4K, AVR512, AVR256},
-+ {"attiny43u", AVR4K, AVR256, AVR64},
-+ {"attiny44", AVR4K, AVR256, AVR256},
-+ {"attiny45", AVR4K, AVR256, AVR256},
-+ {"attiny461", AVR4K, AVR256, AVR256},
-+ {"attiny48", AVR4K, AVR256, AVR64},
-+
-+ {"at86rf401", AVR2K, 224, AVR128},
-+ {"at90s2313", AVR2K, AVR128, AVR128},
-+ {"at90s2323", AVR2K, AVR128, AVR128},
-+ {"at90s2333", AVR2K, 224, AVR128},
-+ {"at90s2343", AVR2K, AVR128, AVR128},
-+ {"attiny22", AVR2K, 224, AVR128},
-+ {"attiny2313", AVR2K, AVR128, AVR128},
-+ {"attiny24", AVR2K, AVR128, AVR128},
-+ {"attiny25", AVR2K, AVR128, AVR128},
-+ {"attiny26", AVR2K, AVR128, AVR128},
-+ {"attiny261", AVR2K, AVR128, AVR128},
-+ {"attiny28", AVR2K, 0, 0},
-+
-+ {"at90s1200", AVR1K, 0, AVR64},
-+ {"attiny11", AVR1K, 0, AVR64},
-+ {"attiny12", AVR1K, 0, AVR64},
-+ {"attiny13", AVR1K, AVR64, AVR64},
-+ {"attiny15", AVR1K, 0, AVR64},
++ {"atxmega256a3", AVR264K, AVR16K, AVR4K},
++ {"atxmega256a3b", AVR264K, AVR16K, AVR4K},
++ {"atxmega256d3", AVR264K, AVR16K, AVR4K},
++
++ {"atmega2560", AVR256K, AVR8K, AVR4K},
++ {"atmega2561", AVR256K, AVR8K, AVR4K},
++
++ {"atxmega192a3", AVR200K, AVR16K, AVR2K},
++ {"atxmega192d3", AVR200K, AVR16K, AVR2K},
++
++ {"atxmega128a1", AVR136K, AVR8K, AVR2K},
++ {"atxmega128a1u", AVR136K, AVR8K, AVR2K},
++ {"atxmega128a3", AVR136K, AVR8K, AVR2K},
++ {"atxmega128d3", AVR136K, AVR8K, AVR2K},
++
++ {"at43usb320", AVR128K, 608UL, 0UL},
++ {"at90can128", AVR128K, AVR4K, AVR4K},
++ {"at90usb1286", AVR128K, AVR8K, AVR4K},
++ {"at90usb1287", AVR128K, AVR8K, AVR4K},
++ {"atmega128", AVR128K, AVR4K, AVR4K},
++ {"atmega1280", AVR128K, AVR8K, AVR4K},
++ {"atmega1281", AVR128K, AVR8K, AVR4K},
++ {"atmega1284p", AVR128K, AVR16K, AVR4K},
++ {"atmega128rfa1", AVR128K, AVR16K, AVR4K},
++ {"atmega103", AVR128K, 4000UL, AVR4K},
++
++ {"atxmega64a1", AVR68K, AVR4K, AVR2K},
++ {"atxmega64a1u", AVR68K, AVR4K, AVR2K},
++ {"atxmega64a3", AVR68K, AVR4K, AVR2K},
++ {"atxmega64d3", AVR68K, AVR4K, AVR2K},
++
++ {"at90can64", AVR64K, AVR4K, AVR2K},
++ {"at90scr100", AVR64K, AVR4K, AVR2K},
++ {"at90usb646", AVR64K, AVR4K, AVR2K},
++ {"at90usb647", AVR64K, AVR4K, AVR2K},
++ {"atmega64", AVR64K, AVR4K, AVR2K},
++ {"atmega640", AVR64K, AVR8K, AVR4K},
++ {"atmega644", AVR64K, AVR4K, AVR2K},
++ {"atmega644a", AVR64K, AVR4K, AVR2K},
++ {"atmega644p", AVR64K, AVR4K, AVR2K},
++ {"atmega644pa", AVR64K, AVR4K, AVR2K},
++ {"atmega645", AVR64K, AVR4K, AVR2K},
++ {"atmega645a", AVR64K, AVR4K, AVR2K},
++ {"atmega645p", AVR64K, AVR4K, AVR2K},
++ {"atmega6450", AVR64K, AVR4K, AVR2K},
++ {"atmega6450a", AVR64K, AVR4K, AVR2K},
++ {"atmega6450p", AVR64K, AVR4K, AVR2K},
++ {"atmega649", AVR64K, AVR4K, AVR2K},
++ {"atmega649a", AVR64K, AVR4K, AVR2K},
++ {"atmega649p", AVR64K, AVR4K, AVR2K},
++ {"atmega6490", AVR64K, AVR4K, AVR2K},
++ {"atmega6490a", AVR64K, AVR4K, AVR2K},
++ {"atmega6490p", AVR64K, AVR4K, AVR2K},
++ {"atmega64c1", AVR64K, AVR4K, AVR2K},
++ {"atmega64hve", AVR64K, AVR4K, AVR1K},
++ {"atmega64m1", AVR64K, AVR4K, AVR2K},
++ {"m3000", AVR64K, AVR4K, 0UL},
++
++ {"atmega406", AVR40K, AVR2K, AVR512},
++
++ {"atxmega32a4", AVR36K, AVR4K, AVR1K},
++ {"atxmega32d4", AVR36K, AVR4K, AVR1K},
++
++ {"at90can32", AVR32K, AVR2K, AVR1K},
++ {"at94k", AVR32K, AVR4K, 0UL},
++ {"atmega32", AVR32K, AVR2K, AVR1K},
++ {"atmega323", AVR32K, AVR2K, AVR1K},
++ {"atmega324a", AVR32K, AVR2K, AVR1K},
++ {"atmega324p", AVR32K, AVR2K, AVR1K},
++ {"atmega324pa", AVR32K, AVR2K, AVR1K},
++ {"atmega325", AVR32K, AVR2K, AVR1K},
++ {"atmega325a", AVR32K, AVR2K, AVR1K},
++ {"atmega325p", AVR32K, AVR2K, AVR1K},
++ {"atmega3250", AVR32K, AVR2K, AVR1K},
++ {"atmega3250a", AVR32K, AVR2K, AVR1K},
++ {"atmega3250p", AVR32K, AVR2K, AVR1K},
++ {"atmega328", AVR32K, AVR2K, AVR1K},
++ {"atmega328p", AVR32K, AVR2K, AVR1K},
++ {"atmega329", AVR32K, AVR2K, AVR1K},
++ {"atmega329a", AVR32K, AVR2K, AVR1K},
++ {"atmega329p", AVR32K, AVR2K, AVR1K},
++ {"atmega329pa", AVR32K, AVR2K, AVR1K},
++ {"atmega3290", AVR32K, AVR2K, AVR1K},
++ {"atmega3290a", AVR32K, AVR2K, AVR1K},
++ {"atmega3290p", AVR32K, AVR2K, AVR1K},
++ {"atmega32hvb", AVR32K, AVR2K, AVR1K},
++ {"atmega32c1", AVR32K, AVR2K, AVR1K},
++ {"atmega32hvb", AVR32K, AVR2K, AVR1K},
++ {"atmega32m1", AVR32K, AVR2K, AVR1K},
++ {"atmega32u2", AVR32K, AVR1K, AVR1K},
++ {"atmega32u4", AVR32K, 2560UL, AVR1K},
++ {"atmega32u6", AVR32K, 2560UL, AVR1K},
++
++ {"at43usb355", AVR24K, 1120UL, 0UL},
++
++ {"atxmega16a4", AVR20K, AVR2K, AVR1K},
++ {"atxmega16d4", AVR20K, AVR2K, AVR1K},
++
++ {"at76c711", AVR16K, AVR2K, 0UL},
++ {"at90pwm216", AVR16K, AVR1K, AVR512},
++ {"at90pwm316", AVR16K, AVR1K, AVR512},
++ {"at90usb162", AVR16K, AVR512, AVR512},
++ {"atmega16", AVR16K, AVR1K, AVR512},
++ {"atmega16a", AVR16K, AVR1K, AVR512},
++ {"atmega161", AVR16K, AVR1K, AVR512},
++ {"atmega162", AVR16K, AVR1K, AVR512},
++ {"atmega163", AVR16K, AVR1K, AVR512},
++ {"atmega164", AVR16K, AVR1K, AVR512},
++ {"atmega164a", AVR16K, AVR1K, AVR512},
++ {"atmega164p", AVR16K, AVR1K, AVR512},
++ {"atmega165a", AVR16K, AVR1K, AVR512},
++ {"atmega165", AVR16K, AVR1K, AVR512},
++ {"atmega165p", AVR16K, AVR1K, AVR512},
++ {"atmega168", AVR16K, AVR1K, AVR512},
++ {"atmega168a", AVR16K, AVR1K, AVR512},
++ {"atmega168p", AVR16K, AVR1K, AVR512},
++ {"atmega169", AVR16K, AVR1K, AVR512},
++ {"atmega169a", AVR16K, AVR1K, AVR512},
++ {"atmega169p", AVR16K, AVR1K, AVR512},
++ {"atmega169pa", AVR16K, AVR1K, AVR512},
++ {"atmega16hva", AVR16K, 768UL, AVR256},
++ {"atmega16hva2", AVR16K, AVR1K, AVR256},
++ {"atmega16hvb", AVR16K, AVR1K, AVR512},
++ {"atmega16m1", AVR16K, AVR1K, AVR512},
++ {"atmega16u2", AVR16K, AVR512, AVR512},
++ {"atmega16u4", AVR16K, 1280UL, AVR512},
++ {"attiny167", AVR16K, AVR512, AVR512},
++
++ {"at90c8534", AVR8K, 352UL, AVR512},
++ {"at90pwm1", AVR8K, AVR512, AVR512},
++ {"at90pwm2", AVR8K, AVR512, AVR512},
++ {"at90pwm2b", AVR8K, AVR512, AVR512},
++ {"at90pwm3", AVR8K, AVR512, AVR512},
++ {"at90pwm3b", AVR8K, AVR512, AVR512},
++ {"at90pwm81", AVR8K, AVR256, AVR512},
++ {"at90s8515", AVR8K, AVR512, AVR512},
++ {"at90s8535", AVR8K, AVR512, AVR512},
++ {"at90usb82", AVR8K, AVR512, AVR512},
++ {"ata6289", AVR8K, AVR512, 320UL},
++ {"atmega8", AVR8K, AVR1K, AVR512},
++ {"atmega8515", AVR8K, AVR512, AVR512},
++ {"atmega8535", AVR8K, AVR512, AVR512},
++ {"atmega88", AVR8K, AVR1K, AVR512},
++ {"atmega88a", AVR8K, AVR1K, AVR512},
++ {"atmega88p", AVR8K, AVR1K, AVR512},
++ {"atmega88pa", AVR8K, AVR1K, AVR512},
++ {"atmega8hva", AVR8K, 768UL, AVR256},
++ {"atmega8u2", AVR8K, AVR512, AVR512},
++ {"attiny84", AVR8K, AVR512, AVR512},
++ {"attiny84a", AVR8K, AVR512, AVR512},
++ {"attiny85", AVR8K, AVR512, AVR512},
++ {"attiny861", AVR8K, AVR512, AVR512},
++ {"attiny861a", AVR8K, AVR512, AVR512},
++ {"attiny87", AVR8K, AVR512, AVR512},
++ {"attiny88", AVR8K, AVR512, AVR64},
++
++ {"at90s4414", AVR4K, 352UL, AVR256},
++ {"at90s4433", AVR4K, AVR128, AVR256},
++ {"at90s4434", AVR4K, 352UL, AVR256},
++ {"atmega48", AVR4K, AVR512, AVR256},
++ {"atmega48a", AVR4K, AVR512, AVR256},
++ {"atmega48p", AVR4K, AVR512, AVR256},
++ {"attiny4313", AVR4K, AVR256, AVR256},
++ {"attiny43u", AVR4K, AVR256, AVR64},
++ {"attiny44", AVR4K, AVR256, AVR256},
++ {"attiny44a", AVR4K, AVR256, AVR256},
++ {"attiny45", AVR4K, AVR256, AVR256},
++ {"attiny461", AVR4K, AVR256, AVR256},
++ {"attiny461a", AVR4K, AVR256, AVR256},
++ {"attiny48", AVR4K, AVR256, AVR64},
++
++ {"at86rf401", AVR2K, 224UL, AVR128},
++ {"at90s2313", AVR2K, AVR128, AVR128},
++ {"at90s2323", AVR2K, AVR128, AVR128},
++ {"at90s2333", AVR2K, 224UL, AVR128},
++ {"at90s2343", AVR2K, AVR128, AVR128},
++ {"attiny20", AVR2K, AVR128, 0UL},
++ {"attiny22", AVR2K, 224UL, AVR128},
++ {"attiny2313", AVR2K, AVR128, AVR128},
++ {"attiny2313a", AVR2K, AVR128, AVR128},
++ {"attiny24", AVR2K, AVR128, AVR128},
++ {"attiny24a", AVR2K, AVR128, AVR128},
++ {"attiny25", AVR2K, AVR128, AVR128},
++ {"attiny26", AVR2K, AVR128, AVR128},
++ {"attiny261", AVR2K, AVR128, AVR128},
++ {"attiny261a", AVR2K, AVR128, AVR128},
++ {"attiny28", AVR2K, 0UL, 0UL},
++ {"attiny40", AVR2K, AVR256, 0UL},
++
++ {"at90s1200", AVR1K, 0UL, AVR64},
++ {"attiny9", AVR1K, 32UL, 0UL},
++ {"attiny10", AVR1K, 32UL, 0UL},
++ {"attiny11", AVR1K, 0UL, AVR64},
++ {"attiny12", AVR1K, 0UL, AVR64},
++ {"attiny13", AVR1K, AVR64, AVR64},
++ {"attiny13a", AVR1K, AVR64, AVR64},
++ {"attiny15", AVR1K, 0UL, AVR64},
++
++ {"attiny4", AVR512, 32UL, 0UL},
++ {"attiny5", AVR512, 32UL, 0UL},
+};
+
+static char *avrmcu = NULL;
@@ -205,38 +259,25 @@ AVR specific only
static char *target = NULL;
/* Forward declarations. */
-@@ -78,7 +240,8 @@ usage (FILE *stream, int status)
+@@ -89,7 +330,8 @@ usage (FILE *stream, int status)
fprintf (stream, _(" Displays the sizes of sections inside binary files\n"));
fprintf (stream, _(" If no input file(s) are specified, a.out is assumed\n"));
fprintf (stream, _(" The options are:\n\
-- -A|-B --format={sysv|berkeley} Select output style (default is %s)\n\
-+ -A|-B|-C --format={sysv|berkeley|avr} Select output style (default is %s)\n\
+- -A|-B|-G --format={sysv|berkeley|gnu} Select output style (default is %s)\n\
++ -A|-B|-G|-C --format={sysv|berkeley|gnu|avr} Select output style (default is %s)\n\
+ --mcu=<avrmcu> MCU name for AVR format only\n\
-o|-d|-x --radix={8|10|16} Display numbers in octal, decimal or hex\n\
-t --totals Display the total sizes (Berkeley only)\n\
--common Display total size for *COM* syms\n\
-@@ -87,11 +250,7 @@ usage (FILE *stream, int status)
- -h --help Display this information\n\
- -v --version Display the program's version\n\
- \n"),
--#if BSD_DEFAULT
-- "berkeley"
--#else
-- "sysv"
--#endif
-+FORMAT_NAME
- );
- list_supported_targets (program_name, stream);
- if (REPORT_BUGS_TO[0] && status == 0)
-@@ -102,6 +261,7 @@ usage (FILE *stream, int status)
+@@ -113,6 +355,7 @@ usage (FILE *stream, int status)
#define OPTION_FORMAT (200)
#define OPTION_RADIX (OPTION_FORMAT + 1)
#define OPTION_TARGET (OPTION_RADIX + 1)
-+#define OPTION_MCU (OPTION_TARGET + 1)
++#define OPTION_MCU (OPTION_TARGET + 1)
static struct option long_options[] =
{
-@@ -109,6 +269,7 @@ static struct option long_options[] =
+@@ -120,6 +363,7 @@ static struct option long_options[] =
{"format", required_argument, 0, OPTION_FORMAT},
{"radix", required_argument, 0, OPTION_RADIX},
{"target", required_argument, 0, OPTION_TARGET},
@@ -244,34 +285,26 @@ AVR specific only
{"totals", no_argument, &show_totals, 1},
{"version", no_argument, &show_version, 1},
{"help", no_argument, &show_help, 1},
-@@ -140,7 +301,7 @@ main (int argc, char **argv)
- bfd_init ();
+@@ -153,7 +397,7 @@ main (int argc, char **argv)
+ fatal (_("fatal error: libbfd ABI mismatch"));
set_default_bfd_target ();
-- while ((c = getopt_long (argc, argv, "ABHhVvdfotx", long_options,
-+ while ((c = getopt_long (argc, argv, "ABCHhVvdfotx", long_options,
+- while ((c = getopt_long (argc, argv, "ABGHhVvdfotx", long_options,
++ while ((c = getopt_long (argc, argv, "ABCGHhVvdfotx", long_options,
(int *) 0)) != EOF)
switch (c)
{
-@@ -149,11 +310,15 @@ main (int argc, char **argv)
- {
- case 'B':
- case 'b':
-- berkeley_format = 1;
-+ format = format_bsd;
+@@ -172,12 +416,20 @@ main (int argc, char **argv)
+ case 'g':
+ selected_output_format = FORMAT_GNU;
break;
- case 'S':
- case 's':
-- berkeley_format = 0;
-+ format = format_sysv;
-+ break;
+ case 'A':
+ case 'a':
-+ format = format_avr;
- break;
++ selected_output_format = FORMAT_AVR;
++ break;
default:
non_fatal (_("invalid argument to --format: %s"), optarg);
-@@ -161,6 +326,10 @@ main (int argc, char **argv)
+ usage (stderr, 1);
}
break;
@@ -282,37 +315,20 @@ AVR specific only
case OPTION_TARGET:
target = optarg;
break;
-@@ -189,11 +358,14 @@ main (int argc, char **argv)
- break;
-
- case 'A':
-- berkeley_format = 0;
-+ format = format_sysv;
- break;
- case 'B':
-- berkeley_format = 1;
-+ format = format_bsd;
+@@ -214,6 +466,9 @@ main (int argc, char **argv)
+ case 'G':
+ selected_output_format = FORMAT_GNU;
break;
+ case 'C':
-+ format = format_avr;
++ selected_output_format = FORMAT_AVR;
+ break;
case 'v':
case 'V':
show_version = 1;
-@@ -239,7 +411,7 @@ main (int argc, char **argv)
- for (; optind < argc;)
- display_file (argv[optind++]);
-
-- if (show_totals && berkeley_format)
-+ if (show_totals && format == format_bsd)
- {
- bfd_size_type total = total_textsize + total_datasize + total_bsssize;
-
-@@ -600,13 +772,117 @@ print_sysv_format (bfd *file)
+@@ -656,6 +911,98 @@ print_sysv_format (bfd *file)
printf ("\n\n");
}
-+
+static avr_device_t *
+avr_find_device (void)
+{
@@ -331,8 +347,6 @@ AVR specific only
+ return (NULL);
+}
+
-+
-+
+static void
+print_avr_format (bfd *file)
+{
@@ -340,13 +354,13 @@ AVR specific only
+ int flashmax = 0;
+ int rammax = 0;
+ int eeprommax = 0;
-+ asection *section;
-+ bfd_size_type data_size = 0;
-+ bfd_size_type text_size = 0;
-+ bfd_size_type bss_size = 0;
-+ bfd_size_type bootloader_size = 0;
-+ bfd_size_type noinit_size = 0;
-+ bfd_size_type eeprom_size = 0;
++ asection *section;
++ bfd_size_type my_datasize = 0;
++ bfd_size_type my_textsize = 0;
++ bfd_size_type my_bsssize = 0;
++ bfd_size_type bootloadersize = 0;
++ bfd_size_type noinitsize = 0;
++ bfd_size_type eepromsize = 0;
+
+ avr_device_t *avrdevice = avr_find_device();
+ if (avrdevice != NULL)
@@ -358,26 +372,26 @@ AVR specific only
+ }
+
+ if ((section = bfd_get_section_by_name (file, ".data")) != NULL)
-+ data_size = bfd_section_size (file, section);
++ my_datasize = bfd_section_size (section);
+ if ((section = bfd_get_section_by_name (file, ".text")) != NULL)
-+ text_size = bfd_section_size (file, section);
++ my_textsize = bfd_section_size (section);
+ if ((section = bfd_get_section_by_name (file, ".bss")) != NULL)
-+ bss_size = bfd_section_size (file, section);
++ my_bsssize = bfd_section_size (section);
+ if ((section = bfd_get_section_by_name (file, ".bootloader")) != NULL)
-+ bootloader_size = bfd_section_size (file, section);
++ bootloadersize = bfd_section_size (section);
+ if ((section = bfd_get_section_by_name (file, ".noinit")) != NULL)
-+ noinit_size = bfd_section_size (file, section);
++ noinitsize = bfd_section_size (section);
+ if ((section = bfd_get_section_by_name (file, ".eeprom")) != NULL)
-+ eeprom_size = bfd_section_size (file, section);
-+
-+ bfd_size_type text = text_size + data_size + bootloader_size;
-+ bfd_size_type data = data_size + bss_size + noinit_size;
-+ bfd_size_type eeprom = eeprom_size;
-+
++ eepromsize = bfd_section_size (section);
++
++ bfd_size_type text = my_textsize + my_datasize + bootloadersize;
++ bfd_size_type data = my_datasize + my_bsssize + noinitsize;
++ bfd_size_type eeprom = eepromsize;
++
+ printf ("AVR Memory Usage\n"
+ "----------------\n"
+ "Device: %s\n\n", avr_name);
-+
++
+ /* Text size */
+ printf ("Program:%8ld bytes", text);
+ if (flashmax > 0)
@@ -385,7 +399,7 @@ AVR specific only
+ printf (" (%2.1f%% Full)", ((float)text / flashmax) * 100);
+ }
+ printf ("\n(.text + .data + .bootloader)\n\n");
-+
++
+ /* Data size */
+ printf ("Data: %8ld bytes", data);
+ if (rammax > 0)
@@ -393,10 +407,10 @@ AVR specific only
+ printf (" (%2.1f%% Full)", ((float)data / rammax) * 100);
+ }
+ printf ("\n(.data + .bss + .noinit)\n\n");
-+
++
+ /* EEPROM size */
-+ if (eeprom > 0)
-+ {
++ if (eeprom > 0)
++ {
+ printf ("EEPROM: %8ld bytes", eeprom);
+ if (eeprommax > 0)
+ {
@@ -410,23 +424,12 @@ AVR specific only
static void
print_sizes (bfd *file)
{
- if (show_common)
+@@ -663,6 +1010,8 @@ print_sizes (bfd *file)
calculate_common_size (file);
-- if (berkeley_format)
-- print_berkeley_format (file);
-- else
-- print_sysv_format (file);
-+ switch (format)
-+ {
-+ case format_sysv:
-+ print_sysv_format (file);
-+ break;
-+ case format_bsd:
-+ print_berkeley_format (file);
-+ break;
-+ case format_avr:
-+ default:
-+ print_avr_format (file);
-+ break;
-+ }
+ if (selected_output_format == FORMAT_SYSV)
+ print_sysv_format (file);
++ else if (selected_output_format == FORMAT_AVR)
++ print_avr_format (file);
+ else
+ print_berkeley_or_gnu_format (file);
}
diff --git a/development/avr-gcc/avr-gcc.SlackBuild b/development/avr-gcc/avr-gcc.SlackBuild
index a91986fe8c..f6d6b2de03 100644
--- a/development/avr-gcc/avr-gcc.SlackBuild
+++ b/development/avr-gcc/avr-gcc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avr-gcc
@@ -7,29 +7,40 @@
# This file is placed in the public domain.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avr-gcc
-VERSION=${VERSION:-4.9.2}
+VERSION=${VERSION:-10.2.0}
+ISLVERSION=${ISLVERSION:-0.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -pipe"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -pipe"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
@@ -42,21 +53,25 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf gcc-$VERSION avr-gcc-build-$VERSION
-tar xvf $CWD/gcc-$VERSION.tar.bz2 || exit 1
-mkdir avr-gcc-build-$VERSION
-cd avr-gcc-build-$VERSION || exit 1
-chown -R root:root .
+mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
+cd $TMP/$PRGNAM
+rm -rf $TMP/$PRGNAM/*
+tar xvf $CWD/gcc-$VERSION.tar.xz
+tar xvf $CWD/isl-$ISLVERSION.tar.bz2
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
+cd gcc-$VERSION
+ln -s ../isl-$ISLVERSION isl
+
+mkdir ../avr-gcc-build-$VERSION
+cd ../avr-gcc-build-$VERSION
+
+export CFLAGS_FOR_TARGET="$SLKCFLAGS"
+export CXXFLAGS_FOR_TARGET="$SLKCFLAGS"
-CFLAGS_FOR_BUILD="$SLKCFLAGS" \
-CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
../gcc-$VERSION/configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -71,11 +86,12 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
--disable-linker-build-id \
--disable-nls \
--disable-werror \
- --enable-__cxa_atexit \
+ --disable-__cxa_atexit \
--enable-checking=release \
--enable-clocale=gnu \
--enable-cloog-backend=isl \
--enable-gnu-unique-object \
+ --enable-gnu-indirect-function \
--enable-gold \
--enable-languages=c,c++ \
--enable-ld=default \
@@ -90,22 +106,24 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
--with-plugin-ld=ld.gold \
--with-system-zlib \
--with-dwarf2 \
+ --with-isl \
--program-prefix="avr-" \
--program-suffix="" \
--build=$ARCH-slackware-linux
make || exit 1
-make install DESTDIR=$PKG || exit 1
+make -j1 install DESTDIR=$PKG || exit 1
# Remove useless stuff
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/libiberty.a
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/libcc1.*
rm -rf $PKG/usr/info
rm -rf $PKG/usr/include
rm -rf $PKG/usr/share
rm -rf $PKG/usr/man/man7
rm -rf $PKG/usr/libexec/gcc/avr/$VERSION/install-tools
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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 {} \;
@@ -121,4 +139,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/avr-gcc/avr-gcc.info b/development/avr-gcc/avr-gcc.info
index 6bd3a9b64d..c2ac03ead9 100644
--- a/development/avr-gcc/avr-gcc.info
+++ b/development/avr-gcc/avr-gcc.info
@@ -1,8 +1,10 @@
PRGNAM="avr-gcc"
-VERSION="4.9.2"
+VERSION="10.2.0"
HOMEPAGE="http://www.gnu.org/software/gcc/"
-DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.9.2/gcc-4.9.2.tar.bz2"
-MD5SUM="4df8ee253b7f3863ad0b86359cd39c43"
+DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-10.2.0/gcc-10.2.0.tar.xz \
+ https://slackware.uk/~urchlay/src/isl-0.22.tar.bz2"
+MD5SUM="e9fd9b1789155ad09bcf3ae747596b50 \
+ 4e6b2a1dd20b2ac011730a24580ff7a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="avr-binutils"
diff --git a/development/avr-gdb/avr-gdb.SlackBuild b/development/avr-gdb/avr-gdb.SlackBuild
index 92d5be38b9..0197b6eca9 100644
--- a/development/avr-gdb/avr-gdb.SlackBuild
+++ b/development/avr-gdb/avr-gdb.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avr-gdb
# Written by thorsten
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avr-gdb
-VERSION=${VERSION:-7.8.1}
+VERSION=${VERSION:-10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -64,7 +74,9 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
--target=avr \
--disable-nls \
--enable-languages=c,c++ \
- --with-python=/usr/bin/python2 \
+ --with-python=/usr/bin/python3 \
+ --with-guile=guile-2.2 \
+ --with-system-readline \
--with-system-gdbinit=/etc/gdb/gdbinit \
--program-prefix="avr-" \
--program-suffix="" \
@@ -80,7 +92,8 @@ 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
rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
+( cd $PKG/usr/info
+ for i in *; do mv $i avr-$i; gzip -9 avr-$i; done )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
for file in COPYING* ChangeLog MAINTAINERS README*; do
@@ -99,4 +112,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/avr-gdb/avr-gdb.info b/development/avr-gdb/avr-gdb.info
index 18c9d11808..0d517fb683 100644
--- a/development/avr-gdb/avr-gdb.info
+++ b/development/avr-gdb/avr-gdb.info
@@ -1,10 +1,10 @@
PRGNAM="avr-gdb"
-VERSION="7.8.1"
+VERSION="10.1"
HOMEPAGE="http://www.gnu.org/software/gdb/"
-DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-7.8.1.tar.xz"
-MD5SUM="8072be87a94be0936bc3b4b6941b0862"
+DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-10.1.tar.xz"
+MD5SUM="1822a7dd45e7813f4408407eec1a6af1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="avr-gcc"
+REQUIRES="avr-gcc guile2.2"
MAINTAINER="Thorsten"
EMAIL="thorsten.johannvorderbrueggen@t-online.de"
diff --git a/development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild b/development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild
index d18d0f566e..f2378b331c 100644
--- a/development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild
+++ b/development/avr8-burn-o-mat/avr8-burn-o-mat.SlackBuild
@@ -1,42 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for AVR8 Burn-O-Mat
# Written by Andrzej Telszewski <atelszewski@gmail.com>
+# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - make noarch (it's java with no JNI).
+# - fix .desktop file.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="avr8-burn-o-mat"
SRCNAM="AVR8_Burn-O-Mat"
VERSION=${VERSION:-2.1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
@@ -49,9 +40,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/{avr8-burn-o-mat,applications,pixmaps}
@@ -64,8 +55,9 @@ cp -a AVR8_Burn-O-Mat.png $PKG/usr/share/avr8-burn-o-mat
cp -a icon/AVR8_Burn-O-Mat_Icon_16.png $PKG/usr/share/avr8-burn-o-mat
cp -a "Installer Debian/avr8-burn-o-mat" $PKG/usr/bin
cp -a icon/AVR8_Burn-O-Mat_Icon_48.png $PKG/usr/share/pixmaps/avr8-burn-o-mat.png
-cp -a "Installer Debian/avr8-burn-o-mat.desktop" $PKG/usr/share/applications
-sed -i 's/'REPLACE_PROG_VERSION'/'$VERSION'/g' $PKG/usr/share/applications/avr8-burn-o-mat.desktop
+
+# 20220408 bkw: use a .desktop file that passes desktop-file-validate.
+cat $CWD/avr8-burn-o-mat.desktop > $PKG/usr/share/applications/avr8-burn-o-mat.desktop
cp -a license_gpl-3.0.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -75,4 +67,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/avr8-burn-o-mat/avr8-burn-o-mat.desktop b/development/avr8-burn-o-mat/avr8-burn-o-mat.desktop
new file mode 100644
index 0000000000..f514975c98
--- /dev/null
+++ b/development/avr8-burn-o-mat/avr8-burn-o-mat.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=AVR8 Burn-O-Mat
+Type=Application
+Exec=avr8-burn-o-mat %u
+Icon=/usr/share/pixmaps/avr8-burn-o-mat.png
+Comment=Flash AVR Microcontrollers
+Terminal=false
+Categories=Development;
diff --git a/development/avr8-burn-o-mat/avr8-burn-o-mat.info b/development/avr8-burn-o-mat/avr8-burn-o-mat.info
index 726f54445c..f5f13d9f8f 100644
--- a/development/avr8-burn-o-mat/avr8-burn-o-mat.info
+++ b/development/avr8-burn-o-mat/avr8-burn-o-mat.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://avr8-burn-o-mat.aaabbb.de/AVR8_Burn-O-Mat_2_1_2_src.tar.bz2"
MD5SUM="3ce2f3205840b855e4c2494335b0540e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk avrdude"
+REQUIRES="zulu-openjdk8 avrdude"
MAINTAINER="Andrzej Telszewski"
EMAIL="atelszewski@gmail.com"
diff --git a/development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild b/development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild
index 8f8f130ad7..baea46b245 100644
--- a/development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild
+++ b/development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for AVR 8-bit GNU Toolchain.
@@ -22,10 +22,13 @@
# 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=avr8-gnu-toolchain
VERSION=${VERSION:-3.4.1.798}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -109,4 +119,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/avr8-gnu-toolchain/avr8-gnu-toolchain.info b/development/avr8-gnu-toolchain/avr8-gnu-toolchain.info
index a5581d0f6e..0dd9119afc 100644
--- a/development/avr8-gnu-toolchain/avr8-gnu-toolchain.info
+++ b/development/avr8-gnu-toolchain/avr8-gnu-toolchain.info
@@ -1,12 +1,12 @@
PRGNAM="avr8-gnu-toolchain"
VERSION="3.4.1.798"
HOMEPAGE="http://www.atmel.com/"
-DOWNLOAD="http://www.atmel.com/Images/avr8-gnu-toolchain-3.4.1.798-linux.any.x86.tar.gz \
- http://www.atmel.com/Images/avr8-gnu-toolchain-3.4.1.798-readme.pdf"
+DOWNLOAD="https://slackware.uk/~urchlay/src/avr8-gnu-toolchain-3.4.1.798-linux.any.x86.tar.gz \
+ https://slackware.uk/~urchlay/src/avr8-gnu-toolchain-3.4.1.798-readme.pdf"
MD5SUM="2bedb2fa23f3f27b5b0b86d20dacc492 \
5b55c062e88430fca9e342b34e31cc5f"
-DOWNLOAD_x86_64="http://www.atmel.com/Images/avr8-gnu-toolchain-3.4.1.798-linux.any.x86_64.tar.gz \
- http://www.atmel.com/Images/avr8-gnu-toolchain-3.4.1.798-readme.pdf"
+DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/avr8-gnu-toolchain-3.4.1.798-linux.any.x86_64.tar.gz \
+ https://slackware.uk/~urchlay/src/avr8-gnu-toolchain-3.4.1.798-readme.pdf"
MD5SUM_x86_64="587573e4fa6ce0f2fe1b9cf0b4bfb744 \
5b55c062e88430fca9e342b34e31cc5f"
REQUIRES="%README%"
diff --git a/development/avra/avra.SlackBuild b/development/avra/avra.SlackBuild
index 5272fdacce..c82be5f9c9 100644
--- a/development/avra/avra.SlackBuild
+++ b/development/avra/avra.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avra
@@ -23,26 +23,36 @@
# 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=avra
VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -89,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/avrdude/avrdude.SlackBuild b/development/avrdude/avrdude.SlackBuild
index f03b2205af..374837ed45 100644
--- a/development/avrdude/avrdude.SlackBuild
+++ b/development/avrdude/avrdude.SlackBuild
@@ -1,31 +1,59 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avrdude
-# Written by Dustin Schnee <schnee72{at}gmail{dot}com>
+# Copyright 2023-2024 Heiko Rosemann Germany
#
-# Updated by Heiko Rosemann 2020
+# Originally written by Dustin Schnee <schnee72{at}gmail{dot}com>
+# and updated by Heiko Rosemann 2020-2022, but completely re-written in
+# 2023 when upstream switched from autotools to cmake.
+#
+# 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=avrdude
-VERSION=${VERSION:-6.3}
+VERSION=${VERSION:-7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -53,33 +81,33 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install 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 build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DUSE_STATIC_LIBS=OFF \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
+cp -a \
+ AUTHORS COPYING NEWS README.md atmel-docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# avoid overwriting configuration
mv $PKG/etc/$PRGNAM.conf $PKG/etc/$PRGNAM.conf.new
mkdir -p $PKG/install
@@ -87,4 +115,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/avrdude/avrdude.info b/development/avrdude/avrdude.info
index 682e5755e2..96b1392200 100644
--- a/development/avrdude/avrdude.info
+++ b/development/avrdude/avrdude.info
@@ -1,8 +1,8 @@
PRGNAM="avrdude"
-VERSION="6.3"
+VERSION="7.2"
HOMEPAGE="http://www.nongnu.org/avrdude/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/avrdude/avrdude-6.3.tar.gz"
-MD5SUM="58bb42049122cf80fe4f4d0ce36d92ee"
+DOWNLOAD="https://github.com/avrdudes/avrdude/archive/v7.2/avrdude-7.2.tar.gz"
+MD5SUM="9b423eab6d04e7dff1897cb183a78b87"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/aws-cdk/README b/development/aws-cdk/README
new file mode 100644
index 0000000000..3873f21bc4
--- /dev/null
+++ b/development/aws-cdk/README
@@ -0,0 +1,6 @@
+The AWS Cloud Development Kit (AWS CDK) is an open-source software
+development framework to define cloud infrastructure in code and
+provision it through AWS CloudFormation.
+
+NOTE: awscli is needed to perform authentication with AWS services
+but not needed as build requirement.
diff --git a/development/aws-cdk/aws-cdk.SlackBuild b/development/aws-cdk/aws-cdk.SlackBuild
new file mode 100644
index 0000000000..f535c766e4
--- /dev/null
+++ b/development/aws-cdk/aws-cdk.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for aws-cdk
+
+# Copyright 2023-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# 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=aws-cdk
+VERSION=${VERSION:-2.138.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
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/node_modules/
+npm install -g --prefix $PKG/usr $CWD/$PRGNAM-$VERSION.tgz
+
+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/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/aws-cdk/aws-cdk.info b/development/aws-cdk/aws-cdk.info
new file mode 100644
index 0000000000..c6d7fdec18
--- /dev/null
+++ b/development/aws-cdk/aws-cdk.info
@@ -0,0 +1,10 @@
+PRGNAM="aws-cdk"
+VERSION="2.138.0"
+HOMEPAGE="https://github.com/aws/aws-cdk"
+DOWNLOAD="https://registry.npmjs.org/aws-cdk/-/aws-cdk-2.138.0.tgz"
+MD5SUM="38bc13b8280a18cba3efb82f298a36d2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="nodejs awscli"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/development/aws-cdk/slack-desc b/development/aws-cdk/slack-desc
new file mode 100644
index 0000000000..388f910eb4
--- /dev/null
+++ b/development/aws-cdk/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------------------------------------------------------|
+aws-cdk: aws-cdk (AWS Cloud Development Kit)
+aws-cdk:
+aws-cdk: The AWS Cloud Development Kit (AWS CDK) is an open-source software
+aws-cdk: development framework to define cloud infrastructure in code and
+aws-cdk: provision it through AWS CloudFormation.
+aws-cdk:
+aws-cdk:
+aws-cdk: Project URL: https://github.com/aws/aws-cdk
+aws-cdk:
+aws-cdk:
+aws-cdk:
diff --git a/development/azuredatastudio/README b/development/azuredatastudio/README
new file mode 100644
index 0000000000..c8ece9916a
--- /dev/null
+++ b/development/azuredatastudio/README
@@ -0,0 +1,26 @@
+Azure Data Studio is a data management and development tool with
+connectivity to popular cloud and on-premises databases.
+Azure Data Studio supports Windows, macOS, and Linux, with immediate
+capability to connect to Azure SQL and SQL Server. Browse the
+extension library for additional database support options including
+MySQL, PostreSQL, and MongoDB.
+
+How to get started with SQL Server 20022 and docker, run:
+
+docker pull mcr.microsoft.com/mssql/server:2022-latest
+
+docker run -e "ACCEPT_EULA=Y" \
+ -e "MSSQL_SA_PASSWORD=QW3rtyui" \
+ -p 1433:1433 --name mssql2022 \
+ -d \
+ mcr.microsoft.com/mssql/server:2022-latest
+
+
+Log in with:
+Server=localhost,1433
+User name=sa
+Password=QW3rtyui
+
+
+Optional dependencies:
+docker docker-cli
diff --git a/development/azuredatastudio/azuredatastudio.SlackBuild b/development/azuredatastudio/azuredatastudio.SlackBuild
new file mode 100644
index 0000000000..c39b30b62b
--- /dev/null
+++ b/development/azuredatastudio/azuredatastudio.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for azuredatastudio
+
+# Copyright 2023 Martin Bångens Sweden
+# 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=azuredatastudio
+VERSION=${VERSION:-1.47.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" != "x86_64" ]; then
+ echo this is a x86_64 program only, you can set ARCH=x86_64
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-linux-x64
+tar xvf $CWD/stable || tar xvf $CWD/$PRGNAM-linux-$VERSION.tar.gz
+cd $PRGNAM-linux-x64
+chown -R root:root .
+
+install -d $PKG/usr/share/$PRGNAM
+cp -a ./* $PKG/usr/share/$PRGNAM
+
+# Symlink the startup script in /usr/bin
+install -d $PKG/usr/bin
+ln -s /usr/share/$PRGNAM/bin/azuredatastudio $PKG/usr/bin/$PRGNAM
+
+# Add the icon and desktop file
+cp ./resources/app/resources/linux/code.png $PRGNAM.png
+install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+install -D -m644 ./$PRGNAM.png \
+ $PKG/usr/share/icons/hicolor/1024x1024/apps/$PRGNAM.png
+res=(
+ 512x512
+ 256x256
+ 192x192
+ 128x128
+ 96x96
+ 72x72
+ 64x64
+ 48x48
+ 40x40
+ 36x36
+ 32x32
+ 24x24
+ 22x22
+ 20x20
+ 16x16
+)
+for _res in "${res[@]}"; do
+ convert -resize $_res $PRGNAM.png $PRGNAM-scaled.png
+ install -D -m644 ./$PRGNAM-scaled.png \
+ $PKG/usr/share/icons/hicolor/$_res/apps/$PRGNAM.png
+done
+
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 644 ./resources/app/LICENSE.txt
+chown root:root ./resources/app/LICENSE.txt
+cp -a \
+ ./resources/app/LICENSE.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
+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/development/azuredatastudio/azuredatastudio.desktop b/development/azuredatastudio/azuredatastudio.desktop
new file mode 100644
index 0000000000..291b418b31
--- /dev/null
+++ b/development/azuredatastudio/azuredatastudio.desktop
@@ -0,0 +1,18 @@
+[Desktop Entry]
+Name=Azure Data Studio
+Comment=Data Management Tool that enables you to work with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux.
+GenericName=Text Editor
+Exec=/usr/share/azuredatastudio/bin/azuredatastudio --unity-launch %F
+Icon=azuredatastudio
+Type=Application
+StartupNotify=false
+StartupWMClass=azuredatastudio
+Categories=TextEditor;Development;IDE;
+MimeType=text/plain;application/x-azuredatastudio-workspace;
+Actions=new-empty-window;
+Keywords=azuredatastudio;
+
+[Desktop Action new-empty-window]
+Name=New Empty Window
+Exec=/usr/share/azuredatastudio/bin/azuredatastudio --new-window %F
+Icon=azuredatastudio
diff --git a/development/azuredatastudio/azuredatastudio.info b/development/azuredatastudio/azuredatastudio.info
new file mode 100644
index 0000000000..106d7fbdc3
--- /dev/null
+++ b/development/azuredatastudio/azuredatastudio.info
@@ -0,0 +1,10 @@
+PRGNAM="azuredatastudio"
+VERSION="1.47.1"
+HOMEPAGE="https://github.com/microsoft/azuredatastudio"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://azuredatastudio-update.azurewebsites.net/1.47.1/linux-x64/stable"
+MD5SUM_x86_64="fa43ca81731fc559e4d0fb7dbd3c287e"
+REQUIRES=""
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"
diff --git a/development/KKEdit/doinst.sh b/development/azuredatastudio/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/development/KKEdit/doinst.sh
+++ b/development/azuredatastudio/doinst.sh
diff --git a/development/azuredatastudio/slack-desc b/development/azuredatastudio/slack-desc
new file mode 100644
index 0000000000..f645d69405
--- /dev/null
+++ b/development/azuredatastudio/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------------------------------------------------------|
+azuredatastudio: azuredatastudio (A data management tool)
+azuredatastudio:
+azuredatastudio: Azure Data Studio is a data management and development tool with
+azuredatastudio: connectivity to popular cloud and on-premises databases.
+azuredatastudio: Azure Data Studio supports Windows, macOS, and Linux, with immediate
+azuredatastudio: capability to connect to Azure SQL and SQL Server. Browse the
+azuredatastudio: extension library for additional database support options including
+azuredatastudio: MySQL, PostreSQL, and MongoDB.
+azuredatastudio:
+azuredatastudio:
+azuredatastudio:
diff --git a/development/bacon/README b/development/bacon/README
index 6bfa2fb13a..121f2c54bd 100644
--- a/development/bacon/README
+++ b/development/bacon/README
@@ -1,13 +1,20 @@
-BaCon is a free BASIC to C converter for Unix-based systems.
-The following design goals were followed:
- * Must run on each Unix/Linux/BSD platform, including Mac OS X
- * Converted source code must be compilable with GCC
- * Must resemble genuine BASIC with implicit variable declarations
- * Spoken language constructs are preferred
-
-Code converted by BaCon can be compiled by GCC, the Compaq C Compiler
-or TCC. This SlackBuild uses gcc by default, you can change that with
-the COMPILER variable.
-
-Note: When a new version of BaCon is released, the downloads will
-change and the md5sums won't match.
+bacon (BASIC to C translator)
+
+BaCon is a free BASIC to C translator for Unix-based systems. It
+intends to be a programming aid in creating tools which can be
+compiled on different platforms while trying to revive the days of the
+good old BASIC. BaCon can be described as a translator, a converter,
+a source-to-source compiler, a transcompiler or a transpiler. It also
+can be described as a very elaborate preprocessor to C.
+
+Note: BaCon only supports its own dialect of BASIC, which does not
+support line numbers. You can't use this to compile ancient code from
+the 80s.
+
+Optional dependency: fltk (autodetected). If fltk is installed at
+build time, the BaCon FLTK GUI will be built instead of the TK GUI.
+If you have fltk installed but prefer the TK GUI, export FLTK=no in
+the script's environment.
+
+Note: BaCon has a GTK+ GUI option, but it is not supported by this
+SlackBuild.
diff --git a/development/bacon/bacon.SlackBuild b/development/bacon/bacon.SlackBuild
index 27c3cea3fa..1cdbe578b0 100644
--- a/development/bacon/bacon.SlackBuild
+++ b/development/bacon/bacon.SlackBuild
@@ -1,29 +1,45 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bacon
-# Written by Steve Pledger <spledger91@yahoo.com>
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230814 bkw:
+# - update to v4.7.
+# - switch to self-hosted download, as upstreams disappears the
+# previous version immediately upon releasing a new one.
+# - prescaled icons.
+# - add CHANGES to doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bacon
-VERSION=${VERSION:-3.2.2}
+VERSION=${VERSION:-4.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -45,11 +61,35 @@ 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 {} \+
+
+# The --enable-gui-* and --disable-gui-* don't actually work.
+# We can't run autoreconf either (fails).
+# The intent here is to build the fltk gui if fltk is installed and
+# not disabled with FLTK=no, or the tk gui if fltk is missing or
+# disabled.
+# Either way, we don't currently support the gtk 2 gui (it depends
+# on webkitgtk 2.x, which is outdated and gone from our repo) or the
+# gtk 3 gui (because I don't feel like dealing with webkit2gtk as a
+# dependency, not even an optional one).
+if [ "${FLTK:-yes}" = "yes" -a -x /usr/bin/fltk-config ]; then
+ GUI="FLTK=true TK=false GTK3=false GTK2=false"
+ GUITYPE=FLTK
+else
+ GUI="FLTK=false TK=true GTK3=false GTK2=false"
+ GUITYPE=TK
+fi
+
+# Keep the .xbm icon in a private directory, so nothing else accidentally
+# uses it (it's ugly).
+sed -i 's,/share/pixmaps/,/share/BaCon/,' bacon.bac
+
+# I use this when editing the script, to avoid the 5+ minute build time.
+# The C implementation is thousands of times faster than the shell script.
+if [ "${CHEAT:-no}" = "yes" -a -x /usr/bin/bacon ]; then
+ sed -i 's,\$(BSHELL) \./bacon\.sh,/usr/bin/bacon,' Makefile.in
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -58,41 +98,61 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-bash \
--build=$ARCH-slackware-linux
-make -j1
-
-# make install doesn't understand DESTDIR
-mkdir -p $PKG/usr/bin
-/usr/bin/ginstall -c build/bacon $PKG/usr/bin
-/usr/bin/ginstall -c build/bacongui $PKG/usr/bin
-/usr/bin/ginstall -c bacon.sh $PKG/usr/bin
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-/usr/bin/ginstall -c -m 644 build/libbacon.a $PKG/usr/lib${LIBDIRSUFFIX}
-mkdir -p $PKG/usr/man/man1
-/usr/bin/ginstall -c -m 644 bacon.1 $PKG/usr/man/man1
-mkdir -p $PKG/usr/share/applications
-/usr/bin/ginstall -c -m 644 bacongui.desktop $PKG/usr/share/applications
-mkdir -p $PKG/usr/share/pixmaps
-/usr/bin/ginstall -c -m 644 icons/BaCon.png $PKG/usr/share/pixmaps
-mkdir -p $PKG/usr/share/enscript/hl
-/usr/bin/ginstall -c -m 644 syntax/bacon.st $PKG/usr/share/enscript/hl
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README.1ST \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# The -j1 really is needed here. Anyway the build process has a
+# 5+ minute "Converting 'bacon.bac'" that has to finish before
+# the other make targets can begin, so patching the Makefile to
+# support parallelism wouldn't actually speed it up noticeably.
+# The fakehome stuff is to keep it from creating or reading a
+# /root/.bacon/bacon.cfg file (we don't want to write outside of $TMP).
+mkdir -p `pwd`/fakehome
+HOME=`pwd`/fakehome make -j1 $GUI
+make -j1 install DESTDIR=$PKG $GUI
+
+gzip -9 $PKG/usr/man/man*/*
+
+# This is where we patched it to look for this icon:
+mv $PKG/usr/share/pixmaps/BaCon.xbm $PKG/usr/share/BaCon/
+
+# Various icons already in /usr/share/pixmaps. Prescale.
+for icon in BaCon BaConEyes BaConStrip; do
+ PNG=$PKG/usr/share/pixmaps/$icon.png
+ for px in 16 22 32 48 64 128 256; do
+ sz=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$sz/apps
+ mkdir -p $dir
+ convert -resize $sz $PNG $dir/$icon.png
+ done
+done
+
+# The GUI has the documentation path baked in, so symlink it to the
+# the Slackware doc dir.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README* CHANGES* $PKGDOC
+ln -s ../../share/BaCon/documentation $PKGDOC/documentation
+ln -s ../../share/BaCon/LICENSE $PKGDOC/LICENSE
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# The encscript synax file (bacon.st) gets installed to the right place.
+# Move the others to the right places.
+mkdir -p $PKG/usr/share/vim/vimfiles/syntax/
+mv $PKG/usr/share/BaCon/syntax/bacon.vim $PKG/usr/share/vim/vimfiles/syntax/bacon.vim
+mkdir -p $PKG/usr/share/gtksourceview-3.0/language-specs/
+mv $PKG/usr/share/BaCon/syntax/bacon.lang $PKG/usr/share/gtksourceview-3.0/language-specs/bacon.lang
+
+# The vim syntax file works, but won't be used automatically without this:
+mkdir -p $PKG/usr/share/vim/vimfiles/ftdetect
+echo "au! BufRead,BufNewFile *.bac,*.bacon setfiletype bacon" > \
+ $PKG/usr/share/vim/vimfiles/ftdetect/bacon.vim
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@GUITYPE@,$GUITYPE," < $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bacon/bacon.info b/development/bacon/bacon.info
index 4c6e9a83db..49b00c47d6 100644
--- a/development/bacon/bacon.info
+++ b/development/bacon/bacon.info
@@ -1,10 +1,10 @@
PRGNAM="bacon"
-VERSION="3.2.2"
-HOMEPAGE="http://www.basic-converter.org"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/bacon/bacon-3.2.2.tar.gz"
-MD5SUM="09f31555f883f89014dda531bdd23f2b"
+VERSION="4.7"
+HOMEPAGE="http://www.basic-converter.org/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/bacon-4.7.tar.gz"
+MD5SUM="6b27d53997f9fc7f37b4382db32099cf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Steve Pledger"
-EMAIL="spledger91@yahoo.com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/bacon/doinst.sh b/development/bacon/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/development/bacon/doinst.sh
+++ b/development/bacon/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/bacon/slack-desc b/development/bacon/slack-desc
index 4c9403461c..48770a2c95 100644
--- a/development/bacon/slack-desc
+++ b/development/bacon/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-bacon: bacon (basic converter)
+bacon: bacon (BASIC to C translator)
bacon:
-bacon: BaCon is a free BASIC to C converter for Unix-based systems.
-bacon: The following design goals were followed:
-bacon: * Must run on each Unix/Linux/BSD platform, including Mac OS X
-bacon: * Converted source code must be compilable with GCC
-bacon: * Must resemble genuine BASIC with implicit variable declarations
-bacon: * Spoken language constructs are preferred
+bacon: BaCon is a free BASIC to C translator for Unix-based systems. It
+bacon: intends to be a programming aid in creating tools which can be
+bacon: compiled on different platforms while trying to revive the days of the
+bacon: good old BASIC. BaCon can be described as a translator, a converter,
+bacon: a source-to-source compiler, a transcompiler or a transpiler. It also
+bacon: can be described as a very elaborate preprocessor to C.
bacon:
-bacon: Homepage: http://www.basic-converter.org
+bacon: This package built with the @GUITYPE@ GUI.
bacon:
diff --git a/development/bakefile/bakefile.SlackBuild b/development/bakefile/bakefile.SlackBuild
index d318d7f0ec..ecbd42aa05 100644
--- a/development/bakefile/bakefile.SlackBuild
+++ b/development/bakefile/bakefile.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bakefile
# Written by Luis Henrique <lmello.009@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bakefile
VERSION=${VERSION:-0.2.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -84,4 +94,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bas/bas.SlackBuild b/development/bas/bas.SlackBuild
index 0a9709e3e4..d8d0041b2d 100644
--- a/development/bas/bas.SlackBuild
+++ b/development/bas/bas.SlackBuild
@@ -1,13 +1,19 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bas
# Written by G. Schoenmakers
+# 20220304 bkw: Modified by SlackBuilds.org: update for v2.5,
+# change maintainer.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bas
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +23,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -46,9 +56,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -64,18 +74,18 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install
-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
+# 20220304 bkw: README recommends doing this, and it doesn't take long:
+make check
-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
+strip $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE NEWS 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bas/bas.info b/development/bas/bas.info
index 860f06fbef..4eff04867c 100644
--- a/development/bas/bas.info
+++ b/development/bas/bas.info
@@ -1,10 +1,10 @@
PRGNAM="bas"
-VERSION="2.4"
+VERSION="2.5"
HOMEPAGE="http://www.moria.de/~michael/bas/"
-DOWNLOAD="http://www.moria.de/~michael/bas/bas-2.4.tar.gz"
-MD5SUM="f2a0c85e5341ae425959413c7e850517"
+DOWNLOAD="http://www.moria.de/~michael/bas/bas-2.5.tar.gz"
+MD5SUM="d3a0de662f47bb54e7fa79fe1797a42d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="G. Schoenmakers"
-EMAIL="gschoen@iinet.net.au"
+MAINTAINER="Jude DaShiell"
+EMAIL="jdashiel@panix.com"
diff --git a/development/bas55/README b/development/bas55/README
index f740f48136..95fc4e2e85 100644
--- a/development/bas55/README
+++ b/development/bas55/README
@@ -3,6 +3,3 @@ bas55 (ECMA-55 Minimal BASIC System)
bas55 is an implementation of the the Minimal BASIC programming
language as defined by the ECMA 55 standard. It provides an
interpreter and an editor with line renumbering capabilities.
-
-For enhanced editing support, pass LIBEDIT=yes to the SlackBuild. This
-requires "libedit".
diff --git a/development/bas55/bas55.SlackBuild b/development/bas55/bas55.SlackBuild
index c4f9a9b643..b2143bd157 100644
--- a/development/bas55/bas55.SlackBuild
+++ b/development/bas55/bas55.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bas55
@@ -22,10 +22,28 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230506 Jorge: upstream (since v2.0) supports GNU readline:
+# - removing static linking with libedit.
+
+# 20230424 bkw: modified by B. Watson, at the maintainer's request. There is
+# an issue with modern libedit that I've temporarily fixed by including an
+# older static libedit in this build. libedit upstream has already fixed the
+# issue and it will be in their next release, but for Slackware 15.0 we won't
+# ever get an updated libedit unless it has an actual security issue.
+# Also:
+# - updated for v1.19.
+# - removed useless INSTALL from package.
+# - add doinst and douninst to rebuild /usr/info/dir.
+# - simplify the build commands a bit.
+# - fix the bas55.info file so it works correctly.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bas55
-VERSION=${VERSION:-1.18}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +53,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -54,12 +76,6 @@ else
LIBDIRSUFFIX=""
fi
-if [ "$LIBEDIT" = yes ]; then
- LIBEDITOPTION="--with-libedit"
-else
- LIBEDITOPTION=""
-fi
-
set -e
rm -rf $PKG
@@ -69,14 +85,10 @@ 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 {} \+
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -86,26 +98,26 @@ CXXFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- ${LIBEDITOPTION}
-
-make
-make install DESTDIR=$PKG
+ --with-readline
-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
+make V=1
+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
+gzip -9 $PKG/usr/man/man*/*
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING NEWS README INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING NEWS README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+# 20230424 bkw: yes, the doinst.sh and douninst.sh are the same.
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bas55/bas55.info b/development/bas55/bas55.info
index 6c2ae00a39..569711d35d 100644
--- a/development/bas55/bas55.info
+++ b/development/bas55/bas55.info
@@ -1,8 +1,8 @@
PRGNAM="bas55"
-VERSION="1.18"
+VERSION="2.0"
HOMEPAGE="https://jorgicor.niobe.org/bas55"
-DOWNLOAD="https://jorgicor.niobe.org/bas55/bas55-1.18.tar.gz"
-MD5SUM="ab17610a5686c1215f043d9e32673f5a"
+DOWNLOAD="https://jorgicor.niobe.org/bas55/bas55-2.0.tar.gz"
+MD5SUM="0b0160e2bb3cc712edfde4cdd51ceb05"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/bas55/doinst.sh b/development/bas55/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/development/bas55/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/development/bascat/README b/development/bascat/README
new file mode 100644
index 0000000000..3a78a70c47
--- /dev/null
+++ b/development/bascat/README
@@ -0,0 +1,7 @@
+bascat (detokenizer for BBC BASIC programs)
+
+bascat is a program that will convert BBC BASIC files to text, like
+the LIST command does.
+
+bascat reads tokenized BASIC files, not disk images. To extract a file
+from a disk image, use dfsimage (also available on SlackBuild.org).
diff --git a/development/bascat/bascat.1 b/development/bascat/bascat.1
new file mode 100644
index 0000000000..0d7fedd62d
--- /dev/null
+++ b/development/bascat/bascat.1
@@ -0,0 +1,114 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "BASCAT" 1 "2023-05-05" "1.2pre2" "SlackBuilds.org"
+.SH NAME
+bascat \- detokenizer for BBC Micro BASIC programs
+.\" RST source for bascat(1) man page. Convert with:
+.
+.\" rst2man.py bascat.rst > bascat.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+\fBbascat\fP [\fI\-\-help\fP | \fI\-h\fP] [\fI\-\-version\fP | \fI\-v\fP] [\fI\-\-line\-numbers\fP | \fI\-n\fP] [\fI\-\-no\-line\-numbers\fP | \fI+n\fP] [\fI\-\-highlight\fP | \fI\-l\fP ] [\fI\-\-no\-highlight\fP | \fI+l\fP ] [\fI\-\-pager=PAGER\fP | \fI\-p PAGER\fP] [\fIfile\fP ...]
+.SH DESCRIPTION
+.sp
+Types tokenized (SAVEd) BBC BASIC programs in a readable way.
+.sp
+With no \fIfile\fP arguments, \fBbascat\fP reads from standard input.
+.sp
+If standard output is a terminal, output will be piped through a
+pager. The default is \fB$PAGER\fP from the environment, or \fBless\fP if
+not set. Note that if standard output is not a terminal (e.g. if redirecting to
+a file), no pager is used.
+.sp
+Options can be placed in the \fBBASCAT\fP environment variable, if you don\(aqt
+like the standard settings.
+.SH OPTIONS
+.sp
+Prefix long options with \fBno\-\fP to cancel them. Use \fB+\fP to cancel short options.
+.INDENT 0.0
+.TP
+.B \-\-help\fP,\fB \-h
+Display built\-in help message and exit.
+.TP
+.B \-\-version\fP,\fB \-h
+Display version number and exit.
+.TP
+.B \-\-line\-numbers\fP,\fB \-n
+Display line numbers for each line. This is enabled by default; use \fB+n\fP or
+\fB\-\-no\-line\-numbers\fP to disable.
+.TP
+.B \-\-highlight\fP,\fB \-l
+Attempts to highlight keywords. Whether this works properly or not depends on
+the pager in use; \fBmore\fP(1), \fBless\fP(1), and \fBmost\fP(1) work correctly.
+\fBlv\fP(1) will work if you have \fB\-c\fP in \fB~/.lv\fP or \fBLV\fP in the environment.
+.TP
+.BI \-\-pager\fB= pager\fR,\fB \ \-p \ pager
+Sets pager to use, if standard output is a terminal. Overrides \fBPAGER\fP environment variable.
+If you don\(aqt want a pager, use \fB\-p cat\fP\&.
+.UNINDENT
+.\" FILES
+.
+.\" =====
+.
+.\" ENVIRONMENT
+.
+.\" ===========
+.
+.\" EXIT STATUS
+.
+.\" ===========
+.
+.\" BUGS
+.
+.\" ====
+.
+.\" EXAMPLES
+.
+.\" ========
+.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/bascat\-1.2pre2/README for license information.
+.SH AUTHORS
+.sp
+\fBbascat\fP was written by Matthew Wilcox and Mark Wooding.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBdfsimage\fP(1)
+.sp
+The bascat homepage: \fI\%https://git.distorted.org.uk/~mdw/\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/bascat/bascat.SlackBuild b/development/bascat/bascat.SlackBuild
new file mode 100644
index 0000000000..19b824c78c
--- /dev/null
+++ b/development/bascat/bascat.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for bascat
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=bascat
+VERSION=${VERSION:-1.2pre2+20121019_39f2290}
+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.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 {} \+
+
+# These 2 files came from another git repo by the same author.
+cat $CWD/mdwopt.c > mdwopt.c
+cat $CWD/mdwopt.h > mdwopt.h
+
+# Set correct version number in the binary, use a less ancient pager.
+# The --with-pager option is broken, or else I'd use that instead.
+sed -i -e "s,AUTO_VERSION,$VERSION," \
+ -e '/PAGER/s,"more","less",' \
+ configure.ac
+
+# Enable the -n/--line-numbers option by default. It's *completely stupid*
+# to have this disabled by default.
+sed -i '/^static int flags/s|;| = f_linenumbers;|' $PRGNAM.c
+
+autoreconf -if
+
+# The termcap stuff is supposed to be autodetected, but it fails. It's
+# needed for the -l/--highlight option to work.
+CFLAGS="$SLKCFLAGS -DHAVE_LIBTERMCAP" \
+LIBS="-ltermcap" \
+./configure \
+ --prefix=/usr \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+# Man page by SlackBuild author.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS ChangeLog NEWS README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bascat/bascat.info b/development/bascat/bascat.info
new file mode 100644
index 0000000000..a7903d77a8
--- /dev/null
+++ b/development/bascat/bascat.info
@@ -0,0 +1,14 @@
+PRGNAM="bascat"
+VERSION="1.2pre2+20121019_39f2290"
+HOMEPAGE="https://git.distorted.org.uk/~mdw/bascat"
+DOWNLOAD="https://slackware.uk/~urchlay/src/bascat-1.2pre2+20121019_39f2290.tar.xz \
+ https://git.distorted.org.uk/~mdw/cfd/blob_plain/9419af788cb0a97690da8b3ee6c59f2665d36533:/mdwopt.c \
+ https://git.distorted.org.uk/~mdw/cfd/blob_plain/9419af788cb0a97690da8b3ee6c59f2665d36533:/mdwopt.h"
+MD5SUM="a785092ec971679797d87474333906fb \
+ 1beee96e71ff21c0349f09fbdee7c5dc \
+ 42267e18170dbe0767f58964fb428e34"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/bascat/bascat.rst b/development/bascat/bascat.rst
new file mode 100644
index 0000000000..f0f089319e
--- /dev/null
+++ b/development/bascat/bascat.rst
@@ -0,0 +1,98 @@
+.. RST source for bascat(1) man page. Convert with:
+.. rst2man.py bascat.rst > bascat.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 1.2pre2
+.. |date| date::
+
+======
+bascat
+======
+
+----------------------------------------
+detokenizer for BBC Micro BASIC programs
+----------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+**bascat** [*--help* | *-h*] [*--version* | *-v*] [*--line-numbers* | *-n*] [*--no-line-numbers* | *+n*] [*--highlight* | *-l* ] [*--no-highlight* | *+l* ] [*--pager=PAGER* | *-p PAGER*] [*file* ...]
+
+DESCRIPTION
+===========
+
+Types tokenized (SAVEd) BBC BASIC programs in a readable way.
+
+With no *file* arguments, **bascat** reads from standard input.
+
+If standard output is a terminal, output will be piped through a
+pager. The default is **$PAGER** from the environment, or **less** if
+not set. Note that if standard output is not a terminal (e.g. if redirecting to
+a file), no pager is used.
+
+Options can be placed in the **BASCAT** environment variable, if you don't
+like the standard settings.
+
+OPTIONS
+=======
+
+Prefix long options with **no-** to cancel them. Use **+** to cancel short options.
+
+--help, -h
+ Display built-in help message and exit.
+
+--version, -h
+ Display version number and exit.
+
+--line-numbers, -n
+ Display line numbers for each line. This is enabled by default; use **+n** or
+ **--no-line-numbers** to disable.
+
+--highlight, -l
+ Attempts to highlight keywords. Whether this works properly or not depends on
+ the pager in use; **more**\(1), **less**\(1), and **most**\(1) work correctly.
+ **lv**\(1) will work if you have **-c** in **~/.lv** or **LV** in the environment.
+
+--pager=pager, -p pager
+ Sets pager to use, if standard output is a terminal. Overrides **PAGER** environment variable.
+ If you don't want a pager, use **-p cat**.
+
+.. FILES
+.. =====
+
+.. ENVIRONMENT
+.. ===========
+
+.. EXIT STATUS
+.. ===========
+
+.. BUGS
+.. ====
+
+.. EXAMPLES
+.. ========
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/bascat-|version|/README for license information.
+
+AUTHORS
+=======
+
+**bascat** was written by Matthew Wilcox and Mark Wooding.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**dfsimage**\(1)
+
+The bascat homepage: https://git.distorted.org.uk/~mdw/
diff --git a/development/bascat/git2tarxz.sh b/development/bascat/git2tarxz.sh
new file mode 100644
index 0000000000..fdda36380f
--- /dev/null
+++ b/development/bascat/git2tarxz.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+# Create source tarball from repo
+
+# Note that this script doesn't need to be run as root. It does need to
+# be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+PRGNAM=bascat
+CLONE_URL=git://git.distorted.org.uk/~mdw/bascat
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERTAG=$( git tag -l | tail -1 | sed 's,^v,,' )
+
+VERSION=${VERTAG}+${DATE}_${GIT_SHA}
+
+find . -name .git\* -print0 | xargs -0 rm -rf
+
+find . -type f -exec chmod 644 {} \+
+find . -type d -exec chmod 755 {} \+
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/development/bascat/slack-desc b/development/bascat/slack-desc
new file mode 100644
index 0000000000..a2382a130d
--- /dev/null
+++ b/development/bascat/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------------------------------------------------------|
+bascat: bascat (detokenizer for BBC BASIC programs)
+bascat:
+bascat: bascat is a program that will convert BBC BASIC files to text, like
+bascat: the LIST command does.
+bascat:
+bascat:
+bascat:
+bascat:
+bascat:
+bascat:
+bascat:
diff --git a/development/bashdb/bashdb.SlackBuild b/development/bashdb/bashdb.SlackBuild
index 2c053d3a53..57dcab5322 100644
--- a/development/bashdb/bashdb.SlackBuild
+++ b/development/bashdb/bashdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for bashdb
#
@@ -26,15 +26,25 @@
# source directory for instructions if you wish to enable readarray support.
# readarray speeds up initial loading of large scripts.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bashdb
-VERSION=${VERSION:-4.4_0.92}
+VERSION=${VERSION:-5.1_20210713}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=$(printf $VERSION | tr _ -)
-CWD=$(pwd)
+# 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}
@@ -45,7 +55,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.?z*
cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
@@ -54,7 +64,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 {} \;
-./configure \
+./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -71,7 +81,7 @@ gzip -9 $PKG/usr/info/*.info
rm -rf $PKG/usr/info/dir
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog ChangeLog.0 INSTALL NEWS README THANKS TODO \
+cp -a AUTHORS COPYING ChangeLog* INSTALL NEWS.md README.md THANKS* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -79,4 +89,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bashdb/bashdb.info b/development/bashdb/bashdb.info
index 8d06d80116..7ee0cf1cda 100644
--- a/development/bashdb/bashdb.info
+++ b/development/bashdb/bashdb.info
@@ -1,8 +1,8 @@
PRGNAM="bashdb"
-VERSION="4.4_0.92"
-HOMEPAGE="http://bashdb.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/bashdb/bashdb-4.4-0.92.tar.bz2"
-MD5SUM="b5e7ac9daf6f9d21f9928f45bf46ded9"
+VERSION="5.1_20210713"
+HOMEPAGE="https://bashdb.sourceforge.net/"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/bashdb-5.1-20210713.tar.xz"
+MD5SUM="441b108edc1dd79398595a089d037f55"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/bats/README b/development/bats-core/README
index effe6e8f37..effe6e8f37 100644
--- a/development/bats/README
+++ b/development/bats-core/README
diff --git a/development/bats-core/bats-core.SlackBuild b/development/bats-core/bats-core.SlackBuild
new file mode 100644
index 0000000000..e738e7d318
--- /dev/null
+++ b/development/bats-core/bats-core.SlackBuild
@@ -0,0 +1,77 @@
+#!/bin/bash
+
+# Slackware build script for bats-core
+
+# Copyright 2015-2021 Heinz Wiesinger, Amsterdam, The Netherlands
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=bats-core
+VERSION=${VERSION:-1.5.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+# 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-$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 {} \;
+
+./install.sh "$PKG/usr"
+
+mv $PKG/usr/share/man $PKG/usr/man
+rmdir $PKG/usr/share
+
+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 LICENSE* README* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bats-core/bats-core.info b/development/bats-core/bats-core.info
new file mode 100644
index 0000000000..9403bc39dc
--- /dev/null
+++ b/development/bats-core/bats-core.info
@@ -0,0 +1,10 @@
+PRGNAM="bats-core"
+VERSION="1.5.0"
+HOMEPAGE="https://github.com/bats-core/bats-core/"
+DOWNLOAD="https://github.com/bats-core/bats-core/archive/v1.5.0/bats-core-1.5.0.tar.gz"
+MD5SUM="112f327f0f9d8b88db5d9850193c31a6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Heinz Wiesinger"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/development/bats-core/slack-desc b/development/bats-core/slack-desc
new file mode 100644
index 0000000000..b91243b3b3
--- /dev/null
+++ b/development/bats-core/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------------------------------------------------------|
+bats-core: bats-core (Bash Automated Testing System)
+bats-core:
+bats-core: Bats is a TAP-compliant testing framework for Bash. It provides a
+bats-core: simple way to verify that the UNIX programs you write behave as
+bats-core: expected.
+bats-core:
+bats-core: Homepage: https://github.com/bats-core/bats-core
+bats-core:
+bats-core:
+bats-core:
+bats-core:
diff --git a/development/bats/bats.SlackBuild b/development/bats/bats.SlackBuild
deleted file mode 100644
index 2fae730b03..0000000000
--- a/development/bats/bats.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for bats
-
-# Copyright 2015 Heinz Wiesinger, Amsterdam, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=bats
-VERSION=${VERSION:-0.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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 {} \;
-
-./install.sh "$PKG/usr"
-
-mv $PKG/usr/share/man $PKG/usr/man
-rmdir $PKG/usr/share
-
-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 LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/bats/bats.info b/development/bats/bats.info
deleted file mode 100644
index 40f519c45d..0000000000
--- a/development/bats/bats.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="bats"
-VERSION="0.4.0"
-HOMEPAGE="https://github.com/sstephenson/bats"
-DOWNLOAD="https://github.com/sstephenson/bats/archive/v0.4.0/bats-0.4.0.tar.gz"
-MD5SUM="aeeddc0b36b8321930bf96fce6ec41ee"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/development/bats/slack-desc b/development/bats/slack-desc
deleted file mode 100644
index b8d9274400..0000000000
--- a/development/bats/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------------------------------------------------------|
-bats: bats (Bash Automated Testing System)
-bats:
-bats: Bats is a TAP-compliant testing framework for Bash. It provides a
-bats: simple way to verify that the UNIX programs you write behave as
-bats: expected.
-bats:
-bats: Homepage: https://github.com/sstephenson/bats
-bats:
-bats:
-bats:
-bats:
diff --git a/development/bazel/README b/development/bazel/README
new file mode 100644
index 0000000000..2c37f54ea7
--- /dev/null
+++ b/development/bazel/README
@@ -0,0 +1,6 @@
+Bazel is an open-source build and test tool that scalably supports
+multi-language and multi-platform projects.
+
+Only 1 version of OpenJDK may be installed at a time while building
+Bazel. For example, if both zulu-openjdk8 and zulu-openjdk11 are
+installed, please uninstall zulu-openjdk8 before building Bazel.
diff --git a/development/bazel/bazel.SlackBuild b/development/bazel/bazel.SlackBuild
new file mode 100644
index 0000000000..846294510c
--- /dev/null
+++ b/development/bazel/bazel.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for bazel
+
+# Copyright 2022-2023 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=bazel
+VERSION=${VERSION:-5.4.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
+unzip $CWD/$PRGNAM-$VERSION-dist.zip -d $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Export environmental variables
+# Please change JAVA_HOME if not using zulu-openjdk11
+export JAVA_HOME=/usr/lib$LIBDIRSUFFIX/zulu-openjdk11
+export EMBED_LABEL=$VERSION
+export EXTRA_BAZEL_ARGS="--java_runtime_version=local_jdk --tool_java_runtime_version=local_jdk"
+
+# Compile bazel
+./compile.sh
+./scripts/generate_bash_completion.sh \
+ --bazel=output/bazel \
+ --output=bazel-complete.bash \
+ --prepend=scripts/bazel-complete-header.bash \
+ --prepend=scripts/bazel-complete-template.bash
+cd output
+./bazel shutdown
+cd ../
+
+# Create new folders
+mkdir -p $PKG/usr/bin
+mkdir -p $PKG/usr/share/bash-completion/completions/bazel
+mkdir -p $PKG/usr/share/zsh/site-functions/_bazel
+mkdir -p $PKG/opt/bazel
+
+# Move the bazel binary (It alone is 33MB).
+# /usr/bin/bazel should not be stripped - otherwise, bazel becomes unusable:
+# https://github.com/bazelbuild/bazel/issues/600
+mv $TMP/$PRGNAM-$VERSION/output/bazel $PKG/usr/bin
+
+# Copy scripts
+cp $TMP/$PRGNAM-$VERSION/scripts/packages/bazel.sh $PKG/usr/bin
+cp $TMP/$PRGNAM-$VERSION/bazel-complete.bash $PKG/usr/share/bash-completion/completions/bazel
+cp $TMP/$PRGNAM-$VERSION/scripts/zsh_completion/_bazel $PKG/usr/share/zsh/site-functions/_bazel
+for d in examples third_party tools; do
+ cp -r $TMP/$PRGNAM-$VERSION/$d $PKG/opt/bazel/
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a --no-preserve=mode \
+ AUTHORS CODE_OF_CONDUCT.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bazel/bazel.info b/development/bazel/bazel.info
new file mode 100644
index 0000000000..bffd4e1423
--- /dev/null
+++ b/development/bazel/bazel.info
@@ -0,0 +1,10 @@
+PRGNAM="bazel"
+VERSION="5.4.0"
+HOMEPAGE="https://bazel.build/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/bazelbuild/bazel/releases/download/5.4.0/bazel-5.4.0-dist.zip"
+MD5SUM_x86_64="241f790c493e7858ff78954f12bfc4ee"
+REQUIRES="zulu-openjdk11"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/bazel/slack-desc b/development/bazel/slack-desc
new file mode 100644
index 0000000000..d131f58cb3
--- /dev/null
+++ b/development/bazel/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------------------------------------------------------|
+bazel: bazel (Correct, reproducible, and fast builds for everyone)
+bazel:
+bazel: Bazel is an open-source build and test tool that scalably supports
+bazel: multi-language and multi-platform projects.
+bazel:
+bazel:
+bazel:
+bazel:
+bazel:
+bazel:
+bazel:
diff --git a/development/bbcsdl/README b/development/bbcsdl/README
new file mode 100644
index 0000000000..98664a7629
--- /dev/null
+++ b/development/bbcsdl/README
@@ -0,0 +1,30 @@
+BBC BASIC for SDL 2.0 (BBCSDL) is an entirely free and Open Source
+cross-platform implementation of BBC BASIC for Windows, MacOS,
+Linux (x86 CPU only), Raspberry Pi OS (RPi3 or later), Android,
+iOS or for running in a browser.
+It combines the simplicity of BASIC with the sophistication of a
+structured language, allowing you to write utilities and games,
+use sound and graphics, and perform calculations.
+The Desktop editions (Windows, MacOS, Linux, Raspberry Pi)
+include a BASIC program editor with syntax colouring, live
+indentation, search & replace and many other features.
+Built-in diagnostic aids such as run-time trace, listing of
+variables, single-step execution and a profiler make debugging
+even the most complex programs straightforward.
+
+This package installs to /opt/bbcsdl and is a rebuild of the open
+sources available at https://github.com/rtrussell/BBCSDL
+
+The Box2D (Box2D321.so) libraries:
+- 64 bits md5 215bbda5d9a92a5cc99534de4e1235aa and
+- 32 bits md5 f079027b8e2589a10fd17eca77e644f7
+are bundled with the original release by R.T.Russell available
+at https://www.bbcbasic.co.uk/bbcsdl/bbclinux.zip.
+This SlackBuild includes it as a separate download from the
+package maintainer github account as it is not packaged with
+program sources. If you do not need it you can exclude the
+library by passing BOX2D=no like this:
+
+BOX2D=no ./bbcsdl.SlackBuild
+
+Many program examples are installed at /opt/bbcsdl/examples/
diff --git a/development/bbcsdl/bbc256x.png b/development/bbcsdl/bbc256x.png
new file mode 100644
index 0000000000..2c2cd13d9e
--- /dev/null
+++ b/development/bbcsdl/bbc256x.png
Binary files differ
diff --git a/development/bbcsdl/bbcsdl.SlackBuild b/development/bbcsdl/bbcsdl.SlackBuild
new file mode 100644
index 0000000000..b874c8460b
--- /dev/null
+++ b/development/bbcsdl/bbcsdl.SlackBuild
@@ -0,0 +1,142 @@
+#!/bin/bash
+
+# Slackware build script for bbcsdl
+
+# 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=bbcsdl
+VERSION=${VERSION:-1.39a}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+TARBALL=${TARBALL:-BBCSDL-9518dca38626288a9035936bf0742e9d811e72e8}
+
+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 xvfz $CWD/$TARBALL.tar.gz
+mv $TARBALL $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+
+# Patch makefiles
+if [ "$ARCH" = "x86_64" ]; then
+ patch console/linux/makefile $CWD/makefile-console-64.patch
+fi
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ patch console/linux/makefile $CWD/makefile-console-32.patch
+ patch bin/linux/makefile $CWD/makefile-sdl-32.patch
+fi
+
+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 {} \;
+
+# Build sdl and console versions
+cd bin/linux
+make
+cd ../../console/linux
+make
+cd ../..
+
+# Setup package files
+mkdir -p $PKG/usr/bin $PKG/opt/$PRGNAM $PKG/usr/share/pixmaps $PKG/usr/share/applications
+
+install -D -m0755 bbcsdl $PKG/opt/$PRGNAM/bbcsdl
+install -D -m0755 libstb.so $PKG/opt/$PRGNAM/libstb.so
+install -D -m0755 bbcbasic $PKG/opt/$PRGNAM/bbcbasic
+cp bbcsdl.bbc $PKG/opt/$PRGNAM/
+cp -avxu lib $PKG/opt/$PRGNAM/
+cp -avxu examples $PKG/opt/$PRGNAM/
+
+# Optionally exclude the Box2D library
+if [ "${BOX2D:-yes}" = "yes" ]; then
+ if [ "$ARCH" = "x86_64" ]; then
+ #MD5 215bbda5d9a92a5cc99534de4e1235aa
+ tar xvfz $CWD/Box2D231_64.tar.gz
+ fi
+ if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ #MD5 f079027b8e2589a10fd17eca77e644f7
+ tar xvfz $CWD/Box2D231_32.tar.gz
+ fi
+ install -D -m0755 Box2D231.so $PKG/opt/$PRGNAM/Box2D231.so
+fi
+
+cp $CWD/bbc256x.png $PKG/usr/share/pixmaps
+cp $CWD/bbcsdl.desktop $PKG/usr/share/applications
+
+( cd $PKG/usr/bin ; rm -rf bbcsdl )
+( cd $PKG/usr/bin ; ln -s /opt/bbcsdl/bbcsdl bbcsdl )
+( cd $PKG/usr/bin ; rm -rf bbcbasic )
+( cd $PKG/usr/bin ; ln -s /opt/bbcsdl/bbcbasic bbcbasic )
+
+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/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp licence.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp README.md $PKG/usr/doc/$PRGNAM-$VERSION
+
+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/development/bbcsdl/bbcsdl.desktop b/development/bbcsdl/bbcsdl.desktop
new file mode 100644
index 0000000000..6f1ee9f081
--- /dev/null
+++ b/development/bbcsdl/bbcsdl.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=BBC BASIC
+GenericName=BBC BASIC
+Comment=BBC BASIC for Linux
+Icon=bbc256x
+Exec=bbcsdl
+Type=Application
+Terminal=false
+Categories=Development
+StartupNotify=false
diff --git a/development/bbcsdl/bbcsdl.info b/development/bbcsdl/bbcsdl.info
new file mode 100644
index 0000000000..3837a91667
--- /dev/null
+++ b/development/bbcsdl/bbcsdl.info
@@ -0,0 +1,14 @@
+PRGNAM="bbcsdl"
+VERSION="1.39a"
+HOMEPAGE="https://www.bbcbasic.co.uk/bbcsdl"
+DOWNLOAD="https://github.com/rtrussell/BBCSDL/archive/9518dca/BBCSDL-9518dca38626288a9035936bf0742e9d811e72e8.tar.gz \
+ https://github.com/antonioleal/myslackbuilds/raw/main/development/bbcsdl/Box2D231_32.tar.gz"
+MD5SUM="9e1403aa4716c9860215639482dfe572 \
+ ccfb8ab5f63f0d3a8cec047005061a88"
+DOWNLOAD_x86_64="https://github.com/rtrussell/BBCSDL/archive/9518dca/BBCSDL-9518dca38626288a9035936bf0742e9d811e72e8.tar.gz \
+ https://github.com/antonioleal/myslackbuilds/raw/main/development/bbcsdl/Box2D231_64.tar.gz"
+MD5SUM_x86_64="9e1403aa4716c9860215639482dfe572 \
+ 3d6e27b4b1214432a43244a7bc3e615b"
+REQUIRES=""
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/bbcsdl/doinst.sh b/development/bbcsdl/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/bbcsdl/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/bbcsdl/makefile-console-32.patch b/development/bbcsdl/makefile-console-32.patch
new file mode 100644
index 0000000000..43d2735d4d
--- /dev/null
+++ b/development/bbcsdl/makefile-console-32.patch
@@ -0,0 +1,13 @@
+--- makefile 2023-11-17 22:37:21.787892000 +0000
++++ makefile.new 2023-11-17 23:05:02.368574413 +0000
+@@ -23,8 +23,8 @@
+ bbccon.o: bbccon.c bbccon.h
+ $(CXX) -Wno-array-bounds -Wno-unused-result -c -Os $< -o $@
+
+-bbdata.o: ../../../BBCSDL/src/bbdata_x86_64.nas
+- nasm -f elf64 -s ../../../BBCSDL/src/bbdata_x86_64.nas -o bbdata.o
++bbdata.o: ../../src/bbdata_x86_32.nas
++ nasm -f elf32 -s ../../src/bbdata_x86_32.nas -o bbdata.o
+
+ bbcbasic: $(OBJ)
+ $(CXX) $(OBJ) -L . -L/usr/include -ldl -lm -lrt -pthread \
diff --git a/development/bbcsdl/makefile-console-64.patch b/development/bbcsdl/makefile-console-64.patch
new file mode 100644
index 0000000000..1d518bfd25
--- /dev/null
+++ b/development/bbcsdl/makefile-console-64.patch
@@ -0,0 +1,13 @@
+--- makefile~ 2023-09-01 18:03:56.000000000 +0100
++++ makefile 2023-09-05 20:30:45.191115440 +0100
+@@ -23,8 +23,8 @@
+ bbccon.o: bbccon.c bbccon.h
+ $(CXX) -Wno-array-bounds -Wno-unused-result -c -Os $< -o $@
+
+-bbdata.o: ../../../BBCSDL/src/bbdata_x86_64.nas
+- nasm -f elf64 -s ../../../BBCSDL/src/bbdata_x86_64.nas -o bbdata.o
++bbdata.o: ../../src/bbdata_x86_64.nas
++ nasm -f elf64 -s ../../src/bbdata_x86_64.nas -o bbdata.o
+
+ bbcbasic: $(OBJ)
+ $(CXX) $(OBJ) -L . -L/usr/include -ldl -lm -lrt -pthread \
diff --git a/development/bbcsdl/makefile-sdl-32.patch b/development/bbcsdl/makefile-sdl-32.patch
new file mode 100644
index 0000000000..ee49430ac0
--- /dev/null
+++ b/development/bbcsdl/makefile-sdl-32.patch
@@ -0,0 +1,50 @@
+--- makefile.ori 2023-11-18 16:05:00.344034123 +0000
++++ makefile 2023-11-18 18:10:30.536390339 +0000
+@@ -20,19 +20,19 @@
+ all: bbcsdl
+
+ bbmain.o: bbmain.c BBC.h
+- $(CXX) -c -O2 -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
++ $(CXX) -c -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
+
+ bbexec.o: bbexec.c BBC.h
+- $(CXX) -c -O2 -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
++ $(CXX) -c -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
+
+ bbeval.o: bbeval.c BBC.h
+- $(CXX) -Wno-array-bounds -c -O2 -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
++ $(CXX) -Wno-array-bounds -c -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
+
+ bbasmb.o: bbasmb_x86_64.c BBC.h
+ $(CXX) -c -Os $< -o $@
+
+ bbcmos.o: bbcmos.c bbcsdl.h
+- $(CXX) -Wno-unused-result -Wno-array-bounds -c -msse2 -O2 $< -o $@
++ $(CXX) -Wno-unused-result -Wno-array-bounds -c -msse2 $< -o $@
+
+ bbccli.o: bbccli.c bbcsdl.h
+ $(CXX) -Wno-unused-result -c -Os $< -o $@
+@@ -41,19 +41,19 @@
+ $(CXX) -c -Os $< -o $@
+
+ bbcvtx.o: bbcvtx.c bbcsdl.h
+- $(CXX) -c -O3 $< -o $@
++ $(CXX) -c $< -o $@
+
+ bbcsdl.o: bbcsdl.c bbcsdl.h version.h
+- $(CXX) -Wno-unused-result -c -O2 $< -o $@
++ $(CXX) -Wno-unused-result -c $< -o $@
+
+ SDL2_gfxPrimitives.o: SDL2_gfxPrimitives.c SDL2_gfxPrimitives.h
+- $(CXX) -c -O2 $< -o $@
++ $(CXX) -c $< -o $@
+
+ SDL2_rotozoom.o: SDL2_rotozoom.c SDL2_rotozoom.h SDL2_gfxPrimitives.h SDL_stbimage.h stb_image.h dr_mp3.h
+ $(CXX) -c -Os -fPIC $< -o $@
+
+ flood.o: flood.c
+- $(CXX) -c -O3 $< -o $@
++ $(CXX) -c $< -o $@
+
+ ifeq ($(LBITS),64)
+ bbdata.o: ../../src/bbdata_x86_64.nas
diff --git a/development/bbcsdl/slack-desc b/development/bbcsdl/slack-desc
new file mode 100644
index 0000000000..fab52415b5
--- /dev/null
+++ b/development/bbcsdl/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------------------------------------------------------|
+bbcsdl: bbcsdl (BBC BASIC for linux)
+bbcsdl:
+bbcsdl: BBC BASIC for SDL 2.0 (BBCSDL) is an entirely free and Open Source
+bbcsdl: cross-platform implementation of BBC BASIC for Windows, MacOS,
+bbcsdl: Linux (x86 CPU only), Raspberry Pi OS (RPi3 or later), Android,
+bbcsdl: iOS or for running in a browser.
+bbcsdl:
+bbcsdl: BBC BASIC is very well documented.
+bbcsdl:
+bbcsdl: Homepage at https://www.bbcbasic.co.uk/bbcsdl
+bbcsdl:
diff --git a/development/bcc/README b/development/bcc/README
new file mode 100644
index 0000000000..ed001ad7fe
--- /dev/null
+++ b/development/bcc/README
@@ -0,0 +1,21 @@
+BPF Compiler Collection (BCC)
+
+BCC is a toolkit for creating efficient kernel tracing and
+manipulation programs, and includes several useful tools and examples.
+It makes use of extended BPF (Berkeley Packet Filters), formally known
+as eBPF, a new feature that was first added to Linux 3.15. Much of
+what BCC uses requires Linux 4.1 and above.
+
+eBPF was described by Ingo Molnár as:
+
+One of the more interesting features in this cycle is the ability to
+attach eBPF programs (user-defined, sandboxed bytecode executed by the
+kernel) to kprobes. This allows user-defined instrumentation on a live
+kernel image that can never crash, hang or interfere with the kernel
+negatively.
+
+BCC makes BPF programs easier to write, with kernel instrumentation in
+C (and includes a C wrapper around LLVM), and front-ends in Python and
+lua. It is suited for many tasks, including performance analysis and
+network traffic control.
+
diff --git a/development/bcc/bcc.SlackBuild b/development/bcc/bcc.SlackBuild
new file mode 100644
index 0000000000..7fc65c6ede
--- /dev/null
+++ b/development/bcc/bcc.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for bcc
+
+# Copyright 2023, Lockywolf
+# 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=bcc
+TARNAM=bcc-src-with-submodule
+VERSION=${VERSION:-0.28.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$TARNAM.tar.gz
+cd $PRGNAM
+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 {} \;
+
+sed -i '/CMAKE_CXX_FLAGS/alink_libraries(LLVMSupport LLVMMC LLVMCore LLVMipo LLVMObject LLVMBPFInfo LLVMBPFDesc LLVMExecutionEngine)' CMakeLists.txt
+
+mkdir -p build
+cd build
+cmake \
+ -DCMAKE_C_COMPILER=clang \
+ -DCMAKE_CXX_COMPILER=clang++ \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DENABLE_TESTS=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ FAQ.txt LINKS.md CODEOWNERS QUICKSTART.md \
+CONTRIBUTING-SCRIPTS.md LICENSE.txt 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/development/bcc/bcc.info b/development/bcc/bcc.info
new file mode 100644
index 0000000000..e6977cb4e6
--- /dev/null
+++ b/development/bcc/bcc.info
@@ -0,0 +1,10 @@
+PRGNAM="bcc"
+VERSION="0.28.0"
+HOMEPAGE="https://github.com/iovisor/bcc"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/iovisor/bcc/releases/download/v0.28.0/bcc-src-with-submodule.tar.gz"
+MD5SUM_x86_64="175358514709159d80a4de42cde8ed67"
+REQUIRES="libbpf"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.bcc_2023-07-12@lockywolf.net"
diff --git a/development/bcc/slack-desc b/development/bcc/slack-desc
new file mode 100644
index 0000000000..fc294fabff
--- /dev/null
+++ b/development/bcc/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------------------------------------------------------|
+bcc: bcc (BPF Compiler Collection)
+bcc:
+bcc: BCC is a toolkit for creating efficient kernel tracing and
+bcc: manipulation programs, and includes several useful tools and
+bcc: examples. It makes use of extended BPF (Berkeley Packet Filters),
+bcc: formally known as eBPF, a new feature that was first added to Linux
+bcc: 3.15. Much of what BCC uses requires Linux 4.1 and above.
+bcc:
+bcc:
+bcc:
+bcc:
diff --git a/development/bcpp/README b/development/bcpp/README
new file mode 100644
index 0000000000..c66f74c86b
--- /dev/null
+++ b/development/bcpp/README
@@ -0,0 +1,12 @@
+bcpp (C/C++ source beautifier)
+
+bcpp indents C/C++ source programs, replacing tabs with spaces or the
+reverse. Unlike indent, it does (by design) not attempt to wrap long
+statements. It supports quite a few options to control the output; see
+the man page for details.
+
+Note that bcpp looks in the current directory for bcpp.cfg, by default
+(there is no system-wide config file in /etc). Two sample config files
+are installed in the documentation directory. These can be used with
+the -fnc option, and should be used as templates for creating your own
+project-specific config files.
diff --git a/development/bcpp/bcpp.SlackBuild b/development/bcpp/bcpp.SlackBuild
new file mode 100644
index 0000000000..967c55ad32
--- /dev/null
+++ b/development/bcpp/bcpp.SlackBuild
@@ -0,0 +1,91 @@
+#!/bin/bash
+
+# Slackware build script for bcpp
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20240312 bkw: update for v20240111.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=bcpp
+VERSION=${VERSION:-20240111}
+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.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+strip $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/*/*
+
+# stuff in txtdocs/: hirachy.txt documents internals, for hacking
+# bcpp's code (not needed in a SBo package), and manual.txt is just
+# a preformatted copy of the man page. wpdocs/ are the same, in
+# WordPerfect 5.1 format (do not package).
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a CHANGES COPYING README *.cfg $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bcpp/bcpp.info b/development/bcpp/bcpp.info
new file mode 100644
index 0000000000..7a3dca246c
--- /dev/null
+++ b/development/bcpp/bcpp.info
@@ -0,0 +1,10 @@
+PRGNAM="bcpp"
+VERSION="20240111"
+HOMEPAGE="https://invisible-island.net/bcpp/bcpp.html"
+DOWNLOAD="https://invisible-island.net/archives/bcpp/bcpp-20240111.tgz"
+MD5SUM="151d44c39c0573c8da58196f4caf2b84"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/bcpp/slack-desc b/development/bcpp/slack-desc
new file mode 100644
index 0000000000..39039539ad
--- /dev/null
+++ b/development/bcpp/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------------------------------------------------------|
+bcpp: bcpp (indent C/C++ source)
+bcpp:
+bcpp: bcpp indents C/C++ source programs, replacing tabs with spaces or the
+bcpp: reverse. Unlike indent, it does (by design) not attempt to wrap long
+bcpp: statements.
+bcpp:
+bcpp:
+bcpp:
+bcpp:
+bcpp:
+bcpp:
diff --git a/development/beautysh/README b/development/beautysh/README
index ed34e5c201..adc1f8c2a9 100644
--- a/development/beautysh/README
+++ b/development/beautysh/README
@@ -1,2 +1,7 @@
-This program takes upon itself the hard task of beautifying Bash
-scripts.
+beautysh (beautifier for bash scripts)
+
+beautysh takes upon itself the hard task of beautifying Bash scripts
+(yeesh). Processing Bash scripts is not trivial, they aren't like C or
+Java programs - they have a lot of ambiguous syntax, and (shudder) you
+can use keywords as variables. This means there will be some border
+cases beautysh won't be able to process.
diff --git a/development/beautysh/beautysh.SlackBuild b/development/beautysh/beautysh.SlackBuild
index 4cc1353ade..065e036324 100644
--- a/development/beautysh/beautysh.SlackBuild
+++ b/development/beautysh/beautysh.SlackBuild
@@ -1,31 +1,25 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for beautysh
-# Copyright 2018-2020 Leonardo Citrolo, Italy
-# 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.
+# Originally written by Leonardo Citrolo, Italy
+# Now maintained by B. Watson (urchlay@slackware.uk).
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230508 bkw:
+# - new maintainer.
+# - relicense as WTFPL with original author's permission.
+# - update for v6.2.1.
+# - expand README and slack-desc
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=beautysh
-VERSION=${VERSION:-6.0.1}
+VERSION=${VERSION:-6.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,24 +29,17 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
+LIB=lib
+[ "$ARCH" = "x86_64" ] && LIB=lib64
set -e
@@ -63,21 +50,34 @@ 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 {} \+
+
+# For some reason, this requires "poetry", but our package is called
+# poetry-core according to python. *Many* thanks to fourtysixandtwo
+# for pointing this out. Also, there are a couple of bogus
+# not-really-required requirements listed, which prevent the --help
+# and --version options from showing the version number (and make 'pip
+# check' complain).
+sed -i -e '/^requires =/s,"poetry","poetry-core",' \
+ -e '/^types-\(colorama\|setuptools\)/d' \
+ pyproject.toml
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
-python3 setup.py install --root=$PKG
+# Redundant copy of this file (there's another in the right dir).
+rm -f $PKG/usr/lib*/python*/site-packages/LICENSE
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+PYVER=$(pkg-config --modversion python3)
+ln -s ../../$LIB/python$PYVER/site-packages/$PRGNAM-$VERSION.dist-info/LICENSE $PKGDOC
+cp -a README.* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/beautysh/beautysh.info b/development/beautysh/beautysh.info
index c43258369e..7e89a93e73 100644
--- a/development/beautysh/beautysh.info
+++ b/development/beautysh/beautysh.info
@@ -1,10 +1,10 @@
PRGNAM="beautysh"
-VERSION="6.0.1"
+VERSION="6.2.1"
HOMEPAGE="https://github.com/lovesegfault/beautysh"
-DOWNLOAD="https://github.com/lovesegfault/beautysh/archive/6.0.1/beautysh-6.0.1.tar.gz"
-MD5SUM="8839e2f2a945b83f677f34a2b78ee08a"
+DOWNLOAD="https://github.com/lovesegfault/beautysh/archive/v6.2.1/beautysh-6.2.1.tar.gz"
+MD5SUM="6482b66f1bbddfcb45a341c495434ed1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Leo C."
-EMAIL="leoc@gmx.com"
+REQUIRES="python3-poetry-core colorama"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/beautysh/slack-desc b/development/beautysh/slack-desc
index b743dd237e..da84bfabc7 100644
--- a/development/beautysh/slack-desc
+++ b/development/beautysh/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-beautysh: beautysh (A Bash beautifier for the masses)
+beautysh: beautysh (beautifier for bash scripts)
beautysh:
-beautysh: This program takes upon itself the hard task of beautifying Bash
-beautysh: scripts.
+beautysh: beautysh takes upon itself the hard task of beautifying Bash scripts
+beautysh: (yeesh). Processing Bash scripts is not trivial, they aren't like C or
+beautysh: Java programs - they have a lot of ambiguous syntax, and (shudder) you
+beautysh: can use keywords as variables. This means there will be some border
+beautysh: cases beautysh won't be able to process.
beautysh:
beautysh:
beautysh:
beautysh:
-beautysh:
-beautysh: Homepage: https://github.com/lovesegfault/beautysh
-beautysh:
diff --git a/development/beav/beav.SlackBuild b/development/beav/beav.SlackBuild
index 8982fed283..a2231e1933 100644
--- a/development/beav/beav.SlackBuild
+++ b/development/beav/beav.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for beav
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -22,10 +22,13 @@
# is none other than Sam Hocevar, who also invented the WTFPL license
# that's used for this script and most of my other SBo builds. Hi, Sam!
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=beav
VERSION=${VERSION:-1.40_18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -115,4 +122,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/beav/beav.info b/development/beav/beav.info
index 89b2404c29..df153fff9c 100644
--- a/development/beav/beav.info
+++ b/development/beav/beav.info
@@ -1,12 +1,12 @@
PRGNAM="beav"
VERSION="1.40_18"
HOMEPAGE="https://packages.debian.org/sid/beav"
-DOWNLOAD="http://http.debian.net/debian/pool/main/b/beav/beav_1.40.orig.tar.gz \
- http://http.debian.net/debian/pool/main/b/beav/beav_1.40-18.diff.gz"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/b/beav/beav_1.40.orig.tar.gz \
+ https://deb.debian.org/debian/pool/main/b/beav/beav_1.40-18.diff.gz"
MD5SUM="9c30dce1697f468682eb2aae464de175 \
63a2f7a63334abc020cd37e86d349ec1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/bed/bed.SlackBuild b/development/bed/bed.SlackBuild
index cda7e9329a..617726af14 100644
--- a/development/bed/bed.SlackBuild
+++ b/development/bed/bed.SlackBuild
@@ -1,20 +1,24 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bed
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220404 bkw: BUILD=3, remove more cruft.
# 20200111 bkw: Upstream site has expired and gone to meet its maker.
# 20191225 bkw: BUILD=2
# - fix builds with optional re2 dep, document optional hyperscan dep.
# - install BUGS CHANGELOG TODO in docdir.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bed
VERSION=${VERSION:-3.0.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +28,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -70,6 +78,12 @@ sed -i '/Press F1 in menu/s/X/[x]/g' plugins/examples/helpf1.cc
# 20191225 bkw: build was failing on systems where re2 was installed
sed -i 's,static *string,static std::string,' src/re2search.cpp
+# 20220205 bkw: C++ standards OCD...
+sed -i 's,getret>0,getret,' src/readhelp.cpp
+
+# 20220404 bkw: wtf, upstream? you included compiled binaries in the source.
+rm -f src/mkpartypes regex-*/regtest
+
# Not sure the --without-x does anything, but it doesn't hurt either.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -148,6 +162,9 @@ rm -f $PKGBEDLIB/bedmagic.short $PKGBEDLIB/addmagic
# Don't want this (use removepkg instead):
rm -f $PKGBEDLIB/uninstallbed.sh
+# 20220404 bkw: this looks utterly useless.
+rm -f $PKGBEDLIB/plugins/examples/disass-use
+
# There's still some cruft in $PKGBEDLIB (e.g. sources for the plugins),
# but it's stuff that could be considered documentation so I'll leave it.
@@ -172,4 +189,4 @@ sed -e "s,@HYPER@,$HYPER," \
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bed/bed.info b/development/bed/bed.info
index e74bbaad0d..e125f06e49 100644
--- a/development/bed/bed.info
+++ b/development/bed/bed.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/berkeley-abc/README b/development/berkeley-abc/README
new file mode 100644
index 0000000000..2b4f1bc91f
--- /dev/null
+++ b/development/berkeley-abc/README
@@ -0,0 +1,13 @@
+ ABC is a growing software system for synthesis and verification of
+binary sequential logic circuits appearing in synchronous hardware
+designs. ABC combines scalable logic optimization based on
+And-Inverter Graphs (AIGs), optimal-delay DAG-based technology
+mapping for look-up tables and standard cells, and innovative
+algorithms for sequential synthesis and verification.
+
+ ABC provides an experimental implementation of these algorithms
+and a programming environment for building similar applications.
+Future development will focus on improving the algorithms and making
+most of the packages stand-alone. This will allow the user to
+customize ABC for their needs as if it were a tool-box rather than
+a complete tool.
diff --git a/development/berkeley-abc/berkeley-abc.SlackBuild b/development/berkeley-abc/berkeley-abc.SlackBuild
new file mode 100644
index 0000000000..b1548d062f
--- /dev/null
+++ b/development/berkeley-abc/berkeley-abc.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for berkley-abc
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=berkeley-abc
+VERSION=${VERSION:-20221019}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+COMMIT=70cb339f869e485802159d7f2b886130793556c4
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf abc-$COMMIT
+tar xvf $CWD/abc-$COMMIT.tar.gz
+cd abc-$COMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make abc libabc.so
+
+# install
+mkdir -p $PKG/usr/{bin,lib${LIBDIRSUFFIX}}
+cp -av abc $PKG/usr/bin
+cp -av libabc.so $PKG/usr/lib${LIBDIRSUFFIX}
+
+# install examples
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -av src/demo.c i10.aig $PKG/usr/share/$PRGNAM-$VERSION
+
+cat >> $PKG/usr/share/$PRGNAM-$VERSION/Makefile <<EOF
+LDLIBS = -labc -lm -ldl -lreadline -lpthread
+
+all: demo.c
+ gcc -Wall -g -c $< -o demo.o
+ g++ -g -o demo demo.o \$(LDLIBS)
+EOF
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ copyright.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/development/berkeley-abc/berkeley-abc.info b/development/berkeley-abc/berkeley-abc.info
new file mode 100644
index 0000000000..d8eaaa352d
--- /dev/null
+++ b/development/berkeley-abc/berkeley-abc.info
@@ -0,0 +1,10 @@
+PRGNAM="berkeley-abc"
+VERSION="20221019"
+HOMEPAGE="https://people.eecs.berkeley.edu/~alanmi/abc"
+DOWNLOAD="https://github.com/berkeley-abc/abc/archive/70cb339f869e485802159d7f2b886130793556c4/abc-70cb339f869e485802159d7f2b886130793556c4.tar.gz"
+MD5SUM="b68f658e12c37989fa1068ba12770878"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/berkeley-abc/slack-desc b/development/berkeley-abc/slack-desc
new file mode 100644
index 0000000000..c6140ac28a
--- /dev/null
+++ b/development/berkeley-abc/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------------------------------------------------------|
+berkeley-abc: berkeley-abc (Synthesis&Verification binary sequential logic circuit)
+berkeley-abc:
+berkeley-abc:
+berkeley-abc: ABC is a growing software system for synthesis and verification of
+berkeley-abc: binary sequential logic circuits appearing in synchronous hardware
+berkeley-abc: designs. ABC combines scalable logic optimization based on
+berkeley-abc: And-Inverter Graphs (AIGs), optimal-delay DAG-based technology
+berkeley-abc: mapping for look-up tables and standard cells, and innovative
+berkeley-abc: algorithms for sequential synthesis and verification.
+berkeley-abc:
+berkeley-abc:
diff --git a/development/bfg/bfg.SlackBuild b/development/bfg/bfg.SlackBuild
index 45cb3d522a..c94476958a 100644
--- a/development/bfg/bfg.SlackBuild
+++ b/development/bfg/bfg.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bfg
#
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Copyright 2017,2020 Jason Graham <jgraham@compukix.net> MD, USA
+# Copyright 2017,2020,2023 Jason Graham USA <jgraham@compukix.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -23,14 +23,24 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bfg
-VERSION=${VERSION:-1.13.0}
+VERSION=${VERSION:-1.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -51,4 +61,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bfg/bfg.info b/development/bfg/bfg.info
index 25f501ac0b..dc7b48ac40 100644
--- a/development/bfg/bfg.info
+++ b/development/bfg/bfg.info
@@ -1,10 +1,10 @@
PRGNAM="bfg"
-VERSION="1.13.0"
+VERSION="1.14.0"
HOMEPAGE="https://rtyley.github.io/bfg-repo-cleaner/"
-DOWNLOAD="https://repo1.maven.org/maven2/com/madgag/bfg/1.13.0/bfg-1.13.0.jar"
-MD5SUM="f437b07a4651c8b549703940de6ce1d2"
+DOWNLOAD="https://repo1.maven.org/maven2/com/madgag/bfg/1.14.0/bfg-1.14.0.jar"
+MD5SUM="c8d2e17d9a42d87f82653aec47acfc80"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Jason Graham"
EMAIL="jgraham@compukix.net"
diff --git a/development/bigloo/bigloo.SlackBuild b/development/bigloo/bigloo.SlackBuild
index b9d75a2c17..740b3ce110 100644
--- a/development/bigloo/bigloo.SlackBuild
+++ b/development/bigloo/bigloo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bigloo
# Originally by Jockey S. Kyd (jockey dot kyd at gmail dot com)
@@ -23,27 +23,37 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bigloo
VERSION=${VERSION:-4.3f}
SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -108,4 +118,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/binwalk/binwalk.SlackBuild b/development/binwalk/binwalk.SlackBuild
index 5ca6df91cd..8569a99a62 100644
--- a/development/binwalk/binwalk.SlackBuild
+++ b/development/binwalk/binwalk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for binwalk
@@ -23,10 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220047 bkw: Modified by SlackBuilds.org, BUILD=2: fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=binwalk
VERSION=${VERSION:-2.1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -66,9 +75,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 setup.py install --root=$PKG
@@ -76,11 +85,11 @@ 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 README.md INSTALL.md API.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 README.md API.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/binwalk/binwalk.info b/development/binwalk/binwalk.info
index 779a3342a4..9139943714 100644
--- a/development/binwalk/binwalk.info
+++ b/development/binwalk/binwalk.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/devttys0/binwalk/archive/v2.1.1/binwalk-2.1.1.tar.g
MD5SUM="e5015a8d0eff287eda8c4afeeca89ed6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/development/blassic/blassic.SlackBuild b/development/blassic/blassic.SlackBuild
index ef8e729d3b..f235cd7ee3 100644
--- a/development/blassic/blassic.SlackBuild
+++ b/development/blassic/blassic.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for blassic
# Originally written by Luis Henrique <email removed>
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
# Original version of this script had no license. Modified version
# licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
@@ -16,10 +16,13 @@
# - don't install INSTALL or 0-byte ChangeLog in doc dir
# - i486 => i586
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=blassic
VERSION=${VERSION:-0.10.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -29,7 +32,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -57,14 +64,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
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 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 {} \+
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -fpermissive" \
+CXXFLAGS="$SLKCFLAGS -fpermissive -std=gnu++98" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -85,4 +89,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/blassic/blassic.info b/development/blassic/blassic.info
index f7996f9114..ee14b5311c 100644
--- a/development/blassic/blassic.info
+++ b/development/blassic/blassic.info
@@ -1,10 +1,10 @@
PRGNAM="blassic"
VERSION="0.10.3"
-HOMEPAGE="http://web.archive.org/web/20180320150223/http://blassic.net/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/blassic-0.10.3.tgz"
+HOMEPAGE="https://blassic.net/"
+DOWNLOAD="https://blassic.net/bin/blassic-0.10.3.tgz"
MD5SUM="d9188387a84d2e5dd8b2cbef1704de3d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/bless/bless.SlackBuild b/development/bless/bless.SlackBuild
index 207854b161..fd4fb49a4c 100644
--- a/development/bless/bless.SlackBuild
+++ b/development/bless/bless.SlackBuild
@@ -1,15 +1,31 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bless
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230819 bkw: update for v0.6.3.
+
+# 20230102 bkw: BUILD=3
+# - get rid of useless junk from doc dir.
+
+# 20211210 bkw: BUILD=2
+# - add patch from Debian's 0.6.0-7 to fix saving preferences.
+# - don't include useless skeleton of bless-manual.omf in package.
+# - don't use gconf from help_script.sh, it broke. just open the
+# HTML help with xdg-open.
+# - fix the 'select layout' dialog, now you can see & load system layouts.
+# - new-style icon (singular, 48x48).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bless
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-0.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Compiled .net code is "anycpu" by default.
# I see no reason to use lib64 for this. It would mean having separate
@@ -20,7 +36,11 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
+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}
@@ -34,97 +54,53 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.gz
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 {} \+
-
-# Begin rant. FWIW, I'm not very impressed with bless:
-# - It has show-stopper bugs that were left in place when the maintainer
-# abandoned it a few years ago (others have fixed the worst of them
-# by now, patches included here).
-# - It starts up in Insert mode which definitely violates the principle
-# of least surprise (in normal hex editors, overwrite is generally the
-# default and often only mode). This is so annoying that I patched it.
-# Even in overwrite mode, it'll let you append bytes to the end of
-# the file, which a hex editor shouldn't do in its default mode.
-# - It ships with 3 .layout files that get installed in /usr/share, but
-# the layout dialog is broken: you can't choose between the
-# "system" layouts, though you can load them if you copy them to
-# ~/.config/bless/layouts. (But, they don't appear to *do* anything...)
-# - Finally, and maybe this is just my own personal bias, I don't see an
-# obvious way to change the white background to black (if the .layout
-# files are capable of it, great, but I tried really hard to get them
-# to work and they don't seem to behave the way the docs say they do).
-# This means I won't be using this application very much, as it hurts
-# my eyes to look at it for more than a few minutes.
-# If it's so awful, why am I writing a SlackBuild for it? Because it's
-# a GUI hex editor that (a) uses GTK, and (b) doesn't require KDE and
-# its horde of daemons. Someone is going to be glad it's here. People
-# who grew up using GUIs are going to prefer this to a textmode app.
-# Here endeth the rant.
-
-# Patch from Debian. Might not be needed with newer versions of mono,
-# but no harm done.
-patch -p1 < $CWD/patches/force_gtk_action_namespace.patch
-
-# Patch from dead gna.org site:
-# http://web.archive.org/web/20170205194531/http://gna.org/bugs/?14878
-# Fixes "not enough space" error when trying to save.
-patch -p1 < $CWD/patches/fix_save.patch
-
-# Patch from: https://bugs.launchpad.net/ubuntu/+source/bless/+bug/1622951
-# Fixes broken preferences saving.
-patch -p1 < $CWD/patches/fixxmltextwriter.patch
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# Make bless act like all other hex editors on the planet by NOT starting
# up in Insert mode. I wouldn't have patched this, except that bless
# doesn't auto-save the Insert/Overwrite state across sessions. You can
# set the default via Edit/Preferences, but it doesn't remember the last
# state if you just press Insert to toggle it.
-patch -p1 < $CWD/patches/default_overwrite.patch
-
-# Grr. The configure script doesn't allow setting CS or MCS or CSC or
-# anything to override the compiler (like normal stuff does with CC).
-# FFS, it's even hardcoded in C# code...
-sed -i 's,gmcs,mcs,g' configure builder/ModuleBuilder.cs
-
-./configure \
- --without-scrollkeeper \
- --prefix=/usr \
- --libdir=/usr/lib \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION
-
-# GRR. Even with --without-scrollkeeper we have to fake it out. I
-# could look into using rarian, but I'm not sure what good it would
-# do: the .xml and .html help files are already installed in the right
-# places, and help_script.sh knows how to display them when you click
-# Help/Contents or press F1.
-cp doc/user/bless-manual.omf.in doc/user/bless-manual.omf
-
-make
-make install DESTDIR=$PKG
-
-# --docdir is ignored.
-mkdir -p $PKG/usr/doc/
-mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc
+sed -i '/Default\.Editmode/s,Insert,Overwrite,' data/default-preferences.xml
+
+# 20230819 bkw: make it look in the right place for its own layout files.
+# Debian does this with a patch (it's their only patch for 0.6.3) but I
+# prefer to use sed.
+sed -i '/FileResourcePath\.GetDataPath("data")/s,"data",".",' \
+ src/gui/dialogs/LayoutSelectionDialog.cs
+
+meson setup build -Dprefix=/usr -Dtests=false
+ninja -C build
+DESTDIR=$PKG ninja -C build install
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+ln -s ../../share/help/C/bless $PKGDOC/html
+cp -a AUTHORS COPYING NEWS README $PKGDOC
# The help script needed help.
PKGHELP=$PKG/usr/share/$PRGNAM/help_script.sh
-sed "s/@VERSION@/$VERSION/g" $CWD/help_script.sh > $PKGHELP
+cat $CWD/help_script.sh > $PKGHELP
chmod 755 $PKGHELP
# Man page from Debian. Not much to it, but not much was needed.
mkdir -p $PKG/usr/man/man1
gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PIXMAPS=$PKG/usr/share/pixmaps
+mkdir -p $PIXMAPS
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PIXMAPS/$PRGNAM.png
+
+# 20230819 bkw: dup icon
+rm -f $PKG/usr/share/bless/bless-48x48.png
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/bless/bless-48x48.png
+
+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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bless/bless.info b/development/bless/bless.info
index e6b9baf111..3136fb6110 100644
--- a/development/bless/bless.info
+++ b/development/bless/bless.info
@@ -1,10 +1,10 @@
PRGNAM="bless"
-VERSION="0.6.0"
+VERSION="0.6.3"
HOMEPAGE="https://packages.debian.org/sid/bless"
-DOWNLOAD="http://http.debian.net/debian/pool/main/b/bless/bless_0.6.0.orig.tar.gz"
-MD5SUM="b4c20d113281dfedb67d9f3ff8b174e3"
+DOWNLOAD="http://http.debian.net/debian/pool/main/b/bless/bless_0.6.3.orig.tar.gz"
+MD5SUM="93d4420f40c3af703269f1e965b62ee2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtk-sharp"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/bless/doinst.sh b/development/bless/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/development/bless/doinst.sh
+++ b/development/bless/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/bless/help_script.sh b/development/bless/help_script.sh
index f841e96e7d..3f17b3bdf0 100644
--- a/development/bless/help_script.sh
+++ b/development/bless/help_script.sh
@@ -1,39 +1,8 @@
#!/bin/sh
# Script that loads help for Bless. Modified by B. Watson for
-# slackbuilds.org. No idea if the gnome-help or yelp stuff really works,
-# I haven't got either one installed. At least the user manual opens
-# in an actual browser with this version of the script.
+# slackbuilds.org. Ditched all the gconf, yelp, gnome-help stuff
+# and just use xdg-open for the HTML help in the user's default
+# browser.
-xml_help="/usr/doc/bless-@VERSION@/user/bless-manual.xml"
-html_help="/usr/doc/bless-@VERSION@/user/index.html"
-
-# try to get default browsers from GConf
-GCONFTOOL=`which gconftool-2 2> /dev/null`
-
-if [[ -n $GCONFTOOL ]];
-then
- help_browser=`$GCONFTOOL --get "/desktop/gnome/url-handlers/ghelp/command"`
- if [[ -n "$help_browser" ]];
- then
- help_browser=`echo "$help_browser" | cut -d' ' -f1`
- fi
-
- http_browser=`$GCONFTOOL --get "/desktop/gnome/url-handlers/http/command"`
-
- if [[ -n "$http_browser" ]];
- then
- http_browser=`echo "$http_browser" | cut -d' ' -f1`
- fi
-fi
-
-# some other browsers
-yelp_browser=`which yelp 2> /dev/null`
-firefox_browser=`which firefox 2> /dev/null`
-mozilla_browser=`which mozilla 2> /dev/null`
-
-([[ -n $help_browser ]] && $help_browser $xml_help) ||
-([[ -n $yelp_browser ]] && $yelp_browser $xml_help) ||
-([[ -n $http_browser ]] && $http_browser $html_help) ||
-([[ -n $firefox_browser ]] && $firefox_browser $html_help) ||
-([[ -n $mozilla_browser ]] && $mozilla_browser $html_help)
+exec xdg-open /usr/share/help/C/bless/index.html
diff --git a/development/bless/patches/default_overwrite.patch b/development/bless/patches/default_overwrite.patch
deleted file mode 100644
index 5eec4ba1a3..0000000000
--- a/development/bless/patches/default_overwrite.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur bless-0.6.0/data/default-preferences.xml bless-0.6.0.patched/data/default-preferences.xml
---- bless-0.6.0/data/default-preferences.xml 2008-06-07 08:18:12.000000000 -0400
-+++ bless-0.6.0.patched/data/default-preferences.xml 2018-08-12 12:36:21.800800175 -0400
-@@ -1,7 +1,7 @@
- <preferences>
- <pref name="Session.RememberCursorPosition">True</pref>
- <pref name="Tools.ConversionTable.LEDecoding">False</pref>
-- <pref name="Default.EditMode">Insert</pref>
-+ <pref name="Default.EditMode">Overwrite</pref>
- <pref name="Tools.ConversionTable.Show">True</pref>
- <pref name="Tools.Statistics.Show">False</pref>
- <pref name="Session.RememberWindowGeometry">True</pref>
diff --git a/development/bless/patches/fix_save.patch b/development/bless/patches/fix_save.patch
deleted file mode 100644
index 45e85b932b..0000000000
--- a/development/bless/patches/fix_save.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur bless-0.6.0/src/buffers/ByteBuffer.cs bless-0.6.0-fixed/src/buffers/ByteBuffer.cs
---- bless-0.6.0/src/buffers/ByteBuffer.cs 2008-06-07 21:59:25.000000000 +0700
-+++ bless-0.6.0-fixed/src/buffers/ByteBuffer.cs 2009-12-11 20:07:42.000000000 +0600
-@@ -957,7 +957,7 @@
- ///</summary>
- public string TempDir {
- get { return tempDir; }
-- set { tempDir = value;}
-+ set { if(value != "") tempDir = value; }
- }
-
- ///<summary>
diff --git a/development/bless/patches/fixxmltextwriter.patch b/development/bless/patches/fixxmltextwriter.patch
deleted file mode 100644
index 2b241d5525..0000000000
--- a/development/bless/patches/fixxmltextwriter.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/src/tools/Preferences.cs b/src/tools/Preferences.cs
-index 192bf14..775a83e 100644
---- a/src/tools/Preferences.cs
-+++ b/src/tools/Preferences.cs
-@@ -132,6 +132,7 @@ public class Preferences
- xml.Indentation = 1;
- xml.IndentChar = '\t';
-
-+ xml.WriteStartDocument(true);
- xml.WriteStartElement(null, "preferences", null);
-
- foreach (DictionaryEntry entry in prefs) {
-diff --git a/src/tools/Session.cs b/src/tools/Session.cs
-index 7980cc0..5184632 100644
---- a/src/tools/Session.cs
-+++ b/src/tools/Session.cs
-@@ -77,6 +77,7 @@ public class Session
- xml.Indentation = 1;
- xml.IndentChar = '\t';
-
-+ xml.WriteStartDocument(true);
- xml.WriteStartElement(null, "session", null);
-
- xml.WriteStartElement(null, "windowheight", null);
-@@ -194,4 +195,4 @@ public class SessionFileInfo
- }
- }
-
--} // end namespace
-\ No newline at end of file
-+} // end namespace
diff --git a/development/bless/patches/force_gtk_action_namespace.patch b/development/bless/patches/force_gtk_action_namespace.patch
deleted file mode 100644
index fe722129dc..0000000000
--- a/development/bless/patches/force_gtk_action_namespace.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -urNad bless-0.5.2.orig/src/gui/plugins/BitwiseOperationsPlugin.cs bless-0.5.2/src/gui/plugins/BitwiseOperationsPlugin.cs
---- bless-0.5.2.orig/src/gui/plugins/BitwiseOperationsPlugin.cs 2008-04-10 03:50:32.000000000 +0100
-+++ bless-0.5.2/src/gui/plugins/BitwiseOperationsPlugin.cs 2008-04-10 03:51:45.000000000 +0100
-@@ -30,6 +30,8 @@
- using Bless.Buffers;
- using Mono.Unix;
-
-+using Action = Gtk.Action;
-+
- namespace Bless.Gui.Plugins {
-
- ///<summary>
-diff -urNad bless-0.5.2.orig/src/gui/plugins/EditOperationsPlugin.cs bless-0.5.2/src/gui/plugins/EditOperationsPlugin.cs
---- bless-0.5.2.orig/src/gui/plugins/EditOperationsPlugin.cs 2008-04-10 03:50:32.000000000 +0100
-+++ bless-0.5.2/src/gui/plugins/EditOperationsPlugin.cs 2008-04-10 03:52:06.000000000 +0100
-@@ -27,6 +27,8 @@
- using Bless.Gui.Dialogs;
- using Bless.Tools;
-
-+using Action = Gtk.Action;
-+
- namespace Bless.Gui.Plugins {
-
- public class EditOperationsPlugin : GuiPlugin
-diff -urNad bless-0.5.2.orig/src/gui/plugins/FileOperationsPlugin.cs bless-0.5.2/src/gui/plugins/FileOperationsPlugin.cs
---- bless-0.5.2.orig/src/gui/plugins/FileOperationsPlugin.cs 2008-04-10 03:50:32.000000000 +0100
-+++ bless-0.5.2/src/gui/plugins/FileOperationsPlugin.cs 2008-04-10 03:52:26.000000000 +0100
-@@ -29,6 +29,8 @@
- using Gtk;
- using Mono.Unix;
-
-+using Action = Gtk.Action;
-+
- namespace Bless.Gui.Plugins {
-
- public class FileOperationsPlugin : GuiPlugin
-diff -urNad bless-0.5.2.orig/src/gui/plugins/FindReplacePlugin.cs bless-0.5.2/src/gui/plugins/FindReplacePlugin.cs
---- bless-0.5.2.orig/src/gui/plugins/FindReplacePlugin.cs 2008-04-10 03:50:32.000000000 +0100
-+++ bless-0.5.2/src/gui/plugins/FindReplacePlugin.cs 2008-04-10 03:51:21.000000000 +0100
-@@ -31,6 +31,8 @@
- using Bless.Plugins;
- using Mono.Unix;
-
-+using Action = Gtk.Action;
-+
- namespace Bless.Gui.Plugins {
-
- public class FindReplacePlugin : GuiPlugin
-diff -urNad bless-0.5.2.orig/src/gui/plugins/HistoryPlugin.cs bless-0.5.2/src/gui/plugins/HistoryPlugin.cs
---- bless-0.5.2.orig/src/gui/plugins/HistoryPlugin.cs 2008-04-10 03:50:32.000000000 +0100
-+++ bless-0.5.2/src/gui/plugins/HistoryPlugin.cs 2008-04-10 03:53:22.000000000 +0100
-@@ -26,6 +26,8 @@
- using Bless.Gui;
- using Bless.Tools;
-
-+using Action = Gtk.Action;
-+
- namespace Bless.Gui.Plugins {
-
- public class HistoryPlugin : GuiPlugin
-diff -urNad bless-0.5.2.orig/src/gui/plugins/InfobarPlugin.cs bless-0.5.2/src/gui/plugins/InfobarPlugin.cs
---- bless-0.5.2.orig/src/gui/plugins/InfobarPlugin.cs 2008-04-10 03:50:32.000000000 +0100
-+++ bless-0.5.2/src/gui/plugins/InfobarPlugin.cs 2008-04-10 03:52:48.000000000 +0100
-@@ -28,6 +28,8 @@
- using Bless.Tools;
- using Mono.Unix;
-
-+using Action = Gtk.Action;
-+
- namespace Bless.Gui.Plugins {
-
- public class InfobarPlugin : GuiPlugin
diff --git a/development/blocksruntime/blocksruntime.SlackBuild b/development/blocksruntime/blocksruntime.SlackBuild
index 21a9fe88ba..9f72afa1a6 100644
--- a/development/blocksruntime/blocksruntime.SlackBuild
+++ b/development/blocksruntime/blocksruntime.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Blocks Runtime Library
@@ -23,11 +23,14 @@
# 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=blocksruntime
MSTPRGNAM=compiler-rt
VERSION=${VERSION:-3.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,14 @@ if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
-CWD=$(pwd)
+# 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}
@@ -135,4 +145,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bluefish/README b/development/bluefish/README
index 98716f80a8..c3d3051af3 100644
--- a/development/bluefish/README
+++ b/development/bluefish/README
@@ -1,6 +1,12 @@
Bluefish is a powerful editor for experienced web designers and
-programmers. Bluefish supports many programming and markup languages,
+programmers. Bluefish supports many programming and markup languages,
but it focuses on editing dynamic and interactive websites. See
-features for an extensive overview, take a look at the screenshots, or
-download it right away. Bluefish is an open source development project
-released under the GPL licence.
+features for an extensive overview, take a look at the screenshots,
+or download it right away. Bluefish is an open source development
+project released under the GPL license.
+
+If you want to build Bluefish with GTK2,
+
+GTK2=yes ./bluefish.SlackBuild
+
+otherwise GTK3 will be used by default.
diff --git a/development/bluefish/bluefish.SlackBuild b/development/bluefish/bluefish.SlackBuild
index 9dd58a49bd..c5e73fabf3 100644
--- a/development/bluefish/bluefish.SlackBuild
+++ b/development/bluefish/bluefish.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bluefish
@@ -25,10 +25,13 @@
# 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=bluefish
-VERSION=${VERSION:-2.2.11}
+VERSION=${VERSION:-2.2.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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
+
+# Do we still want GTK2?
+gtkversion=""
+if [ "$GTK2" = "yes" ]; then
+ gtkversion="--with-gtk2"
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,6 +99,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-update-databases \
--disable-xml-catalog-update \
--enable-static=no \
+ $gtkversion \
--build=$ARCH-slackware-linux
make
@@ -104,4 +121,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bluefish/bluefish.info b/development/bluefish/bluefish.info
index 282835d074..aa041ccaa5 100644
--- a/development/bluefish/bluefish.info
+++ b/development/bluefish/bluefish.info
@@ -1,10 +1,10 @@
PRGNAM="bluefish"
-VERSION="2.2.11"
+VERSION="2.2.14"
HOMEPAGE="http://bluefish.openoffice.nl/index.html"
-DOWNLOAD="https://www.bennewitz.com/bluefish/stable/source/bluefish-2.2.11.tar.bz2"
-MD5SUM="8c08aebcb7eaeccfebcaf467983733eb"
+DOWNLOAD="https://www.bennewitz.com/bluefish/stable/source/bluefish-2.2.14.tar.bz2"
+MD5SUM="c99b6b1ba3e3e70b032936182bb0b387"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
+EMAIL="kingbeowulf@linuxgalaxy.org"
diff --git a/development/bluefish/slack-desc b/development/bluefish/slack-desc
index 6d172685b8..6c1526083b 100644
--- a/development/bluefish/slack-desc
+++ b/development/bluefish/slack-desc
@@ -13,7 +13,7 @@ bluefish: and programmers. Bluefish supports many programming and markup
bluefish: languages, but it focuses on editing dynamic and interactive
bluefish: websites. See features for an extensive overview, take a look
bluefish: at the screenshots, or download it right away. Bluefish is an
-bluefish: open source development project, released under the GPL licence.
+bluefish: open source development project, released under the GPL license.
bluefish:
bluefish: Homepage: http://bluefish.openoffice.nl/index.html
bluefish:
diff --git a/development/bmake/README b/development/bmake/README
index d04cc55bcd..98f8f67353 100644
--- a/development/bmake/README
+++ b/development/bmake/README
@@ -10,5 +10,5 @@ NetBSD's make was again imported on June 6 and December 15, 2000.
In 2003 bmake switched to a date based version (first was 20030714)
which generally represents the date it was last merged with NetBSD's
-make. Since then, NetBSD's make is imported within a week of any
+make. Since then, NetBSD's make is imported within a week of any
interesting changes, so that bmake tracks it very closely.
diff --git a/development/bmake/bmake.SlackBuild b/development/bmake/bmake.SlackBuild
index 8b393206ea..ddc09c7bab 100644
--- a/development/bmake/bmake.SlackBuild
+++ b/development/bmake/bmake.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bmake
@@ -22,8 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
+# 20230108 bkw: update for 20220928
+# 20210829 bkw: update for 20210803
+# - there is a 20210808 release (5 days newer) but it fails its
+# own self-tests (specifically job-output-null).
# 20201106 bkw: update for 20201010
# 20200306 bkw: update for 20200212
# 20191211 bkw: update for 20181221
@@ -34,10 +38,13 @@
# give you a parallel build, but it does break the 'make test'
# portion of the bmake build.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bmake
-VERSION=${VERSION:-20201010}
+VERSION=${VERSION:-20220928}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -47,7 +54,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -103,7 +114,7 @@ CXXFLAGS="$SLKCFLAGS" \
# The usual MAKEFLAGS=-j8 or such, will break the build. bmake interprets
# MAKEFLAGS differently from GNU make. Plus, the main part of the build
# (actually compiling bmake) isn't done by make, so MAKEFLAGS would have
-# no effect. Also, the build interprets TAG as selecting a test scenario.
+# no effect. Also, the build interprets TAG as selecting a test scenario.
env \
-u MAKEFLAGS \
-u TAG \
@@ -132,4 +143,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bmake/bmake.info b/development/bmake/bmake.info
index e640ec7948..c1a2973678 100644
--- a/development/bmake/bmake.info
+++ b/development/bmake/bmake.info
@@ -1,10 +1,10 @@
PRGNAM="bmake"
-VERSION="20201010"
-HOMEPAGE="http://www.crufty.net/help/sjg/bmake.htm"
-DOWNLOAD="http://www.crufty.net/ftp/pub/sjg/bmake-20201010.tar.gz"
-MD5SUM="37b7890e551c8e3916d4b6834afb6b53"
+VERSION="20220928"
+HOMEPAGE="https://www.crufty.net/help/sjg/bmake.htm"
+DOWNLOAD="https://www.crufty.net/ftp/pub/sjg/bmake-20220928.tar.gz"
+MD5SUM="71889f3ab749e3f581b2f29b03ddad1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/boost-di/boost-di.SlackBuild b/development/boost-di/boost-di.SlackBuild
index 187f13e42f..e25e5fbbe1 100644
--- a/development/boost-di/boost-di.SlackBuild
+++ b/development/boost-di/boost-di.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for [Boost].Di
@@ -22,14 +22,24 @@
# 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=boost-di
SRCNAM=di
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -64,4 +74,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/boron/README b/development/boron/README
new file mode 100644
index 0000000000..940ed4f3c2
--- /dev/null
+++ b/development/boron/README
@@ -0,0 +1,4 @@
+boron (scripting language)
+
+Boron is a scripting language similar to REBOL. The interpreter is a C
+library which may be copied under the terms of the LGPLv3.
diff --git a/development/boron/boron.SlackBuild b/development/boron/boron.SlackBuild
new file mode 100644
index 0000000000..11e125aa39
--- /dev/null
+++ b/development/boron/boron.SlackBuild
@@ -0,0 +1,94 @@
+#!/bin/bash
+
+# Slackware build script for boron
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Warning to boron programmers: I'm really only interested in
+# maintaining this as far as it's required by games/xu4. I probably
+# won't update it unless xu4 needs a new version, but you could ask
+# me if you're impatient. I *definitely* won't update it if the update
+# breaks the xu4 build.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=boron
+VERSION=${VERSION:-2.0.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+sed -i "s,-O3,$SLKCFLAGS," Makefile
+
+# Note: *not* a GNU autoconf script, does not take standard options.
+# Also, DESTDIR not used in the canonical way.
+./configure --gnu-readline
+
+make DESTDIR=/usr \
+ MAN_DIR=/usr/man/man1 \
+ LIB_DIR=/usr/lib$LIBDIRSUFFIX
+
+make install install-dev \
+ DESTDIR=$PKG/usr \
+ MAN_DIR=$PKG/usr/man/man1 \
+ LIB_DIR=$PKG/usr/lib$LIBDIRSUFFIX
+
+# binary & library already stripped. 'make install' doesn't install this:
+mkdir -p $PKG/usr/share/vim/vimfiles/syntax
+install -m0644 doc/$PRGNAM.vim $PKG/usr/share/vim/vimfiles/syntax
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE* README* doc/UserManual.md examples $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/boron/boron.info b/development/boron/boron.info
new file mode 100644
index 0000000000..b2a7649561
--- /dev/null
+++ b/development/boron/boron.info
@@ -0,0 +1,10 @@
+PRGNAM="boron"
+VERSION="2.0.8"
+HOMEPAGE="https://urlan.sourceforge.net/boron/"
+DOWNLOAD="https://downloads.sourceforge.net/project/urlan/Boron/boron-2.0.8.tar.gz"
+MD5SUM="3c32f25a326dcbcd8de9e85edf503151"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/boron/slack-desc b/development/boron/slack-desc
new file mode 100644
index 0000000000..c7c5f319cb
--- /dev/null
+++ b/development/boron/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------------------------------------------------------|
+boron: boron (scripting language)
+boron:
+boron: Boron is a scripting language similar to REBOL. The interpreter is a C
+boron: library which may be copied under the terms of the LGPLv3.
+boron:
+boron:
+boron:
+boron:
+boron:
+boron:
+boron:
diff --git a/development/bpftrace/README b/development/bpftrace/README
new file mode 100644
index 0000000000..daee47363c
--- /dev/null
+++ b/development/bpftrace/README
@@ -0,0 +1,8 @@
+bpftrace is a high-level tracing language for Linux enhanced Berkeley
+Packet Filter (eBPF) available in recent Linux kernels (4.x). bpftrace
+uses LLVM as a backend to compile scripts to BPF-bytecode and makes
+use of BCC for interacting with the Linux BPF system, as well as
+existing Linux tracing capabilities: kernel dynamic tracing (kprobes),
+user-level dynamic tracing (uprobes), and tracepoints. The bpftrace
+language is inspired by awk and C, and predecessor tracers such as
+DTrace and SystemTap. bpftrace was created by Alastair Robertson.
diff --git a/development/bpftrace/bpftrace.SlackBuild b/development/bpftrace/bpftrace.SlackBuild
new file mode 100644
index 0000000000..8fff6e64bc
--- /dev/null
+++ b/development/bpftrace/bpftrace.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for bpftrace
+
+# Copyright 2023, Lockywolf
+# 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=bpftrace
+VERSION=${VERSION:-0.18.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.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 {} \;
+
+sed -i '/CMAKE_CXX_EXTENSIONS/alink_libraries(z LLVMMC LLVMSupport LLVMMC LLVMCore LLVMipo LLVMObject LLVMBPFInfo LLVMBPFDesc LLVMExecutionEngine LLVMTarget LLVMDemangle)' CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DUSE_SYSTEM_BPF_BCC=ON \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p "$PKG"/usr/man/
+mv "$PKG"/usr/share/man/man8 "$PKG"/usr/man/
+rm -rf "$PKG"/usr/share/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ INSTALL.md LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bpftrace/bpftrace.info b/development/bpftrace/bpftrace.info
new file mode 100644
index 0000000000..34d170718e
--- /dev/null
+++ b/development/bpftrace/bpftrace.info
@@ -0,0 +1,10 @@
+PRGNAM="bpftrace"
+VERSION="0.18.0"
+HOMEPAGE="https://github.com/iovisor/bpftrace/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/iovisor/bpftrace/archive/refs/tags/v0.18.0/bpftrace-0.18.0.tar.gz"
+MD5SUM_x86_64="af50b9a543601dd7363639d781875570"
+REQUIRES="bcc cereal pahole gtest"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.bpftrace_2023-07-12@lockywolf.net"
diff --git a/development/bpftrace/slack-desc b/development/bpftrace/slack-desc
new file mode 100644
index 0000000000..8d36c60ed9
--- /dev/null
+++ b/development/bpftrace/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------------------------------------------------------|
+bpftrace: bpftrace (bpftrace is a high-level tracing language for Linux BPF)
+bpftrace:
+bpftrace: bpftrace is a high-level tracing language for Linux enhanced
+bpftrace: Berkeley Packet Filter (eBPF) available in recent Linux kernels.
+bpftrace: bpftrace uses LLVM as a backend to compile scripts to BPF-bytecode
+bpftrace: and makes use of BCC for interacting with the Linux BPF system, as
+bpftrace: well as existing Linux tracing capabilities: kernel dynamic tracing
+bpftrace: (kprobes), user-level dynamic tracing (uprobes), and tracepoints.
+bpftrace: The bpftrace language is inspired by awk and C, and predecessor
+bpftrace: tracers such as DTrace and SystemTap.
+bpftrace:
diff --git a/development/bpython/README b/development/bpython/README
index c62aab2615..ac79e6626e 100644
--- a/development/bpython/README
+++ b/development/bpython/README
@@ -1,4 +1,2 @@
bpython is a fancy curses interface to the Python interactive
interpreter.
-
-NOTE: Install python3 first before installing all other requirements.
diff --git a/development/bpython/bpython.SlackBuild b/development/bpython/bpython.SlackBuild
index 45d4595731..866747c2c8 100644
--- a/development/bpython/bpython.SlackBuild
+++ b/development/bpython/bpython.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bpython
-# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece
# Written by vvoody <vvoodywang@gmail.com>
# All rights reserved.
#
@@ -23,10 +23,13 @@
# 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=bpython
-VERSION=${VERSION:-0.19}
+VERSION=${VERSION:-0.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -66,8 +76,7 @@ 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 AUTHORS CHANGELOG sample.theme light.theme \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS.rst CHANGELOG.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -75,4 +84,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bpython/bpython.info b/development/bpython/bpython.info
index 911d718d1a..5d4965069c 100644
--- a/development/bpython/bpython.info
+++ b/development/bpython/bpython.info
@@ -1,10 +1,10 @@
PRGNAM="bpython"
-VERSION="0.19"
+VERSION="0.24"
HOMEPAGE="https://bpython-interpreter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/46/15/2d60865176a5f806ab83c1c38a7c9a0da18ee3651fc1e7e9f5f9cf21e0e8/bpython-0.19.tar.gz"
-MD5SUM="8793712cf4aba736f2cedc7f51a798df"
+DOWNLOAD="https://files.pythonhosted.org/packages/cf/76/54e0964e2974becb673baca69417b6c6293e930d4ebcf2a2a68c1fe9704a/bpython-0.24.tar.gz"
+MD5SUM="bb7a556715be0b974436eb0d920769c0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-six python-requests Pygments curtsies greenlet"
+REQUIRES="curtsies greenlet"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/brackets/README b/development/brackets/README
deleted file mode 100644
index 9004a2d6ec..0000000000
--- a/development/brackets/README
+++ /dev/null
@@ -1,10 +0,0 @@
-Brackets is an open source code editor for web designers and front-end
-developers.
-
-Google Chrome or Chromium is currently required to use the live preview
-function, Firefox support is planned for the future.
-
-As of version 1.0, the Extract bundle is now included, more details
-here:
-
-http://blog.brackets.io/2014/11/04/brackets-1-0-and-extract-for-brackets-preview-now-available/
diff --git a/development/brackets/brackets.SlackBuild b/development/brackets/brackets.SlackBuild
deleted file mode 100644
index 70509c9160..0000000000
--- a/development/brackets/brackets.SlackBuild
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for brackets
-
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# 2017 - Dhaby Xiloj <slack.dhabyx@gmail.com>
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License
-# along with this program (most likely, a file named COPYING). If
-# not, see <https://www.gnu.org/licenses/>.
-
-PRGNAM=brackets
-SRCNAM=Brackets
-RELEASE=Release
-VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-# Allow $ARCH to be preset before running the script. This is useful in the
-# case where someone is running a 32-bit chroot environment under an x86_64
-# kernel:
-ARCH=${ARCH:-$(uname -m)}
-
-case "$ARCH" in
- i?86) DEBARCH="32-bit" ; LIBDIRSUFFIX="" ; ARCH=i386 ;;
- x86_64) DEBARCH="64-bit" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;;
- *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
-esac
-
-set -e
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-ar p $CWD/${SRCNAM}.${RELEASE}.${VERSION}.${DEBARCH}.deb data.tar.xz | tar xJv
-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 {} \;
-
-# Make sure top-level perms are correct:
-chmod 0755 .
-
-# Install a .desktop launcher:
-sed -i -e "s#Icon=$PRGNAM#Icon=/opt/$PRGNAM/appshell256.png#" \
- $PKG/opt/$PRGNAM/$PRGNAM.desktop
-mkdir -p $PKG/usr/share/applications
-ln -s /opt/$PRGNAM/$PRGNAM.desktop \
- $PKG/usr/share/applications/$PRGNAM.desktop
-
-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:-tgz}
diff --git a/development/brackets/brackets.info b/development/brackets/brackets.info
deleted file mode 100644
index a71ddbda70..0000000000
--- a/development/brackets/brackets.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="brackets"
-VERSION="1.9"
-HOMEPAGE="http://brackets.io"
-DOWNLOAD="https://github.com/adobe/brackets/releases/download/release-1.9/Brackets.Release.1.9.32-bit.deb"
-MD5SUM="dd681b20e08795051a42a6e0d3ca592e"
-DOWNLOAD_x86_64="https://github.com/adobe/brackets/releases/download/release-1.9/Brackets.Release.1.9.64-bit.deb"
-MD5SUM_x86_64="ad904786545fce0c854c5e00d960a031"
-REQUIRES="libgcrypt15"
-MAINTAINER="DhabyX"
-EMAIL="slack.dhabyx@gmail.com"
diff --git a/development/brackets/doinst.sh b/development/brackets/doinst.sh
deleted file mode 100644
index 3e49e606f2..0000000000
--- a/development/brackets/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/development/brackets/slack-desc b/development/brackets/slack-desc
deleted file mode 100644
index a2d7ee6e10..0000000000
--- a/development/brackets/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------------------------------------------------------|
-brackets: brackets (code editor for the web)
-brackets:
-brackets: Brackets is an open source code editor for
-brackets: web designers and front-end developers.
-brackets:
-brackets: It features a live preview function, JS debugging, and is built
-brackets: with web technologies.
-brackets:
-brackets:
-brackets: http://brackets.io
-brackets:
diff --git a/development/brotli/README b/development/brotli/README
deleted file mode 100644
index 760d7f0b48..0000000000
--- a/development/brotli/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Brotli is a generic-purpose lossless compression algorithm that
-compresses data using a combination of a modern variant of the
-LZ77 algorithm, Huffman coding and 2nd order context modeling,
-with a compression ratio comparable to the best currently available
-general-purpose compression methods.
-
-This SlackBuild will also install the Python modules.
diff --git a/development/brotli/brotli.SlackBuild b/development/brotli/brotli.SlackBuild
deleted file mode 100644
index fdcd22418d..0000000000
--- a/development/brotli/brotli.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for brotli
-
-# Copyright 2018-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# 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.
-
-PRGNAM=brotli
-VERSION=${VERSION:-1.0.9}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_TESTING=NO \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-python setup.py install --root=$PKG
-
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
-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 BUILD *.txt *.md LICENSE README WORKSPACE $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:-tgz}
diff --git a/development/brotli/brotli.info b/development/brotli/brotli.info
deleted file mode 100644
index 72f57150b8..0000000000
--- a/development/brotli/brotli.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="brotli"
-VERSION="1.0.9"
-HOMEPAGE="https://github.com/google/brotli/"
-DOWNLOAD="https://github.com/google/brotli/archive/v1.0.9/brotli-1.0.9.tar.gz"
-MD5SUM="c2274f0c7af8470ad514637c35bcee7d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/development/brotli/slack-desc b/development/brotli/slack-desc
deleted file mode 100644
index 1a6e42e258..0000000000
--- a/development/brotli/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------------------------------------------------------|
-brotli: brotli (compression algorithm)
-brotli:
-brotli: Brotli is a generic-purpose lossless compression algorithm that
-brotli: compresses data using a combination of a modern variant of the LZ77
-brotli: algorithm, Huffman coding and 2nd order context modeling, with
-brotli: a compression ratio comparable to the best currently available
-brotli: general-purpose compression methods.
-brotli:
-brotli: Project URL: https://github.com/google/brotli
-brotli:
-brotli:
diff --git a/development/bsdiff/bsdiff.SlackBuild b/development/bsdiff/bsdiff.SlackBuild
index b0e6486208..45115497ea 100644
--- a/development/bsdiff/bsdiff.SlackBuild
+++ b/development/bsdiff/bsdiff.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bsdiff.
#
# Copyright 2010-2011 Marco Bonetti <email removed>
# All rights reserved.
# Maintenance adoption 2016 Glenn Becker <email removed>
-# Maintenance adoption 2018 B. Watson <yalhcru@gmail.com>
+# Maintenance adoption 2018 B. Watson <urchlay@slackware.uk>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -30,10 +30,13 @@
# - Simplify script a bit.
# - Get rid of Makefile.diff.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bsdiff
VERSION=${VERSION:-4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -96,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bsdiff/bsdiff.info b/development/bsdiff/bsdiff.info
index d647cd9e44..be41cd8c2c 100644
--- a/development/bsdiff/bsdiff.info
+++ b/development/bsdiff/bsdiff.info
@@ -1,10 +1,10 @@
PRGNAM="bsdiff"
VERSION="4.3"
-HOMEPAGE="http://www.daemonology.net/bsdiff/"
-DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/bsdiff-4.3.tar.gz"
+HOMEPAGE="https://www.daemonology.net/bsdiff/"
+DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/e6/bsdiff-4.3.tar.gz"
MD5SUM="e6d812394f0e0ecc8d5df255aa1db22a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/build2/01-destlibdir.patch b/development/build2/01-destlibdir.patch
new file mode 100644
index 0000000000..9cf86c7e5c
--- /dev/null
+++ b/development/build2/01-destlibdir.patch
@@ -0,0 +1,42 @@
+--- build.sh 2022-10-10 12:08:46.456483133 +0200
++++ build.sh.new 2022-10-10 12:08:01.796222720 +0200
+@@ -512,12 +512,12 @@
+ ;;
+ *)
+ if test -n "$private"; then
+- conf_rpath="$idir/lib/build2"
++ conf_rpath="$idir/lib64/build2"
+ else
+- conf_rpath="$idir/lib"
++ conf_rpath="$idir/lib64"
+ fi
+
+- conf_rpath_stage="$idir/lib"
++ conf_rpath_stage="$idir/lib64"
+
+ if test -n "$sudo"; then
+ conf_sudo="$sudo"
+@@ -602,6 +602,7 @@
+ config.bin.rpath="$conf_rpath" \
+ config.install.root="$idir" \
+ config.install.sudo="$conf_sudo" \
++config.install.lib="$conf_rpath" \
+ $conf_exe_affixes \
+ $private \
+ $system_imports
+@@ -666,6 +667,7 @@
+ config.install.root="$idir" \
+ config.install.data_root=root/stage \
+ config.install.sudo="$conf_sudo" \
++config.install.lib="$conf_rpath" \
+ $system_imports
+
+ run build2/build2/b-boot $verbose $jobs install: build2/ bpkg/
+@@ -692,6 +694,7 @@
+ config.bin.rpath="$conf_rpath" \
+ config.install.root="$idir" \
+ config.install.sudo="$conf_sudo" \
++config.install.lib="$conf_rpath" \
+ $conf_exe_affixes \
+ $private
+
diff --git a/development/build2/README b/development/build2/README
new file mode 100644
index 0000000000..bff8fd463b
--- /dev/null
+++ b/development/build2/README
@@ -0,0 +1,4 @@
+build2 is an open source (MIT), cross-platform build toolchain that aims
+to approximate Rust Cargo's convenience for developing and packaging
+C/C++ projects while providing more depth and flexibility, especially
+in the build system.
diff --git a/development/build2/build2.SlackBuild b/development/build2/build2.SlackBuild
new file mode 100644
index 0000000000..6ca472da61
--- /dev/null
+++ b/development/build2/build2.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for build2
+
+# Copyright (c) 2022, Ildar Nazhmutdinov <lily.coder@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=build2
+VERSION=${VERSION:-0.16.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 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}
+
+# Build2 build script sets -O2 flag, but we can duplicate it here.
+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
+# It stores config files in build2-toolchain-0.16 (without '.0' in the end).
+# That's why we don't use version in the end.
+rm -rf $PRGNAM-toolchain-*
+tar xvf $CWD/$PRGNAM'-toolchain-'$VERSION.tar.gz
+cd $PRGNAM-toolchain-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Fix lib -> lib64
+if [ "$ARCH" = "x86_64" ]; then
+ patch -p0 < $CWD/01-destlibdir.patch
+fi
+
+# Finally, build the program.
+./build.sh --local --install-dir $PKG/usr --make make c++ ${SLKCFLAGS}
+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
+
+chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so*
+
+# Documentation should be in /usr
+mv $PKG/usr/share/man $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/
+mv $PKG/usr/share/doc $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# /usr/share is empty now. Let's remove it
+rmdir $PKG/usr/share
+
+# Build a package.
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/build2/build2.info b/development/build2/build2.info
new file mode 100644
index 0000000000..fb29fc99a6
--- /dev/null
+++ b/development/build2/build2.info
@@ -0,0 +1,10 @@
+PRGNAM="build2"
+VERSION="0.16.0"
+HOMEPAGE="https://build2.org/"
+DOWNLOAD="https://download.build2.org/0.16.0/build2-toolchain-0.16.0.tar.gz"
+MD5SUM="1646997b8802fbb20fe08ec4cab9b7ab"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ildar Nazhmutdinov"
+EMAIL="lily.coder@gmail.com"
diff --git a/development/build2/slack-desc b/development/build2/slack-desc
new file mode 100644
index 0000000000..f82417a247
--- /dev/null
+++ b/development/build2/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------------------------------------------------------|
+build2: build2 (cross-platform build toolchain for C/C++)
+build2:
+build2: build2 is a hierarchy of tools consisting of a general-purpose build
+build2: system, package manager, and project manager. It is primarily aimed
+build2: at C/C++ projects as well as mixed-language projects.
+build2:
+build2:
+build2:
+build2:
+build2:
+build2: Home page: https://build2.org/
diff --git a/development/bvi/bvi.SlackBuild b/development/bvi/bvi.SlackBuild
index 43f086e72f..78207ee4c6 100644
--- a/development/bvi/bvi.SlackBuild
+++ b/development/bvi/bvi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bvi
@@ -22,26 +22,36 @@
# 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=bvi
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -98,5 +108,5 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bvi/bvi.info b/development/bvi/bvi.info
index db12de12de..5fc97d90b4 100644
--- a/development/bvi/bvi.info
+++ b/development/bvi/bvi.info
@@ -1,8 +1,8 @@
PRGNAM="bvi"
-VERSION="1.4.0"
+VERSION="1.4.2"
HOMEPAGE="http://bvi.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/bvi/bvi/1.4.0/bvi-1.4.0.src.tar.gz"
-MD5SUM="aa83eb8b2b6b0bb6cdd8e6beef12b775"
+DOWNLOAD="http://downloads.sourceforge.net/project/bvi/bvi/1.4.2/bvi-1.4.2.src.tar.gz"
+MD5SUM="d96d4320a148945d3e564f2e5c6af981"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/bviplus/bviplus.SlackBuild b/development/bviplus/bviplus.SlackBuild
index 9fc8faa0b2..1fe9704344 100644
--- a/development/bviplus/bviplus.SlackBuild
+++ b/development/bviplus/bviplus.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bviplus
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bviplus
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -75,4 +82,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bviplus/bviplus.info b/development/bviplus/bviplus.info
index dc8f0ad6ed..c77f52f99f 100644
--- a/development/bviplus/bviplus.info
+++ b/development/bviplus/bviplus.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/bwbasic/README b/development/bwbasic/README
new file mode 100644
index 0000000000..75cf7c1379
--- /dev/null
+++ b/development/bwbasic/README
@@ -0,0 +1,12 @@
+The Bywater BASIC Interpreter (bwBASIC) implements a large superset
+of the ANSI Standard for Minimal BASIC (X3.60-1978) and a significant
+subset of the ANSI Standard for Full BASIC (X3.113-1987), and many
+classic BASIC dialects in C.
+
+bwBASIC can be configured to enable commands, functions, operators
+and punctuation characters available in many classic dialects of BASIC;
+these are controlled by various OPTION commands. bwBASIC does not attempt
+bug-level compatibility with any particular BASIC dialect nor does it
+currently support graphics. bwBASIC seeks to be as portable as possible.
+
+It also offers shell programming facilities as an extension of BASIC.
diff --git a/development/bwbasic/bwbasic.SlackBuild b/development/bwbasic/bwbasic.SlackBuild
new file mode 100644
index 0000000000..9078a0466b
--- /dev/null
+++ b/development/bwbasic/bwbasic.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for bwbasic
+
+# Copyright 2023 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=bwbasic
+VERSION=${VERSION:-3.20}
+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
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-$VERSION.zip
+
+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 {} \+
+
+make -f Makefile.ncu
+
+install -Dsv -m 0755 bwbasic $PKG/usr/bin/bwbasic
+
+(
+mkdir -p $PKG/usr/share/bwbasic
+cd $PKG/usr/share/bwbasic
+unzip $CWD/bwbasic-tests-2017-07-06.zip
+mv bwbasic-tests/GAMES games
+rm -rf $PKG/usr/share/bwbasic/bwbasic-tests/DOCS
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp bwbasic.doc $PKG/usr/doc/$PRGNAM-$VERSION
+cp DOCS/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp 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
+#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/development/bwbasic/bwbasic.info b/development/bwbasic/bwbasic.info
new file mode 100644
index 0000000000..04796edc99
--- /dev/null
+++ b/development/bwbasic/bwbasic.info
@@ -0,0 +1,12 @@
+PRGNAM="bwbasic"
+VERSION="3.20"
+HOMEPAGE="https://sourceforge.net/projects/bwbasic"
+DOWNLOAD="https://sourceforge.net/projects/bwbasic/files/bwbasic/version%203.20/bwbasic-3.20.zip \
+ https://sourceforge.net/projects/bwbasic/files/bwbasic/version%203.20/bwbasic-tests-2017-07-06.zip"
+MD5SUM="fd4bf69515e62d1c92aa3f47038d034b \
+ 6a82763ca0b3bf1a768b26b1231bea98"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="patchutils"
+MAINTAINER="Antonio Leal"
+EMAIL="antonio.leal@yahoo.com"
diff --git a/development/bwbasic/slack-desc b/development/bwbasic/slack-desc
new file mode 100644
index 0000000000..82d5934b4e
--- /dev/null
+++ b/development/bwbasic/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------------------------------------------------------|
+bwbasic: bwbasic (basic interpreter)
+bwbasic:
+bwbasic: The Bywater BASIC Interpreter (bwBASIC) implements a large superset
+bwbasic: of the ANSI Standard for Minimal BASIC (X3.60-1978) and a significant
+bwbasic: subset of the ANSI Standard for Full BASIC (X3.113-1987) in C.
+bwbasic:
+bwbasic:
+bwbasic:
+bwbasic:
+bwbasic: https://sourceforge.net/projects/bwbasic/
+bwbasic:
diff --git a/development/byacc/byacc.SlackBuild b/development/byacc/byacc.SlackBuild
index 614beba51e..452071079c 100644
--- a/development/byacc/byacc.SlackBuild
+++ b/development/byacc/byacc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for byacc
-# Copyright 2015-2020 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
@@ -22,10 +22,13 @@
# 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=byacc
-VERSION=${VERSION:-20200910}
+VERSION=${VERSION:-20240109}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -60,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -98,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/byacc/byacc.info b/development/byacc/byacc.info
index 12afd52331..b59e845a43 100644
--- a/development/byacc/byacc.info
+++ b/development/byacc/byacc.info
@@ -1,8 +1,8 @@
PRGNAM="byacc"
-VERSION="20200910"
-HOMEPAGE="http://invisible-island.net/byacc/"
-DOWNLOAD="http://invisible-island.net/datafiles/release/byacc.tar.gz"
-MD5SUM="5726a5a655c6fd4e8f950552cceeae29"
+VERSION="20240109"
+HOMEPAGE="https://invisible-island.net/byacc/"
+DOWNLOAD="https://invisible-mirror.net/archives/byacc/byacc-20240109.tgz"
+MD5SUM="c1654b0b4fd22ef6db9bef3f205251aa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/bzr/README b/development/bzr/README
index 4d81436002..ec3453f7d8 100644
--- a/development/bzr/README
+++ b/development/bzr/README
@@ -1,8 +1,3 @@
Bazaar (bzr) is a decentralized revision control system, designed
to be easy for developers and end users alike. Bazaar is part of the
GNU project to develop a complete free operating system.
-
-This optionally requires docutils for docs generation, but it is only a
-build dependency - it is not needed for running bzr. Even without the
-docutils package installed, there will still be some documentation with
-the package, so you probably don't need it.
diff --git a/development/bzr/bzr.SlackBuild b/development/bzr/bzr.SlackBuild
index 4676643624..5c8f9fddd4 100644
--- a/development/bzr/bzr.SlackBuild
+++ b/development/bzr/bzr.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bzr
-# Copyright 2006-2012,2017 Robby Workman Tuscaloosa, AL, USA
+# Copyright 2006,2017,2021 Robby Workman Tuscaloosa, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220404 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove useless INSTALL from doc dir.
+# - add empty file in empty dir in docs, to shut sbopkglint up.
+# Robby, you should have a look at this when you have time.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bzr
VERSION=${VERSION:-2.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -65,9 +77,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Generate docs - this will fail if python docutils is not installed
make docs 2>/dev/null || true
@@ -78,14 +90,19 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- BRANCH.TODO COPYING.txt INSTALL NEWS README TODO doc/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a BRANCH.TODO COPYING.txt NEWS README TODO doc/* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# 20220404 bkw: this directory is empty and triggers sbopkglint
+# complaints. I have no idea why it's empty nor whether it would hurt
+# anything to remove it, so I just make it non-empty here.
+[ -e $PKGDOC/ja/_templates/ ] && \
+ echo "placeholder, ignore me" > $PKGDOC/ja/_templates/.placeholder
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/bzr/bzr.info b/development/bzr/bzr.info
index 3c91147b0e..ca25e9c6bb 100644
--- a/development/bzr/bzr.info
+++ b/development/bzr/bzr.info
@@ -1,6 +1,6 @@
PRGNAM="bzr"
VERSION="2.7.0"
-HOMEPAGE="http://bazaar-vcs.org/"
+HOMEPAGE="http://bazaar.canonical.com/"
DOWNLOAD="http://launchpad.net/bzr/2.7/2.7.0/+download/bzr-2.7.0.tar.gz"
MD5SUM="8e5020502efd54f5925a14a456b88b89"
DOWNLOAD_x86_64=""
diff --git a/development/bzr/slack-desc b/development/bzr/slack-desc
index c2f1112450..9166cd9489 100644
--- a/development/bzr/slack-desc
+++ b/development/bzr/slack-desc
@@ -12,7 +12,7 @@ bzr: Bazaar ("bzr") is a decentralized revision control system, designed
bzr: to be easy for developers and end users alike. Bazaar is part of the
bzr: GNU project to develop a complete free operating system.
bzr:
-bzr: Homepage: http://bazaar-vcs.org/
+bzr: Homepage: http://bazaar.canonical.com/
bzr:
bzr:
bzr:
diff --git a/development/cJSON/README b/development/cJSON/README
new file mode 100644
index 0000000000..8e76076361
--- /dev/null
+++ b/development/cJSON/README
@@ -0,0 +1,6 @@
+cJSON is an Ultralightweight JSON parser in ANSI C.
+
+cJSON aims to be the dumbest possible parser that you can get your job
+done with. It's a single file of C, and a single header file.
+
+https://github.com/DaveGamble/cJSON
diff --git a/development/cJSON/cJSON.SlackBuild b/development/cJSON/cJSON.SlackBuild
new file mode 100644
index 0000000000..b2484bcb06
--- /dev/null
+++ b/development/cJSON/cJSON.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for cJSON
+
+# Written by the SPN Team
+
+# 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=cJSON
+VERSION=${VERSION:-1.7.15}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md CHANGELOG.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc into ./install
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cJSON/cJSON.info b/development/cJSON/cJSON.info
new file mode 100644
index 0000000000..71b951b078
--- /dev/null
+++ b/development/cJSON/cJSON.info
@@ -0,0 +1,10 @@
+PRGNAM="cJSON"
+VERSION="1.7.15"
+HOMEPAGE="https://github.com/DaveGamble/cJSON"
+DOWNLOAD="https://github.com/DaveGamble/cJSON/archive/v1.7.15/cJSON-1.7.15.tar.gz"
+MD5SUM="921b4bcb401aa604dc632fdb1c8dbdea"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="SPN Team"
+EMAIL="pwmn-master@hotmail.com"
diff --git a/development/cJSON/slack-desc b/development/cJSON/slack-desc
new file mode 100644
index 0000000000..8647dc1fbc
--- /dev/null
+++ b/development/cJSON/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------------------------------------------------------|
+cJSON: cJSON (Ultralightweight JSON parser in ANSI C.)
+cJSON:
+cJSON: cJSON aims to be the dumbest possible parser that you can get your
+cJSON: job done with. It's a single file of C, and a single header file.
+cJSON:
+cJSON:
+cJSON:
+cJSON:
+cJSON:
+cJSON:
+cJSON: https://github.com/DaveGamble/cJSON
diff --git a/development/c_count/README b/development/c_count/README
new file mode 100644
index 0000000000..bec4a2e914
--- /dev/null
+++ b/development/c_count/README
@@ -0,0 +1,43 @@
+c_count (classify and count lines of C or C++ source)
+
+c_count counts lines, statements, other simple measures of C/C++
+source programs. It isn't lex/yacc based, and is easily portable to a
+variety of systems.
+
+Note: By default, the binary and man page are installed as C_count
+(uppercase C), to prevent a conflict with /usr/bin/c_count from the
+SBo sloccount package. If you really want, you can run this script
+with LOWERCASE=yes in the environment to install as c_count... but if
+you do this, don't install sloccount on the same system.
+
+c_count gives more detailed statistics than sloccount, but does not
+include sloccount's person-years and cost estimates.
+
+Example output from c_count:
+
+$ C_count filename.c
+ 3656 1513 |filename.c
+----------------
+ 3656 1513 total lines/statements
+
+ 881 lines had comments 24.1 %
+ 47 comments are inline -1.3 %
+ 537 lines were blank 14.7 %
+ 197 lines for preprocessor 5.4 %
+ 2088 lines containing code 57.1 %
+ 3656 total lines 100.0 %
+
+ 18053 comment-chars 22.8 %
+ 4739 nontext-comment-chars 6.0 %
+ 18594 whitespace-chars 23.5 %
+ 2527 preprocessor-chars 3.2 %
+ 35098 statement-chars 44.4 %
+ 79011 total characters 100.0 %
+
+ 3919 tokens, average length 6.99
+
+ 0.48 ratio of comment:code
+
+ 205 top-level blocks/statements
+ 9 maximum blocklevel
+ 2.93 ratio of blocklevel:code
diff --git a/development/c_count/c_count.SlackBuild b/development/c_count/c_count.SlackBuild
new file mode 100644
index 0000000000..7a1d2a9597
--- /dev/null
+++ b/development/c_count/c_count.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for c_count
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# sloccount conflict is because both packages install /usr/bin/c_count.
+# Upstream for c_count is aware of this but refuses to change (because
+# his package is older). No idea if sloccount upstream knows or cares
+# (it's been decades, so the problem isn't going to get solved). So
+# install as C_count by default. Annnoyingly enough, there's no man
+# page for sloccount's c_count, and our man command is case-insensitive
+# by default, so "man c_count" will show the man page for C_count since
+# there isn't one for sloccount c_count. Confusing. Hopefully whoever
+# this happens to, figures it out pretty quick.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=c_count
+VERSION=${VERSION:-7.22}
+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.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Avoid sloccount conflict. --program-transform-name fixes the
+# filenames but not the file contents, hence the sed stuff.
+if [ "${LOWERCASE:-no}" = "no" ]; then
+ PTN="--program-transform-name='s/^c/C/'"
+ sed -i '/"[^"]*c_count/s,c_count,C_count,g' $PRGNAM.c
+ sed -i 's,c_count,C_count,g' $PRGNAM.1
+ BIN="C_count"
+else
+ BIN="c_count"
+fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ $PTN \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+strip $PRGNAM
+make install DESTDIR=$PKG
+gzip $PKG/usr/man/man*/*
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a CHANGES COPYING README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+sed "s,@BIN@,$BIN,g" < $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/c_count/c_count.info b/development/c_count/c_count.info
new file mode 100644
index 0000000000..b07308f6de
--- /dev/null
+++ b/development/c_count/c_count.info
@@ -0,0 +1,10 @@
+PRGNAM="c_count"
+VERSION="7.22"
+HOMEPAGE="https://invisible-island.net/c_count/c_count.html"
+DOWNLOAD="https://invisible-island.net/archives/c_count/c_count-7.22.tgz"
+MD5SUM="1a876209c0d8a62a87b8bcd692dd13ea"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/c_count/slack-desc b/development/c_count/slack-desc
new file mode 100644
index 0000000000..b2f35b53ae
--- /dev/null
+++ b/development/c_count/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------------------------------------------------------|
+c_count: c_count (classify and count lines of C or C++ source)
+c_count:
+c_count: c_count counts lines, statements, other simple measures of C/C++
+c_count: source programs. It isn't lex/yacc based, and is easily portable to a
+c_count: variety of systems.
+c_count:
+c_count: c_count gives more detailed statistics than sloccount, but does not
+c_count: include sloccount's person-years and cost estimates.
+c_count:
+c_count: The binary is installed as /usr/bin/@BIN@
+c_count:
diff --git a/development/camlp4/camlp4.SlackBuild b/development/camlp4/camlp4.SlackBuild
index 932c6d73fc..73fa7d4fdd 100644
--- a/development/camlp4/camlp4.SlackBuild
+++ b/development/camlp4/camlp4.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for camlp4
-# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# 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=camlp4
-VERSION=${VERSION:-4.03_1}
+VERSION=${VERSION:-4.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -55,17 +65,15 @@ else
fi
DOCS="CHANGES* LICENSE"
-TVERSION=$(echo $VERSION | tr _ +)
-CVERSION=$(echo $VERSION | tr _ -)
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$CVERSION
-tar xvf $CWD/$PRGNAM-$CVERSION.tar.?z* || tar xvf $CWD/$TVERSION.tar.?z*
-cd $PRGNAM-$CVERSION
+rm -rf $PRGNAM-$(echo $VERSION | tr _ -)
+tar xvf $CWD/$PRGNAM-$(echo $VERSION | tr _ -).tar.?z*
+cd $PRGNAM-$(echo $VERSION | tr _ -)
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,10 +86,11 @@ find -L . \
--libdir=/usr/lib$LIBDIRSUFFIX/ocaml \
--pkgdir=$PKG
-make -j1 all
-make -j1 install DESTDIR=$PKG
-make -j1 camlp4/META
-make -j1 install-META PKGDIR=$PKG/usr/lib$LIBDIRSUFFIX/ocaml/site-lib
+make -j1 all camlp4/META
+make BINDIR="$PKG/usr/bin" \
+ LIBDIR="$PKG/usr/lib$LIBDIRSUFFIX/ocaml" \
+ PKGDIR="$PKG/usr/lib$LIBDIRSUFFIX/ocaml" \
+ install install-META
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
@@ -94,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/camlp4/camlp4.info b/development/camlp4/camlp4.info
index f7192e0340..ff3ea7ae71 100644
--- a/development/camlp4/camlp4.info
+++ b/development/camlp4/camlp4.info
@@ -1,8 +1,8 @@
PRGNAM="camlp4"
-VERSION="4.03_1"
+VERSION="4.13"
HOMEPAGE="http://caml.inria.fr"
-DOWNLOAD="https://github.com/ocaml/camlp4/archive/4.03+1.tar.gz"
-MD5SUM="65ece8d2c8f4b1e06d62323e78759a7c"
+DOWNLOAD="https://github.com/ocaml/camlp4/archive/4.13/camlp4-4.13.tar.gz"
+MD5SUM="1906ee8cc2e7665e98782187b7128867"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocamlbuild"
diff --git a/development/camlp5/camlp5.SlackBuild b/development/camlp5/camlp5.SlackBuild
index 5362052b8d..976d936e07 100644
--- a/development/camlp5/camlp5.SlackBuild
+++ b/development/camlp5/camlp5.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,11 +18,14 @@
# Written by adaptr (jeroen@adaptr.nl)
# Rewrite for updated camlp5 Panagiotis Nikolaou, Culver City, CA
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=camlp5
-VERSION=${VERSION:-7.10}
-SRCVER=rel710
+VERSION=${VERSION:-8.0}
+SRCVER=rel8.00.02
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -32,7 +35,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -68,8 +78,10 @@ find -L . \
## libdir must be under the ocaml install dir!
./configure \
- --prefix /usr \
- --libdir /usr/lib${LIBDIRSUFFIX}/ocaml
+ -prefix /usr \
+ -libdir /usr/lib$LIBDIRSUFFIX/ocaml \
+ -mandir /usr/man \
+ -strict
make world.opt
make install DESTDIR=$PKG
@@ -83,23 +95,23 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES LICENSE MODE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
+# docs don't build correcty: revise it later
## Build TeX, PS, PDF, TeXinfo and HTML Documentation
-cd doc/htmlp
-
-# these helpers are chatty; suppress output
-make all tex pdf ps info 2> /dev/null
-cp -a camlp5.dvi camlp5.ps camlp5.pdf camlp5.tex $PKG/usr/doc/$PRGNAM-$VERSION/
-
-mkdir -p $PKG/usr/info
-cp -a camlp5.info* $PKG/usr/info/
-gzip -9 $PKG/usr/info/*.info*
-
-cd ..
-cp -a html $PKG/usr/doc/$PRGNAM-$VERSION/
+#cd doc/htmlp
+#
+#make all tex pdf ps info
+#cp -a camlp5.dvi camlp5.ps camlp5.pdf camlp5.tex $PKG/usr/doc/$PRGNAM-$VERSION/
+#
+#mkdir -p $PKG/usr/info
+#cp -a camlp5.info* $PKG/usr/info/
+#gzip -9 $PKG/usr/info/*.info*
+#
+#cd ..
+#cp -a html $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/camlp5/camlp5.info b/development/camlp5/camlp5.info
index 9141974c55..30ea47455b 100644
--- a/development/camlp5/camlp5.info
+++ b/development/camlp5/camlp5.info
@@ -1,8 +1,8 @@
PRGNAM="camlp5"
-VERSION="7.10"
+VERSION="8.0"
HOMEPAGE="https://camlp5.github.io/"
-DOWNLOAD="https://github.com/camlp5/camlp5/archive/rel710/camlp5-rel710.tar.gz"
-MD5SUM="1c396142b981c5af1af7470bb23bf0ce"
+DOWNLOAD="https://github.com/camlp5/camlp5/archive/rel8.00.02/camlp5-rel8.00.02.tar.gz"
+MD5SUM="096076be4b26034643508511e834ccc2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocaml"
diff --git a/development/cargo-c/README b/development/cargo-c/README
new file mode 100644
index 0000000000..2b67412423
--- /dev/null
+++ b/development/cargo-c/README
@@ -0,0 +1,7 @@
+cargo-c is an extension for Cargo, the Rust package manager, that
+helps to build and install C-ABI compatible dynamic and static
+libraries. It produces and installs a correct pkg-config file, a
+static library and a dynamic library, and a C header to be used
+by any C (and C-compatible) software.
+
+rust16 is needed only at build time.
diff --git a/development/cargo-c/cargo-c.SlackBuild b/development/cargo-c/cargo-c.SlackBuild
new file mode 100644
index 0000000000..0bedec0d8f
--- /dev/null
+++ b/development/cargo-c/cargo-c.SlackBuild
@@ -0,0 +1,165 @@
+#!/bin/bash
+
+# Slackware build script for cargo-c
+
+# Copyright 2023-2024, Alexander Verbovetsky, Moscow, Russia
+# 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=cargo-c
+VERSION=${VERSION:-0.9.31}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+
+ if [ "$ARCH" = "i586" ]; then
+ if LD_LIBRARY_PATH="/opt/rust16/lib" /opt/rust16/bin/rustc -Vv \
+ | grep host | grep i686 > /dev/null ; then
+ ARCH=i686
+ fi
+ fi
+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=""
+ CARGOTARGET="--target i586-unknown-linux-gnu"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ CARGOTARGET="--target i686-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ CARGOTARGET="--target x86_64-unknown-linux-gnu"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+ CARGOTARGET=""
+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
+cp $CWD/Cargo.lock .
+
+mkdir .cargo
+cat << EOF >> .cargo/config
+[source.crates-io]
+registry = 'https://github.com/rust-lang/crates.io-index'
+replace-with = 'vendored-sources'
+
+[source.vendored-sources]
+directory = '$(pwd)/vendor'
+EOF
+
+mkdir vendor
+(
+ cd vendor
+
+ grep -h -A 4 "\[\[package\]\]" \
+ $(find "../" -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
+ sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
+ awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4, $5 }' | \
+ sed 's/"//g;s/name=//;s/ version=/=/' | \
+ grep " source=" | \
+ sed 's/ dependencies=.*$//' | \
+ sed 's/ source=[^ ]*//' | \
+ sed 's/ checksum=/=/' | \
+ sort -u | \
+ while read -r dep ; do
+
+ cksum="$(printf "%s\n" "$dep" | cut -d= -f3)"
+ ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
+ dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
+
+ tar xvf $CWD/$dep-$ver.crate
+
+ touch $dep-$ver/.cargo-ok
+
+ {
+ printf "{\n"
+ printf ' "files": {\n'
+
+ (
+ cd $dep-$ver
+ find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/'
+ ) | sed '$ s/,$//'
+
+ printf " },\n"
+ printf ' "package": "%s"' "$cksum"
+
+ printf "}\n"
+ } > $dep-$ver/.cargo-checksum.json
+ done
+)
+
+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 {} \;
+
+CARGO_HOME=.cargo \
+PATH="/opt/rust16/bin:$PATH" \
+LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+cargo build --offline --release $CARGOTARGET
+PATH="/opt/rust16/bin:$PATH" \
+LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \
+cargo install --offline --no-track --root "${PKG}/usr" --path="."
+
+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 $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cargo-c/cargo-c.info b/development/cargo-c/cargo-c.info
new file mode 100644
index 0000000000..0b6684576c
--- /dev/null
+++ b/development/cargo-c/cargo-c.info
@@ -0,0 +1,664 @@
+PRGNAM="cargo-c"
+VERSION="0.9.31"
+HOMEPAGE="https://github.com/lu-zero/cargo-c/"
+DOWNLOAD="https://github.com/lu-zero/cargo-c/archive/v0.9.31/cargo-c-0.9.31.tar.gz \
+ https://github.com/lu-zero/cargo-c/releases/download/v0.9.31/Cargo.lock \
+ https://static.crates.io/crates/adler/adler-1.0.2.crate \
+ https://static.crates.io/crates/ahash/ahash-0.8.11.crate \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-1.1.3.crate \
+ https://static.crates.io/crates/allocator-api2/allocator-api2-0.2.16.crate \
+ https://static.crates.io/crates/annotate-snippets/annotate-snippets-0.10.2.crate \
+ https://static.crates.io/crates/anstream/anstream-0.6.13.crate \
+ https://static.crates.io/crates/anstyle-parse/anstyle-parse-0.2.3.crate \
+ https://static.crates.io/crates/anstyle-query/anstyle-query-1.0.2.crate \
+ https://static.crates.io/crates/anstyle-wincon/anstyle-wincon-3.0.2.crate \
+ https://static.crates.io/crates/anstyle/anstyle-1.0.6.crate \
+ https://static.crates.io/crates/anyhow/anyhow-1.0.81.crate \
+ https://static.crates.io/crates/arc-swap/arc-swap-1.7.0.crate \
+ https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \
+ https://static.crates.io/crates/base16ct/base16ct-0.2.0.crate \
+ https://static.crates.io/crates/base64/base64-0.21.7.crate \
+ https://static.crates.io/crates/base64ct/base64ct-1.6.0.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/bitflags/bitflags-2.5.0.crate \
+ https://static.crates.io/crates/bitmaps/bitmaps-2.1.0.crate \
+ https://static.crates.io/crates/block-buffer/block-buffer-0.10.4.crate \
+ https://static.crates.io/crates/bstr/bstr-1.9.1.crate \
+ https://static.crates.io/crates/btoi/btoi-0.4.3.crate \
+ https://static.crates.io/crates/bumpalo/bumpalo-3.15.4.crate \
+ https://static.crates.io/crates/bytes/bytes-1.5.0.crate \
+ https://static.crates.io/crates/bytesize/bytesize-1.3.0.crate \
+ https://static.crates.io/crates/cargo-credential-libsecret/cargo-credential-libsecret-0.4.3.crate \
+ https://static.crates.io/crates/cargo-credential-macos-keychain/cargo-credential-macos-keychain-0.4.3.crate \
+ https://static.crates.io/crates/cargo-credential-wincred/cargo-credential-wincred-0.4.3.crate \
+ https://static.crates.io/crates/cargo-credential/cargo-credential-0.4.4.crate \
+ https://static.crates.io/crates/cargo-platform/cargo-platform-0.1.8.crate \
+ https://static.crates.io/crates/cargo-util-schemas/cargo-util-schemas-0.2.0.crate \
+ https://static.crates.io/crates/cargo-util/cargo-util-0.2.10.crate \
+ https://static.crates.io/crates/cargo/cargo-0.78.0.crate \
+ https://static.crates.io/crates/cbindgen/cbindgen-0.26.0.crate \
+ https://static.crates.io/crates/cc/cc-1.0.90.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/clap/clap-4.5.3.crate \
+ https://static.crates.io/crates/clap_builder/clap_builder-4.5.2.crate \
+ https://static.crates.io/crates/clap_derive/clap_derive-4.5.3.crate \
+ https://static.crates.io/crates/clap_lex/clap_lex-0.7.0.crate \
+ https://static.crates.io/crates/clru/clru-0.6.1.crate \
+ https://static.crates.io/crates/color-print-proc-macro/color-print-proc-macro-0.3.5.crate \
+ https://static.crates.io/crates/color-print/color-print-0.3.5.crate \
+ https://static.crates.io/crates/colorchoice/colorchoice-1.0.0.crate \
+ https://static.crates.io/crates/const-oid/const-oid-0.9.6.crate \
+ https://static.crates.io/crates/core-foundation-sys/core-foundation-sys-0.8.6.crate \
+ https://static.crates.io/crates/core-foundation/core-foundation-0.9.4.crate \
+ https://static.crates.io/crates/cpufeatures/cpufeatures-0.2.12.crate \
+ https://static.crates.io/crates/crates-io/crates-io-0.40.0.crate \
+ https://static.crates.io/crates/crc32fast/crc32fast-1.4.0.crate \
+ https://static.crates.io/crates/crossbeam-channel/crossbeam-channel-0.5.12.crate \
+ https://static.crates.io/crates/crossbeam-deque/crossbeam-deque-0.8.5.crate \
+ https://static.crates.io/crates/crossbeam-epoch/crossbeam-epoch-0.9.18.crate \
+ https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.19.crate \
+ https://static.crates.io/crates/crypto-bigint/crypto-bigint-0.5.5.crate \
+ https://static.crates.io/crates/crypto-common/crypto-common-0.1.6.crate \
+ https://static.crates.io/crates/ct-codecs/ct-codecs-1.1.1.crate \
+ https://static.crates.io/crates/curl-sys/curl-sys-0.4.72+curl-8.6.0.crate \
+ https://static.crates.io/crates/curl/curl-0.4.46.crate \
+ https://static.crates.io/crates/der/der-0.7.8.crate \
+ https://static.crates.io/crates/deranged/deranged-0.3.11.crate \
+ https://static.crates.io/crates/digest/digest-0.10.7.crate \
+ https://static.crates.io/crates/dunce/dunce-1.0.4.crate \
+ https://static.crates.io/crates/ecdsa/ecdsa-0.16.9.crate \
+ https://static.crates.io/crates/ed25519-compact/ed25519-compact-2.1.1.crate \
+ https://static.crates.io/crates/either/either-1.10.0.crate \
+ https://static.crates.io/crates/elliptic-curve/elliptic-curve-0.13.8.crate \
+ https://static.crates.io/crates/encoding_rs/encoding_rs-0.8.33.crate \
+ https://static.crates.io/crates/equivalent/equivalent-1.0.1.crate \
+ https://static.crates.io/crates/erased-serde/erased-serde-0.4.4.crate \
+ https://static.crates.io/crates/errno/errno-0.3.8.crate \
+ https://static.crates.io/crates/fallible-iterator/fallible-iterator-0.3.0.crate \
+ https://static.crates.io/crates/fallible-streaming-iterator/fallible-streaming-iterator-0.1.9.crate \
+ https://static.crates.io/crates/faster-hex/faster-hex-0.9.0.crate \
+ https://static.crates.io/crates/fastrand/fastrand-2.0.1.crate \
+ https://static.crates.io/crates/ff/ff-0.13.0.crate \
+ https://static.crates.io/crates/fiat-crypto/fiat-crypto-0.2.7.crate \
+ https://static.crates.io/crates/filetime/filetime-0.2.23.crate \
+ https://static.crates.io/crates/flate2/flate2-1.0.28.crate \
+ https://static.crates.io/crates/foreign-types-shared/foreign-types-shared-0.1.1.crate \
+ https://static.crates.io/crates/foreign-types/foreign-types-0.3.2.crate \
+ https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.2.1.crate \
+ https://static.crates.io/crates/generic-array/generic-array-0.14.7.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.2.12.crate \
+ https://static.crates.io/crates/git2-curl/git2-curl-0.19.0.crate \
+ https://static.crates.io/crates/git2/git2-0.18.3.crate \
+ https://static.crates.io/crates/gix-actor/gix-actor-0.29.1.crate \
+ https://static.crates.io/crates/gix-attributes/gix-attributes-0.21.1.crate \
+ https://static.crates.io/crates/gix-bitmap/gix-bitmap-0.2.11.crate \
+ https://static.crates.io/crates/gix-chunk/gix-chunk-0.4.8.crate \
+ https://static.crates.io/crates/gix-command/gix-command-0.3.6.crate \
+ https://static.crates.io/crates/gix-commitgraph/gix-commitgraph-0.23.2.crate \
+ https://static.crates.io/crates/gix-config-value/gix-config-value-0.14.6.crate \
+ https://static.crates.io/crates/gix-config/gix-config-0.33.1.crate \
+ https://static.crates.io/crates/gix-credentials/gix-credentials-0.23.1.crate \
+ https://static.crates.io/crates/gix-date/gix-date-0.8.5.crate \
+ https://static.crates.io/crates/gix-diff/gix-diff-0.39.1.crate \
+ https://static.crates.io/crates/gix-discover/gix-discover-0.28.1.crate \
+ https://static.crates.io/crates/gix-features/gix-features-0.37.2.crate \
+ https://static.crates.io/crates/gix-filter/gix-filter-0.8.1.crate \
+ https://static.crates.io/crates/gix-fs/gix-fs-0.9.1.crate \
+ https://static.crates.io/crates/gix-glob/gix-glob-0.15.1.crate \
+ https://static.crates.io/crates/gix-hash/gix-hash-0.14.2.crate \
+ https://static.crates.io/crates/gix-hashtable/gix-hashtable-0.5.2.crate \
+ https://static.crates.io/crates/gix-ignore/gix-ignore-0.10.1.crate \
+ https://static.crates.io/crates/gix-index/gix-index-0.28.2.crate \
+ https://static.crates.io/crates/gix-lock/gix-lock-12.0.1.crate \
+ https://static.crates.io/crates/gix-macros/gix-macros-0.1.4.crate \
+ https://static.crates.io/crates/gix-negotiate/gix-negotiate-0.11.1.crate \
+ https://static.crates.io/crates/gix-object/gix-object-0.40.1.crate \
+ https://static.crates.io/crates/gix-odb/gix-odb-0.56.1.crate \
+ https://static.crates.io/crates/gix-pack/gix-pack-0.46.1.crate \
+ https://static.crates.io/crates/gix-packetline-blocking/gix-packetline-blocking-0.17.3.crate \
+ https://static.crates.io/crates/gix-packetline/gix-packetline-0.17.5.crate \
+ https://static.crates.io/crates/gix-path/gix-path-0.10.7.crate \
+ https://static.crates.io/crates/gix-pathspec/gix-pathspec-0.5.1.crate \
+ https://static.crates.io/crates/gix-prompt/gix-prompt-0.8.4.crate \
+ https://static.crates.io/crates/gix-protocol/gix-protocol-0.43.1.crate \
+ https://static.crates.io/crates/gix-quote/gix-quote-0.4.12.crate \
+ https://static.crates.io/crates/gix-ref/gix-ref-0.40.1.crate \
+ https://static.crates.io/crates/gix-refspec/gix-refspec-0.21.1.crate \
+ https://static.crates.io/crates/gix-revision/gix-revision-0.25.1.crate \
+ https://static.crates.io/crates/gix-revwalk/gix-revwalk-0.11.1.crate \
+ https://static.crates.io/crates/gix-sec/gix-sec-0.10.6.crate \
+ https://static.crates.io/crates/gix-submodule/gix-submodule-0.7.1.crate \
+ https://static.crates.io/crates/gix-tempfile/gix-tempfile-12.0.1.crate \
+ https://static.crates.io/crates/gix-trace/gix-trace-0.1.8.crate \
+ https://static.crates.io/crates/gix-transport/gix-transport-0.40.1.crate \
+ https://static.crates.io/crates/gix-traverse/gix-traverse-0.36.2.crate \
+ https://static.crates.io/crates/gix-url/gix-url-0.26.1.crate \
+ https://static.crates.io/crates/gix-utils/gix-utils-0.1.11.crate \
+ https://static.crates.io/crates/gix-validate/gix-validate-0.8.4.crate \
+ https://static.crates.io/crates/gix-worktree/gix-worktree-0.29.1.crate \
+ https://static.crates.io/crates/gix/gix-0.57.1.crate \
+ https://static.crates.io/crates/glob/glob-0.3.1.crate \
+ https://static.crates.io/crates/globset/globset-0.4.14.crate \
+ https://static.crates.io/crates/group/group-0.13.0.crate \
+ https://static.crates.io/crates/hashbrown/hashbrown-0.12.3.crate \
+ https://static.crates.io/crates/hashbrown/hashbrown-0.14.3.crate \
+ https://static.crates.io/crates/hashlink/hashlink-0.8.4.crate \
+ https://static.crates.io/crates/heck/heck-0.4.1.crate \
+ https://static.crates.io/crates/heck/heck-0.5.0.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.3.9.crate \
+ https://static.crates.io/crates/hex/hex-0.4.3.crate \
+ https://static.crates.io/crates/hkdf/hkdf-0.12.4.crate \
+ https://static.crates.io/crates/hmac/hmac-0.12.1.crate \
+ https://static.crates.io/crates/home/home-0.5.9.crate \
+ https://static.crates.io/crates/http-auth/http-auth-0.1.9.crate \
+ https://static.crates.io/crates/humantime/humantime-2.1.0.crate \
+ https://static.crates.io/crates/idna/idna-0.5.0.crate \
+ https://static.crates.io/crates/ignore/ignore-0.4.22.crate \
+ https://static.crates.io/crates/im-rc/im-rc-15.1.0.crate \
+ https://static.crates.io/crates/indexmap/indexmap-1.9.3.crate \
+ https://static.crates.io/crates/indexmap/indexmap-2.2.5.crate \
+ https://static.crates.io/crates/is-terminal/is-terminal-0.4.12.crate \
+ https://static.crates.io/crates/itertools/itertools-0.12.1.crate \
+ https://static.crates.io/crates/itoa/itoa-1.0.10.crate \
+ https://static.crates.io/crates/jobserver/jobserver-0.1.28.crate \
+ https://static.crates.io/crates/js-sys/js-sys-0.3.69.crate \
+ https://static.crates.io/crates/kstring/kstring-2.0.0.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/lazycell/lazycell-1.3.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.153.crate \
+ https://static.crates.io/crates/libgit2-sys/libgit2-sys-0.16.2+1.7.2.crate \
+ https://static.crates.io/crates/libloading/libloading-0.8.3.crate \
+ https://static.crates.io/crates/libnghttp2-sys/libnghttp2-sys-0.1.9+1.58.0.crate \
+ https://static.crates.io/crates/libsqlite3-sys/libsqlite3-sys-0.27.0.crate \
+ https://static.crates.io/crates/libssh2-sys/libssh2-sys-0.3.0.crate \
+ https://static.crates.io/crates/libz-sys/libz-sys-1.1.16.crate \
+ https://static.crates.io/crates/linux-raw-sys/linux-raw-sys-0.4.13.crate \
+ https://static.crates.io/crates/lock_api/lock_api-0.4.11.crate \
+ https://static.crates.io/crates/log/log-0.4.21.crate \
+ https://static.crates.io/crates/matchers/matchers-0.1.0.crate \
+ https://static.crates.io/crates/maybe-async/maybe-async-0.2.10.crate \
+ https://static.crates.io/crates/memchr/memchr-2.7.1.crate \
+ https://static.crates.io/crates/memmap2/memmap2-0.9.4.crate \
+ https://static.crates.io/crates/minimal-lexical/minimal-lexical-0.2.1.crate \
+ https://static.crates.io/crates/miniz_oxide/miniz_oxide-0.7.2.crate \
+ https://static.crates.io/crates/miow/miow-0.6.0.crate \
+ https://static.crates.io/crates/nom/nom-7.1.3.crate \
+ https://static.crates.io/crates/normpath/normpath-1.2.0.crate \
+ https://static.crates.io/crates/nu-ansi-term/nu-ansi-term-0.46.0.crate \
+ https://static.crates.io/crates/num-conv/num-conv-0.1.0.crate \
+ https://static.crates.io/crates/num-traits/num-traits-0.2.18.crate \
+ https://static.crates.io/crates/num_threads/num_threads-0.1.7.crate \
+ https://static.crates.io/crates/once_cell/once_cell-1.19.0.crate \
+ https://static.crates.io/crates/opener/opener-0.6.1.crate \
+ https://static.crates.io/crates/openssl-macros/openssl-macros-0.1.1.crate \
+ https://static.crates.io/crates/openssl-probe/openssl-probe-0.1.5.crate \
+ https://static.crates.io/crates/openssl-src/openssl-src-300.2.3+3.2.1.crate \
+ https://static.crates.io/crates/openssl-sys/openssl-sys-0.9.101.crate \
+ https://static.crates.io/crates/openssl/openssl-0.10.64.crate \
+ https://static.crates.io/crates/ordered-float/ordered-float-2.10.1.crate \
+ https://static.crates.io/crates/orion/orion-0.17.6.crate \
+ https://static.crates.io/crates/os_info/os_info-3.8.1.crate \
+ https://static.crates.io/crates/overload/overload-0.1.1.crate \
+ https://static.crates.io/crates/p384/p384-0.13.0.crate \
+ https://static.crates.io/crates/parking_lot/parking_lot-0.12.1.crate \
+ https://static.crates.io/crates/parking_lot_core/parking_lot_core-0.9.9.crate \
+ https://static.crates.io/crates/pasetors/pasetors-0.6.8.crate \
+ https://static.crates.io/crates/pathdiff/pathdiff-0.2.1.crate \
+ https://static.crates.io/crates/pem-rfc7468/pem-rfc7468-0.7.0.crate \
+ https://static.crates.io/crates/percent-encoding/percent-encoding-2.3.1.crate \
+ https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.13.crate \
+ https://static.crates.io/crates/pkcs8/pkcs8-0.10.2.crate \
+ https://static.crates.io/crates/pkg-config/pkg-config-0.3.30.crate \
+ https://static.crates.io/crates/powerfmt/powerfmt-0.2.0.crate \
+ https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.17.crate \
+ https://static.crates.io/crates/primeorder/primeorder-0.13.6.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.79.crate \
+ https://static.crates.io/crates/prodash/prodash-28.0.0.crate \
+ https://static.crates.io/crates/quote/quote-1.0.35.crate \
+ https://static.crates.io/crates/rand/rand-0.8.5.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.6.4.crate \
+ https://static.crates.io/crates/rand_xoshiro/rand_xoshiro-0.6.0.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.4.1.crate \
+ https://static.crates.io/crates/regex-automata/regex-automata-0.1.10.crate \
+ https://static.crates.io/crates/regex-automata/regex-automata-0.4.6.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.29.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.8.2.crate \
+ https://static.crates.io/crates/regex/regex-1.10.3.crate \
+ https://static.crates.io/crates/rfc6979/rfc6979-0.4.0.crate \
+ https://static.crates.io/crates/rusqlite/rusqlite-0.30.0.crate \
+ https://static.crates.io/crates/rustfix/rustfix-0.8.1.crate \
+ https://static.crates.io/crates/rustix/rustix-0.38.32.crate \
+ https://static.crates.io/crates/ryu/ryu-1.0.17.crate \
+ https://static.crates.io/crates/same-file/same-file-1.0.6.crate \
+ https://static.crates.io/crates/schannel/schannel-0.1.23.crate \
+ https://static.crates.io/crates/scopeguard/scopeguard-1.2.0.crate \
+ https://static.crates.io/crates/sec1/sec1-0.7.3.crate \
+ https://static.crates.io/crates/security-framework-sys/security-framework-sys-2.9.1.crate \
+ https://static.crates.io/crates/security-framework/security-framework-2.9.2.crate \
+ https://static.crates.io/crates/semver/semver-1.0.22.crate \
+ https://static.crates.io/crates/serde-untagged/serde-untagged-0.1.5.crate \
+ https://static.crates.io/crates/serde-value/serde-value-0.7.0.crate \
+ https://static.crates.io/crates/serde/serde-1.0.197.crate \
+ https://static.crates.io/crates/serde_derive/serde_derive-1.0.197.crate \
+ https://static.crates.io/crates/serde_ignored/serde_ignored-0.1.10.crate \
+ https://static.crates.io/crates/serde_json/serde_json-1.0.114.crate \
+ https://static.crates.io/crates/serde_spanned/serde_spanned-0.6.5.crate \
+ https://static.crates.io/crates/sha1/sha1-0.10.6.crate \
+ https://static.crates.io/crates/sha1_smol/sha1_smol-1.0.0.crate \
+ https://static.crates.io/crates/sha2/sha2-0.10.8.crate \
+ https://static.crates.io/crates/sharded-slab/sharded-slab-0.1.7.crate \
+ https://static.crates.io/crates/shell-escape/shell-escape-0.1.5.crate \
+ https://static.crates.io/crates/shell-words/shell-words-1.1.0.crate \
+ https://static.crates.io/crates/signature/signature-2.2.0.crate \
+ https://static.crates.io/crates/sized-chunks/sized-chunks-0.6.5.crate \
+ https://static.crates.io/crates/smallvec/smallvec-1.13.2.crate \
+ https://static.crates.io/crates/socket2/socket2-0.5.6.crate \
+ https://static.crates.io/crates/spki/spki-0.7.3.crate \
+ https://static.crates.io/crates/static_assertions/static_assertions-1.1.0.crate \
+ https://static.crates.io/crates/strsim/strsim-0.11.0.crate \
+ https://static.crates.io/crates/subtle/subtle-2.5.0.crate \
+ https://static.crates.io/crates/supports-hyperlinks/supports-hyperlinks-2.1.0.crate \
+ https://static.crates.io/crates/syn/syn-1.0.109.crate \
+ https://static.crates.io/crates/syn/syn-2.0.53.crate \
+ https://static.crates.io/crates/tar/tar-0.4.40.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.10.1.crate \
+ https://static.crates.io/crates/terminal_size/terminal_size-0.3.0.crate \
+ https://static.crates.io/crates/thiserror-impl/thiserror-impl-1.0.58.crate \
+ https://static.crates.io/crates/thiserror/thiserror-1.0.58.crate \
+ https://static.crates.io/crates/thread_local/thread_local-1.1.8.crate \
+ https://static.crates.io/crates/time-core/time-core-0.1.2.crate \
+ https://static.crates.io/crates/time-macros/time-macros-0.2.17.crate \
+ https://static.crates.io/crates/time/time-0.3.34.crate \
+ https://static.crates.io/crates/tinyvec/tinyvec-1.6.0.crate \
+ https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.1.crate \
+ https://static.crates.io/crates/toml/toml-0.5.11.crate \
+ https://static.crates.io/crates/toml/toml-0.8.12.crate \
+ https://static.crates.io/crates/toml_datetime/toml_datetime-0.6.5.crate \
+ https://static.crates.io/crates/toml_edit/toml_edit-0.21.1.crate \
+ https://static.crates.io/crates/toml_edit/toml_edit-0.22.9.crate \
+ https://static.crates.io/crates/tracing-attributes/tracing-attributes-0.1.27.crate \
+ https://static.crates.io/crates/tracing-core/tracing-core-0.1.32.crate \
+ https://static.crates.io/crates/tracing-log/tracing-log-0.2.0.crate \
+ https://static.crates.io/crates/tracing-subscriber/tracing-subscriber-0.3.18.crate \
+ https://static.crates.io/crates/tracing/tracing-0.1.40.crate \
+ https://static.crates.io/crates/typenum/typenum-1.17.0.crate \
+ https://static.crates.io/crates/unicase/unicase-2.7.0.crate \
+ https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.15.crate \
+ https://static.crates.io/crates/unicode-bom/unicode-bom-2.0.3.crate \
+ https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.12.crate \
+ https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.23.crate \
+ https://static.crates.io/crates/unicode-width/unicode-width-0.1.11.crate \
+ https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.4.crate \
+ https://static.crates.io/crates/url/url-2.5.0.crate \
+ https://static.crates.io/crates/utf8parse/utf8parse-0.2.1.crate \
+ https://static.crates.io/crates/valuable/valuable-0.1.0.crate \
+ https://static.crates.io/crates/vcpkg/vcpkg-0.2.15.crate \
+ https://static.crates.io/crates/version_check/version_check-0.9.4.crate \
+ https://static.crates.io/crates/walkdir/walkdir-2.5.0.crate \
+ https://static.crates.io/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.92.crate \
+ https://static.crates.io/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.92.crate \
+ https://static.crates.io/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.92.crate \
+ https://static.crates.io/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.92.crate \
+ https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.92.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-util/winapi-util-0.1.6.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.48.0.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.52.0.crate \
+ https://static.crates.io/crates/windows-targets/windows-targets-0.48.5.crate \
+ https://static.crates.io/crates/windows-targets/windows-targets-0.52.4.crate \
+ https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.48.5.crate \
+ https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.52.4.crate \
+ https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.48.5.crate \
+ https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.52.4.crate \
+ https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.48.5.crate \
+ https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.52.4.crate \
+ https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.48.5.crate \
+ https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.52.4.crate \
+ https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.48.5.crate \
+ https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.52.4.crate \
+ https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.48.5.crate \
+ https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.52.4.crate \
+ https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.48.5.crate \
+ https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.52.4.crate \
+ https://static.crates.io/crates/winnow/winnow-0.5.40.crate \
+ https://static.crates.io/crates/winnow/winnow-0.6.5.crate \
+ https://static.crates.io/crates/zerocopy-derive/zerocopy-derive-0.7.32.crate \
+ https://static.crates.io/crates/zerocopy/zerocopy-0.7.32.crate \
+ https://static.crates.io/crates/zeroize/zeroize-1.7.0.crate"
+MD5SUM="f7e624cdaa1f6b526a2d18c9869396fd \
+ 0a96518b9ae6d0012e935842fa22ac05 \
+ 669215548c64019c08c92b2c1afd3deb \
+ adbb51e40b28255c49b2ad1d956eff19 \
+ 03b2d126766ed746706241b4c7487654 \
+ a2d3656a58d89472063fd35db901f137 \
+ 3cc362a6cd343e7b3ee1200267648486 \
+ d1dbe19a84ecc8388654099d69c77b09 \
+ e188f6de00a35235da008cd39e1a003d \
+ b06d6c6d9a7bdcdd9bf78f20f2d08f01 \
+ 87cc1a50f0dcc09d7223df42eae95119 \
+ dff7c2613686577772e6eaeaf76d6f5c \
+ 8e8c387e63c67c1b8bc99587af1deabb \
+ a9c93db6e2c5fbf79a369ffc71c9e4b4 \
+ 05d77ef52e90ad161fdd41b252420467 \
+ 5a1ece5125e266d39693587725f0270d \
+ 5a5f45206802441161524e1be576da1f \
+ bd4c0e123b65937461c135ff7030a44e \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ f3406374808b01be3a263666aa9aa2f5 \
+ 1f3a8c93940230a06fdf5223a64000bf \
+ 023b03cf9968b29253a5dfe62051008d \
+ db089af54479a055c39ca84bcf915f27 \
+ 841b2dfaad47fc76cd42a45e074a1e78 \
+ 04420ad0e34cf71c5dd4e473934f8e54 \
+ 51ed49380bb7d086c005208e805983b2 \
+ 04c2dcc3c8184578320c53d63a07aed0 \
+ 6e08c838df19fc939ee52d6c7c2e922c \
+ 987dcd1487225f2ac47d57d48d1f1780 \
+ f39311f33b2d912eaa1a529546844e4c \
+ f2c71238d869978b2892196a9879b9aa \
+ 704a72387b69a38dd7c18a6ebf85448d \
+ 6fd617c0889b45a1885b5a3658327039 \
+ 21792dda644ad24e702b5502b921295a \
+ b1e001b7767ec70a420cd0ec4c5b0384 \
+ 1f28e8d9b5c137d9e8d3265022051c34 \
+ 3688fd97ff4600fa12dcba8623da73a3 \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ b444496ca4d820b2c75bd6ca4f269126 \
+ 6a7300e86333500f11f30e3e20e68808 \
+ fae4ac14d3f6db474aad2d3c73649420 \
+ f780b94573a4c3e9261b0ef07ace6529 \
+ b4b717e9ccaca16de32c52b11e851916 \
+ 7cb2d9957e068e43a2de467b8db2687a \
+ efc6173c78191136c3eb0bf9dfce813c \
+ 010f6d0e98cc2a2b99907a23c6cd6bbc \
+ 6ed0aab506ad1ec23e34c6aec4efd1d7 \
+ d7624e4ff046ae83eda8e82d90887bdb \
+ 4d7e3bc6c42f8a875a87246ed14d9948 \
+ 162407e4c09897085d00344230f375a0 \
+ 2dd85e0c82b1a2917d7ff8130fde9e7e \
+ 2cdf6f26459b770f7cf497cfba8eb5d4 \
+ 86c345cb693c291362662b0eb437af89 \
+ 396f4f63322338c26d76b2f638646178 \
+ 44505199ec0964feb5488051b4ac92d5 \
+ 398f4cce1d3067cc7a56662e52a33384 \
+ d2695f81f5e7b7a44da337b59c56b363 \
+ 89e88633cab0e4b6f3d3878b84dffe8b \
+ 1fcb16ff3093c34c7265bb1be892096c \
+ 4a54687d3f58bbea098a3ea2b4b57983 \
+ 809c655613979bc5d65cb6d4afa24c91 \
+ b0bf0c6d53543de6ba1644de4481b1b8 \
+ d022bc79e1931c2bd4ebbe65cf3d2309 \
+ 3d62bfbbe08bdcee55fcb8cda85554d9 \
+ 09fbe9408a658ae3e5d294812af2bc65 \
+ 3ce1c12d6f46952c4a394c8c3bb9437e \
+ 857c96071a8fd39e7458707e9fae87b9 \
+ cfa0423cdca197fe5e67129d7e0bb6a8 \
+ ffc9c1ed3a5f35182084b40ff2ff6111 \
+ 5f9a3a8b7213c055342b2f423a213b3a \
+ bdf329a72ecd0605c296f25e53136706 \
+ 49995a748235848f9c33176c5504b319 \
+ 349e0ae5420f0b7e6ff835cd03cc7428 \
+ 4abeb2b6db91c4964c17ec4bf24248f4 \
+ 7543e8639ad2e29866b522e20c35152a \
+ b4944c105ff1b8614beeb153e7179027 \
+ 80e1c1b89d858c93fc5946b4a8266504 \
+ 108d90c246e09f46087613284e8651e7 \
+ 3fa771519c7a8cea14ffc4668152e56b \
+ bc4c2f203d616e83fae2c9648578c618 \
+ 110e56f20886997bc288b6fea8617ce1 \
+ 667e86b8b8d96ab4e9605627ce7dcc9a \
+ 78c898fdaa3968e23904bf8538c4a271 \
+ c3e51926c9853b714191ef1bec90e2ce \
+ 64a6d8fe0c9a450bcefa41894e17d7ac \
+ ba5684833f6b40a3aa32ae4989c40f79 \
+ 321f5643159fb34ad4d87084c504d9bd \
+ 87d341ff463ddced63e0706946cb665d \
+ 7b3003ade101574486d4b61f3fd06440 \
+ c253c9cba9205b08dc7fcee2ca7338b2 \
+ 101226d32a04adc0a4232050dbf85056 \
+ 0f5f5b1f9ebc3d31770c7ae2e33d409c \
+ 980abe4b3b80e451332e7f38105425d6 \
+ 95c7cca83f8c240a8ccbf8ead761dac0 \
+ 2f1beb665ae673db2d89821a436b1cef \
+ 188388caa9c0e7e6e1de8778f3084c2d \
+ 04929d5ae6302ff18d485af35833d92d \
+ e1aa1cf30530143595c6efaa1823731d \
+ 49071faed6a52284044607e8806d1932 \
+ d7ff4a6fab25468975161d118b33fd60 \
+ ce980aee0f7936a3f525d6762bdc75a9 \
+ c0f4447663cd3d5c9473074145df6318 \
+ 41645c29af2416bcfaeed2ef9b99484e \
+ 9f3ba9029fdec6d2be4b923d9c3af315 \
+ 2180948a1fe17db88e9f97870234f87a \
+ adafc45a92f42b3377a06b041a2ab658 \
+ 88ba1186b44c77fc2c997c77e9ec07af \
+ f68d3698d2f4b549f82727ef2abb9ece \
+ 6de9c68a31fe0ff46d436924b095ef5f \
+ d22cc4f89be7e3d6325c040cb93d9065 \
+ a772a494342d3b577ebfe90852b0e9af \
+ 2fbf67ab3c4e7596a5419d2165c8dfbc \
+ 909416e2b1af9a500850985790bebd32 \
+ 8278593598c92b98a60b33b0ae53c675 \
+ d1520e89eee5687482d00bbf693732ef \
+ 4ce5a3acd4d4ee81bad7f07e42757711 \
+ afb7f0126b110b2b69385e7da7b038ee \
+ ab2c6c37bb00bf44d12cff63cdad7728 \
+ 25fcb0da7848094d416789ad90eddd91 \
+ 419f85a13991d6072db6da46deb83f0f \
+ 539588dc3151dd1a2eafb1abc1b328e7 \
+ 9620bb4866771ec75f3f176419376f39 \
+ 791e86c7430bdfa8e2a76cd9cdbe391e \
+ 74994ad33443873a63b061eac0adac8f \
+ 9716cdd4163e2902784a9064cd8628f0 \
+ a865ed2b74e73c390f769b702aa02713 \
+ b2702560d88c43714d53891335ebeb20 \
+ 27a63c3e09745c55f4ab3a8de0b58593 \
+ 2853be6b1b40b0e9731893a50660915a \
+ c20b2e4ccc7db52b89b4d29ace3def4e \
+ 091dc00bafbeea35f691f8dabdad259f \
+ c64841bc9eeb6d6492a67a8d182f3fce \
+ e9ba7f6e1efec40f348488b04a50e5a6 \
+ 6cf5295ccac485b29e978e762b0f3d8a \
+ 6685f546d2f2d70fe902e96318d6a032 \
+ cf1a36b1baf0f0447b7fbe0a52b3b1b8 \
+ 2d6d28ec311884da69bcaf320ada8ad5 \
+ 423ea3c18df8759400c3d0a381738c64 \
+ 974e766c6583278ac82a83632b75b65e \
+ 1b41b97d982520b7364a87a39e2a1ed8 \
+ 3451a2e54a12d567bbb1bf2815aedc37 \
+ 650b9bf73e72b2a66246459f60386307 \
+ b92fa50f56a1e06a7f1bf665442d4a73 \
+ ce5935e8063a452913a61e5405b33cb9 \
+ 4daeb6abd6951210bed659c3c1ea01b4 \
+ 1d3e530a3410fc95a6987d70f84a6332 \
+ 8cd6f472d6904b0c507a456dddb68eb6 \
+ 4e0c068ba38fa8e0aa6c46bce5e9d2ab \
+ d81f9251921f8a289dcf69fe4ccc3788 \
+ eb8c1c66c05b6495ec2eb9f8e592fed7 \
+ c01022fe0357c10ca1d48b16187f81bd \
+ b5305bde14813da51d536a9df564db69 \
+ b0e8879bc367bdad1fea51407ae22380 \
+ 25119b3f34f4d5298dade622e10a54c5 \
+ 11ce8b5f52cd315e8f52985b834b87eb \
+ 39ee9c142fcb9be5b41be73e42260979 \
+ a5ff7ccb5fe4fc981cff7abfde30ae88 \
+ cbafbdc811ecda2c59593e87a05c219f \
+ 0403f58e42c94609207c40a310cfe78a \
+ 62156c0c6bde4f8190c611a461eb482a \
+ c6be9100355c6e77cf37c76ade56baa4 \
+ 0c07198f804f9c9788567f8c061acaec \
+ fba3b040a55c01be7376d3dd5c4d4920 \
+ 23cc9e52c52465f5b225e62ab7cc3457 \
+ 49d77531898b3d7846b149c0fb4788c4 \
+ 3ef859f6ec46e98447135f3cb47755f8 \
+ 99d57b23f1a7878ef7220513f49db015 \
+ 34cea8121c95e0ea826272e0edf13522 \
+ f5969d580be7a71a6de3dffe677b8d7c \
+ 73c81da3754295e39ea4a99517b1e794 \
+ ffe1925dad8c9453b418aa16e1acda97 \
+ f2d8f01a4e5c5236ab55240d09c6e82f \
+ cc1b0e90e372869ad03ef40bd53fa30f \
+ 5a376ab3f01ed9e90e8d71e1d5fa6ae7 \
+ 29614f150859d094548bed37e78f586b \
+ 171bb701365ec4b0c12ae5387e034c16 \
+ f8cc1978aae22df3e656d12810cdf994 \
+ 5cf346df4658ff1ab6c0b3b3dba48f75 \
+ 8b708bc4b33c5e1683467444c9ed41b0 \
+ 86aa81f2561682f16c0be376294bf9d3 \
+ c14d50ef3ce9b2640d2a9d68c53834b9 \
+ f17aecb8887cf0ecd823623160aed7db \
+ e6e0e961c6fc0e678ec6ea74d5461f18 \
+ a56461a712a83abc691cf473d1835228 \
+ 5b5de6cffe4726037a5ec6d6931c80f3 \
+ a06099d8d1b082ec6ee23c44750873ca \
+ 4578b5cccbe636b7e5becdf5543b3802 \
+ 8390247ae7126c00e162732b249be9d7 \
+ fbd71c60eef7289eb6bcad7e74b20475 \
+ 28d34115cfbbe0e8f80333591f2cdd84 \
+ 907244c0d3791f3f981c7cc8e4cad0a3 \
+ b0fd71537a7c1d7433d62da2f5aa554e \
+ bd529be225f8352d7e6cab8410bd2b38 \
+ f4c1fe0f183ec61db569aeb437c6f9cd \
+ 71624c8a64c75744a95f02a09614f220 \
+ f8408c2543795bb080bebfba7e38e048 \
+ 9fa1b00f9c3cd5edd42d4bab4f6fba1b \
+ 03a7ad2814bd9dd34e0acec8ca4f855e \
+ 9822018c3ee7133a6f093f679d639da2 \
+ 1be45f99109d447849f4244b58c5a470 \
+ 7502c2f15026ee3e6a01f57b92942771 \
+ 8bc06de4ec1fda57035d2bd07535d670 \
+ c40bb551772810d818857841ea389f1e \
+ a37720d4e4cbebd28ac9c7930137a9d6 \
+ 0ba30a94d7b8865c23e86d4d64e5b91e \
+ ffc7c4e1b2639ba6c8579a1c47c5f97c \
+ 54148ff5f2a4a6f4f1e857b0bf854bf0 \
+ 524ffd7a9b5b25c4d388686a5dde5cac \
+ 30eb4de1c1a3bd214d7649b891abf444 \
+ 5c69337d37e58a380e00eac9ce0373bb \
+ d226e4317502fe822b21daeda4d7488c \
+ e0c30e3bc29a1b33c71f2823cd5b5365 \
+ 533608bb3b2587c0aa148dc36cc16429 \
+ 0358b31bf59c7915bb03f9e66f2d1ea3 \
+ ee7a5f842c39bc47c474196e83b0df5f \
+ e30085994bbeb4b7f4895d48216d5476 \
+ a1626b8f4d165b1b60d960862eba4cf0 \
+ ca0ecc8e22d810207704d4cd743ca657 \
+ ff1d093069cfc9eb161907e17a51208b \
+ 95f4b6766a27d814b4e54d1ccb3b7fc9 \
+ 520b920d0c711ec1a17fb19a6060446a \
+ f2303650593b13e30a85e39d8c79c961 \
+ 91b60a71d44302a8b05bd398eca56c37 \
+ 6ddcf897328f065168420b7d4ea9d43b \
+ 4320a9e82272686cb97d7af005f5360d \
+ 61c44ef17c3f2d62c9e20da93938de0e \
+ 09a0774f45802ba2d52c509ee196c64a \
+ c74beacbda25822857d315b64c167575 \
+ feefd8369d6dd6a0f269bbed1b921349 \
+ 2d8d8b377d144f5e32b4f65a69eb0b24 \
+ 6a0950fa3775d755dbbdbd24a2841786 \
+ f1358be8c98b98837cbd2cf51e75f8b3 \
+ 46e0a2b34b2a6108cad9e2b1da756cab \
+ 2acfe0c857811f38afc675dd79f308e2 \
+ 151939b0b34c1580b44863b7713be586 \
+ 7b1ab65edc77a1bd7cfd8f03cd889831 \
+ 20a612b8e5e0daffd3319304c17b808f \
+ eeda11db8ced625011d8b88d36765321 \
+ 956ace3f4e2b8a6ac55aa74549cc38de \
+ e8b93865e80b67f03df2faa417960b88 \
+ 597586743b4769a8f6c169803ad3bb2a \
+ 1d870838320d2810817ade2a17fcc4f8 \
+ fa0d5d4e1e3bd20a9ca9aef473fc3665 \
+ d7602381c0bc21d10603cc940a837b06 \
+ 74d8afce717ff89fb2cb5141f121782b \
+ 289b776935f2184c6ba2974877285013 \
+ 96261f3cee18842060fd64d618e056d8 \
+ 08abe36adae4caee78acf034c56a550b \
+ ce622fdb8d18cd1c13ed8fadc5400c10 \
+ a5f10909341dab15fcdee74b0409ec69 \
+ c51211275ff1e841326726837820eed9 \
+ 50d5a501f911bb592f0dce2d052c2aa8 \
+ e0a2eb3573e89a1462cb180fd0a326cd \
+ ae35a16ea73fc405f1cf50fa35b70ddd \
+ c9defe80406280bcfce4ecf31c0200b3 \
+ 5a9054761bf275878e3c4076192d5472 \
+ 24e0b498b23c398c49e3af66373c91cc \
+ 9e3cf5ff1c239a3583482452f07f1085 \
+ 64d9f46e9ba78f68c30c486be3d8b7df \
+ 285d82afae7d638437fd71f94cd1923e \
+ 08a17e86dfb5bf21d557636f2a545ebe \
+ 449c7bb37fc298d2026fbf2855eb8db0 \
+ b7eae58d7a80112442643ee2ff481ef7 \
+ f443b2cca547d22f994c2dd99a6e5581 \
+ 361668f9f11e4f0eba45f70c24fa8614 \
+ 6739d2c377b9e20af9a23022e362aa33 \
+ 7818a75208424a6d05d1d868559f0adf \
+ 4875c5068f17bbcd90afbff582925a0a \
+ 00a1017b4831ad4073be63ee145f37f1 \
+ 5f0470696baaa4e5953bddbf196998f9 \
+ c678a7da0ee4b850ebde0474144a0415 \
+ b21820f2664242498beba7783b32bef4 \
+ cc14d30a8e3aa6f3d0a54311fca6acaa \
+ 9aecd5ff283534a21d7cd51266abfe89 \
+ 0cb504a1438dd87648b18def4b0e6e10 \
+ 1f128565bf0ce81bc03c3f52fb37ce69 \
+ 9dd610282e23bbd40016697350c1babb \
+ a6655e5e9845cb569991e87b5b38a1fc \
+ beede1fdd5ce9840d395abc905d8ab3e \
+ 7e2eeef14bb62adaf15f1e921538adaa \
+ 0a906c03436ec2dcc4c311c21fee0da2 \
+ 6ebb8deee5a5a0d1c26b20eeee1926b3 \
+ 05fc1fbfb646a394e35043182c63b5de \
+ 8a607889ac525c2286e2f7c88f89d931 \
+ c3d42808c0c5cc0283666964f83df775 \
+ ca65153603a1a7240bbd9d2ce19f2d67 \
+ 97fa43aa1afabd1f5f3d1070389b42ba \
+ 908ec8a89821b72f3a35726bab24461f \
+ 1fcc5c68ddd2899481f89c74a6f35ea6 \
+ e547b0e754cd61f24f9ef8c9e26fcd95 \
+ ceee1159c41351d05f4cf705490867b3 \
+ 4efc6e7a118524cecefa0023a18accf7 \
+ e900a384ac7dbb320fe6a7279fbfef89 \
+ d18d362345c4fe512ef67b738b239fb8 \
+ f38b27b8c9625110a51293658f1cc014 \
+ e972ea58ec203bfa6c79c1207852298b \
+ 1aa786b0f998b9d0440c2a03b133e991 \
+ 651897c3311b074247a1b351bf85b4ff \
+ 8b3da5691ef460f035d90f16d3a0bebd \
+ 4abb118b896b90518fc32602088933be \
+ dca59f56e652d010c754d42df104cd22 \
+ db96b50050277bf05a3c68534bbb9586 \
+ 306c0281447d1876e8220007b7a7e053 \
+ 09de9d01e7331ff3da11f58be8bef0df \
+ 0498c4a11448bfc35dc7bb2caa64c753 \
+ f2797ade0e36f1e5d6be9d11b5076582 \
+ 2376de634160158ece40c4bc2ab3eb41 \
+ 24c64817e85ef77765ed0f26c31c9b4c \
+ da06678965a6a18bd802a4dfc0ff16a6 \
+ dae6d89034a6988042fd8be4cf5e037d \
+ 37de98e52a65c26a9ea5d1c64ac70ff7 \
+ de2839e16d9d7a9fd1c397da62f62b4a \
+ 08d0a285a0002da66dd555876cf0b278 \
+ e0c35ffb8cfdb74a39bf799811f79304 \
+ b6834054fd9736252087791fdda2e73a \
+ d990172b607020701f9e84ca8e1c043c \
+ 05b3e5d30c79a17e5c14c64f092326fe \
+ 0a68848588e847ceccf504891584d00b \
+ af0110497c2fc215c55297232f3e6665 \
+ 45b469ad607b912256b7c80141fa2d17 \
+ b08b96f50cdba558c550c985252c3fd6 \
+ 7799baff9a5664205d9110a2624e8989 \
+ ff740ff52ecfd509004f54630f94c3e4 \
+ cb7c86af4d8a969d849c6fce363af240 \
+ 89f70cb8305108cc51ccde5569760d5b \
+ 936257597fbe2fd02d954a5db53c687a \
+ ae2ca148274c581aa6ee8a8e292ca2af \
+ 4ca31ec33e1508b14d3445f19a16ba55"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rust16"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/development/cargo-c/slack-desc b/development/cargo-c/slack-desc
new file mode 100644
index 0000000000..133e07a2ed
--- /dev/null
+++ b/development/cargo-c/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------------------------------------------------------|
+cargo-c: cargo-c (cargo C-ABI helper)
+cargo-c:
+cargo-c: cargo-c is an extension for Cargo, the Rust package manager, that
+cargo-c: helps to build and install C-ABI compatible dynamic and static
+cargo-c: libraries. It produces and installs a correct pkg-config file, a
+cargo-c: static library and a dynamic library, and a C header to be used
+cargo-c: by any C (and C-compatible) software.
+cargo-c:
+cargo-c:
+cargo-c: Homepage: https://github.com/lu-zero/cargo-c/
+cargo-c:
diff --git a/development/cargo-vendor-filterer/README b/development/cargo-vendor-filterer/README
new file mode 100644
index 0000000000..83f9687535
--- /dev/null
+++ b/development/cargo-vendor-filterer/README
@@ -0,0 +1,10 @@
+cargo-vendor-filterer (Vendor rust libraries based on filters)
+
+cargo-vendor-filterer works like "cargo vendor", but supports filters
+that allow excluding libraries one isn't interested in, like
+libraries only needed on other platforms, etc.
+
+NOTE:
+I've included a "cargo-mkvendored.sh" script to generate filtered
+vendored sources for a rust or python/rust slackbuild. It needs to be
+run from within a slackbuild directory.
diff --git a/development/cargo-vendor-filterer/cargo-mkvendored.sh b/development/cargo-vendor-filterer/cargo-mkvendored.sh
new file mode 100644
index 0000000000..2664e9eec4
--- /dev/null
+++ b/development/cargo-vendor-filterer/cargo-mkvendored.sh
@@ -0,0 +1,139 @@
+#!/bin/bash
+
+# Create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz
+# Requires network access, but does not require root privilege.
+# Requires that $PRGNAM's REQUIRES need to be installed first (rust16)
+# and cargo-vendor-filterer installed to include just the linux deps
+#
+# Expects to be run within a slackbuild dir with the source archive
+# already downloaded.
+#
+# Variables to use in your SlackBuild:
+# VSBUILD # same use as BUILD but for vendored sources
+# VSDIR=/sub/dir/ # (optional) alternate location in src for vendor dir
+#
+# Vendors sources for the following targets
+# i686-unknown-linux-gnu
+# x86_64-unknown-linux-gnu
+# arm-unknown-linux-gnueabihf
+# aarch64-unknown-linux-gnu
+
+INFO="$( echo *.info )"
+if [ ! -e "$INFO" ]; then
+ echo "No (or multiple) .info file in current dir" 1>&2
+ exit 1
+fi
+
+SBUILD="$( echo *.SlackBuild )"
+if [ ! -e "$SBUILD" ]; then
+ echo "No (or multiple) .SlackBuild file in current dir" 1>&2
+ exit 1
+fi
+
+CWD=$(pwd)
+source ./$INFO
+
+INFOERR="variable not set, are you sure you have a valid *.info file?"
+echo ${PRGNAM:?$INFOERR}
+echo VERSION=${VERSION:?$INFOERR}
+
+set -e
+WORKDIR=$( mktemp -d )
+cd $WORKDIR
+
+# don't depend on user's ~/.cargo
+mkdir -p cargohome
+export CARGO_HOME=$(pwd)/cargohome
+
+egrep "^BUILD=|^VSBUILD=|^VSDIR=|^SRCNAM=" $CWD/$SBUILD > sbvars
+source ./sbvars
+
+# if no SRCNAM in slackbuild set to PRGNAM
+SRCNAM=${SRCNAM:-$PRGNAM}
+
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION/$VSDIR || exit 1
+
+if [ ! -e "Cargo.toml" ]; then
+ echo "No Cargo.toml file in $SRCNAM-$VERSION dir" 1>&2
+ exit 1
+elif [ -e "$CWD/Cargo-toml.patch" ]; then
+ echo "INFO: Applying Cargo.toml patch"
+ patch -Np1 < $CWD/Cargo-toml.patch
+fi
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+# check if rust16 is installed
+if [ ! -d /opt/rust16/bin ]; then
+ echo "ERROR: The rust16 slackbuild is required to be installed"
+ exit 1
+else
+ export PATH="/opt/rust16/bin:$PATH"
+ if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+ else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+ fi
+fi
+
+# Configure cargo-vendor-filterer
+ cat << EOF >> Cargo.toml
+[package.metadata.vendor-filter]
+platforms = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabihf"]
+all-features = true
+exclude-crate-paths = [
+ { name = "openssl-src", exclude = "openssl" },
+]
+EOF
+
+if [ -f /usr/bin/cargo-vendor-filterer ]; then
+ echo "INFO: Creating filtered vendor libs tarball..."
+ /usr/bin/cargo-vendor-filterer
+else
+ echo "WARNING: Creating unfiltered vendor libs tarball!"
+ cargo vendor
+fi
+
+# build would fail if the .a files were removed
+#find vendor -type f -a -name \*.a -print0 | xargs -0 rm -f
+
+mkdir -p .cargo
+ cat <<EOF >.cargo/config.toml
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
+EOF
+cd -
+
+cd $WORKDIR
+tar cvfJ $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz \
+ $SRCNAM-$VERSION/$VSDIR/{vendor,.cargo}
+md5sum $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz
+cd $CWD
+rm -rf $WORKDIR
diff --git a/development/cargo-vendor-filterer/cargo-vendor-filterer.SlackBuild b/development/cargo-vendor-filterer/cargo-vendor-filterer.SlackBuild
new file mode 100644
index 0000000000..6cec63b571
--- /dev/null
+++ b/development/cargo-vendor-filterer/cargo-vendor-filterer.SlackBuild
@@ -0,0 +1,132 @@
+#!/bin/bash
+
+# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2022 Heinz Wiesinger, Amsterdam, The Netherlands
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20230925 46and2: Bump build, changes to mkvendored script.
+# 20230927 46and2: 32-bit fix thanks to Eugene Carlson. Min ARCH=i686.
+# 20240102 46and2: modify to use VSBUILD instead of BUILD for vendored sources
+# above requested by Andrew Clemons to avoid CI issues
+# -also added VSDIR option to included script, see cargo-mkvendored.sh
+# 20240213 46and2: Fix FTB on arm
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cargo-vendor-filterer
+VERSION=${VERSION:-0.5.14}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+VSBUILD=${VSBUILD:-1}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+if [ "$ARCH" = "arm" ]; then
+ TRIPLET="$ARCH-unknown-linux-gnueabihf"
+else
+ TRIPLET="$ARCH-unknown-linux-gnu"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+tar xvf $CWD/$PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.?z
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+export PATH="/opt/rust16/bin:$PATH"
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+OPENSSL_NO_VENDOR=1 \
+cargo build \
+ --offline \
+ --release \
+ --target $TRIPLET
+
+mkdir -p $PKG/usr/bin
+install -m 755 target/$TRIPLET/release/cargo-vendor-filterer \
+ $PKG/usr/bin/
+
+# add script to generate filtered vendor sources
+install -m 755 $CWD/cargo-mkvendored.sh $PKG/usr/bin/
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cargo-vendor-filterer/cargo-vendor-filterer.info b/development/cargo-vendor-filterer/cargo-vendor-filterer.info
new file mode 100644
index 0000000000..4169ba09d6
--- /dev/null
+++ b/development/cargo-vendor-filterer/cargo-vendor-filterer.info
@@ -0,0 +1,12 @@
+PRGNAM="cargo-vendor-filterer"
+VERSION="0.5.14"
+HOMEPAGE="https://github.com/coreos/cargo-vendor-filterer"
+DOWNLOAD="https://github.com/coreos/cargo-vendor-filterer/archive/v0.5.14/cargo-vendor-filterer-0.5.14.tar.gz \
+ https://slackware.uk/~fourtysixandtwo/src/cargo-vendor-filterer-vendored-sources-0.5.14-1.tar.xz"
+MD5SUM="f5b9df9adc3c9d05c5ad62529fe354f7 \
+ ca7986322b63d02809d7acb48fca3f2c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rust16"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/development/cargo-vendor-filterer/slack-desc b/development/cargo-vendor-filterer/slack-desc
new file mode 100644
index 0000000000..1c8d67c1ef
--- /dev/null
+++ b/development/cargo-vendor-filterer/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------------------------------------------------------|
+cargo-vendor-filterer: cargo-vendor-filterer (Vendor rust libraries based on filters)
+cargo-vendor-filterer:
+cargo-vendor-filterer: cargo-vendor-filterer works like "cargo vendor", but supports filters
+cargo-vendor-filterer: that allow excluding libraries one isn't interested in, like
+cargo-vendor-filterer: libraries only needed on other platforms, etc.
+cargo-vendor-filterer:
+cargo-vendor-filterer: Homepage: https://github.com/coreos/cargo-vendor-filterer
+cargo-vendor-filterer:
+cargo-vendor-filterer:
+cargo-vendor-filterer:
+cargo-vendor-filterer:
diff --git a/development/casperjs/casperjs.SlackBuild b/development/casperjs/casperjs.SlackBuild
index cf0a963c08..b500d6ecf9 100644
--- a/development/casperjs/casperjs.SlackBuild
+++ b/development/casperjs/casperjs.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for casperjs
-# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2012-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,43 +11,39 @@
# 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.
+# 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=casperjs
-VERSION=${VERSION:-1.1_beta3}
+VERSION=${VERSION:-1.1.4_2}
SRCVERSION=$(echo "$VERSION" | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
@@ -78,4 +74,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/casperjs/casperjs.info b/development/casperjs/casperjs.info
index 6e35be8726..12adc4e83e 100644
--- a/development/casperjs/casperjs.info
+++ b/development/casperjs/casperjs.info
@@ -1,10 +1,10 @@
PRGNAM="casperjs"
-VERSION="1.1_beta3"
+VERSION="1.1.4_2"
HOMEPAGE="http://casperjs.org/"
-DOWNLOAD="https://github.com/casperjs/casperjs/archive/1.1-beta3/casperjs-1.1-beta3.tar.gz"
-MD5SUM="552db60dbdedd185f1bd6bc83ab2c816"
+DOWNLOAD="https://github.com/casperjs/casperjs/archive//1.1.4-2/casperjs-1.1.4-2.tar.gz"
+MD5SUM="4b0c4e4533f4e610ea83f9e5117eb3e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="phantomjs"
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/development/cbmc/README b/development/cbmc/README
new file mode 100644
index 0000000000..07735ff04f
--- /dev/null
+++ b/development/cbmc/README
@@ -0,0 +1,37 @@
+CBMC is a Bounded Model Checker for C and C++ programs.
+It supports C89, C99, most of C11/C17 and most compiler extensions
+provided by gcc, clang, and Visual Studio. A variant of CBMC that
+analyses Java bytecode is available as JBMC.
+[Set JBMC=ON to enable JBMC.]
+
+CBMC verifies memory safety (which includes array bounds checks
+and checks for the safe use of pointers), checks for exceptions,
+checks for various variants of undefined behavior, and
+user-specified assertions. Furthermore, it can check C and C++ for
+I/O equivalence with other languages, such as Verilog. The
+verification is performed by unwinding the loops in the program
+and passing the resulting equation to a decision procedure.
+
+CBMC comes with a built-in solver for bit-vector formulas that is
+based on MiniSat. As an alternative, CBMC has featured support for
+external SMT solvers since version 3.3. The solvers we recommend
+are (in no particular order) Boolector, CVC5 and Z3. Note that
+these solvers need to be installed separately and have different
+licensing conditions.
+[This SlackBuild builds Cadical as the internal solver.]
+
+If you need a Model Checker for Verilog or SMV files, consider
+EBMC. For Java, use JBMC.
+
+This research was sponsored by the Semiconductor Research
+Corporation (SRC) under contract no. 99-TJ-684, the National
+Science Foundation (NSF) under grant no. CCR-9803774, the Office
+of Naval Research (ONR), the Naval Research Laboratory (NRL) under
+contract no. N00014-01-1-0796, and by the Defense Advanced
+Research Projects Agency, and the Army Research Office (ARO) under
+contract no. DAAD19-01-1-0485, and the General Motors
+Collaborative Research Lab at CMU. The views and conclusions
+contained in this document are those of the author and should not
+be interpreted as representing the official policies, either
+expressed or implied, of SRC, NSF, ONR, NRL, DOD, ARO, or the U.S.
+government.
diff --git a/development/cbmc/cbmc.SlackBuild b/development/cbmc/cbmc.SlackBuild
new file mode 100644
index 0000000000..ebeb38cfe5
--- /dev/null
+++ b/development/cbmc/cbmc.SlackBuild
@@ -0,0 +1,136 @@
+#!/bin/bash
+
+# Slackware build script for cbmc
+
+# Copyright 2024 Caterino Tommaso, T.O.P. U.S.A.
+# 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=cbmc
+VERSION=${VERSION:-5.95.1}
+CADVER=${CADVE:-2.0.0-rc.6} #Cadical version and hash
+CADMD5=${CADMD5:-5825f8ac81283f5049c402938fe6ee99}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# Bail out if not x86_64
+if [ "$ARCH" == i?86 ]; then
+ echo "Architecture $ARCH is not supported" >&2
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+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-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$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 {} \+
+
+sed -i 's/-Werror//' CMakeLists.txt
+mkdir -p build/cadical-download/cadical-download-prefix/src build/cadical-src
+echo $CADVER > build/cadical-src/VERSION
+cp -a $CWD/cadical-rel-$CADVER.tar.gz build/cadical-download/cadical-download-prefix/src/rel-$CADVER.tar.gz
+sed -i 's/rel-1\.7\.2\.tar\.gz/rel-'$CADVER'.tar.gz/' src/solvers/CMakeLists.txt
+sed -i 's/URL_MD5 be646831a017f81b300664e58deba1b5/URL_MD5 '$CADMD5'/' src/solvers/CMakeLists.txt
+
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DWITH_JBMC=${JBMC:-OFF} \
+ -Dsat_impl=cadical \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+chmod +x $PKG/usr/bin/ls_parse.py
+
+mkdir -p $PKG/etc/bash_completion.d
+mv $PKG/usr/etc/bash_completion.d/cbmc $PKG/etc/bash_completion.d/
+rm -fr $PKG/usr/etc
+
+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
+
+mv $PKG/usr/share/man $PKG/usr/
+rm -fr $PKG/usr/share
+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 \
+ [A-Z_.]* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cbmc/cbmc.info b/development/cbmc/cbmc.info
new file mode 100644
index 0000000000..471480d37f
--- /dev/null
+++ b/development/cbmc/cbmc.info
@@ -0,0 +1,12 @@
+PRGNAM="cbmc"
+VERSION="5.95.1"
+HOMEPAGE="https://www.cprover.org/cbmc/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/diffblue/cbmc/archive/refs/tags/cbmc-5.95.1.tar.gz \
+https://github.com/arminbiere/cadical/archive/rel-2.0.0-rc.6.tar.gz"
+MD5SUM_x86_64="05f0e4a4a3e7e2830c3be3b9398018de \
+5825f8ac81283f5049c402938fe6ee99"
+REQUIRES=""
+MAINTAINER="Caterino Tommaso, T.O.P."
+EMAIL="alan_avNOersa@lavSPAMabit.com (remove NO and SPAM)"
diff --git a/development/cbmc/slack-desc b/development/cbmc/slack-desc
new file mode 100644
index 0000000000..a9cc0864e3
--- /dev/null
+++ b/development/cbmc/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------------------------------------------------------|
+cbmc: cbmc (C Bounded Model Checker)
+cbmc:
+cbmc: CBMC is a Bounded Model Checker for C and C++ programs. It supports
+cbmc: C89, C99, most of C11/C17 and most compiler extensions provided by
+cbmc: gcc and clang.
+cbmc: CBMC verifies memory safety (which includes array bounds checks and
+cbmc: checks for the safe use of pointers), checks for exceptions, checks
+cbmc: for various variants of undefined behavior, and user-specified
+cbmc: assertions.
+cbmc: Compiled with native SAT solver Cadical:
+cbmc: https://www.cprover.org/cbmc https://github.com/arminbiere/cadical
diff --git a/development/cc-tool/cc-tool.SlackBuild b/development/cc-tool/cc-tool.SlackBuild
index f8947e2fcd..887977036d 100644
--- a/development/cc-tool/cc-tool.SlackBuild
+++ b/development/cc-tool/cc-tool.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cc-tool
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cc-tool
VERSION=${VERSION:-20160504+f0c4858}
COMMIT="f0c485805d9d62cbb2c4b2b5ecd2518c0db242cf"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cc-tool/cc-tool.info b/development/cc-tool/cc-tool.info
index 7847fdd0c4..cfe96a5ab3 100644
--- a/development/cc-tool/cc-tool.info
+++ b/development/cc-tool/cc-tool.info
@@ -1,7 +1,7 @@
PRGNAM="cc-tool"
VERSION="20160504+f0c4858"
HOMEPAGE="https://github.com/dashesy/cc-tool"
-DOWNLOAD="https://github.com/dashesy/cc-tool/archive/f0c485805d9d62cbb2c4b2b5ecd2518c0db242cf.tar.gz"
+DOWNLOAD="https://github.com/dashesy/cc-tool/archive/f0c485805d9d62cbb2c4b2b5ecd2518c0db242cf/cc-tool-f0c485805d9d62cbb2c4b2b5ecd2518c0db242cf.tar.gz"
MD5SUM="302b17606cbaabcd56523e482ec271b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/cc65/README b/development/cc65/README
index c8b6e17a0d..25ceacb8dd 100644
--- a/development/cc65/README
+++ b/development/cc65/README
@@ -8,6 +8,8 @@ Supported targets include the Atari 400/800/XL/XE computers, the Atari
Lynx console, the Commodore PET/VIC/64/16/Plus4, the Nintendo NES, the
Apple II, and others.
-The cc65 project rarely does releases. This build is updated once or
-twice a year, to the latest git. If you need a specific version of
-cc65, see README_SBo.txt.
+Full documentation can be found in: /usr/doc/cc65-2.19/index.html
+
+If desired, the docs can also be built as info files. To do this, set
+INFO=yes in the script's environment. The script author makes no
+guarantee as to the usability of the info documentation.
diff --git a/development/cc65/cc65.SlackBuild b/development/cc65/cc65.SlackBuild
index b14c8fd4d1..7134da44c5 100644
--- a/development/cc65/cc65.SlackBuild
+++ b/development/cc65/cc65.SlackBuild
@@ -1,11 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cc65
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220405 bkw: BUILD=2, add .SlackBuild to doc dir.
+# 20210317 bkw:
+# - Update for 2.19 release. Script also tested with 2.18 and
+# 2.17_20180906, in case someone needs one of those versions.
+# - Use 'make html' to build the docs instead of pregenerating (tested
+# on -current too).
+# - Add optional info docs to package.
+# - Use USER_CFLAGS instead of sed to support SLKCFLAGS.
+# - TODO: look at making good man pages for at least the executables.
+
# 20180907 bkw:
# - Update for 2.17_20180906, git commit b6ccd4d.
# - Rename git2targz.sh => git2tarxz.sh.
@@ -33,10 +43,13 @@
# the one from SBo's 14.1 repo if you need the old version for some
# reason. Source is created from a git checkout, see git2targz.sh.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cc65
-VERSION=${VERSION:-2.17_20180906}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.19}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -46,7 +59,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -67,27 +84,51 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find . -type f -print0 | xargs -0 chmod 644
find . -type d -print0 | xargs -0 chmod 755
-# external CFLAGS not honored
-sed -i "/^CFLAGS/s,-O[^ ]*,$SLKCFLAGS," src/Makefile
+# v2.19 binaries report themselves as v2.18. upstream fixed this in
+# git commit cffcbce60, I'll just sed it.
+[ "$VERSION" = "2.19" ] && sed -i '/#define VER_MINOR/s,18U,19U,' src/common/version.c
-PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-make all PREFIX=/usr prefix=/usr LDFLAGS=-Wl,-s
-#make -C doc html # we use pre-generated HTML docs now
-make install PREFIX=$PKG/usr prefix=$PKG/usr htmldir=$PKGDOC samplesdir=$PKGDOC/samples
+# HTML docs are always created and installed. If the user really
+# wants to, the same docs can be installed as .info files. They're not
+# enabled by default because they include .info files with names like
+# "index", "coding", "using-make" and even "lynx". It's not obvious
+# they belong to cc65, when they're sitting in the same /usr/info
+# dir as all the other .info files. Plus, the internal links between
+# the documents don't work when converted to .info, whereas the HTML
+# ones do.
+INFO="${INFO:-no}"
-# binaries already stripped, no man pages
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+make all PREFIX=/usr prefix=/usr LDFLAGS=-Wl,-s USER_CFLAGS="$SLKCFLAGS"
+make -C doc html
+[ "$INFO" = "yes" ] && make -C doc html info
+make install \
+ PREFIX=$PKG/usr prefix=$PKG/usr \
+ infodir=$PKG/usr/info htmldir=$PKGDOC \
+ samplesdir=$PKGDOC/samples
+
+# Binaries already stripped, no man pages, but there might be info
+# pages that needs to be gzipped. Note that the the info files can be
+# read with e.g. "info cc65", but won't show up in the info directory:
+# the generated docs lack sections and descriptions, so using
+# install-info in doinst.sh doesn't do anything. I also tried using
+# "linuxdoc -B txt --manpage" on the SGML doc sources, but the results
+# are ugly and have screwed-up formatting. If I want man pages, I'll
+# probably have to make them manually (pun intended).
+[ "$INFO" = "yes" ] && gzip $PKG/usr/info/*
mkdir -p $PKGDOC
cp -a README* LICENSE $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cc65/cc65.info b/development/cc65/cc65.info
index f9fcc41416..988af32bdd 100644
--- a/development/cc65/cc65.info
+++ b/development/cc65/cc65.info
@@ -1,10 +1,10 @@
PRGNAM="cc65"
-VERSION="2.17_20180906"
-HOMEPAGE="https://cc65.github.io/cc65/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/cc65-2.17_20180906.tar.xz"
-MD5SUM="d7dc9291c44251b018b271dd1c653bb5"
+VERSION="2.19"
+HOMEPAGE="https://cc65.github.io/"
+DOWNLOAD="https://github.com/cc65/cc65/archive/V2.19/cc65-2.19.tar.gz"
+MD5SUM="faff7b71a0212bb71faad1a271a83916"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/ccl/ccl.SlackBuild b/development/ccl/ccl.SlackBuild
index 2c659047e7..f21ec938bc 100644
--- a/development/ccl/ccl.SlackBuild
+++ b/development/ccl/ccl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ccl (Clozure Common Lisp)
@@ -22,10 +22,13 @@
# 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=ccl
VERSION=${VERSION:-1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -101,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ccl/ccl.info b/development/ccl/ccl.info
index c57d6ef878..88b3c86257 100644
--- a/development/ccl/ccl.info
+++ b/development/ccl/ccl.info
@@ -1,7 +1,7 @@
PRGNAM="ccl"
VERSION="1.11"
HOMEPAGE="https://ccl.clozure.com"
-DOWNLOAD="ftp://ftp.clozure.com/pub/release/1.11/ccl-1.11-linuxx86.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/ccl-1.11-linuxx86.tar.gz"
MD5SUM="c02ddfc4bcc6ef073297d2d6971d20ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/cf-cli/cf-cli.SlackBuild b/development/cf-cli/cf-cli.SlackBuild
index 574548bc8e..a43d59064c 100644
--- a/development/cf-cli/cf-cli.SlackBuild
+++ b/development/cf-cli/cf-cli.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cf-cli
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-BIN=cf
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cf-cli
+BIN=cf
VERSION=${VERSION:-7.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,15 +38,19 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
+if [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
mv $CWD/${BIN}7-cli\_$VERSION\_linux\_$ARCH.tgz $CWD/$PRGNAM\_$VERSION\_linux\_$ARCH.tgz
@@ -52,8 +59,8 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
mv $CWD/${BIN}7-cli\_$VERSION\_linux\_x86-64.tgz $CWD/$PRGNAM\_$VERSION\_linux\_$ARCH.tgz
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ echo "$ARCH is unsupported."
+ exit 1
fi
set -e
@@ -92,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cgdb/cgdb.SlackBuild b/development/cgdb/cgdb.SlackBuild
index aa10b306b2..c72982f689 100644
--- a/development/cgdb/cgdb.SlackBuild
+++ b/development/cgdb/cgdb.SlackBuild
@@ -1,7 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cgdb
+# 2023-05-08 updated for 0.8.0 by D Woodfall <dave@slackbuilds.org>
+
# Copyright 2009-2010 Sean Donner (sean.donner@gmail.com)
# All rights reserved.
#
@@ -22,26 +24,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add doinst/douninst to handle /usr/info/dir
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cgdb
-VERSION=${VERSION:-0.6.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -62,42 +74,37 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-chown root:root . -R
+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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--infodir=/usr/info \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -exec file {} + | sed -n '/ELF.*executable\|shared object/s/:.*$//p' | \
- xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG -exec file {} + | sed -n '/current ar archive/s/:.*$//p' | \
- xargs strip --strip-debug 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} +
-find $PKG/usr/man -type l -print0 | while IFS= read -r -d $'\0' link; do
- ln -s $(readlink "$link").gz "${link}.gz"
- rm "$link"
-done
+make install-strip DESTDIR=$PKG
+# No man page, only an info and a text file
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS $PKG/usr/share/cgdb/cgdb.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/$PRGNAM.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.pdf
+
+rm -rf $PKG/usr/share
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
-find . -perm /111 -exec chmod 755 {} + -o -perm /444 ! -perm /111 -exec chmod 644 {} +
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cgdb/cgdb.info b/development/cgdb/cgdb.info
index ce2dce16c6..c55f31be55 100644
--- a/development/cgdb/cgdb.info
+++ b/development/cgdb/cgdb.info
@@ -1,10 +1,12 @@
PRGNAM="cgdb"
-VERSION="0.6.6"
-HOMEPAGE="http://cgdb.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/cgdb/cgdb-0.6.6.tar.gz"
-MD5SUM="394b542b495755ab8392b7e88dace744"
+VERSION="0.8.0"
+HOMEPAGE="https://cgdb.github.io"
+DOWNLOAD="https://cgdb.me/files/cgdb-0.8.0.tar.gz \
+ https://cgdb.github.io/docs/cgdb.pdf"
+MD5SUM="180c1c7100bd9591b0d29e46896b5092 \
+ e8cc8a8e40c32626ef1fd4c34f7770f5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Sean Donner"
-EMAIL="sean.donner@gmail.com"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/development/cgdb/doinst.sh b/development/cgdb/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/development/cgdb/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/development/cgdb/slack-desc b/development/cgdb/slack-desc
index e9fc88a5e5..ffa8c1508d 100644
--- a/development/cgdb/slack-desc
+++ b/development/cgdb/slack-desc
@@ -12,7 +12,7 @@ cgdb: CGDB is a curses (terminal-based) interface to the GNU Debugger (GDB).
cgdb: Its goal is to be lightweight and responsive; not encumbered with
cgdb: unnecessary features.
cgdb:
-cgdb: Homepage: http://cgdb.sourceforge.net
+cgdb: Homepage: https://cgdb.github.io
cgdb:
cgdb:
cgdb:
diff --git a/development/cgit/cgit.SlackBuild b/development/cgit/cgit.SlackBuild
index 8d01a98c50..e1d0d68a3b 100644
--- a/development/cgit/cgit.SlackBuild
+++ b/development/cgit/cgit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cgit
# Copyright 2013-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
@@ -21,10 +21,13 @@
# 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=cgit
VERSION=${VERSION:-1.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCROOT=${DOCROOT:-/var/www}
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -118,4 +128,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/chameleon/README b/development/chameleon/README
new file mode 100644
index 0000000000..848e7b26ed
--- /dev/null
+++ b/development/chameleon/README
@@ -0,0 +1,23 @@
+ Chameleon is a framework written in C which provides routines to
+solve dense general systems of linear equations, symmetric positive
+definite systems of linear equations and linear least squares
+problems, using LU, Cholesky, QR and LQ factorizations. Real
+arithmetic and complex arithmetic are supported in both single
+precision and double precision.
+
+ Chameleon is based on the PLASMA source code but is not limited
+to shared-memory environment and can exploit multiple GPUs.
+Chameleon is interfaced in a generic way with StarPU, PaRSEC,
+QUARK, OpenMP runtime systems. This feature allows to analyze in
+a unified framework how sequential task-based algorithms behave
+regarding different runtime systems implementations. Using Chameleon
+with StarPU or PaRSEC runtime systems allows to exploit GPUs through
+kernels provided by cuBLAS and clusters of interconnected nodes with
+distributed memory (using MPI).
+
+
+The default scheduler is set to OpenMP, if you want to use the StarPU
+you should set the environment variable STARPU=yes and install StarPU.
+
+For enabling MPI set the environment variable MPI=yes, this require
+a MPI implementation (openmpi or mpich).
diff --git a/development/chameleon/chameleon.SlackBuild b/development/chameleon/chameleon.SlackBuild
new file mode 100644
index 0000000000..83d7aa314a
--- /dev/null
+++ b/development/chameleon/chameleon.SlackBuild
@@ -0,0 +1,158 @@
+#!/bin/bash
+
+# Slackware build script for chameleon
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=chameleon
+VERSION=${VERSION:-1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+
+if [ "${STARPU:-no}" == "yes" ]; then
+ OPT_BUILD="-DCHAMELEON_SCHED=STARPU"
+else
+ OPT_BUILD="-DCHAMELEON_SCHED=OPENMP"
+fi
+
+if [ "${MPI:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DCHAMELEON_USE_MPI=ON"
+fi
+
+###########
+# runtime fixes
+###########
+
+# fix for the pkgconfig files and "hqr_env.sh" to use
+# the right library path
+sed -i 's#/lib#/lib'${LIBDIRSUFFIX}'#' \
+ lib/pkgconfig/{chameleon,coreblas,cudablas}.pc.in \
+ hqr/lib/pkgconfig/hqr.pc.in hqr/hqr_env.sh.in
+
+###########
+# installation fixes
+###########
+
+# fix the installation of some files that was
+# been installed to /usr/bin
+sed -i 's# bin # share/libexec/chameleon #' hqr/testings/CMakeLists.txt
+sed -i 's# DESTINATION bin/chameleon# DESTINATION share/chameleon/examples#' example/lapack_to_chameleon/CMakeLists.txt
+sed -i 's# DESTINATION bin# DESTINATION share/libexec/chameleon#' hqr/cmake_modules/GenHQRPkgConfig.cmake
+
+# fix lib installation path
+sed -i 's#DESTINATION lib#&'${LIBDIRSUFFIX}'#' \
+ runtime/{openmp,starpu,parsec,quark}/CMakeLists.txt \
+ compute/CMakeLists.txt \
+ {coreblas,cudablas}/compute/CMakeLists.txt \
+ hqr/src/CMakeLists.txt
+
+# fix installation of pkgfiles to lib${LIBDIRSUFFIX}
+sed -i 's#DESTINATION lib#&'${LIBDIRSUFFIX}'#' \
+ cmake_modules/GenPkgConfig.cmake \
+ hqr/cmake_modules/GenHQRPkgConfig.cmake
+
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \
+ -DBIN_INSTALL_DIR=libexec/$PRGNAM \
+ -DBUILD_SHARED_LIBS=ON \
+ $OPT_BUILD \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.org LICENCE.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/development/chameleon/chameleon.info b/development/chameleon/chameleon.info
new file mode 100644
index 0000000000..11738de09d
--- /dev/null
+++ b/development/chameleon/chameleon.info
@@ -0,0 +1,10 @@
+PRGNAM="chameleon"
+VERSION="1.1.0"
+HOMEPAGE="https://solverstack.gitlabpages.inria.fr/chameleon"
+DOWNLOAD="https://gitlab.inria.fr/solverstack/chameleon/uploads/b299d6037d7636c6be16108c89bc2aab/chameleon-1.1.0.tar.gz"
+MD5SUM="a67a7f472d0e537cb984813e28a933f7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="cblas lapacke"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/chameleon/slack-desc b/development/chameleon/slack-desc
new file mode 100644
index 0000000000..5a93891f49
--- /dev/null
+++ b/development/chameleon/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------------------------------------------------------|
+chameleon: chameleon (framework for solving dense linear equations)
+chameleon:
+chameleon:
+chameleon: Chameleon is a framework written in C which provides routines to
+chameleon: solve dense general systems of linear equations, symmetric positive
+chameleon: definite systems of linear equations and linear least squares
+chameleon: problems, using LU, Cholesky, QR and LQ factorizations. Real
+chameleon: arithmetic and complex arithmetic are supported in both single
+chameleon: precision and double precision.
+chameleon:
+chameleon:
diff --git a/development/check/README b/development/check/README
deleted file mode 100644
index 747690696b..0000000000
--- a/development/check/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Check is a unit test framework for C. It features a simple interface
-for defining unit tests, putting little in the way of the developer.
-Tests are run in a separate address space, so Check can catch both
-assertion failures and code errors that cause segmentation faults or
-other signals. The output from unit tests can be used within source
-code editors and IDEs.
-
-See the project's home page for more information, including a tutorial.
diff --git a/development/check/check.SlackBuild b/development/check/check.SlackBuild
deleted file mode 100644
index ea8d7b0495..0000000000
--- a/development/check/check.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Check
-
-# Copyright 2006-2020 Jules Villard <theblatte@loulous.org>
-# 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.
-
-# Modified by Eugene M., <damagedone at gmx dot com>
-
-PRGNAM=check
-VERSION=${VERSION:-0.15.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-check
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --disable-static \
- --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
-
-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
-
-rm -rf $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
-rm -rf $PKG/usr/share/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL NEWS README THANKS TODO \
-$PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/check/check.info b/development/check/check.info
deleted file mode 100644
index 71e1e8222b..0000000000
--- a/development/check/check.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="check"
-VERSION="0.15.2"
-HOMEPAGE="https://libcheck.github.io/check/"
-DOWNLOAD="https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz"
-MD5SUM="50fcafcecde5a380415b12e9c574e0b2"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Eugene M"
-EMAIL="damagedone@gmx.com"
diff --git a/development/check/slack-desc b/development/check/slack-desc
deleted file mode 100644
index 5bdc8e191c..0000000000
--- a/development/check/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------------------------------------------------------|
-check: check (unit test framework)
-check:
-check: Check is a unit test framework for C. It features a simple interface
-check: for defining unit tests, putting little in the way of the developer.
-check: Tests are run in a separate address space, so Check can catch both
-check: assertion failures and code errors that cause segmentation faults or
-check: other signals. The output from unit tests can be used within source
-check: code editors and IDEs.
-check:
-check: See http://check.sf.net for information and tutorial.
-check:
diff --git a/development/checkbashisms/checkbashisms.SlackBuild b/development/checkbashisms/checkbashisms.SlackBuild
index 938a8c06a8..bd8e78eeaf 100644
--- a/development/checkbashisms/checkbashisms.SlackBuild
+++ b/development/checkbashisms/checkbashisms.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "checkbashisms".
@@ -22,14 +22,24 @@
# 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=checkbashisms
VERSION=${VERSION:-2.15.10}
REV=${REV:-00d3afd7eefe53371d07d7404caf6b862a32931e}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,4 +66,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/chibi-scheme/chibi-scheme.SlackBuild b/development/chibi-scheme/chibi-scheme.SlackBuild
index e93576733d..de3326a3fe 100644
--- a/development/chibi-scheme/chibi-scheme.SlackBuild
+++ b/development/chibi-scheme/chibi-scheme.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for chibi-scheme
-# Copyright 2020 Erik Falor, Utah, USA
+# Copyright 2022 Erik Falor, Utah, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,14 @@
# 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='chibi-scheme'
-VERSION=${VERSION:-0.9}
+VERSION=${VERSION:-20220904_0a50b305}
+COMMIT=${COMMIT:-0a50b305bc508003263e764949c25b9a21cccf91}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -60,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz && mv $PRGNAM-$COMMIT $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -104,4 +112,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/chibi-scheme/chibi-scheme.info b/development/chibi-scheme/chibi-scheme.info
index 44312c1f6a..7ce5333c18 100644
--- a/development/chibi-scheme/chibi-scheme.info
+++ b/development/chibi-scheme/chibi-scheme.info
@@ -1,8 +1,8 @@
PRGNAM="chibi-scheme"
-VERSION="0.9"
+VERSION="20220904_0a50b305"
HOMEPAGE="https://github.com/ashinn/chibi-scheme"
-DOWNLOAD="https://github.com/ashinn/chibi-scheme/archive/0.9/chibi-scheme-0.9.tar.gz"
-MD5SUM="7b29119e96f2290449347cc8f4be69f4"
+DOWNLOAD="https://github.com/ashinn/chibi-scheme/archive/0a50b305/chibi-scheme-0a50b305bc508003263e764949c25b9a21cccf91.tar.gz"
+MD5SUM="a8c2dabc48f080bdf2f929a1c29cd437"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/chicken/chicken.SlackBuild b/development/chicken/chicken.SlackBuild
index 6b9fe37bf2..4873d5938b 100644
--- a/development/chicken/chicken.SlackBuild
+++ b/development/chicken/chicken.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CHICKEN Scheme
-# Written by Erik Falor (ewfalor@gmail.com) 2020
+# Written by Erik Falor (ewfalor@gmail.com) 2022
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,16 @@
+cd $(dirname $0) ; CWD=$(pwd)
+
# increment this number to match the Chicken library version
CHICKEN_API_VER=11
PRGNAM=chicken
-VERSION=${VERSION:-5.2.0}
+VERSION=${VERSION:-5.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -88,7 +98,7 @@ make \
MANDIR=/usr/man \
DOCDIR=/usr/doc/$PRGNAM-$VERSION
-make install \
+make -j1 install \
C_COMPILER_OPTIMIZATION_OPTIONS="$SLKCFLAGS" \
PLATFORM=linux \
PREFIX=/usr \
@@ -111,4 +121,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/chicken/chicken.info b/development/chicken/chicken.info
index 8f885b433b..231f068f8f 100644
--- a/development/chicken/chicken.info
+++ b/development/chicken/chicken.info
@@ -1,8 +1,8 @@
PRGNAM="chicken"
-VERSION="5.2.0"
+VERSION="5.3.0"
HOMEPAGE="http://call-cc.org"
-DOWNLOAD="https://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz"
-MD5SUM="fcefb534d574357d52389930d9743aca"
+DOWNLOAD="https://code.call-cc.org/releases/5.3.0/chicken-5.3.0.tar.gz"
+MD5SUM="130569e4ddefba27d022c57077d5be7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/ciforth/README b/development/ciforth/README
new file mode 100644
index 0000000000..70c0008ad2
--- /dev/null
+++ b/development/ciforth/README
@@ -0,0 +1,17 @@
+lina is the Linux native (= c-less) version of ciforth (common Intel
+Forth), an interpret environment and compiler for Forth. It is
+(large and by) compliant with the ISO Forth standard; the CORE
+wordset is fully implemented. The small, classic, indirect threaded
+kernel contains the essential, i.a. file access and exceptions. Its
+power is multiplied by an extensive source library, that add i.a.
+a decompiler and integrated 386 assembler. It is fully self
+contained; if you want to understand a compiler in all details,
+this is your best, if not only, choice. ciforth sports the highest
+documentation to binary proportion in the EDP industry, barring
+m4 on Coherent.
+
+For nicer command-line experience (electives loaded instantly,
+history, cursor keys etc.) you may want to add the following line
+to your ~/.bashrc file:
+
+ alias lina='rlwrap lina -e'
diff --git a/development/ciforth/ciforth.SlackBuild b/development/ciforth/ciforth.SlackBuild
new file mode 100644
index 0000000000..2b7ea41599
--- /dev/null
+++ b/development/ciforth/ciforth.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for ciforth
+
+# Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ciforth
+VERSION=${VERSION:-5.4.1}
+BUILD=${BUILD:-0}
+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
+
+
+if [ "$LIBDIRSUFFIX" = "64" ]; then
+ ARCHIVENAME="ci86.lina64"
+else
+ ARCHIVENAME="ci86.lina32"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $ARCHIVENAME-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$ARCHIVENAME-$VERSION.tar.gz
+#cat $CWD/01-patch | patch -p0 || exit
+mv $ARCHIVENAME-$VERSION $PRGNAM-$VERSION
+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/usr/share/$PRGNAM
+mkdir -p $PKG/usr/man/man1
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/bin
+
+cp $TMP/$PRGNAM-$VERSION/lina.1 $PKG/usr/man/man1
+cp $TMP/$PRGNAM-$VERSION/ci86.* $PKG/usr/doc/$PRGNAM-$VERSION
+cp $TMP/$PRGNAM-$VERSION/forth.lab $PKG/usr/share/$PRGNAM
+cp $TMP/$PRGNAM-$VERSION/COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp $TMP/$PRGNAM-$VERSION/READMElina.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp $TMP/$PRGNAM-$VERSION/hellow.frt $PKG/usr/doc/$PRGNAM-$VERSION
+cp $TMP/$PRGNAM-$VERSION/wc.script $PKG/usr/doc/$PRGNAM-$VERSION
+cp $TMP/$PRGNAM-$VERSION/mywc $PKG/usr/doc/$PRGNAM-$VERSION
+
+if [ "$LIBDIRSUFFIX" = "64" ]; then
+ $TMP/$PRGNAM-$VERSION/lina64 -g 90 lina64+
+ rm $TMP/$PRGNAM-$VERSION/lina64
+ mkdir -p /usr/share/$PRGNAM
+ cp $TMP/$PRGNAM-$VERSION/forth.lab /usr/share/$PRGNAM/forth.lab
+ $TMP/$PRGNAM-$VERSION/lina64+ -i $PKG/usr/bin/lina64 /usr/share/$PRGNAM/forth.lab
+ chmod 755 $PKG/usr/bin/lina64
+ ln -s lina64 $PKG/usr/bin/lina
+else
+ $TMP/$PRGNAM-$VERSION/lina32 -g 60 lina32+
+ rm $TMP/$PRGNAM-$VERSION/lina32
+ mkdir -p /usr/share/$PRGNAM
+ cp $TMP/$PRGNAM-$VERSION/forth.lab /usr/share/$PRGNAM/forth.lab
+ $TMP/$PRGNAM-$VERSION/lina32+ -i $PKG/usr/bin/lina32 /usr/share/$PRGNAM/forth.lab
+ chmod 755 $PKG/usr/bin/lina32
+ ln -s lina32 $PKG/usr/bin/lina
+fi
+rm -rf /usr/share/$PRGNAM
+
+gzip -9 $PKG/usr/man/man*/*
+#strip $PKG/usr/bin/*
+
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*.*
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ciforth/ciforth.info b/development/ciforth/ciforth.info
new file mode 100644
index 0000000000..5f1865c64d
--- /dev/null
+++ b/development/ciforth/ciforth.info
@@ -0,0 +1,10 @@
+PRGNAM="ciforth"
+VERSION="5.4.1"
+HOMEPAGE="https://home.hccnet.nl/a.w.m.van.der.horst/ciforth.html"
+DOWNLOAD="https://github.com/albertvanderhorst/ciforth/releases/download/CVS_REL-5-4-0/ci86.lina32-5.4.1.tar.gz"
+MD5SUM="32643858b274e4c926ecd9ef9876b5a4"
+DOWNLOAD_x86_64="https://github.com/albertvanderhorst/ciforth/releases/download/CVS_REL-5-4-0/ci86.lina64-5.4.1.tar.gz"
+MD5SUM_x86_64="b9dd59452487c73cac1a40d79d75b699"
+REQUIRES=""
+MAINTAINER="Zbigniew Baniewski"
+EMAIL="Zbigniew [dot] Baniewski [at] gmail [dot] com"
diff --git a/development/ciforth/slack-desc b/development/ciforth/slack-desc
new file mode 100644
index 0000000000..c701c02343
--- /dev/null
+++ b/development/ciforth/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------------------------------------------------------|
+ciforth: ciforth (common Intel Forth)
+ciforth: The package contains lina -- linux native customization of ciforth
+ciforth:
+ciforth: An interpret environment and compiler for Forth. It is (large and
+ciforth: by) compliant with the ISO Forth standard; the CORE wordset is fully
+ciforth: implemented. The small, classic, indirect threaded kernel contains
+ciforth: the essential, i.a. file access and exceptions. Its power is
+ciforth: multiplied by an extensive source library.
+ciforth:
+ciforth: https://home.hccnet.nl/a.w.m.van.der.horst/ciforth.html
+ciforth: Licence: GNU LGPL V2
diff --git a/development/cim/cim.SlackBuild b/development/cim/cim.SlackBuild
index b811da36f2..e5f4e85ddb 100644
--- a/development/cim/cim.SlackBuild
+++ b/development/cim/cim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GNU Cim
@@ -21,26 +21,36 @@
# 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=cim
VERSION=${VERSION:-3.37}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,9 +106,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ABOUT-NLS AUTHORS COPYING INSTALL NEWS README TODO $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/clips/README b/development/clips/README
new file mode 100644
index 0000000000..3857bed92d
--- /dev/null
+++ b/development/clips/README
@@ -0,0 +1,7 @@
+ Developed at NASAs Johnson Space Center from 1985 to 1996, the C
+Language Integrated Production System (CLIPS) is a rules-based
+programming language useful for creating expert systems and other
+programs where a heuristic solution is easier to implement and
+maintain than an algorithmic solution. Written in C for portability,
+CLIPS can be installed and used on a wide variety of platforms.
+Since 1996, CLIPS has been available as public domain software.
diff --git a/development/clips/clips.SlackBuild b/development/clips/clips.SlackBuild
new file mode 100644
index 0000000000..533e54aefe
--- /dev/null
+++ b/development/clips/clips.SlackBuild
@@ -0,0 +1,128 @@
+#!/bin/bash
+
+# Slackware build script for CLIPS
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=clips
+VERSION=${VERSION:-6.40}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM="clips_core_source_$(echo $VERSION | tr -d [:punct:])"
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION; cd $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM.tar.gz
+tar xvf $CWD/clips_feature_tests_$(echo $VERSION | tr -d [:punct:]).tar.gz
+tar xvf $CWD/clips_examples_$(echo $VERSION | tr -d [:punct:]).tar.gz
+
+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 {} \;
+
+
+# build a shared library
+sed -i "70s/-O3/$SLKCFLAGS/" $SRCNAM/core/makefile
+sed -i '93s/libclips.a/libclips.so/' $SRCNAM/core/makefile
+sed -i '100ilibclips.so : \$(OBJS)\n\t$(CC) -shared -o \$@ \$(OBJS)\n' $SRCNAM/core/makefile
+
+cd $SRCNAM/core
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make
+cd ../..
+
+# installing
+install -d $PKG/usr/bin
+install -m 0755 $SRCNAM/core/clips $PKG/usr/bin
+
+install -d $PKG/usr/lib${LIBDIRSUFFIX}
+install -m 0755 $SRCNAM/core/libclips.so $PKG/usr/lib${LIBDIRSUFFIX}
+
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/feature_tests
+cp -av clips_feature_tests_$(echo $VERSION | tr -d [:punct:])/* $PKG/usr/share/$PRGNAM-$VERSION/feature_tests
+
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/examples
+cp -av clips_examples_$(echo $VERSION | tr -d [:punct:])/* $PKG/usr/share/$PRGNAM-$VERSION/examples
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -av clips_core_source_640/readme.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/development/clips/clips.info b/development/clips/clips.info
new file mode 100644
index 0000000000..3dd53a3018
--- /dev/null
+++ b/development/clips/clips.info
@@ -0,0 +1,10 @@
+PRGNAM="clips"
+VERSION="6.40"
+HOMEPAGE="https://www.clipsrules.net"
+DOWNLOAD="https://deac-fra.dl.sourceforge.net/project/clipsrules/CLIPS/6.40/clips_core_source_640.tar.gz https://deac-fra.dl.sourceforge.net/project/clipsrules/CLIPS/6.40/clips_feature_tests_640.tar.gz https://deac-fra.dl.sourceforge.net/project/clipsrules/CLIPS/6.40/clips_examples_640.tar.gz"
+MD5SUM="879aca94d33f535b2e4dbf680a9459cd 30dde5636b587ef0514ba3cdd4e24619 62c7e3551e4015ca88ab20155dc9d516"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini@hotmail.com"
diff --git a/development/clips/slack-desc b/development/clips/slack-desc
new file mode 100644
index 0000000000..bedf1d505d
--- /dev/null
+++ b/development/clips/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------------------------------------------------------|
+clips: clips (C Language Integrated Production System, expert systems)
+clips:
+clips: Developed at NASAs Johnson Space Center from 1985 to 1996, the C
+clips: Language Integrated Production System (CLIPS) is a rules-based
+clips: programming language useful for creating expert systems and other
+clips: programs where a heuristic solution is easier to implement and
+clips: maintain than an algorithmic solution. Written in C for portability,
+clips: CLIPS can be installed and used on a wide variety of platforms.
+clips: Since 1996, CLIPS has been available as public domain software.
+clips:
+clips:
diff --git a/development/cloc/cloc.SlackBuild b/development/cloc/cloc.SlackBuild
index 2e559dbd98..0656d11374 100644
--- a/development/cloc/cloc.SlackBuild
+++ b/development/cloc/cloc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cloc
-# Copyright 2017-2020 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2017-2024 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=cloc
-VERSION=${VERSION:-1.88}
+VERSION=${VERSION:-2.00}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +38,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -85,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cloc/cloc.info b/development/cloc/cloc.info
index 19a14f4331..cb7dc7498f 100644
--- a/development/cloc/cloc.info
+++ b/development/cloc/cloc.info
@@ -1,8 +1,8 @@
PRGNAM="cloc"
-VERSION="1.88"
+VERSION="2.00"
HOMEPAGE="https://github.com/AlDanial/cloc/"
-DOWNLOAD="https://github.com/AlDanial/cloc/archive/1.88/cloc-1.88.tar.gz"
-MD5SUM="659fb28c7ca7f65fd5e38e8ff517442e"
+DOWNLOAD="https://github.com/AlDanial/cloc/archive/v2.00/cloc-2.00.tar.gz"
+MD5SUM="0991480ba5bfedba3148ffd918a91f10"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Algorithm-Diff perl-Regexp-Common perl-parallel-forkmanager"
diff --git a/development/clojure/README b/development/clojure/README
new file mode 100644
index 0000000000..445fcc4076
--- /dev/null
+++ b/development/clojure/README
@@ -0,0 +1,17 @@
+clojure (Dynamic programming language for the JVM)
+
+Clojure is a dynamic, general-purpose programming language that targets
+the Java Virtual Machine. It is designed to be a general-purpose
+language, combining the approachability and interactive development of
+a scripting language with efficient and robust infrastructure for
+multithreaded programming. Clojure is a compiled language – Every
+feature supported by Clojure is supported at runtime. Clojure provides
+easy access to the Java frameworks, with optional type hints and type
+inference, to ensure that calls to Java can avoid reflection.
+
+Clojure is a dialect of Lisp, and shares with Lisp the code-as-data
+philosophy and a powerful macro system. CLojure is predominantly a
+functional programming language, and features a rich set of immutable,
+persistent data structures. When mutable state is needed, Clojure
+offers a software transactional memory system that ensures clean,
+correct, multithreaded designs.
diff --git a/development/clojure/clojure.SlackBuild b/development/clojure/clojure.SlackBuild
new file mode 100644
index 0000000000..62ab9fa1f1
--- /dev/null
+++ b/development/clojure/clojure.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for clojure
+#
+# Copyright (c) 2021 Kenneth Chan
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy of
+# this software and associated documentation files (the "Software"), to deal in
+# the Software without restriction, including without limitation the rights to
+# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+# the Software, and to permit persons to whom the Software is furnished to do so,
+# subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=clojure
+VERSION=${VERSION:-1.11.1.1386}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=$PRGNAM-tools
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=x86 ;;
+ *) 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}
+
+LIBDIRSUFFIX=""
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM
+
+tar xvzf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+install -Dm644 deps.edn $PKG/usr/lib${LIBDIRSUFFIX}/deps.edn
+install -Dm644 example-deps.edn $PKG/usr/lib${LIBDIRSUFFIX}/example-deps.edn
+install -Dm644 exec.jar $PKG/usr/lib${LIBDIRSUFFIX}/libexec/exec.jar
+install -Dm644 $SRCNAM-$VERSION.jar $PKG/usr/lib${LIBDIRSUFFIX}/libexec/$SRCNAM-$VERSION.jar
+
+sed -i -e 's@PREFIX@/usr/lib'"${LIBDIRSUFFIX}"'@g' clojure
+sed -i -e 's@BINDIR@/usr/bin/@g' clj
+install -Dm755 clojure $PKG/usr/bin/clojure
+install -Dm755 clj $PKG/usr/bin/clj
+
+mkdir -p $PKG/usr/man/man1
+gzip -9c < clojure.1 > $PKG/usr/man/man1/clojure.1.gz
+gzip -9c < clj.1 > $PKG/usr/man/man1/clj.1.gz
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat install.sh > $PKG/usr/doc/$PRGNAM-$VERSION/install.sh
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/clojure/clojure.info b/development/clojure/clojure.info
new file mode 100644
index 0000000000..0f985ca7d5
--- /dev/null
+++ b/development/clojure/clojure.info
@@ -0,0 +1,10 @@
+PRGNAM="clojure"
+VERSION="1.11.1.1386"
+HOMEPAGE="https://clojure.org"
+DOWNLOAD="https://download.clojure.org/install/clojure-tools-1.11.1.1386.tar.gz"
+MD5SUM="db074df727de8d729fb9f99f3e86d5de"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="zulu-openjdk8 rlwrap"
+MAINTAINER="Kenneth Chan"
+EMAIL="kenneth.t.chan@gmail.com"
diff --git a/development/clojure/slack-desc b/development/clojure/slack-desc
new file mode 100644
index 0000000000..49afb1e517
--- /dev/null
+++ b/development/clojure/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------------------------------------------------------|
+clojure: clojure (Dynamic programming language for JVM)
+clojure:
+clojure: Clojure is a dynamic programming language that targets the Java
+clojure: Virtual Machine. It is desgined to be a general-purpose language,
+clojure: combining the approachability and interactive development of a
+clojure: scripting language with an efficient and robust infrastructure for
+clojure: multithreaded programming.
+clojure:
+clojure: Clojure is a dialect of Lisp, and shares with Lisp the code-as-data
+clojure: philosophy and a powerful macro system.
+clojure: Homepage: https://clojure.org/
diff --git a/development/cmake-202x/README b/development/cmake-202x/README
deleted file mode 100644
index 824be89155..0000000000
--- a/development/cmake-202x/README
+++ /dev/null
@@ -1,14 +0,0 @@
-cmake-202x (cross-platform, open-source make system)
-
-CMake is used to control the software process using simple platform
-and compiler independent configuration files. CMake generates
-native makefiles and workspaces that can be used in the
-compiler environment of your choice.
-
-This version of cmake is much newer than the version included in
-Slackware 14.2. It installs to /opt, so it won't conflict with the
-OS-provided cmake package.
-
-See README_SBo.txt for directions on using this version of cmake with
-your own SlackBuild scripts, or to develop/maintain software that
-needs a newer cmake.
diff --git a/development/cmake-202x/README_SBo.txt b/development/cmake-202x/README_SBo.txt
deleted file mode 100644
index 5dd70eb50d..0000000000
--- a/development/cmake-202x/README_SBo.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-The main purpose for cmake-202x is to allow SlackBuild scripts to
-build software that needs a cmake newer than the version that ships
-with Slackware 14.2.
-
-If you're writing a new SlackBuild or updating an old one, and you're
-using cmake.template, but you get an error complaining that CMake is
-too old, here's how to use this:
-
-1. Change the "cmake" command in your SlackBuild to
- /opt/cmake-202x/bin/cmake. In context, it will look like:
-
- mkdir -p build
- cd build
- /opt/cmake-202x/bin/cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- ...etc, etc.
-
-2. Add cmake-202x to the REQUIRES in your .info file.
-
-That's it. Your SlackBuild shouldn't need any other changes. If you
-want to look at a complete SlackBuild script that uses cmake-202x,
-see academic/bibletime.
-
-Note: If you're using cmake interactively (developing software outside
-the context of SlackBuild scripts), there are a couple of things you
-might want to add to your .bash_profile to make things smoother:
-
- export PATH=/opt/cmake-202x/bin:$PATH
- export MANPATH=/opt/cmake-202x/man:$MANPATH
-
-Then when you type "cmake", you'll get the new version. Also "man
-cmake" will show the man page for the new version. You *don't* need
-this stuff in a SlackBuild script!
diff --git a/development/cmake-202x/cmake-202x.SlackBuild b/development/cmake-202x/cmake-202x.SlackBuild
deleted file mode 100644
index c2dcced3e1..0000000000
--- a/development/cmake-202x/cmake-202x.SlackBuild
+++ /dev/null
@@ -1,121 +0,0 @@
-#!/bin/sh
-
-############################################################
-# NOTE: Remove this from the repo when 15.0 ships! #
-# Also remove cmake-202x from REQUIRES in all .info files! #
-############################################################
-
-# Slackware build script for cmake-202x
-
-# Written by B. Watson (yalhcru@gmail.com)
-
-# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-
-# This build exists because the cmake in Slackware 14.2 is too old,
-# and can't be upgraded. This installs cmake under /opt, where it
-# won't conflict with anything. README explains how to use it in your
-# SlackBuild.
-
-# cmake.manpages.tar.lz comes from Slackware, courtesy of Pat V. Since
-# it's from -current (therefore subject to change), I mirrored the
-# version I'm using on slackware.uk.
-
-# 20201108 bkw: updated for 3.18.4, put version number in manpages URL.
-
-PRGNAM=cmake-202x
-SRCNAM=cmake
-VERSION=${VERSION:-3.18.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-
-PREFIX=${PREFIX:-/opt/$PRGNAM}
-PKGPREFIX=$PKG/$PREFIX
-
-# The --system-* and --no-system-* stuff is intended to use system
-# versions of libraries that ship with core Slackware, and bundled
-# (non-system) libs for everything that isn't in core, *even* if
-# it's available on SBo. This will prevent SBo upgrades from randomly
-# breaking things.
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./bootstrap \
- --system-curl \
- --system-expat \
- --no-system-jsoncpp \
- --system-zlib \
- --system-bzip2 \
- --system-liblzma \
- --no-system-nghttp2 \
- --no-system-zstd \
- --system-libarchive \
- --no-system-librhash \
- --no-system-libuv \
- --prefix=$PREFIX
-
-make
-make install/strip DESTDIR=$PKG
-
-# To avoid a dependency on Sphinx (which has *26 dependencies* of its own),
-# use Pat's prebuilt man pages.
-MAN=$CWD/$SRCNAM.manpages.tar.lz
-MANV=$CWD/$SRCNAM.manpages.$VERSION.tar.lz
-[ -e "$MANV" ] && MAN="$MANV"
-
-tar xvf $MAN
-mv usr/man $PKGPREFIX/man
-gzip -9 $PKGPREFIX/man/man?/*.?
-
-# Nothing in the doc dir but licenses. Move it to where users expect
-# to find it.
-mkdir -p $PKG/usr/doc
-mv $PKGPREFIX/doc/$SRCNAM-* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKGPREFIX/doc
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README_SBo.txt > $PKG/usr/doc/$PRGNAM-$VERSION/README_SBo.txt
-
-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:-tgz}
diff --git a/development/cmake-202x/cmake-202x.info b/development/cmake-202x/cmake-202x.info
deleted file mode 100644
index 0eea195a93..0000000000
--- a/development/cmake-202x/cmake-202x.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="cmake-202x"
-VERSION="3.18.4"
-HOMEPAGE="https://cmake.org/"
-DOWNLOAD="https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4.tar.gz \
- https://slackware.uk/~urchlay/src/cmake.manpages.3.18.4.tar.lz"
-MD5SUM="0380beaee1c39a22455db02651abe7be \
- 8b7fd1fdebbc92f22080dc1c602236d6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/development/cmake-202x/slack-desc b/development/cmake-202x/slack-desc
deleted file mode 100644
index fe365b638b..0000000000
--- a/development/cmake-202x/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 ':'.
-
- |-----handy-ruler------------------------------------------------------|
-cmake-202x: cmake-202x (cross-platform, open-source make system)
-cmake-202x:
-cmake-202x: CMake is used to control the software process using simple platform
-cmake-202x: and compiler independent configuration files. CMake generates
-cmake-202x: native makefiles and workspaces that can be used in the
-cmake-202x: compiler environment of your choice.
-cmake-202x:
-cmake-202x: This version of cmake is much newer than the version included in
-cmake-202x: Slackware 14.2. It installs to /opt, so it won't conflict with the
-cmake-202x: OS-provided cmake package.
-cmake-202x:
diff --git a/development/cmocka/cmocka.SlackBuild b/development/cmocka/cmocka.SlackBuild
index e5366a71bd..585ebc0b8c 100644
--- a/development/cmocka/cmocka.SlackBuild
+++ b/development/cmocka/cmocka.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cmocka
@@ -22,10 +22,13 @@
# 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=cmocka
VERSION=${VERSION:-1.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -97,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/coccinelle/coccinelle.SlackBuild b/development/coccinelle/coccinelle.SlackBuild
index 9046fc3cc6..9808fd8c1a 100644
--- a/development/coccinelle/coccinelle.SlackBuild
+++ b/development/coccinelle/coccinelle.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for coccinelle
@@ -22,10 +22,13 @@
# 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=coccinelle
-VERSION=${VERSION:-1.0.6}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,6 +79,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 {} \;
+./autogen
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -104,4 +115,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/coccinelle/coccinelle.info b/development/coccinelle/coccinelle.info
index 02eee74e4c..b508d15ca1 100644
--- a/development/coccinelle/coccinelle.info
+++ b/development/coccinelle/coccinelle.info
@@ -1,10 +1,10 @@
PRGNAM="coccinelle"
-VERSION="1.0.6"
+VERSION="1.1.1"
HOMEPAGE="http://coccinelle.lip6.fr/"
-DOWNLOAD="http://coccinelle.lip6.fr/distrib/coccinelle-1.0.6.tgz"
-MD5SUM="01b6e7e471055c9af7f9ceadbd452108"
+DOWNLOAD="https://github.com/coccinelle/coccinelle/archive/1.1.1/coccinelle-1.1.1.tar.gz"
+MD5SUM="d7404a70dd4480cb0f0d346550437d5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="camlp4 menhir"
+REQUIRES="ocaml-num"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/cocotb/README b/development/cocotb/README
new file mode 100644
index 0000000000..74812b706e
--- /dev/null
+++ b/development/cocotb/README
@@ -0,0 +1,2 @@
+ cocotb is an open source coroutine-based cosimulation testbench
+environment for verifying VHDL and SystemVerilog RTL using Python.
diff --git a/development/cocotb/cocotb.SlackBuild b/development/cocotb/cocotb.SlackBuild
new file mode 100644
index 0000000000..2e94f458d9
--- /dev/null
+++ b/development/cocotb/cocotb.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for cocotb
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cocotb
+VERSION=${VERSION:-1.7.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+
+python3 setup.py build
+python3 setup.py install --root=$PKG
+
+# install examples
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a examples $PKG/usr/share/$PRGNAM-$VERSION
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CONTRIBUTING.md LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cocotb/cocotb.info b/development/cocotb/cocotb.info
new file mode 100644
index 0000000000..edeb7b91b5
--- /dev/null
+++ b/development/cocotb/cocotb.info
@@ -0,0 +1,10 @@
+PRGNAM="cocotb"
+VERSION="1.7.1"
+HOMEPAGE="https://www.cocotb.org"
+DOWNLOAD="https://github.com/cocotb/cocotb/archive/v1.7.1/cocotb-1.7.1.tar.gz"
+MD5SUM="701ff966cb232189069a2508080f4811"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/cocotb/slack-desc b/development/cocotb/slack-desc
new file mode 100644
index 0000000000..8f3c03f362
--- /dev/null
+++ b/development/cocotb/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------------------------------------------------------|
+cocotb: cocotb (tool for verifying VHDL and SystemVerilog RTL using Python)
+cocotb:
+cocotb:
+cocotb:
+cocotb: cocotb is an open source coroutine-based cosimulation testbench
+cocotb: environment for verifying VHDL and SystemVerilog RTL using Python.
+cocotb:
+cocotb:
+cocotb:
+cocotb:
+cocotb:
diff --git a/development/codeblocks/codeblocks-gcc11.patch b/development/codeblocks/codeblocks-gcc11.patch
new file mode 100644
index 0000000000..df4a087acc
--- /dev/null
+++ b/development/codeblocks/codeblocks-gcc11.patch
@@ -0,0 +1,28 @@
+Index: src/plugins/openfileslist/openfileslistplugin.h
+===================================================================
+diff --git a/src/plugins/openfileslist/openfileslistplugin.h b/src/plugins/openfileslist/openfileslistplugin.h
+--- a/src/plugins/openfileslist/openfileslistplugin.h (revision 12302)
++++ b/src/plugins/openfileslist/openfileslistplugin.h (revision 12303)
+@@ -10,6 +10,7 @@
+ #include <projectfile.h>
+
+ #include <wx/dynarray.h>
++#include <functional>
+
+ class wxTreeCtrl;
+ class wxTreeEvent;
+@@ -20,12 +21,8 @@
+ struct TargetFilesData
+ {
+ TargetFilesData() : activeFile(nullptr) {} // ctor
+- // Functor for the std::set predicate to sort the opened editor files according to their tab order
+- struct compareLess
+- {
+- bool operator()(const ProjectFile* lhs, const ProjectFile* rhs) { return lhs->editorTabPos < rhs->editorTabPos; }
+- };
+- typedef std::set<ProjectFile*, compareLess> OpenFilesSet;
++
++ typedef std::set<ProjectFile*, std::less<ProjectFile*>> OpenFilesSet;
+ ProjectFile* activeFile;
+ OpenFilesSet openFiles;
+ };
diff --git a/development/codeblocks/codeblocks.SlackBuild b/development/codeblocks/codeblocks.SlackBuild
index 2aca276704..50bc64a1bc 100644
--- a/development/codeblocks/codeblocks.SlackBuild
+++ b/development/codeblocks/codeblocks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for codeblocks
@@ -22,10 +22,13 @@
# 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=codeblocks
VERSION=${VERSION:-20.03}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -74,6 +84,8 @@ if [ "${PLUGINS:-no}" = 'yes' ]; then
WITHPLUGINS='--with-contrib-plugins=all'
fi
+patch -p1 < $CWD/codeblocks-gcc11.patch
+
./bootstrap
LDFLAGS="-lX11" \
@@ -103,9 +115,11 @@ cp -a \
$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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/codelite/codelite.SlackBuild b/development/codelite/codelite.SlackBuild
index 8f4e59f6f2..a73a0361d7 100644
--- a/development/codelite/codelite.SlackBuild
+++ b/development/codelite/codelite.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for codelite
# Written by Wainamoinen <wainamoinen@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=codelite
-VERSION=${VERSION:-14.0}
+VERSION=${VERSION:-15.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -51,8 +61,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/libssh.patch
-
mkdir build-release
cd build-release
CFLAGS="$SLKCFLAGS" \
@@ -81,4 +89,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/codelite/codelite.info b/development/codelite/codelite.info
index dd2487959c..c01b8a1ba5 100644
--- a/development/codelite/codelite.info
+++ b/development/codelite/codelite.info
@@ -1,8 +1,8 @@
PRGNAM="codelite"
-VERSION="14.0"
+VERSION="15.0"
HOMEPAGE="http://www.codelite.org/"
-DOWNLOAD="https://github.com/eranif/codelite/archive/14.0/codelite-14.0.tar.gz"
-MD5SUM="e9d2519fa8077ca9f86b6b8fa9adf332"
+DOWNLOAD="https://github.com/eranif/codelite/archive/15.0/codelite-15.0.tar.gz"
+MD5SUM="1c54744ab0c9b5732087687ab17ab49d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3"
diff --git a/development/codelite/libssh.patch b/development/codelite/libssh.patch
deleted file mode 100644
index c4f5b9aa85..0000000000
--- a/development/codelite/libssh.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d9663b376b66c5754298b21c3592f0a49c030f88 Mon Sep 17 00:00:00 2001
-From: dghart <dghart david@4Pane.co.uk>
-Date: Tue, 3 Mar 2020 13:39:02 +0000
-Subject: [PATCH] Compilation fix for ubuntu xenial (16.04) and similar
-
-The ssh version check was wrong (see https://github.com/eranif/codelite/issues/2443).
-Bump it from 0.6.1 to a (guestimated) 0.6.5.
----
- CodeLite/cl_ssh.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CodeLite/cl_ssh.cpp b/CodeLite/cl_ssh.cpp
-index 824804e30..f5accfde9 100644
---- a/CodeLite/cl_ssh.cpp
-+++ b/CodeLite/cl_ssh.cpp
-@@ -106,7 +106,7 @@ bool clSSH::AuthenticateServer(wxString& message)
-
- message.Clear();
-
--#if LIBSSH_VERSION_INT < SSH_VERSION_INT(0, 6, 1)
-+#if LIBSSH_VERSION_INT < SSH_VERSION_INT(0, 7, 7)
- int hlen = 0;
- hlen = ssh_get_pubkey_hash(m_session, &hash);
- if(hlen < 0) {
-
diff --git a/development/codespell/README b/development/codespell/README
index 6c714b66f2..cdbc979cec 100644
--- a/development/codespell/README
+++ b/development/codespell/README
@@ -3,7 +3,3 @@ codespell (spell checker for source code)
codespell fixes common misspellings in text files. It's designed
primarily for checking misspelled words in source code, but it can be
used with other files as well.
-
-Optional dependency: python-chardet. This is required for codespell's
--e option. Unless you deal with files that are not ASCII, ISO-8859-1,
-or UTF-8, you probably don't need the -e option.
diff --git a/development/codespell/codespell.1 b/development/codespell/codespell.1
new file mode 100644
index 0000000000..54076d32e1
--- /dev/null
+++ b/development/codespell/codespell.1
@@ -0,0 +1,166 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
+.TH CODESPELL "1" "January 2023" "codespell 2.1.0" "User Commands"
+.SH NAME
+codespell \- detect spelling mistakes in source code
+.SH SYNOPSIS
+\fBcodespell\fR [OPTIONS] [file1 file2 ... fileN]
+.SH DESCRIPTION
+.PP
+codespell is designed to find and fix common misspellings in text files.
+It is designed primarily for checking misspelled words in source code,
+but it can be used with other files as well.
+.PP
+usage: codespell [\-h] [\-\-version] [\-d] [\-c] [\-w] [\-D DICTIONARY]
+.IP
+[\-\-builtin BUILTIN\-LIST] [\-\-ignore\-regex IGNORE_REGEX]
+[\-I FILE] [\-L WORDS] [\-\-uri\-ignore\-words\-list WORDS]
+[\-r REGEX] [\-\-uri\-regex URI_REGEX] [\-s] [\-\-count] [\-S SKIP]
+[\-x FILE] [\-i INTERACTIVE] [\-q QUIET_LEVEL] [\-e] [\-f] [\-H]
+[\-A LINES] [\-B LINES] [\-C LINES] [\-\-config CONFIG]
+[files ...]
+.SS "positional arguments:"
+.TP
+files
+files or directories to check
+.SS "optional arguments:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-d\fR, \fB\-\-disable\-colors\fR
+disable colors, even when printing to terminal (always
+set for Windows)
+.TP
+\fB\-c\fR, \fB\-\-enable\-colors\fR
+enable colors, even when not printing to terminal
+.TP
+\fB\-w\fR, \fB\-\-write\-changes\fR
+write changes in place if possible
+.TP
+\fB\-D\fR DICTIONARY, \fB\-\-dictionary\fR DICTIONARY
+custom dictionary file that contains spelling
+corrections. If this flag is not specified or equals
+"\-" then the default dictionary is used. This option
+can be specified multiple times.
+.TP
+\fB\-\-builtin\fR BUILTIN\-LIST
+comma\-separated list of builtin dictionaries to
+include (when "\-D \-" or no "\-D" is passed). Current
+options are:
+\- 'clear' for unambiguous errors
+\- 'rare' for rare but valid words
+\- 'informal' for making informal words more formal
+\- 'usage' for replacing phrasing with recommended
+.TP
+terms
+\- 'code' for words common to code and/or mathematics
+.TP
+that might be typos
+\- 'names' for valid proper names that might be typos
+\- 'en\-GB_to_en\-US' for corrections from en\-GB to en\-US
+The default is 'clear,rare'.
+.TP
+\fB\-\-ignore\-regex\fR IGNORE_REGEX
+regular expression which is used to find patterns to
+ignore by treating as whitespace. When writing regular
+expressions, consider ensuring there are boundary nonword chars, e.g., "\ebmatch\eb". Defaults to
+empty/disabled.
+.TP
+\fB\-I\fR FILE, \fB\-\-ignore\-words\fR FILE
+file that contains words which will be ignored by
+codespell. File must contain 1 word per line. Words
+are case sensitive based on how they are written in
+the dictionary file
+.TP
+\fB\-L\fR WORDS, \fB\-\-ignore\-words\-list\fR WORDS
+comma separated list of words to be ignored by
+codespell. Words are case sensitive based on how they
+are written in the dictionary file
+.TP
+\fB\-\-uri\-ignore\-words\-list\fR WORDS
+comma separated list of words to be ignored by
+codespell in URIs and emails only. Words are case
+sensitive based on how they are written in the
+dictionary file. If set to "*", all misspelling in
+URIs and emails will be ignored.
+.TP
+\fB\-r\fR REGEX, \fB\-\-regex\fR REGEX
+regular expression which is used to find words. By
+default any alphanumeric character, the underscore,
+the hyphen, and the apostrophe is used to build words.
+This option cannot be specified together with \fB\-\-writechanges\fR.
+.TP
+\fB\-\-uri\-regex\fR URI_REGEX
+regular expression which is used to find URIs and
+emails. A default expression is provided.
+.TP
+\fB\-s\fR, \fB\-\-summary\fR
+print summary of fixes
+.TP
+\fB\-\-count\fR
+print the number of errors as the last line of stderr
+.TP
+\fB\-S\fR SKIP, \fB\-\-skip\fR SKIP
+comma\-separated list of files to skip. It accepts
+globs as well. E.g.: if you want codespell to skip
+\&.eps and .txt files, you'd give "*.eps,*.txt" to this
+option.
+.TP
+\fB\-x\fR FILE, \fB\-\-exclude\-file\fR FILE
+FILE with lines that should not be checked for errors
+or changed
+.TP
+\fB\-i\fR INTERACTIVE, \fB\-\-interactive\fR INTERACTIVE
+set interactive mode when writing changes:
+\- 0: no interactivity.
+\- 1: ask for confirmation.
+\- 2: ask user to choose one fix when more than one is
+.TP
+available.
+\- 3: both 1 and 2
+.TP
+\fB\-q\fR QUIET_LEVEL, \fB\-\-quiet\-level\fR QUIET_LEVEL
+bitmask that allows suppressing messages:
+\- 0: print all messages.
+\- 1: disable warnings about wrong encoding.
+\- 2: disable warnings about binary files.
+\- 4: omit warnings about automatic fixes that were
+.TP
+disabled in the dictionary.
+\- 8: don't print anything for non\-automatic fixes.
+\- 16: don't print the list of fixed files.
+As usual with bitmasks, these levels can be combined;
+e.g. use 3 for levels 1+2, 7 for 1+2+4, 23 for
+1+2+4+16, etc. The default mask is 2.
+.TP
+\fB\-e\fR, \fB\-\-hard\-encoding\-detection\fR
+use chardet to detect the encoding of each file. This
+can slow down codespell, but is more reliable in
+detecting encodings other than utf\-8, iso8859\-1, and
+ascii.
+.TP
+\fB\-f\fR, \fB\-\-check\-filenames\fR
+check file names as well
+.TP
+\fB\-H\fR, \fB\-\-check\-hidden\fR
+check hidden files and directories (those starting
+with ".") as well.
+.TP
+\fB\-A\fR LINES, \fB\-\-after\-context\fR LINES
+print LINES of trailing context
+.TP
+\fB\-B\fR LINES, \fB\-\-before\-context\fR LINES
+print LINES of leading context
+.TP
+\fB\-C\fR LINES, \fB\-\-context\fR LINES
+print LINES of surrounding context
+.TP
+\fB\-\-config\fR CONFIG
+path to config file.
+.SH AUTHOR
+Lucas De Marchi <lucas.de.marchi@gmail.com>
+.SH "SEE ALSO"
+https://github.com/codespell-project/codespell
diff --git a/development/codespell/codespell.SlackBuild b/development/codespell/codespell.SlackBuild
index 4f0d11f112..74ec393dc3 100644
--- a/development/codespell/codespell.SlackBuild
+++ b/development/codespell/codespell.SlackBuild
@@ -1,15 +1,30 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for codespell
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230820 bkw: update for 2.2.5, *many* thanks to fourtysixandtwo for
+# his python3-setuptools-opt build, and for figuring out the bug in
+# this build's pyproject.toml.
+
+# 20230115 bkw: update for 2.2.1, not the latest (see README).
+
+# 20210829 bkw:
+# - update for 2.1.0.
+# - use python3 by default. add PYVER var to force building with 2,
+# but don't document it (nobody should need it).
+# - add example/ to the doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=codespell
-VERSION=${VERSION:-1.17.1}
+VERSION=${VERSION:-2.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,25 +34,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -47,14 +52,22 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} +
+
+# write_to directive is broken, turns out we can do without it.
+sed -i '/^write_to/d' pyproject.toml
+
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages/
-python setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
-make $PRGNAM.1
+# upstream removed the man page. including a copy of the 2.1.0 man page,
+# which seems to still apply to 2.2.1 (all the options are the same).
mkdir -p $PKG/usr/man/man1
-gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README* COPYING $PKG/usr/doc/$PRGNAM-$VERSION
@@ -64,4 +77,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/codespell/codespell.info b/development/codespell/codespell.info
index 4edb51d153..4782d3361e 100644
--- a/development/codespell/codespell.info
+++ b/development/codespell/codespell.info
@@ -1,10 +1,10 @@
PRGNAM="codespell"
-VERSION="1.17.1"
-HOMEPAGE="https://github.com/codespell-project/codespell"
-DOWNLOAD="https://github.com/codespell-project/codespell/archive/v1.17.1/codespell-1.17.1.tar.gz"
-MD5SUM="eaa42b26713c571311ba9374046cc12f"
+VERSION="2.2.6"
+HOMEPAGE="https://pypi.org/project/codespell/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/c/codespell/codespell-2.2.6.tar.gz"
+MD5SUM="807149428419840f87ce3b3f2ab4ce38"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-setuptools-opt"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/colm/colm.SlackBuild b/development/colm/colm.SlackBuild
index d5d2144744..baa966cdd7 100644
--- a/development/colm/colm.SlackBuild
+++ b/development/colm/colm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for colm
@@ -22,10 +22,13 @@
# 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=colm
-VERSION=${VERSION:-0.13.0.7}
+VERSION=${VERSION:-0.14.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -54,7 +64,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="COPYING ChangeLog README"
+DOCS="COPYING README"
set -e
@@ -72,6 +82,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 --verbose -p1 -i $CWD/without-static.patch
+
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
@@ -96,8 +108,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/colm/colm.info b/development/colm/colm.info
index 754b2b2e85..550a97716f 100644
--- a/development/colm/colm.info
+++ b/development/colm/colm.info
@@ -1,8 +1,8 @@
PRGNAM="colm"
-VERSION="0.13.0.7"
+VERSION="0.14.7"
HOMEPAGE="https://www.colm.net/open-source/colm/"
-DOWNLOAD="https://www.colm.net/files/colm/colm-0.13.0.7.tar.gz"
-MD5SUM="ae26852e607edb334061ba217fc84d28"
+DOWNLOAD="https://www.colm.net/files/colm/colm-0.14.7.tar.gz"
+MD5SUM="073b11234fe64a281874b4466c0c25ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/colm/without-static.patch b/development/colm/without-static.patch
new file mode 100644
index 0000000000..64ef8720d4
--- /dev/null
+++ b/development/colm/without-static.patch
@@ -0,0 +1,58 @@
+diff --git a/configure.ac b/configure.ac
+index aa127b68..fc034f28 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -45,6 +45,7 @@ AC_PROG_CXX
+ AC_CHECK_TOOL(AR, ar)
+ AC_PROG_RANLIB
+ AC_PROG_LIBTOOL
++
+ SED_SUBST=["\
+ -e 's|@CXX@|${CXX}|g' \
+ -e 's|@CC@|${CC}|g' \
+@@ -420,6 +421,13 @@ test -e src/include/colm || ln -s .. src/include/colm
+ echo "#define VERSION \"$VERSION\"" > src/version.h
+ echo "#define PUBDATE \"$PUBDATE\"" >> src/version.h
+
++if test "x$enable_static" = "xyes"; then
++ AC_DEFINE([LINK_STATIC], [1], [Link static lib when invoking C compile and link])
++fi
++
++if test "x$enable_shared" = "xyes"; then
++ AC_DEFINE([LINK_SHARED], [1], [Link shared lib when invoking C compile and link])
++fi
+
+ dnl
+ dnl Wrap up.
+diff --git a/src/main.cc b/src/main.cc
+index 301fae91..8ca395f0 100644
+--- a/src/main.cc
++++ b/src/main.cc
+@@ -485,7 +485,14 @@ void compileOutput( const char *argv0, const bool inSource, char *srcLocation )
+ " -I%s/../aapl"
+ " -I%s/include"
+ " -L%s"
++#if defined(LINK_STATIC)
+ " %s/libcolm.a",
++#elif defined(LINK_SHARED)
++ " %s/libcolm.so",
++#else
++# error "must enabled at least one of shared or static libs"
++#endif
++
+ binaryFn, intermedFn, srcLocation,
+ srcLocation, location, location );
+ }
+diff --git a/src/libfsm/codegen.cc b/src/libfsm/codegen.cc
+index 21edb5ac..1150384e 100644
+--- a/src/libfsm/codegen.cc
++++ b/src/libfsm/codegen.cc
+@@ -30,6 +30,8 @@
+ #include <assert.h>
+ #include <iomanip>
+
++// Convenience: for checking for the presence of the libfsm.
++extern "C" void libfsm_present() {}
+
+ using std::ostream;
+ using std::ostringstream;
diff --git a/development/colordiff/colordiff.SlackBuild b/development/colordiff/colordiff.SlackBuild
index 4bd46a5bd2..4292f6fcea 100644
--- a/development/colordiff/colordiff.SlackBuild
+++ b/development/colordiff/colordiff.SlackBuild
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for colordiff
-# Originally by Grigorios Bouzakis (grbzks@gmail.com)
-
-# Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
+# Originally by Grigorios Bouzakis
+# Previously maintained by Ryan P.C. McQuen, WA,
+# then maintained by Ricardo J. Barberis.
+# Now maintained by B. Watson (urchlay@slackware.uk).
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,13 +25,28 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+# 20230804 bkw:
+# - take over maintenance.
+# - update for v1.0.21.
+
+# 20220404 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix download URL.
+# - get rid of useless INSTALL in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=colordiff
-VERSION=${VERSION:-1.0.19}
+VERSION=${VERSION:-1.0.21}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -44,11 +60,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 {} +
mkdir -p $PKG/etc $PKG/usr/bin $PKG/usr/man/man1
install -m 644 colordiffrc $PKG/etc/colordiffrc.new
@@ -58,7 +71,7 @@ gzip -9c colordiff.1 > $PKG/usr/man/man1/colordiff.1.gz
gzip -9c cdiff.1 > $PKG/usr/man/man1/cdiff.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a BUGS CHANGES COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUGS CHANGES COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -66,4 +79,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/colordiff/colordiff.info b/development/colordiff/colordiff.info
index 47055371b3..407a1d518c 100644
--- a/development/colordiff/colordiff.info
+++ b/development/colordiff/colordiff.info
@@ -1,10 +1,10 @@
PRGNAM="colordiff"
-VERSION="1.0.19"
+VERSION="1.0.21"
HOMEPAGE="https://www.colordiff.org/"
-DOWNLOAD="https://www.colordiff.org/colordiff-1.0.19.tar.gz"
-MD5SUM="95788a711e1402c17a5cd8c8ab6f1ed5"
+DOWNLOAD="http://distfiles.macports.org/colordiff/colordiff-1.0.21.tar.gz"
+MD5SUM="fdff82efdcccc7e1bff28d943662b208"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andreas Voegele"
-EMAIL="andreas@andreasvoegele.com"
+MAINTAINER="Erich Ritz"
+EMAIL="erich.public@protonmail.com"
diff --git a/development/colordiff/doinst.sh b/development/colordiff/doinst.sh
index 704751bd12..83e55f14bf 100644
--- a/development/colordiff/doinst.sh
+++ b/development/colordiff/doinst.sh
@@ -1,15 +1,11 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
rm $NEW
fi
- # Otherwise, we leave the .new copy for the admin to consider...
}
config etc/colordiffrc.new
-
diff --git a/development/complexity/complexity.SlackBuild b/development/complexity/complexity.SlackBuild
index 07fef9f0ad..ab3b8f1edc 100644
--- a/development/complexity/complexity.SlackBuild
+++ b/development/complexity/complexity.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Complexity
@@ -22,10 +22,13 @@
# 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=complexity
VERSION=${VERSION:-1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -98,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/composer/composer.SlackBuild b/development/composer/composer.SlackBuild
index e3dff91622..84013f58ce 100644
--- a/development/composer/composer.SlackBuild
+++ b/development/composer/composer.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for composer
-# Copyright 2015-2020 Eugene Wissner, Dachau, Germany
+# Copyright 2015-2024 Eugene Wissner, Mannheim, Germany
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,13 +24,23 @@
# (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=composer
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -50,4 +60,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/composer/composer.info b/development/composer/composer.info
index 54ee360bbe..c9b71e90ba 100644
--- a/development/composer/composer.info
+++ b/development/composer/composer.info
@@ -1,8 +1,8 @@
PRGNAM="composer"
-VERSION="2.0.2"
+VERSION="2.7.2"
HOMEPAGE="https://getcomposer.org/"
-DOWNLOAD="https://getcomposer.org/download/2.0.2/composer.phar"
-MD5SUM="92b61bb4cb65fe6b0217fe9d6f94213b"
+DOWNLOAD="https://getcomposer.org/download/2.7.2/composer.phar"
+MD5SUM="08d63a50e98885a89cb95ad4fc934055"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/conan/README b/development/conan/README
deleted file mode 100644
index ddcd2704d4..0000000000
--- a/development/conan/README
+++ /dev/null
@@ -1,6 +0,0 @@
-A distributed, open source, package manager.
-
-Conan is a portable package manager, intended for C and C++ developers,
-but it is able to manage builds from source, dependencies, and
-precompiled binaries for any language.
-
diff --git a/development/conan/conan.SlackBuild b/development/conan/conan.SlackBuild
deleted file mode 100644
index 4d1a30001b..0000000000
--- a/development/conan/conan.SlackBuild
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for conan
-
-# Copyright 2016 Andre Barboza, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=conan
-VERSION=${VERSION:-0.21.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- 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 {} \;
-
-python setup.py install --root=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/conan/conan.info b/development/conan/conan.info
deleted file mode 100644
index a62b3038eb..0000000000
--- a/development/conan/conan.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="conan"
-VERSION="0.21.1"
-HOMEPAGE="https://conan.io/"
-DOWNLOAD="https://github.com/conan-io/conan/archive/0.21.1/conan-0.21.1.tar.gz"
-MD5SUM="70093441ca250ff825bc4fd8e4661046"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="PyYAML boto passlib colorama python-requests cfgparse pyjwt python-patch fasteners six bottle node-semver python-distro pluginbase"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/conan/slack-desc b/development/conan/slack-desc
deleted file mode 100644
index c7b9f39299..0000000000
--- a/development/conan/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------------------------------------------------------|
-conan: conan (A distributed, open source, package manager)
-conan:
-conan: Conan is a portable package manager, intended for C and C++
-conan: developers, but it is able to manage builds from source,
-conan: dependencies, and precompiled binaries for any language.
-conan:
-conan:
-conan:
-conan:
-conan: https://conan.io/
-conan:
diff --git a/development/cosmocc/README b/development/cosmocc/README
new file mode 100644
index 0000000000..a8557c1f29
--- /dev/null
+++ b/development/cosmocc/README
@@ -0,0 +1,39 @@
+cosmocc is a precompiled version of GCC that produces polyglot
+executables for the x86_64 / aarch64 architecture using the
+Cosmopolitan libc.
+
+Cosmopolitan Libc makes C a build-once run-anywhere language, like Java,
+except it doesn't need an interpreter or virtual machine. Instead, it
+reconfigures stock GCC and Clang to output a POSIX-approved polyglot
+format that runs natively on many operating systems with the best
+possible performance and a tiny footprint.
+
+======= Support Vector =======
+Platform | Min Version | Circa
+==============================
+AMD | K8 Venus | 2005
+Intel | Core | 2006
+Linux | 2.6.18 | 2007
+Windows | 8 | 2012
+Mac OS X | 15.6 | 2018
+OpenBSD | 7 | 2021
+FreeBSD | 13 | 2020
+NetBSD | 9.2 | 2021
+==============================
+
+NOTES:
+* on calling APE programs:
+ upto zsh version 5.9, it's required to call APE programs
+ this way:
+ sh -c ./APE-program
+ The same case is for Python's subprocess, old versions of fish, etc.
+* on reproducible builds:
+ The cosmocc compiler is designed to generate deterministic output
+ across platforms. Please note that users who need reproducible
+ builds may also want to look into explicitly defining environment
+ variables like `LC_ALL=C` and `SOURCE_DATE_EPOCH=0`, in addition to
+ undefining macros such as `-U__DATE__` and `-U__TIME__`.
+* on (un)registering APE with binfmt_misc:
+ two simple scripts are included in case you want to register or
+ unregister the APE loader with the binfmt_misc kernel facility.
+ You may find them in the /opt/cosmocc/scripts/ directory.
diff --git a/development/cosmocc/cosmocc.SlackBuild b/development/cosmocc/cosmocc.SlackBuild
new file mode 100644
index 0000000000..b8f92c53b3
--- /dev/null
+++ b/development/cosmocc/cosmocc.SlackBuild
@@ -0,0 +1,89 @@
+#!/bin/bash
+
+# Slackware build script for cosmocc
+
+# Originally written 2024 Juan M. Lasca <email removed>
+# Modified and now maintained by B. Watson <urchlay@slackware.uk>
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20240312 bkw:
+# - update for v3.3.2.
+# - use wrapper script rather than symlinks for /usr/bin/* since the
+# symlinks didn't actually work.
+
+# 20240219 bkw: BUILD=3
+# - Take over maintenance.
+# - Relicense as WTFPL.
+# - Fix permission error in package, when $CWD files are not owned by root.
+# - Do not install upstream's licenses .xz compressed.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cosmocc
+VERSION=${VERSION:-3.3.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}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-$VERSION.zip
+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 {} +
+
+mkdir -p $PKG/opt/$PRGNAM/scripts $PKG/usr/bin
+install -m0755 -oroot -groot $CWD/scripts/* $PKG/opt/$PRGNAM/scripts
+
+for i in bin include x86_64-linux-cosmo aarch64-linux-cosmo libexec; do
+ mv $i $PKG/opt/$PRGNAM
+done
+
+install -oroot -groot -m0755 $CWD/wrapper.sh $PKG/opt/$PRGNAM/bin/wrapper.sh
+
+# 20240312 bkw: can't use symlinks for these, or else we get:
+# /usr/bin/cosmocc: line 327: /usr/bin/x86_64-linux-cosmo-gcc: No such file or directory
+for i in mktemper march-native zipcopy apelink cosmocross cosmoar \
+ assimilate zipobj cosmoaddr2line cosmocc mkdeps cosmoc++ \
+ cosmoinstall pecheck
+do
+ ln -s ../../opt/$PRGNAM/bin/wrapper.sh $PKG/usr/bin/$i
+done
+
+# remove empty directories:
+rmdir $PKG/opt/cosmocc/libexec/gcc/{x86_64,aarch64}-linux-cosmo/*/install-tools || true
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE.*gpl* README.md $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cosmocc/cosmocc.info b/development/cosmocc/cosmocc.info
new file mode 100644
index 0000000000..61866f46d4
--- /dev/null
+++ b/development/cosmocc/cosmocc.info
@@ -0,0 +1,10 @@
+PRGNAM="cosmocc"
+VERSION="3.3.2"
+HOMEPAGE="https://github.com/jart/cosmopolitan"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://cosmo.zip/pub/cosmocc/cosmocc-3.3.2.zip"
+MD5SUM_x86_64="5a6be78d383795581c74a8854cd9d284"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/cosmocc/scripts/register_ape.sh b/development/cosmocc/scripts/register_ape.sh
new file mode 100644
index 0000000000..d78f007d53
--- /dev/null
+++ b/development/cosmocc/scripts/register_ape.sh
@@ -0,0 +1,5 @@
+
+# register APE loader
+echo ':APE:M::MZqFpD::/usr/bin/ape:' > /proc/sys/fs/binfmt_misc/register
+echo ':APE-jart:M::jartsr::/usr/bin/ape:' > /proc/sys/fs/binfmt_misc/register
+
diff --git a/development/cosmocc/scripts/unregister_ape.sh b/development/cosmocc/scripts/unregister_ape.sh
new file mode 100644
index 0000000000..ab46635591
--- /dev/null
+++ b/development/cosmocc/scripts/unregister_ape.sh
@@ -0,0 +1,5 @@
+
+# unregister APE loader
+echo -1 > /proc/sys/fs/binfmt_misc/cli
+echo -1 > /proc/sys/fs/binfmt_misc/status
+
diff --git a/development/cosmocc/slack-desc b/development/cosmocc/slack-desc
new file mode 100644
index 0000000000..447ac7b47f
--- /dev/null
+++ b/development/cosmocc/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------------------------------------------------------|
+cosmocc: cosmocc (APE compiler toolchain)
+cosmocc:
+cosmocc: cosmocc is a precompiled version of GCC that produces polyglot
+cosmocc: executables for the x86_64 architecture using the Cosmopolitan libc.
+cosmocc:
+cosmocc: For more information, see:
+cosmocc: https://github.com/jart/cosmopolitan
+cosmocc: https://cosmo.zip/
+cosmocc: https://justine.lol/ape.html
+cosmocc:
+cosmocc:
diff --git a/development/cosmocc/wrapper.sh b/development/cosmocc/wrapper.sh
new file mode 100644
index 0000000000..09cfb295d1
--- /dev/null
+++ b/development/cosmocc/wrapper.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /opt/cosmocc/bin/$( basename $0 ) "$@"
diff --git a/development/couchdb/README b/development/couchdb/README
deleted file mode 100644
index 939e0a9220..0000000000
--- a/development/couchdb/README
+++ /dev/null
@@ -1,13 +0,0 @@
-Apache CouchDB is a RESTFul document-oriented database.
-
-Apache CouchDB is a document-oriented database that can be queried
-and indexed in a MapReduce fashion using JavaScript. CouchDB also
-offers incremental replication with bi-directional conflict detection
-and resolution. CouchDB provides a RESTful JSON API.
-
-You must have a "couchdb" user and group before running this script;
-something like this should suffice:
- # groupadd -g 231 couchdb
- # useradd -u 231 -g couchdb -d /var/lib/couchdb -s /bin/sh couchdb
-
-See README.SLACKWARE for further configuration information.
diff --git a/development/couchdb/README.SLACKWARE b/development/couchdb/README.SLACKWARE
deleted file mode 100644
index d58e749736..0000000000
--- a/development/couchdb/README.SLACKWARE
+++ /dev/null
@@ -1,14 +0,0 @@
-To start CouchDB automatically at system startup, add the following to
-your system's /etc/rc.d/rc.local init script:
-
- if [ -x /etc/rc.d/rc.couchdb ]; then
- /etc/rc.d/rc.couchdb start
- fi
-
-To stop CouchDB automatically at system shutdown, add the following to
-your system's /etc/rc.d/rc.local_shutdown script:
-
- if [ -x /etc/rc.d/rc.couchdb ]; then
- /etc/rc.d/rc.couchdb stop
- fi
-
diff --git a/development/couchdb/couchdb.SlackBuild b/development/couchdb/couchdb.SlackBuild
deleted file mode 100644
index 16c62c8b2f..0000000000
--- a/development/couchdb/couchdb.SlackBuild
+++ /dev/null
@@ -1,129 +0,0 @@
-#!/bin/sh
-
-# SlackBuild for Apache CouchDB
-
-# Written by Nicolas Steinmetz (nsteinmetz@gmail.com) - 2010/01/03
-# Heavily modified by Robby Workman <rworkman@slackbuilds.org>
-
-PRGNAM=couchdb
-VERSION=${VERSION:-1.6.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-PKGSRC=apache-couchdb
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-## couchdb user & group *MUST* exist before package creation
-# See http://slackbuilds.org/uid_gid.txt for current recomendations.
-bailout() {
- printf " The couchdb user and group do not exist.
- You should create it/them with the following:
- groupadd -g 231 couchdb
- useradd -u 231 -g couchdb -d /var/lib/couchdb -s /bin/sh couchdb\n"
-}
-
-if ! grep -q ^couchdb: /etc/group 2>/dev/null ; then
- bailout
- exit 1
-elif ! grep -q ^couchdb: /etc/passwd 2>/dev/null ; then
- bailout
- exit 1
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PKGSRC-$VERSION
-cd $TMP
-tar xvf $CWD/$PKGSRC-$VERSION.tar.gz
-cd $PKGSRC-$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 {} \;
-
-# Permit newer Erlang versions
-oldtest='if test $major_version -lt 5 -o $major_version -gt 6; then'
-newtest='if test $major_version -lt 5 -o $major_version -gt 8; then'
-sed -i "s/$oldtest/$newtest/" configure
-
-CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE" \
-CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/man \
- --localstatedir=/var \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --with-erlang=/usr/lib$LIBDIRSUFFIX/erlang/usr/include \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Fixup some ownership and permissions stuffs
-chown -R couchdb:couchdb $PKG/etc/couchdb $PKG/var/{lib,log,run}/couchdb
-chmod 0770 $PKG/etc/couchdb $PKG/var/{lib,log,run}/couchdb
-
-# Use the correct name for the init script and don't clobber it on upgrades
-mv $PKG/etc/rc.d/{couchdb,rc.couchdb.new}
-chmod 0755 $PKG/etc/rc.d/rc.couchdb.new
-
-# Don't clobber a few other config files
-mv $PKG/etc/couchdb/default.ini{,.new}
-mv $PKG/etc/couchdb/local.ini{,.new}
-mv $PKG/etc/default/couchdb{,.new}
-
-# Don't clobber the logrotate script either and add a "su" command to it
-mv $PKG/etc/logrotate.d/couchdb{,.new}
-sed -i '6 a\
- su couchdb couchdb' $PKG/etc/logrotate.d/couchdb.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BUGS DEVELOPERS INSTALL INSTALL.Unix LICENSE NOTICE README.rst THANKS \
- $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
-
-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:-tgz}
diff --git a/development/couchdb/couchdb.info b/development/couchdb/couchdb.info
deleted file mode 100644
index 47db1461f6..0000000000
--- a/development/couchdb/couchdb.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="couchdb"
-VERSION="1.6.1"
-HOMEPAGE="http://couchdb.apache.org/"
-DOWNLOAD="https://archive.apache.org/dist/couchdb/source/1.6.1/apache-couchdb-1.6.1.tar.gz"
-MD5SUM="01a2c8ab4fcde457529428993901a060"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="erlang-otp"
-MAINTAINER="Ryan S. Northrup"
-EMAIL="northrup@yellowapple.us"
diff --git a/development/couchdb/doinst.sh b/development/couchdb/doinst.sh
deleted file mode 100644
index 5e28438010..0000000000
--- a/development/couchdb/doinst.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.couchdb.new
-config etc/couchdb/default.ini.new
-config etc/couchdb/local.ini.new
-config etc/logrotate.d/couchdb.new
-
diff --git a/development/couchdb/slack-desc b/development/couchdb/slack-desc
deleted file mode 100644
index df27323838..0000000000
--- a/development/couchdb/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------------------------------------------------------|
-couchdb: couchdb (RESTFul document-oriented database)
-couchdb:
-couchdb: Apache CouchDB is a document-oriented database that can be queried
-couchdb: and indexed in a MapReduce fashion using JavaScript. CouchDB also
-couchdb: offers incremental replication with bi-directional conflict
-couchdb: detection and resolution. CouchDB provides a RESTful JSON API.
-couchdb:
-couchdb:
-couchdb: Homepage : http://couchdb.apache.org/
-couchdb:
-couchdb:
diff --git a/development/cpan2tgz/cpan2tgz.SlackBuild b/development/cpan2tgz/cpan2tgz.SlackBuild
index 7179ebb221..6d026f034e 100644
--- a/development/cpan2tgz/cpan2tgz.SlackBuild
+++ b/development/cpan2tgz/cpan2tgz.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cpan2tgz
@@ -24,15 +24,22 @@
# Modifed by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cpan2tgz
VERSION=${VERSION:-0.6.8}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-cpan2tgz
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -76,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cpan2tgz/cpan2tgz.info b/development/cpan2tgz/cpan2tgz.info
index 53827ca60d..916deb8324 100644
--- a/development/cpan2tgz/cpan2tgz.info
+++ b/development/cpan2tgz/cpan2tgz.info
@@ -1,7 +1,7 @@
PRGNAM="cpan2tgz"
VERSION="0.6.8"
HOMEPAGE="https://software.jaos.org/"
-DOWNLOAD="https://github.com/jaos/cpan2tgz/archive/0.6.8.tar.gz"
+DOWNLOAD="https://github.com/jaos/cpan2tgz/archive/0.6.8/cpan2tgz-0.6.8.tar.gz"
MD5SUM="c43275e910b95ea6f1fe18be328a6430"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/cppcheck/cppcheck.SlackBuild b/development/cppcheck/cppcheck.SlackBuild
index b77f00dccd..92e8f152b7 100644
--- a/development/cppcheck/cppcheck.SlackBuild
+++ b/development/cppcheck/cppcheck.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cgdb
@@ -22,10 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220406 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - make 64x64 icon actually 64x64. wish I'd caught this yesterday.
+# 20220405 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add doinst.sh, because we have icons and a .desktop.
+# - install translations (*.qm) in usr/share/Cppcheck/lang/, not /usr/bin.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cppcheck
-VERSION=${VERSION:-1.76}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.6}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
MAKEMAN=${MAKEMAN:-yes}
@@ -37,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -67,37 +80,48 @@ 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 {} \;
-
-make install \
- CFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG" \
- CXXFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG" \
- SRCDIR=build HAVE_RULES=yes CFGDIR=/usr/share/cppcheck/cfg DESTDIR=$PKG
-
-if [ x"$MAKEMAN" == "xyes" ]; then
- xsltproc \
- --nonet \
- --param man.charmap.use.subset "0" \
- --param make.year.ranges "1" \
- --param make.single.year.ranges "1" \
- --output man/ \
- /etc/asciidoc/docbook-xsl/manpage.xsl \
- man/$PRGNAM.1.xml
- mkdir -p $PKG/usr/man/man1
- gzip -9c man/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-fi
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# 20220406 bkw: these patches from Debian install the translations
+# to the correct /usr/share directory instead of in /usr/bin.
+patch -p1 < $CWD/fix-default-settings.diff
+patch -p1 < $CWD/install-translations-in-filesdir-lang.diff
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_GUI=ON \
+ -DUSE_MATCHCOMPILER=ON \
+ -DHAVE_RULES=ON \
+ ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# 20220406 bkw: the "64x64" icon is really 65x65, overwrite with correct size.
+convert -background none -geometry 64x64! -gravity center \
+ $PKG/usr/share/icons/hicolor/scalable/apps/cppcheck-gui.svg \
+ $PKG/usr/share/icons/hicolor/64x64/apps/cppcheck-gui.png
-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
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING readme.{md,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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cppcheck/cppcheck.info b/development/cppcheck/cppcheck.info
index 140a5bf060..ef0362b186 100644
--- a/development/cppcheck/cppcheck.info
+++ b/development/cppcheck/cppcheck.info
@@ -1,8 +1,8 @@
PRGNAM="cppcheck"
-VERSION="1.76"
+VERSION="2.6"
HOMEPAGE="http://cppcheck.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/cppcheck/files/cppcheck/1.76/cppcheck-1.76.tar.gz"
-MD5SUM="67a141f10e8d49e49bbbeea76e87dfb7"
+DOWNLOAD="https://github.com/danmar/cppcheck/archive/2.6/cppcheck-2.6.tar.gz"
+MD5SUM="11154ab69f88d3f6b275233cd30cb540"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/cppcheck/doinst.sh b/development/cppcheck/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/development/cppcheck/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/cppcheck/fix-default-settings.diff b/development/cppcheck/fix-default-settings.diff
new file mode 100644
index 0000000000..1fa730b543
--- /dev/null
+++ b/development/cppcheck/fix-default-settings.diff
@@ -0,0 +1,30 @@
+Description: Set configuration directory and python version
+Author: Joachim Reichel <reichel@debian.org>
+
+Index: cppcheck/gui/main.cpp
+===================================================================
+--- cppcheck.orig/gui/main.cpp
++++ cppcheck/gui/main.cpp
+@@ -55,6 +55,12 @@ int main(int argc, char *argv[])
+
+ QSettings* settings = new QSettings("Cppcheck", "Cppcheck-GUI", &app);
+
++ // Set some default settings
++ if( settings->value("DATADIR", QString()).toString().isEmpty())
++ settings->setValue("DATADIR", FILESDIR);
++ if( settings->value(SETTINGS_PYTHON_PATH, QString()).toString().isEmpty())
++ settings->setValue(SETTINGS_PYTHON_PATH, QString("/usr/bin/python3"));
++
+ // Set data dir..
+ foreach (const QString arg, app.arguments()) {
+ if (arg.startsWith("--data-dir=")) {
+Index: cppcheck/htmlreport/cppcheck-htmlreport
+===================================================================
+--- cppcheck.orig/htmlreport/cppcheck-htmlreport
++++ cppcheck/htmlreport/cppcheck-htmlreport
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ from __future__ import unicode_literals
+
diff --git a/development/cppcheck/install-translations-in-filesdir-lang.diff b/development/cppcheck/install-translations-in-filesdir-lang.diff
new file mode 100644
index 0000000000..63c7f0d5e8
--- /dev/null
+++ b/development/cppcheck/install-translations-in-filesdir-lang.diff
@@ -0,0 +1,16 @@
+Description: Install the translations in $FILESDIR/lang instead of /usr/bin
+Author: Joachim Reichel <reichel@debian.org>
+
+Index: cppcheck/gui/CMakeLists.txt
+===================================================================
+--- cppcheck.orig/gui/CMakeLists.txt
++++ cppcheck/gui/CMakeLists.txt
+@@ -51,7 +51,7 @@ if (BUILD_GUI)
+ endif()
+
+ install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
+- install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
++ install(FILES ${qms} DESTINATION ${FILESDIR}/lang COMPONENT applications)
+
+ install(FILES cppcheck-gui.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
+
diff --git a/development/cppcms/cppcms.SlackBuild b/development/cppcms/cppcms.SlackBuild
index 62174696c1..73bfb448da 100644
--- a/development/cppcms/cppcms.SlackBuild
+++ b/development/cppcms/cppcms.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cppcms
@@ -23,10 +23,13 @@
# 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=cppcms
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -105,4 +115,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cppdb/cppdb.SlackBuild b/development/cppdb/cppdb.SlackBuild
index 56931c7eb2..9c9437ee0d 100644
--- a/development/cppdb/cppdb.SlackBuild
+++ b/development/cppdb/cppdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cppdb
@@ -23,10 +23,13 @@
# 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=cppdb
VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -92,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cppunit/cppunit.SlackBuild b/development/cppunit/cppunit.SlackBuild
index 91812876e9..3fc2fe8da1 100644
--- a/development/cppunit/cppunit.SlackBuild
+++ b/development/cppunit/cppunit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CppUnit
@@ -22,10 +22,13 @@
# 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=cppunit
VERSION=${VERSION:-1.15.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,18 +38,22 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# Makefile.am handles AUTHORS, BUGS, CodingGuideLines.txt, INSTALL*, doc/FAQ
DOCS="COPYING ChangeLog NEWS README THANKS TODO"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -106,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cproc/README b/development/cproc/README
new file mode 100644
index 0000000000..c7a9e83899
--- /dev/null
+++ b/development/cproc/README
@@ -0,0 +1,14 @@
+cproc (small C11 compiler based on QBE)
+
+cproc is a C11 compiler using QBE as a backend. It is released under
+the ISC license. Some C23 features and GNU C extensions are also
+implemented. There is still much to do, but it currently implements
+most of the language and is capable of building software including
+itself, mcpp, gcc 4.7, binutils, and more.
+
+This doesn't support 32-bit x86. It supports x86_64 (tested) and
+aarch64 (untested; if it doesn't work, send me a patch and I'll
+include it).
+
+The build runs cproc's self-test suite. The results will be saved to:
+ /usr/doc/cproc-$VERSION/check-results.txt
diff --git a/development/cproc/cproc.SlackBuild b/development/cproc/cproc.SlackBuild
new file mode 100644
index 0000000000..ebc551c9df
--- /dev/null
+++ b/development/cproc/cproc.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for cproc
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Note: thought about including mcpp (either in this build
+# or a separate one) so cproc wouldn't have to use gcc's
+# preprocessor. There even used to be a development/mcpp
+# SlackBuild... for Slackware 12.1 (in 2010).
+# However, mcpp looks to be old and unmaintained upstream, and cproc
+# doesn't seem to support using it (would require patching, not gonna
+# do).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cproc
+VERSION=${VERSION:-20230502_0985a78}
+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}
+
+# No need for LIBDIRSUFFIX (nothing gets installed there), can't
+# use regular SLKCFLAGS because they get passed to cproc itself, and
+# it doesn't support -fPIC, -march=, etc. -O2 is allowed, but ignored.
+
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# cproc needs to know the location of the ELF "interpreter" (the
+# runtime linker). The defaults in the configure script are OK for
+# x86_64 but wrong for aarch64. Rather than hardcode anything here,
+# look and see what's in use.
+ELFTERP="$( readelf -p .interp /bin/ls | sed -n '/\.so\./s,.* ,,p' )"
+
+# Non-standard configure (not autoconf). We have to set host and
+# target because otherwise it detects x86_64-slackware-linux, which
+# cproc doesn't support. In theory they could be different, which
+# would give us a cross compiler... but it would require the crt*.o
+# and a binutils for the target platform. Not gonna spend time on
+# that.
+./configure \
+ --host=$ARCH-linux-gnu \
+ --target=$ARCH-linux-gnu \
+ --with-ldso="$ELFTERP" \
+ --prefix=/usr
+
+make bootstrap
+
+# Manual install. It's only 2 binaries and 1 man page.
+# Use the binaries compiled by cproc, not gcc. stage2/ and stage3/ binaries
+# are identical (or else 'make bootstrap' would have failed, above). These
+# are already stripped.
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1
+cp -a stage2/cproc{,-qbe} $PKG/usr/bin
+gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+
+# Self-test can be disabled, if some future version has issues.
+[ "${CHECK:-yes}" = "yes" ] && make check &> $PKGDOC/check-results.txt
+
+cp -a README* LICENSE* doc/* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cproc/cproc.info b/development/cproc/cproc.info
new file mode 100644
index 0000000000..8561768e74
--- /dev/null
+++ b/development/cproc/cproc.info
@@ -0,0 +1,10 @@
+PRGNAM="cproc"
+VERSION="20230502_0985a78"
+HOMEPAGE="https://sr.ht/~mcf/cproc/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/cproc-20230502_0985a78.tar.xz"
+MD5SUM_x86_64="5e6733d2948349948dda78547508f81f"
+REQUIRES="qbe"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/cproc/git2tarxz.sh b/development/cproc/git2tarxz.sh
new file mode 100644
index 0000000000..64644fd987
--- /dev/null
+++ b/development/cproc/git2tarxz.sh
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version number.
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+# Version number example: 20200227_ad7ec17
+
+# Notes:
+
+# Do not use this if you're packaging a release.
+
+# This script doesn't need to be run as root. It does need to be able
+# to write to the current directory it's run from.
+
+# Running this script twice for the same commit will NOT give identical
+# tarballs, even if the contents are identical. This is because tar
+# includes the current time in a newly-created tarball (plus there may
+# be other git-related reasons).
+
+# Once you've generated a tarball, you'll still need a place to host it.
+# Ask on the mailing list, if you don't have your own web server to
+# play with.
+
+## Config:
+# final tarball and slackbuild PRGNAM:
+PRGNAM=cproc
+
+# what it says on the tin:
+CLONE_URL=https://git.sr.ht/~mcf/cproc
+
+## End of config.
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERSION=${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=\"$VERSION\""
+echo "MD5SUM=\"$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )\""
diff --git a/development/cproc/slack-desc b/development/cproc/slack-desc
new file mode 100644
index 0000000000..97617757d9
--- /dev/null
+++ b/development/cproc/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------------------------------------------------------|
+cproc: cproc (small C11 compiler based on QBE)
+cproc:
+cproc: cproc is a C11 compiler using QBE as a backend. It is released under
+cproc: the ISC license. Some C23 features and GNU C extensions are also
+cproc: implemented. There is still much to do, but it currently implements
+cproc: most of the language and is capable of building software including
+cproc: itself, mcpp, gcc 4.7, binutils, and more.
+cproc:
+cproc:
+cproc:
+cproc:
diff --git a/development/cproto/README b/development/cproto/README
new file mode 100644
index 0000000000..9099489a30
--- /dev/null
+++ b/development/cproto/README
@@ -0,0 +1,10 @@
+cproto (generate function prototypes for C code)
+
+Cproto is a program that generates function prototypes and
+variable declarations from C source code. It can also convert
+function definitions between the old style and the ANSI C style.
+This conversion overwrites the original files, so make a backup copy
+of your files in case something goes wrong.
+
+The program isn't confused by complex function definitions as much as
+other prototype generators because it uses a yacc generated parser.
diff --git a/development/cproto/cproto.SlackBuild b/development/cproto/cproto.SlackBuild
new file mode 100644
index 0000000000..9778b0791c
--- /dev/null
+++ b/development/cproto/cproto.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+# Slackware build script for cproto
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230309 bkw: update for v4.7v.
+# 20230102 bkw: update for v4.7u.
+# 20211129 bkw: update for v4.7t.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cproto
+VERSION=${VERSION:-4.7v}
+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.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+CFLAGS="$SLKCFLAGS -Wl,-s" \
+CXXFLAGS="$SLKCFLAGS -Wl,-s" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --enable-llib \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cproto/cproto.info b/development/cproto/cproto.info
new file mode 100644
index 0000000000..681c31225b
--- /dev/null
+++ b/development/cproto/cproto.info
@@ -0,0 +1,10 @@
+PRGNAM="cproto"
+VERSION="4.7v"
+HOMEPAGE="https://invisible-island.net/cproto/"
+DOWNLOAD="https://invisible-mirror.net/archives/cproto/cproto-4.7v.tgz"
+MD5SUM="2f48717d83c948b94105f759278c17c2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/cproto/slack-desc b/development/cproto/slack-desc
new file mode 100644
index 0000000000..d59bec28ed
--- /dev/null
+++ b/development/cproto/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------------------------------------------------------|
+cproto: cproto (generate function prototypes for C code)
+cproto:
+cproto: Cproto is a program that generates function prototypes and
+cproto: variable declarations from C source code. It can also convert
+cproto: function definitions between the old style and the ANSI C style.
+cproto: This conversion overwrites the original files, so make a backup copy
+cproto: of your files in case something goes wrong.
+cproto:
+cproto:
+cproto:
+cproto:
diff --git a/development/cream/cream.SlackBuild b/development/cream/cream.SlackBuild
index c98003456a..5c0e8da05e 100644
--- a/development/cream/cream.SlackBuild
+++ b/development/cream/cream.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cream
@@ -22,13 +22,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220405 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - put icons in right place.
+# - update icon cache in doinst.sh.
+# - fix .desktop permissions.
+# - make .desktop validate.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cream
VERSION=${VERSION:-0.43}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -44,9 +57,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Set VIMRUNTIME here, as the INSTALL.sh script has some problems with
# redirection of output
@@ -58,6 +71,22 @@ sed -i "s/-d \$VIMRUNTIME/! -d \$VIMRUNTIME/g" INSTALL.sh
DESTDIR=$PKG \
sh INSTALL.sh /usr
+# 20220405 bkw: put the icons in the right place.
+I=$PKG/usr/share/icons
+mkdir -p $I/hicolor/{48x48,scalable}/apps
+mv $I/$PRGNAM.png $I/hicolor/48x48/apps
+mv $I/$PRGNAM.svg $I/hicolor/scalable/apps
+
+# 20220405 bkw: fix .desktop permission and contents.
+D=$PKG/usr/share/applications/$PRGNAM.desktop
+chmod 0644 $D
+sed -i -e '/^Encoding/d' \
+ -e '/^MapNotify/d' \
+ -e '/^Terminal/s,0,false,' \
+ -e 's,^XClassHintResName,X-&,' \
+ -e 's,Application;,,' \
+ $D
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
docs/* docs-html/ \
@@ -69,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cream/doinst.sh b/development/cream/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/development/cream/doinst.sh
+++ b/development/cream/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/critcl/README b/development/critcl/README
new file mode 100644
index 0000000000..451608d925
--- /dev/null
+++ b/development/critcl/README
@@ -0,0 +1,9 @@
+The C Runtime In Tcl is a self-contained package to build C code
+into an extension on the fly. It is somewhat inspired by Brian
+Ingerson's Inline for Perl, but Critcl is considerably more
+lightweight.
+The idea is to wrap C code into something that will compile into a
+Tcl extension, and then also fire up the compiler. Compiled chunks
+will be cached in your ~/.critcl/ directory, so subsequent use will
+be instant.
+
diff --git a/development/critcl/critcl.SlackBuild b/development/critcl/critcl.SlackBuild
new file mode 100644
index 0000000000..184bd96d00
--- /dev/null
+++ b/development/critcl/critcl.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for critcl
+
+# Copyright 2023 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=critcl
+VERSION=${VERSION:-3.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=x86_64 ;;
+ 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 {} \;
+
+tclsh build.tcl install \
+ --dest-dir $PKG \
+ --prefix /usr \
+ --lib-dir /usr/lib${LIBDIRSUFFIX}
+
+mkdir -p $PKG/usr/man
+tclsh build.tcl doc
+mv embedded/man/files $PKG/usr/man/mann
+for i in $PKG/usr/man/mann/*.n; do gzip -9 $i; done;
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md TODO.txt license.terms examples \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/critcl/critcl.info b/development/critcl/critcl.info
new file mode 100644
index 0000000000..28c9e90842
--- /dev/null
+++ b/development/critcl/critcl.info
@@ -0,0 +1,10 @@
+PRGNAM="critcl"
+VERSION="3.2"
+HOMEPAGE="https://andreas-kupries.github.io/critcl"
+DOWNLOAD="https://github.com/andreas-kupries/critcl/archive/refs/tags/3.2/critcl-3.2.tar.gz"
+MD5SUM="7979b64f6c29f66163feeaca39182cd4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="tcllib"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/critcl/slack-desc b/development/critcl/slack-desc
new file mode 100644
index 0000000000..80ef9de6a3
--- /dev/null
+++ b/development/critcl/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------------------------------------------------------|
+critcl: critcl (C Runtime In Tcl)
+critcl:
+critcl: critcl is a system that lets you build C/C++ extension packages for
+critcl: Tcl on the fly, from C/C++ code embedeed within your Tcl scripts.
+critcl:
+critcl:
+critcl:
+critcl:
+critcl:
+critcl: For more information see: https://andreas-kupries.github.io/critcl
+critcl:
diff --git a/development/crosstool-ng/crosstool-ng.SlackBuild b/development/crosstool-ng/crosstool-ng.SlackBuild
index af595cfed3..c1552422e0 100644
--- a/development/crosstool-ng/crosstool-ng.SlackBuild
+++ b/development/crosstool-ng/crosstool-ng.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for crosstool-ng
-# Copyright 2013-2019 Christoph Willing, Australia
+# Copyright 2013-2023 Christoph Willing, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# 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=crosstool-ng
-VERSION=${VERSION:-1.24.0}
+VERSION=${VERSION:-1.26.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -97,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/crosstool-ng/crosstool-ng.info b/development/crosstool-ng/crosstool-ng.info
index 0602c5db71..0f82de02c8 100644
--- a/development/crosstool-ng/crosstool-ng.info
+++ b/development/crosstool-ng/crosstool-ng.info
@@ -1,8 +1,8 @@
PRGNAM="crosstool-ng"
-VERSION="1.24.0"
+VERSION="1.26.0"
HOMEPAGE="http://crosstool-ng.org"
-DOWNLOAD="http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.24.0.tar.xz"
-MD5SUM="c732cc7e50d80f033f9985f85aa30bea"
+DOWNLOAD="http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.26.0.tar.xz"
+MD5SUM="532e12d4e49c19af125d017f74358691"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/crystal-lang/crystal-lang.SlackBuild b/development/crystal-lang/crystal-lang.SlackBuild
index 947ae0bb9c..3ae0ac49a6 100644
--- a/development/crystal-lang/crystal-lang.SlackBuild
+++ b/development/crystal-lang/crystal-lang.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for crystal-lang
@@ -22,11 +22,15 @@
# 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=crystal-lang
BIN=crystal
VERSION=${VERSION:-0.34.0}
BUILD=${BUILD:-1}
+SRCBUILD=${SRCBUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,23 +39,27 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
+if [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ echo "$ARCH is unsupported."
+ exit 1
fi
set -e
@@ -60,8 +68,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $PKG/usr $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$BIN-$VERSION-$BUILD-linux-$ARCH.tar.gz
-mv $BIN-$VERSION-$BUILD $PRGNAM-$VERSION
+tar xvf $CWD/$BIN-$VERSION-$SRCBUILD-linux-$ARCH.tar.gz
+mv $BIN-$VERSION-$SRCBUILD $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -92,4 +100,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/csmith/README b/development/csmith/README
new file mode 100644
index 0000000000..c244b3c26b
--- /dev/null
+++ b/development/csmith/README
@@ -0,0 +1,12 @@
+csmith (generates random C programs)
+
+Csmith is a random generator of C programs. Its primary purpose is to
+find compiler bugs with random programs, using differential testing as
+the test oracle. Csmith outputs C programs free of undefined behaviors
+(believe us, that's not trivial), and the statistics of each generated
+program (as comments at the end of the code).
+
+It is useful for stress-testing compilers, static analyzers, and other
+tools that process C code. Csmith has found bugs in every tool that
+it has tested, and has been used to find and report more than 400
+previously unknown compiler bugs.
diff --git a/development/csmith/compiler_test.diff b/development/csmith/compiler_test.diff
new file mode 100644
index 0000000000..5351e2f4c3
--- /dev/null
+++ b/development/csmith/compiler_test.diff
@@ -0,0 +1,320 @@
+diff -Naur csmith-csmith-2.3.0/scripts/compiler_test.pl csmith-csmith-2.3.0.patched/scripts/compiler_test.pl
+--- csmith-csmith-2.3.0/scripts/compiler_test.pl 2017-06-21 16:50:24.000000000 -0400
++++ csmith-csmith-2.3.0.patched/scripts/compiler_test.pl 2023-06-10 17:08:54.342868470 -0400
+@@ -29,7 +29,7 @@
+
+ #################################################################
+
+-use strict;
++use strict;
+ use File::stat;
+
+ #################################################################
+@@ -39,7 +39,7 @@
+ my $MIN_PROGRAM_SIZE = 8000;
+
+ # kill Csmith after this many seconds
+-my $CSMITH_TIMEOUT = 90;
++my $CSMITH_TIMEOUT = 90;
+
+ # kill a compiler after this many seconds
+ my $COMPILER_TIMEOUT = 120;
+@@ -48,7 +48,7 @@
+ my $PROG_TIMEOUT = 8;
+
+ # extra options here
+-my $CSMITH_USER_OPTIONS = " --bitfields --packed-struct";
++my $CSMITH_USER_OPTIONS = " --bitfields --packed-struct";
+
+ ################# end user-configurable stuff ###################
+ #################################################################
+@@ -56,7 +56,7 @@
+ #################################################################
+ # TODO
+ #
+-# - make it easy to plugin an emulator for testing embedded compilers
++# - make it easy to plugin an emulator for testing embedded compilers
+ # - automatically fire up a reducer when a bug is found
+ # - support "reference compilers" that supply checksums but that we're
+ # not testing
+@@ -66,14 +66,13 @@
+
+ my $RUN_PROGRAM = 0;
+
+-my $CSMITH_HOME = $ENV{"CSMITH_HOME"};
+-my $good = 0;
++my $good = 0;
+ my $crash_bug = 0;
+ my $wrongcode_bug = 0;
+ my $csmith_bug = 0;
+
+-my $HEADER = "-I$CSMITH_HOME/runtime";
+-my $CYGWIN_HEADER = "-I`cygpath -d ${CSMITH_HOME}/runtime`";
++my $HEADER = "-I/usr/include/csmith";
++my $CYGWIN_HEADER = "-I`cygpath -d /usr/include/csmith`";
+ my $COMPILE_OPTIONS = "";
+ my @COMPILERS;
+
+@@ -81,11 +80,11 @@
+ my ($fn, $match) = @_;
+ open INF, "<$fn" or die;
+ while (my $line = <INF>) {
+- $line =~ s/\r?\n?$//; # get rid of LF/CR
++ $line =~ s/\r?\n?$//; # get rid of LF/CR
+ if ($line =~ /$match/) {
+ close INF;
+ return $1;
+- }
++ }
+ }
+ close INF;
+ return "";
+@@ -100,14 +99,14 @@
+
+ # properly parse the return value from system()
+ sub runit ($$$) {
+- my ($cmd, $timeout, $out) = @_;
++ my ($cmd, $timeout, $out) = @_;
+ my $res;
+ if ($RUN_PROGRAM) {
+ $res = system "timeout $timeout $cmd > $out 2>&1";
+ } else {
+ $res = system "$cmd > $out 2>&1";
+ }
+- my $success = 0;
++ my $success = 0;
+ if ($? == -1) {
+ print "can't execute $cmd\n";
+ }
+@@ -129,36 +128,36 @@
+ }
+
+ # compile a program and execute
+-# return code 0: normal;
+-# 1: compiler crashes;
+-# 2: compiler hangs;
+-# 3: executable crashes;
++# return code 0: normal;
++# 1: compiler crashes;
++# 2: compiler hangs;
++# 3: executable crashes;
+ # 4: executable hangs
+ sub compile_and_run($$$$) {
+- my ($compiler, $src_file, $exe, $out) = @_;
+- my $command = "$compiler $src_file $COMPILE_OPTIONS $HEADER -o $exe";
++ my ($compiler, $src_file, $exe, $out) = @_;
++ my $command = "$compiler $src_file $COMPILE_OPTIONS $HEADER -o $exe";
+
+ my @a = split(" ", $compiler);
+ # special treatment of MS compiler: convert header path to unix-style
+ if ($a[0] =~ /cl$/) {
+- $command = "$compiler $src_file $COMPILE_OPTIONS $CYGWIN_HEADER -o $exe";
+- }
++ $command = "$compiler $src_file $COMPILE_OPTIONS $CYGWIN_HEADER -o $exe";
++ }
+
+ # compile random program
+- my ($res, $exit_value) = runit($command, $COMPILER_TIMEOUT, "compiler.out");
++ my ($res, $exit_value) = runit($command, $COMPILER_TIMEOUT, "compiler.out");
+ # print "after run compiler: $res, $exit_value\n";
+ if (($res == 0) || (!(-e $exe))) {
+ # exit code 124 means time out
+- return ($exit_value == 124 ? 2 : 1);
++ return ($exit_value == 124 ? 2 : 1);
+ }
+
+- # run random program
++ # run random program
+ if ($RUN_PROGRAM) {
+ ($res, $exit_value) = runit("./$exe", $PROG_TIMEOUT, $out);
+ # print "after run program: $res, $exit_value\n";
+ if (($res == 0) || (!(-e $out))) {
+ # exit code 124 means time out
+- return ($exit_value == 124 ? 4 : 3);
++ return ($exit_value == 124 ? 4 : 3);
+ }
+ }
+ return 0;
+@@ -169,35 +168,35 @@
+ # -1: hangs (not interesting)
+ # 0: normal, but found no compiler error (not interesting)
+ # 1: found compiler crash error(s)
+-# 2: found compiler wrong code error(s)
++# 2: found compiler wrong code error(s)
+ sub evaluate_program ($) {
+- my ($test_file) = @_;
++ my ($test_file) = @_;
+ my @checksums;
+- my @tested_compilers;
++ my @tested_compilers;
+ my $interesting = 0;
+- my $i = 0;
+- foreach my $compiler (@COMPILERS) {
++ my $i = 0;
++ foreach my $compiler (@COMPILERS) {
+ my $out = "out$i.log";
+ my $exe = "a.out$i";
+- $i++;
++ $i++;
+ my $res = compile_and_run($compiler, $test_file, $exe, $out);
+
+ if ($res) {
+- if ($res == 1 || $res == 2) {
+- write_bug_desc_to_file($test_file,
+- "Compiler error! Can't compile with $compiler $COMPILE_OPTIONS $HEADER");
++ if ($res == 1 || $res == 2) {
++ write_bug_desc_to_file($test_file,
++ "Compiler error! Can't compile with $compiler $COMPILE_OPTIONS $HEADER");
+ $interesting = 1;
+ }
+- elsif ($res == 3) {
+- write_bug_desc_to_file($test_file, "random program crashed!");
++ elsif ($res == 3) {
++ write_bug_desc_to_file($test_file, "random program crashed!");
+ # random program crashes, a likely wrong-code bug, but
+ # can't rule out the probablity of a Csmith bug
+- $interesting = -2;
++ $interesting = -2;
+ last;
+ } else {
+- print "random program hangs!\n";
++ print "random program hangs!\n";
+ # program hangs, not interesting
+- $interesting = -1;
++ $interesting = -1;
+ last;
+ }
+ }
+@@ -205,23 +204,23 @@
+ if ($RUN_PROGRAM) {
+ die "cannot find $out.\n" if (!(-e $out));
+ my $sum = read_value_from_file($out, "checksum = (.*)");
+- $interesting = 2 if
+- (scalar(@checksums) > 0 && $sum ne $checksums[0]);
++ $interesting = 2 if
++ (scalar(@checksums) > 0 && $sum ne $checksums[0]);
+ push @checksums, $sum;
+ push @tested_compilers, "$compiler $COMPILE_OPTIONS";
+- }
++ }
+ }
+- }
++ }
+ if ($interesting >= 1) {
+- if ($interesting == 2) {
+- write_bug_desc_to_file ($test_file,
+- "Found checksum difference between compiler implementations");
++ if ($interesting == 2) {
++ write_bug_desc_to_file ($test_file,
++ "Found checksum difference between compiler implementations");
+ for (my $i=0; $i < scalar (@checksums); $i++) {
+- write_bug_desc_to_file ($test_file,
++ write_bug_desc_to_file ($test_file,
+ "$tested_compilers[$i]: $checksums[$i]");
+ }
+ }
+- write_bug_desc_to_file($test_file,
++ write_bug_desc_to_file($test_file,
+ "please refer to http://embed.cs.utah.edu/csmith/using.html on how to report a bug");
+ }
+ system "rm -f out*.log a.out* test*.obj compiler.out csmith.out";
+@@ -237,30 +236,30 @@
+ # run Csmith until generate a big enough program
+ while (1) {
+ unlink $cfile;
+- my $cmd = "$CSMITH_HOME/src/csmith $CSMITH_USER_OPTIONS --output $cfile";
+- my ($res, $exitcode) = runit($cmd, $CSMITH_TIMEOUT, "csmith.out");
++ my $cmd = "csmith $CSMITH_USER_OPTIONS --output $cfile";
++ my ($res, $exitcode) = runit($cmd, $CSMITH_TIMEOUT, "csmith.out");
+ # print "after run csmith: $res, $exitcode\n";
+-
+- $seed = read_value_from_file($cfile, "Seed:\\s+([0-9]+)");
+- die "Random program $cfile has no seed information!\n" if (!$seed);
++
++ $seed = read_value_from_file($cfile, "Seed:\\s+([0-9]+)");
++ die "Random program $cfile has no seed information!\n" if (!$seed);
+
+ if ($res == 0) {
+ print "CSMITH BUG FOUND: number $csmith_bug\n";
+ $csmith_bug++;
+- system "cp $cfile csmith_bug_${csmith_bug}.c";
+- next;
++ system "cp $cfile csmith_bug_${csmith_bug}.c";
++ next;
+ }
+- else {
++ else {
+ $filesize = stat("$cfile")->size;
+- # print "$cfile is $filesize bytes\n";
++ # print "$cfile is $filesize bytes\n";
+ last if ($filesize >= $MIN_PROGRAM_SIZE);
+ }
+ }
+
+ print "seed= $seed, size= $filesize\n";
+-
++
+ # test if the random program is interesting
+- my $ret = evaluate_program($cfile);
++ my $ret = evaluate_program($cfile);
+ if ($ret >= 0) {
+ $good++;
+ print "GOOD PROGRAM: number $good\n";
+@@ -273,27 +272,21 @@
+ print "LIKELY WRONG CODE ERROR FOUND: number $wrongcode_bug\n";
+ $wrongcode_bug++;
+ system "cp $cfile wrong${wrongcode_bug}.c";
+- }
+- } else {
++ }
++ } else {
+ print "BAD PROGRAM: doesn't count towards goal.\n";
+- }
++ }
+ unlink $cfile;
+ return $ret;
+ }
+
+ sub usage () {
+- print "usage: compiler_test.pl <test_case_count>(0 for unlimited) <config-file>\n";
++ print "usage: compiler_test <test_case_count>(0 for unlimited) <config-file>\n";
+ exit -1;
+ }
+
+ ########################### main ##################################
+
+-if (!(-f "$CSMITH_HOME/runtime/csmith.h")) {
+- print "Please point the environment variable CSMITH_HOME to the top-level\n";
+- print "directory of your Csmith tree before running this script.\n";
+- exit(-1);
+-}
+-
+ my $nargs = scalar(@ARGV);
+
+ if ($nargs == 2) {
+@@ -323,12 +316,12 @@
+ open INF, "<$infile" or die "Cannot read configuration file ${infile}.\n";
+ while (my $line = <INF>) {
+ chomp $line;
+- if ($line && !($line =~ /^\s*#/)) {
+- my $res = system ("echo \"int main() { return 0;}\" > foo.c ; $line foo.c > /dev/null 2>&1");
++ if ($line && !($line =~ /^\s*#/)) {
++ my $res = system ("echo \"int main() { return 0;}\" > foo.c ; $line foo.c > /dev/null 2>&1");
+ unlink "foo.c", "a.out";
+- die "cannot execute compiler $line\n" if ($res);
++ die "cannot execute compiler $line\n" if ($res);
+ push @COMPILERS, $line;
+- }
++ }
+ }
+ close INF;
+
+@@ -339,7 +332,7 @@
+ $i++;
+ }
+ print "\n";
+-}
++}
+
+ print "Total csmith errors found: $csmith_bug\n";
+ print "Total crash errors found: $crash_bug\n";
diff --git a/development/csmith/csmith.SlackBuild b/development/csmith/csmith.SlackBuild
new file mode 100644
index 0000000000..9655514b23
--- /dev/null
+++ b/development/csmith/csmith.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for csmith
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Package layout based on (but not identical to) the Debian packages. As
+# usual, they break it up into 3 packages:
+# https://packages.debian.org/sid/csmith
+# https://packages.debian.org/sid/libcsmith0
+# https://packages.debian.org/sid/libcsmith-dev
+
+## TODO: man pages. or not...
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=csmith
+VERSION=${VERSION:-2.3.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+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-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$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 {} +
+
+# Fix the compiler_test and launchn scripts to use a system-wide install.
+# Also remove the perl-Sys-CPU dependency in launchn (just call `nproc`
+# to get the # of cores).
+patch -p1 < $CWD/compiler_test.diff
+patch -p1 < $CWD/launchn.diff
+
+# Don't see a way to override this on the cmake command line:
+sed -i "/(LIB_DIR/s,/lib,/lib$LIBDIRSUFFIX," runtime/CMakeLists.txt
+
+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 ..
+
+# Cleanup on aisle six!
+# Nothing in $PKG/usr/share except doc (we make our own doc dir, below).
+# No way to disable the static lib, so rm it.
+# Somehow the binary's immune to 'install/strip' (though the shared lib ain't).
+strip $PKG/usr/bin/$PRGNAM
+rm -rf $PKG/usr/lib*/*.a $PKG/usr/share
+
+# Rename this stuff to match the Debian package.
+rename .pl '' $PKG/usr/bin/*.pl
+mv $PKG/usr/include/$PRGNAM-$VERSION $PKG/usr/include/$PRGNAM
+
+# The original site is down currently, use a working URL here:
+( source $CWD/$PRGNAM.info
+ sed -i "s,http://embed\.cs.*,$HOMEPAGE," README )
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a doc/{pa,probabilities}.txt \
+ AUTHORS BUGS_REPORTED.TXT COPYING \
+ ChangeLog NEWS README TODO \
+ $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# Debian doesn't package the sample config, but it seems like a good idea.
+CONF=$PKGDOC/compiler_test.conf.sample
+mv $PKG/usr/bin/compiler_test.in $CONF
+chmod 644 $CONF
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/csmith/csmith.info b/development/csmith/csmith.info
new file mode 100644
index 0000000000..298fcb017f
--- /dev/null
+++ b/development/csmith/csmith.info
@@ -0,0 +1,10 @@
+PRGNAM="csmith"
+VERSION="2.3.0"
+HOMEPAGE="http://web.archive.org/web/20230323203147/http://embed.cs.utah.edu/csmith/"
+DOWNLOAD="https://github.com/csmith-project/csmith/archive/csmith-2.3.0/csmith-csmith-2.3.0.tar.gz"
+MD5SUM="1749ba1d7938b6dc1ba984bf61e7679f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/csmith/launchn.diff b/development/csmith/launchn.diff
new file mode 100644
index 0000000000..e7781b212a
--- /dev/null
+++ b/development/csmith/launchn.diff
@@ -0,0 +1,42 @@
+diff -Naur csmith-csmith-2.3.0/scripts/launchn.pl csmith-csmith-2.3.0.patched/scripts/launchn.pl
+--- csmith-csmith-2.3.0/scripts/launchn.pl 2017-06-21 16:50:24.000000000 -0400
++++ csmith-csmith-2.3.0.patched/scripts/launchn.pl 2023-06-10 17:14:02.157839502 -0400
+@@ -30,32 +30,31 @@
+ ###############################################################################
+
+ # This script illustrates how to run compiler_test.pl in parallel on multi-core machines. Please make sure
+-# these processes are terminated at the end of your testing
++# these processes are terminated at the end of your testing
+
+ #!/usr/bin/perl -w
+ use strict;
+ use warnings;
+-use Sys::CPU;
+
+ sub usage () {
+- die "usage: launchn.pl <config-file>\n";
++ die "usage: launchn <config-file>\n";
+ }
+
+ my $CONFIG_FILE = "";
+-my $CPUS = Sys::CPU::cpu_count();
++chomp (my $CPUS = `nproc`);
+
+ if (scalar (@ARGV) != 1 || !(-e $ARGV[0]) ) {
+ usage();
+-}
++}
+ print "looks like we have $CPUS cpus\n";
+
+-$CONFIG_FILE = $ARGV[0];
++chomp ($CONFIG_FILE = `realpath $ARGV[0]`);
+ for (my $i=0; $i<$CPUS; $i++) {
+ my $dir = "work$i";
+ system "rm -rf $dir";
+ system "mkdir $dir";
+ chdir $dir;
+- system "nice -19 nohup ../compiler_test.pl 0 ../$CONFIG_FILE > output.txt 2>&1 &";
++ system "nice -19 nohup compiler_test 0 $CONFIG_FILE > output.txt 2>&1 &";
+ print "start working in $dir\n";
+ chdir "..";
+ }
diff --git a/development/csmith/slack-desc b/development/csmith/slack-desc
new file mode 100644
index 0000000000..88c9b7d51e
--- /dev/null
+++ b/development/csmith/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------------------------------------------------------|
+csmith: csmith (generates random C programs)
+csmith:
+csmith: Csmith is a random generator of C programs. Its primary purpose is to
+csmith: find compiler bugs with random programs, using differential testing as
+csmith: the test oracle. Csmith outputs C programs free of undefined behaviors
+csmith: (believe us, that's not trivial), and the statistics of each generated
+csmith: program.
+csmith:
+csmith:
+csmith:
+csmith:
diff --git a/development/cudatoolkit/cudatoolkit.SlackBuild b/development/cudatoolkit/cudatoolkit.SlackBuild
index f6b3a86266..61efdddb03 100644
--- a/development/cudatoolkit/cudatoolkit.SlackBuild
+++ b/development/cudatoolkit/cudatoolkit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CUDA Toolkit
@@ -22,41 +22,54 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 2023-05-16 DW
+# Removed LIBDIRSUFFIX and made 'lib64' hard-coded as we're 64bit only
+# Simplified/moved ARCH parts
+# Moved broken symlinks out of doinst.sh to slackbuild
+# NOTE download page shows newer version available, but all file and
+# subdirectory locations have changed
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cudatoolkit
FILENAME=cuda
VERSION=${VERSION:-10.2.89}
DRIVER=${DRIVER:-440.33.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
-case "$( uname -m )" in
- i?86) ARCH=i386 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
-esac
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH architecture is unsupported." >/dev/stderr
+ exit 1
+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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- printf "\n\n$ARCH is not supported... \n"
- exit 1
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
-chmod +x $CWD/$FILENAME\_$VERSION\_$DRIVER\_linux.run
+# 20220127 bkw: it wasn't necessary to chmod +x the .run file. Plus,
+# SlackBuilds should *never* write to $CWD.
sh $CWD/$FILENAME\_$VERSION\_$DRIVER\_linux.run --target $PRGNAM-$VERSION --noexec
mkdir -p $PKG/usr/share
@@ -64,14 +77,9 @@ cd $PRGNAM-$VERSION/builds
cp -r cuda-toolkit "$PKG/usr/share/cuda"
cp -r cublas/include/* "$PKG/usr/share/cuda/include/"
mkdir -p $PKG/usr/lib64
-cp -r cublas/lib64/* "$PKG/usr/lib$LIBDIRSUFFIX/"
+cp -r cublas/lib64/* "$PKG/usr/lib64/"
cp -r cuda-samples "$PKG/usr/share/cuda/samples"
-# Define compilers for CUDA to use.
-# This allows us to use older versions of GCC if we have to.
-# ln -s /usr/bin/gcc-8 "${PKG}/usr/share/cuda/bin/gcc"
-# ln -s /usr/bin/g++-8 "${PKG}/usr/share/cuda/bin/g++"
-
# Put man in the standard place
mv $PKG/usr/share/cuda/doc/man $PKG/usr/
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -88,18 +96,18 @@ find cuda-toolkit/targets -type f -name '*.so*' ! -path '*stubs/*' -print0 | whi
_base=${_lib%.so.*}
_current_soname=$(basename ${_lib%.*})
while [[ $_current_soname != $(basename $_base) ]]; do
- ln -sf ${_lib##*/} ${PKG}/usr/share/cuda/lib$LIBDIRSUFFIX/$_current_soname
+ ln -sf ${_lib##*/} ${PKG}/usr/share/cuda/lib64/$_current_soname
_current_soname=${_current_soname%.*}
done
done
-# Install profile and ld.so.config files
-install -Dm755 "${CWD}/files/cuda.sh" "${PKG}/etc/profile.d/cuda.sh"
-install -Dm755 "${CWD}/files/cuda.csh" "${PKG}/etc/profile.d/cuda.csh"
+# Install profiles
+install -D -m 755 "${CWD}/files/cuda.sh" "${PKG}/etc/profile.d/cuda.sh"
+install -D -m 755 "${CWD}/files/cuda.csh" "${PKG}/etc/profile.d/cuda.csh"
# Install pkgconfig files
-mkdir -p "$PKG"/usr/lib${LIBDIRSUFFIX}/pkgconfig
-cp "${CWD}"/files/*.pc "${PKG}"/usr/lib${LIBDIRSUFFIX}/pkgconfig
+mkdir -p "$PKG"/usr/lib64/pkgconfig
+cp "${CWD}"/files/*.pc "${PKG}"/usr/lib64/pkgconfig
# Remove included copy of java and link to system java 8
rm -fr "${PKG}/usr/share/cuda/jre"
@@ -119,13 +127,13 @@ for f in $(find "$PKG"/usr/share/cuda -name Makefile); do
done
# Put libraries in the standard place
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-mv -fn $PKG/usr/share/cuda/targets/x86_64-linux/lib/* $PKG/usr/lib${LIBDIRSUFFIX}/
+mkdir -p $PKG/usr/lib64
+mv -fn $PKG/usr/share/cuda/targets/x86_64-linux/lib/* $PKG/usr/lib64/
rm -rf $PKG/usr/share/cuda/targets/x86_64-linux/lib
cd $PKG/usr/share/cuda
-ln -sf ../../lib${LIBDIRSUFFIX} lib${LIBDIRSUFFIX}
+ln -sf ../../lib64 lib64
-# Register application NVVP and NSIGHT
+# Register application NVVP and NSIGHT
mkdir -p $PKG/usr/share/applications
cp $CWD/files/*.desktop $PKG/usr/share/applications
@@ -133,17 +141,24 @@ cp $CWD/files/*.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/include
mv -fn $PKG/usr/share/cuda/targets/x86_64-linux/include/* $PKG/usr/include/
rm -rf $PKG/usr/share/cuda/targets/x86_64-linux/include
-cd $PKG/usr/share/cuda/
-ln -sf ../../include include
+( cd $PKG/usr/share/cuda/ ; ln -sf ../../include include )
+find $PKG/usr/include -type f | xargs chmod -c 0644
+
+# DW: moved here from doinst.sh. Link to 15.0 gcc
+(
+ cd $PKG/usr/share/cuda/bin/
+ ln -sf /usr/bin/gcc-11.2.0 gcc
+ ln -sf /usr/bin/g++-gcc-11.2.0 g++
+)
rm -rf $PKG/usr/share/cuda/targets
# These are already in the nvidia-driver package
-rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libOpenCL.s*
+rm -f $PKG/usr/lib64/libOpenCL.s*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cudatoolkit/cudatoolkit.info b/development/cudatoolkit/cudatoolkit.info
index a2048453cb..f846b402d8 100644
--- a/development/cudatoolkit/cudatoolkit.info
+++ b/development/cudatoolkit/cudatoolkit.info
@@ -3,8 +3,8 @@ VERSION="10.2.89"
HOMEPAGE="https://developer.nvidia.com/cuda-toolkit"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run"
+DOWNLOAD_x86_64="https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run"
MD5SUM_x86_64="3d816c583759efa8567a92c1a2af90db"
-REQUIRES="nvidia-driver openjdk8"
+REQUIRES="nvidia-driver zulu-openjdk8"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/development/cudatoolkit/doinst.sh b/development/cudatoolkit/doinst.sh
index ec40b576fe..98a8e99da0 100644
--- a/development/cudatoolkit/doinst.sh
+++ b/development/cudatoolkit/doinst.sh
@@ -1,3 +1,10 @@
-# install GCC 6 and link the compiler in cuda bin folder
-ln -sf usr/bin/gcc-6 usr/share/cuda/bin/gcc
-ln -sf usr/bin/g++-6 usr/share/cuda/bin/g++
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+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/development/cudnn/cudnn.SlackBuild b/development/cudnn/cudnn.SlackBuild
index 248450a15b..a4b575feed 100644
--- a/development/cudnn/cudnn.SlackBuild
+++ b/development/cudnn/cudnn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cudnn
@@ -22,10 +22,13 @@
# 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=cudnn
VERSION=${VERSION:-v5.1_8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
CUDNN_VERSION=${VERSION%_*}
CUDA_VERSION=${VERSION#*_}
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -92,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cunit/cunit.SlackBuild b/development/cunit/cunit.SlackBuild
index 2591826f51..5b0014d755 100644
--- a/development/cunit/cunit.SlackBuild
+++ b/development/cunit/cunit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CUnit
@@ -22,11 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=CUnit
+# 20220405 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - install HTML docs in proper doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cunit
+SRCNAM=CUnit
VERSION=${VERSION:-2.1_3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$(echo $VERSION | tr _ -)
@@ -38,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -68,9 +78,9 @@ cd $SRCNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
libtoolize --force --copy
aclocal
@@ -98,13 +108,16 @@ mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/doc/$SRCNAM $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog NEWS README TODO \
$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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/curlpp/README b/development/curlpp/README
deleted file mode 100644
index 119f3a261c..0000000000
--- a/development/curlpp/README
+++ /dev/null
@@ -1 +0,0 @@
-cURLpp is a C++ wrapper for libcURL
diff --git a/development/curlpp/curlpp.SlackBuild b/development/curlpp/curlpp.SlackBuild
deleted file mode 100644
index 222402b737..0000000000
--- a/development/curlpp/curlpp.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for curlpp
-# Copyright 2014 Asaf Ohayon
-# 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.
-
-PRGNAM=curlpp
-VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install 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 doc/* $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:-tgz}
diff --git a/development/curlpp/curlpp.info b/development/curlpp/curlpp.info
deleted file mode 100644
index e4602de13a..0000000000
--- a/development/curlpp/curlpp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="curlpp"
-VERSION="0.8.1"
-HOMEPAGE="http://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="Asaf Ohayon"
-EMAIL="asaf@hadasa-oss.net"
diff --git a/development/curlpp/slack-desc b/development/curlpp/slack-desc
deleted file mode 100644
index cd91b8d42e..0000000000
--- a/development/curlpp/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------------------------------------------------------|
-curlpp: curlpp (C++ wrapper for libcURL)
-curlpp:
-curlpp: cURLpp is a C++ wrapper for libcURL
-curlpp:
-curlpp:
-curlpp: Project URL: http://www.curlpp.org/
-curlpp:
-curlpp:
-curlpp:
-curlpp:
-curlpp:
diff --git a/development/cutter/README b/development/cutter/README
new file mode 100644
index 0000000000..145e0f26b7
--- /dev/null
+++ b/development/cutter/README
@@ -0,0 +1,4 @@
+Cutter is a free and open-source reverse engineering platform powered by
+rizin. It aims at being an advanced and customizable reverse engineering
+platform while keeping the user experience in mind. Cutter is created by
+reverse engineers for reverse engineers.
diff --git a/development/cutter/cutter.SlackBuild b/development/cutter/cutter.SlackBuild
new file mode 100644
index 0000000000..0277660ca1
--- /dev/null
+++ b/development/cutter/cutter.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for cutter
+
+# Copyright 2023 Christopher Luck Orlando, FL
+# 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=cutter
+SRCNAM=Cutter
+VERSION=${VERSION:-v2.3.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ aarch64) ARCH=aarch64 ;;
+ *) 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 $SRCNAM-$VERSION
+tar zxf $CWD/$SRCNAM-$VERSION-src.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 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCUTTER_USE_BUNDLED_RIZIN=OFF \
+ -DCUTTER_ENABLE_PYTHON=ON \
+ -DCUTTER_ENABLE_PACKAGING=ON \
+ -DCUTTER_PACKAGE_DEPENDENCIES=ON \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ 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 CONTRIBUTING.md COPYING README.md SECURITY.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
+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/development/cutter/cutter.info b/development/cutter/cutter.info
new file mode 100644
index 0000000000..2cd29469f7
--- /dev/null
+++ b/development/cutter/cutter.info
@@ -0,0 +1,10 @@
+PRGNAM="cutter"
+VERSION="v2.3.4"
+HOMEPAGE="https://cutter.re/"
+DOWNLOAD="https://github.com/rizinorg/cutter/releases/download/v2.3.4/Cutter-v2.3.4-src.tar.gz"
+MD5SUM="0452f16f2b71f300c9fa9bbf2ae8f39e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rizin Sphinx"
+MAINTAINER="Christopher Luck"
+EMAIL="kermitdafrog8@gmail.com"
diff --git a/development/cutter/doinst.sh b/development/cutter/doinst.sh
new file mode 100644
index 0000000000..a993650058
--- /dev/null
+++ b/development/cutter/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/cutter/slack-desc b/development/cutter/slack-desc
new file mode 100644
index 0000000000..75aa414231
--- /dev/null
+++ b/development/cutter/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------------------------------------------------------|
+cutter: cutter (Free and Open Source Reverse Engineering Platform)
+cutter: Free and Open Source Reverse Engineering Platform powered by rizin
+cutter: https://cutter.re/
+cutter:
+cutter:
+cutter:
+cutter:
+cutter:
+cutter:
+cutter:
+cutter:
diff --git a/development/cvsd/cvsd.SlackBuild b/development/cvsd/cvsd.SlackBuild
index d041e3d937..6cfff6c743 100644
--- a/development/cvsd/cvsd.SlackBuild
+++ b/development/cvsd/cvsd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009 Eric Hameleers <alien@slackware.com>, Eindhoven, Netherlands
@@ -6,26 +6,36 @@
# Written by Zordrak <sbo@tpa.me.uk>
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cvsd
VERSION=${VERSION:-1.0.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -103,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cvsps/cvsps.SlackBuild b/development/cvsps/cvsps.SlackBuild
index fba8bdb364..6644429642 100644
--- a/development/cvsps/cvsps.SlackBuild
+++ b/development/cvsps/cvsps.SlackBuild
@@ -1,11 +1,14 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for cvsps
# Written by JK Wood <joshuakwood@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cvsps
VERSION=${VERSION:-2.2b1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -15,7 +18,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -74,4 +84,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cxref/README b/development/cxref/README
new file mode 100644
index 0000000000..3e041d0c53
--- /dev/null
+++ b/development/cxref/README
@@ -0,0 +1,7 @@
+Cxref is a program that will produce documentation (in LaTeX, HTML,
+RTF or SGML) including cross-references from C program source code.
+It has been designed to work with ANSI C, incorporating K&R, and
+most popular GNU extensions.
+
+The cxref program only works for C not C++, there are no plans to
+produce a C++ version.
diff --git a/development/cxref/cxref.SlackBuild b/development/cxref/cxref.SlackBuild
new file mode 100644
index 0000000000..0ce57a6978
--- /dev/null
+++ b/development/cxref/cxref.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for cxref
+
+# Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] 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=cxref
+VERSION=${VERSION:-1.6e}
+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}.tgz
+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 {} \;
+
+LDFLAGS="$LDFLAGS -ldl" \
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --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
+
+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 doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a query/README $PKG/usr/doc/$PRGNAM-$VERSION/README_query
+cp -a cpp/README $PKG/usr/doc/$PRGNAM-$VERSION/README_cpp
+cp -a contrib $PKG/usr/share/$PRGNAM
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/example
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cxref/cxref.info b/development/cxref/cxref.info
new file mode 100644
index 0000000000..ca37ac42c0
--- /dev/null
+++ b/development/cxref/cxref.info
@@ -0,0 +1,10 @@
+PRGNAM="cxref"
+VERSION="1.6e"
+HOMEPAGE="http://www.gedanken.org.uk/software/cxref/"
+DOWNLOAD="https://www.gedanken.org.uk/software/cxref/download/cxref-1.6e.tgz"
+MD5SUM="f8c85c42515f7276abac940444c6ba77"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Zbigniew Baniewski"
+EMAIL="Zbigniew [dot] Baniewski [at] gmail [dot] com"
diff --git a/development/cxref/slack-desc b/development/cxref/slack-desc
new file mode 100644
index 0000000000..4f08bb21f4
--- /dev/null
+++ b/development/cxref/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------------------------------------------------------|
+cxref: cxref (C Cross Referencing & Documenting tool)
+cxref:
+cxref: A program that can automatically generate documentation and cross
+cxref: references for a C program (not C++ !).
+cxref:
+cxref: The input is any C program with appropriate comments and the output
+cxref: is LaTeX, HTML, RTF or SGML files.
+cxref:
+cxref: http://www.gedanken.org.uk/software/cxref/
+cxref:
+cxref:
diff --git a/development/cxxtest/cxxtest.SlackBuild b/development/cxxtest/cxxtest.SlackBuild
index 817d6303b4..5bbe31b0a2 100644
--- a/development/cxxtest/cxxtest.SlackBuild
+++ b/development/cxxtest/cxxtest.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cxxtest
@@ -22,20 +22,30 @@
# 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=cxxtest
VERSION=${VERSION:-4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -73,4 +83,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cxxtools/cxxtools.SlackBuild b/development/cxxtools/cxxtools.SlackBuild
index 35f771ba26..579a46c1ea 100644
--- a/development/cxxtools/cxxtools.SlackBuild
+++ b/development/cxxtools/cxxtools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cxxtools
@@ -21,26 +21,36 @@
# 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=cxxtools
-VERSION=${VERSION:-2.2.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,6 +75,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 {} \;
+patch -p1 < $CWD/gcc11.patch
+
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -88,8 +102,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL README $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/cxxtools/cxxtools.info b/development/cxxtools/cxxtools.info
index a1b9529e0e..8a80868a55 100644
--- a/development/cxxtools/cxxtools.info
+++ b/development/cxxtools/cxxtools.info
@@ -1,8 +1,8 @@
PRGNAM="cxxtools"
-VERSION="2.2.1"
+VERSION="3.0"
HOMEPAGE="http://www.tntnet.org/cxxtools.html"
-DOWNLOAD="http://www.tntnet.org/download/cxxtools-2.2.1.tar.gz"
-MD5SUM="aab00068ae5237435b37ac86f2ac7576"
+DOWNLOAD="https://github.com/maekitalo/cxxtools/archive/V3.0/cxxtools-3.0.tar.gz"
+MD5SUM="cecf596a6987f76cd092fdd94c3ccdde"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/cxxtools/gcc11.patch b/development/cxxtools/gcc11.patch
new file mode 100644
index 0000000000..c5516232a4
--- /dev/null
+++ b/development/cxxtools/gcc11.patch
@@ -0,0 +1,25 @@
+From b773c01fc13d2ae67abc0839888e383be23562fd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tommi=20M=C3=A4kitalo?= <tommi@tntnet.org>
+Date: Sun, 24 Jan 2021 17:20:24 +0100
+Subject: [PATCH] make cxxtools::Char a trivial class by definining the default
+ constructor as default
+
+---
+ include/cxxtools/char.h | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/include/cxxtools/char.h b/include/cxxtools/char.h
+index 1e637317..3a4ed62a 100644
+--- a/include/cxxtools/char.h
++++ b/include/cxxtools/char.h
+@@ -68,9 +68,7 @@ namespace cxxtools
+ typedef int32_t value_type;
+
+ //! Constructs a character with a value of 0.
+- Char()
+- : _value(0)
+- {}
++ Char() = default;
+
+ //! Constructs a character using the given value as base for the character value.
+ Char(value_type ch)
diff --git a/development/cycler/cycler.SlackBuild b/development/cycler/cycler.SlackBuild
deleted file mode 100644
index 6b7e0a927a..0000000000
--- a/development/cycler/cycler.SlackBuild
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for cycler
-
-# Copyright 2016-2017 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.
-
-PRGNAM=cycler
-VERSION=${VERSION:-0.10.0}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-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 {} \;
-
-python setup.py install --root $PKG
-
-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 LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/cycler/cycler.info b/development/cycler/cycler.info
deleted file mode 100644
index 0a5f131ec4..0000000000
--- a/development/cycler/cycler.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="cycler"
-VERSION="0.10.0"
-HOMEPAGE="http://matplotlib.org/cycler"
-DOWNLOAD="https://pypi.python.org/packages/c2/4b/137dea450d6e1e3d474e1d873cd1d4f7d3beed7e0dc973b06e8e10d32488/cycler-0.10.0.tar.gz"
-MD5SUM="4cb42917ac5007d1cdff6cccfe2d016b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="six"
-MAINTAINER="Serban Udrea"
-EMAIL="S.Udrea@gsi.de"
diff --git a/development/cycler/slack-desc b/development/cycler/slack-desc
deleted file mode 100644
index 8fe6777d56..0000000000
--- a/development/cycler/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------------------------------------------------------|
-cycler: cycler (composable cycles in python)
-cycler:
-cycler: The cycler python module provides a composable cycle class used for
-cycler: constructing style-cycles.
-cycler:
-cycler:
-cycler:
-cycler: Homepage: http://matplotlib.org/cycler
-cycler:
-cycler:
-cycler:
diff --git a/development/d-tools/d-tools.SlackBuild b/development/d-tools/d-tools.SlackBuild
index 26d555658d..0b3ddacf87 100644
--- a/development/d-tools/d-tools.SlackBuild
+++ b/development/d-tools/d-tools.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for D tools
-# Copyright 2017-2019 Eugene Wissner, Dachau, Germany
+# Copyright 2017-2024 Eugene Wissner, Mannheim, Germany
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -22,14 +22,17 @@
# (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=d-tools
-VERSION=${VERSION:-2.094.1}
+VERSION=${VERSION:-2.107.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-DUB_VERSION=${DUB_VERSION:-1.23.0}
-DSCANNER_VERSION=${DSCANNER_VERSION:-0.11.0}
-DCD_VERSION=${DCD_VERSION:-0.13.1}
+DUB_VERSION=${DUB_VERSION:-1.36.0}
+DSCANNER_VERSION=${DSCANNER_VERSION:-0.15.2}
+DCD_VERSION=${DCD_VERSION:-0.15.2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -118,9 +128,9 @@ chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
case "$DC" in
- *gdc) make gdcbuild
+ *gdc) make gdc
;;
- *) make dmdbuild
+ *) make all
;;
esac
mv bin/dscanner $PKG/usr/bin
@@ -149,4 +159,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/d-tools/d-tools.info b/development/d-tools/d-tools.info
index d41e7c9d44..c2daa8efff 100644
--- a/development/d-tools/d-tools.info
+++ b/development/d-tools/d-tools.info
@@ -1,14 +1,14 @@
PRGNAM="d-tools"
-VERSION="2.094.1"
+VERSION="2.107.1"
HOMEPAGE="https://dlang.org"
-DOWNLOAD="https://download.dlackware.com/hosted-sources/d-tools/dub-1.23.0.tar.gz \
- https://download.dlackware.com/hosted-sources/d-tools/tools-2.094.1.tar.gz \
- https://download.dlackware.com/hosted-sources/d-tools/D-Scanner-0.11.0.tar.xz \
- https://download.dlackware.com/hosted-sources/d-tools/DCD-0.13.1.tar.xz"
-MD5SUM="19f30e01948621db807b3317cf507ea8 \
- f7dbb768a5eb569c4deb297a37c24b6c \
- 59426567074ca0505fd394b599e0879d \
- 3eebf17739f25c511c9957ade050bbe9"
+DOWNLOAD="https://download.dlackware.com/hosted-sources/d-tools/dub-1.36.0.tar.gz \
+ https://download.dlackware.com/hosted-sources/d-tools/tools-2.107.1.tar.gz \
+ https://download.dlackware.com/hosted-sources/d-tools/D-Scanner-0.15.2.tar.xz \
+ https://download.dlackware.com/hosted-sources/d-tools/DCD-0.15.2.tar.xz"
+MD5SUM="9bff7e4bd3a36bfa94ac4c379ddb6d97 \
+ 64e3046784001583154f38ce856dfdf8 \
+ 2b805ef7e3c2d0951d0c27cb479be67a \
+ fe7c2b6664c34f45db40373a3cf3374a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dmd"
diff --git a/development/dao/dao.SlackBuild b/development/dao/dao.SlackBuild
index 0cf7dcb24a..898b152270 100644
--- a/development/dao/dao.SlackBuild
+++ b/development/dao/dao.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dao
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dao
VERSION=${VERSION:-2.0}
SRCVER=$VERSION-devel-2014-01-19
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -108,4 +118,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/darcs/cabal.diff b/development/darcs/cabal.diff
new file mode 100644
index 0000000000..f10449a5db
--- /dev/null
+++ b/development/darcs/cabal.diff
@@ -0,0 +1,25 @@
+diff -Naur darcs-2.16.5.orig/darcs.cabal darcs-2.16.5/darcs.cabal
+--- darcs-2.16.5.orig/darcs.cabal 2001-09-09 13:46:40.000000000 +1200
++++ darcs-2.16.5/darcs.cabal 2022-02-27 14:54:23.056244490 +1300
+@@ -436,10 +436,10 @@
+ vector >= 0.11 && < 0.13,
+ tar >= 0.5 && < 0.6,
+ data-ordlist == 0.4.*,
+- attoparsec >= 0.13.0.1 && < 0.14,
++ attoparsec >= 0.13.0.1 && < 0.15,
+ zip-archive >= 0.3 && < 0.5,
+ async >= 2.0.2 && < 2.3,
+- constraints >= 0.11 && < 0.13,
++ constraints >= 0.11 && < 0.14,
+ unix-compat >= 0.5 && < 0.6,
+ bytestring >= 0.10.6 && < 0.11,
+ old-time >= 1.1.0.3 && < 1.2,
+@@ -449,7 +449,7 @@
+ temporary >= 1.2.1 && < 1.4,
+ process >= 1.2.3.0 && < 1.7,
+ array >= 0.5.1.0 && < 0.6,
+- hashable >= 1.2.3.3 && < 1.4,
++ hashable >= 1.2.3.3 && < 1.5,
+ mmap >= 0.5.9 && < 0.6,
+ zlib >= 0.6.1.2 && < 0.7.0.0,
+ network-uri >= 2.6 && < 2.8,
diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild
index 8e80b51a05..f4814482ec 100644
--- a/development/darcs/darcs.SlackBuild
+++ b/development/darcs/darcs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for darcs
@@ -23,10 +23,13 @@
# 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=darcs
-VERSION=${VERSION:-2.14.1}
+VERSION=${VERSION:-2.16.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
GHC_VERSION=$(ghc --numeric-version)
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -65,6 +75,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+patch -p1 -i $CWD/cabal.diff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -116,4 +127,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/darcs/darcs.info b/development/darcs/darcs.info
index b9878840f6..3b68d00ff5 100644
--- a/development/darcs/darcs.info
+++ b/development/darcs/darcs.info
@@ -1,10 +1,10 @@
PRGNAM="darcs"
-VERSION="2.14.1"
+VERSION="2.16.5"
HOMEPAGE="https://darcs.net/"
-DOWNLOAD="https://hackage.haskell.org/package/darcs-2.14.1/darcs-2.14.1.tar.gz"
-MD5SUM="07a3fe1e5264d22bf1979ff0aa224085"
+DOWNLOAD="https://hackage.haskell.org/package/darcs-2.16.5/darcs-2.16.5.tar.gz"
+MD5SUM="7921981745f0ada00fa3862a00bea2b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-async haskell-attoparsec haskell-base16-bytestring haskell-cryptohash haskell-data-ordlist haskell-fgl haskell-graphviz haskell-hashable haskell-html haskell-HTTP haskell-mmap haskell-network haskell-network-uri haskell-old-time haskell-random haskell-regex-applicative haskell-regex-compat-tdfa haskell-sandi haskell-tar haskell-transformers-compat haskell-unix-compat haskell-utf8-string haskell-vector haskell-zip-archive haskell-zlib haskell-old-locale"
+REQUIRES="haskell-base16-bytestring haskell-data-ordlist haskell-graphviz haskell-html haskell-HTTP haskell-mmap haskell-old-time haskell-regex-applicative haskell-regex-compat-tdfa haskell-sandi haskell-tar haskell-unix-compat haskell-zip-archive haskell-constraints haskell-http-conduit"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/development/dart-sdk/dart-sdk.SlackBuild b/development/dart-sdk/dart-sdk.SlackBuild
index 3e234361f2..5461b5c859 100644
--- a/development/dart-sdk/dart-sdk.SlackBuild
+++ b/development/dart-sdk/dart-sdk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <dart-sdk>
@@ -22,10 +22,13 @@
# 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=dart-sdk
-VERSION=${VERSION:-2.9.3}
+VERSION=${VERSION:-2.10.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
fi
echo "arch $ARCH"
-CWD=$(pwd)
+# 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}
@@ -77,4 +87,4 @@ chmod +x $PKG/opt/dart-sdk/bin/resources/dartdoc/
cd $PKG
chmod +rx opt/dart-sdk opt/dart-sdk/bin opt/dart-sdk/bin/snapshots/
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dart-sdk/dart-sdk.info b/development/dart-sdk/dart-sdk.info
index a4aa7d2159..1c3dac93d6 100644
--- a/development/dart-sdk/dart-sdk.info
+++ b/development/dart-sdk/dart-sdk.info
@@ -1,14 +1,14 @@
PRGNAM="dart-sdk"
-VERSION="2.9.3"
+VERSION="2.10.4"
HOMEPAGE="https://www.dartlang.org/"
-DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/2.9.3/sdk/dartsdk-linux-ia32-release.zip \
-https://storage.googleapis.com/dart-archive/channels/stable/release/2.9.3/api-docs/dartdocs-gen-api.zip"
-MD5SUM="72451d9dece6bdb1fae8217620c363a3 \
- 410f6a6c380ed1df523c3bfd24620211"
-DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/2.9.3/sdk/dartsdk-linux-x64-release.zip \
-https://storage.googleapis.com/dart-archive/channels/stable/release/2.9.3/api-docs/dartdocs-gen-api.zip"
-MD5SUM_x86_64="45fc68efe946ae5bd3a3520102675d30 \
- 410f6a6c380ed1df523c3bfd24620211"
+DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/2.10.4/sdk/dartsdk-linux-ia32-release.zip \
+https://storage.googleapis.com/dart-archive/channels/stable/release/2.10.4/api-docs/dartdocs-gen-api.zip"
+MD5SUM="2be272e42304aa172a3878d1b57f6957 \
+ 74bc6601aafc5ea9588c2ac003d66455"
+DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/2.10.4/sdk/dartsdk-linux-x64-release.zip \
+https://storage.googleapis.com/dart-archive/channels/stable/release/2.10.4/api-docs/dartdocs-gen-api.zip"
+MD5SUM_x86_64="cb52cb89f5dfb88cddb15b1f2caa23cf \
+ 74bc6601aafc5ea9588c2ac003d66455"
REQUIRES=""
MAINTAINER="Zhu Qun-Ying"
EMAIL="zhu.qunying@gmail.com"
diff --git a/development/dasht/dasht.SlackBuild b/development/dasht/dasht.SlackBuild
index 20233e8b92..dbc2e52523 100644
--- a/development/dasht/dasht.SlackBuild
+++ b/development/dasht/dasht.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dasht
# Copyright 2020 abooksigun <abooksigun09@gmail.com>
@@ -21,10 +21,13 @@
# 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=dasht
VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -89,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dasm/README b/development/dasm/README
new file mode 100644
index 0000000000..5758caa952
--- /dev/null
+++ b/development/dasm/README
@@ -0,0 +1,16 @@
+dasm (cross assembler for 6502 and other 8-bit CPUs)
+
+DASM is versatile macro assembler with support for several 8-bit
+microprocessors including MOS 6502 & 6507; Motorola 6803, 68705, and
+68HC11; Hitachi HD6303 (extended Motorola 6801) and Fairchild F8.
+
+DASM also includes platform support for the Atari 2600, Atari 7800,
+and Fairchild Channel F game consoles.
+
+Support files are installed to /usr/share/dasm/machines; usual
+practice is to copy them to your project directory, or use
+e.g. -I/usr/share/dasm/machines/atari2600 to set the include path.
+
+Also provided is "ftohex", which converts an output file in one of
+the three formats to an Intel hex format suitable for many intelligent
+prom programmers (e.g. GTEK).
diff --git a/development/dasm/dasm.SlackBuild b/development/dasm/dasm.SlackBuild
new file mode 100644
index 0000000000..07cf98723e
--- /dev/null
+++ b/development/dasm/dasm.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for dasm
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=dasm
+VERSION=${VERSION:-2.20.14.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"
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# ftohex refs unfile, doubleplusungood.
+sed -i 's,AUTHORS,README,' src/ftohex.c
+
+# Man page really should include this information: -f option's
+# argument is numeric, and it's annoying to have to dig through a PDF
+# to find out what the numbers mean. Also, fix the formatting of lists
+# for -T and -E options, and use the correct path for dasm.pdf under
+# 'see also'... and add a note that that source file must appear first
+# on the command line.
+patch -p1 < $CWD/manpagefix.diff
+
+# Easy build:
+make CFLAGS="$SLKCFLAGS"
+
+# No 'make install', do it manually.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/share/$PRGNAM $PKGDOC
+
+install -s bin/* $PKG/usr/bin
+gzip -9c < docs/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+# The PDF doc does not mention ftohex, and there's no man page for it...
+gzip -9c < $CWD/ftohex.1 > $PKG/usr/man/man1/ftohex.1.gz
+
+cp -a README ChangeLog NEWS LICENSE docs/*.{pdf,txt} $PKGDOC
+cp -a machines $PKG/usr/share/$PRGNAM
+
+# Include ancient (ca 2000) copy of vcs.h, for assembling older sources
+# such as Thomas Jentzsch's River Raid reverse-engineering.
+cat $CWD/vcs.h.old > $PKG/usr/share/$PRGNAM/machines/atari2600/vcs.h.old
+cat $CWD/vcs-old.txt > $PKGDOC/vcs-old.txt
+
+# This belongs in the doc dir, too:
+ln -s ../../share/$PRGNAM/machines/channel-f/README $PKGDOC/channel-f.txt
+
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dasm/dasm.info b/development/dasm/dasm.info
new file mode 100644
index 0000000000..ec86e00a80
--- /dev/null
+++ b/development/dasm/dasm.info
@@ -0,0 +1,10 @@
+PRGNAM="dasm"
+VERSION="2.20.14.1"
+HOMEPAGE="https://dasm-assembler.github.io/"
+DOWNLOAD="https://github.com/dasm-assembler/dasm/archive/2.20.14.1/dasm-2.20.14.1.tar.gz"
+MD5SUM="315b70803f2831a6ca54a47da9aae745"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/dasm/ftohex.1 b/development/dasm/ftohex.1
new file mode 100644
index 0000000000..85aff49ac2
--- /dev/null
+++ b/development/dasm/ftohex.1
@@ -0,0 +1,82 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "FTOHEX" 1 "2022-09-29" "2.20.14.1" "SlackBuilds.org"
+.SH NAME
+ftohex \- convert dasm output files to intel hex format
+.\" RST source for ftohex(1) man page. Convert with:
+.
+.\" rst2man.py ftohex.rst > ftohex.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+ftohex \fIformat\fP \fIinfile\fP [\fIoutfile\fP]
+.SH DESCRIPTION
+.sp
+\fBftohex\fP converts a binary file produced by \fBdasm\fP(1) to an Intel
+\&.HEX file, which may be useful as input to an EPROM programmer.
+.sp
+\fIformat\fP is required, and must match the \fB\-f\fP option given to
+\fBdasm\fP to produce the file. Format \fI3\fP is a raw binary image, which
+need not have been produced by \fBdasm\fP\&. Format \fI1\fP is \fBdasm\fP\(aqs default,
+if no \fB\-f\fP was given.
+.sp
+\fIinfile\fP is required; there\(aqs no option to read from \fBstdin\fP, but you
+might try \fB/dev/stdin\fP if that\(aqs supported on your OS.
+.sp
+If \fIoutfile\fP is given, .HEX output will be written to it. Otherwise, the output
+is written to \fBstdout\fP\&.
+.SH EXAMPLE
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+dasm example.asm \-f2 \-oexample.out
+ftohex 2 example.out example.hex
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/dasm\-2.20.14.1/LICENSE for license information.
+.SH AUTHORS
+.sp
+\fBftohex\fP is written and maintained by the DASM team and its contributors.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBdasm\fP(1)
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/dasm/ftohex.rst b/development/dasm/ftohex.rst
new file mode 100644
index 0000000000..e0519963c0
--- /dev/null
+++ b/development/dasm/ftohex.rst
@@ -0,0 +1,67 @@
+.. RST source for ftohex(1) man page. Convert with:
+.. rst2man.py ftohex.rst > ftohex.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 2.20.14.1
+.. |date| date::
+
+======
+ftohex
+======
+
+---------------------------------------------
+convert dasm output files to intel hex format
+---------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+ftohex *format* *infile* [*outfile*]
+
+DESCRIPTION
+===========
+
+**ftohex** converts a binary file produced by **dasm**\(1) to an Intel
+.HEX file, which may be useful as input to an EPROM programmer.
+
+*format* is required, and must match the **-f** option given to
+**dasm** to produce the file. Format *3* is a raw binary image, which
+need not have been produced by **dasm**. Format *1* is **dasm**'s default,
+if no **-f** was given.
+
+*infile* is required; there's no option to read from **stdin**, but you
+might try **/dev/stdin** if that's supported on your OS.
+
+If *outfile* is given, .HEX output will be written to it. Otherwise, the output
+is written to **stdout**.
+
+EXAMPLE
+=======
+
+::
+
+ dasm example.asm -f2 -oexample.out
+ ftohex 2 example.out example.hex
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/dasm-|version|/LICENSE for license information.
+
+AUTHORS
+=======
+
+**ftohex** is written and maintained by the DASM team and its contributors.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**dasm**\(1)
diff --git a/development/dasm/manpagefix.diff b/development/dasm/manpagefix.diff
new file mode 100644
index 0000000000..5e35a7a1b0
--- /dev/null
+++ b/development/dasm/manpagefix.diff
@@ -0,0 +1,53 @@
+diff -Naur dasm-2.20.14.1/docs/dasm.1 dasm-2.20.14.1.patched/docs/dasm.1
+--- dasm-2.20.14.1/docs/dasm.1 2020-11-09 16:50:22.000000000 -0500
++++ dasm-2.20.14.1.patched/docs/dasm.1 2022-09-29 11:35:53.562786259 -0400
+@@ -16,12 +16,22 @@
+ \fBdasm\fP is a versatile macro assembler with support for several
+ 8\-bit microprocessors including MOS 6502 & 6507; Motorola 6803, 68705,
+ and 68HC11; Hitachi HD6303 (extended Motorola 6801) and Fairchild F8.
++.PP
++\fBNote:\fP The source filename \fImust\fP be given as the first
++argument; this is unlike most assemblers and compilers.
+ .SH OPTIONS
+ \fBdasm\fP supports the following options, briefly described below.
+ For more information see the \fBdasm\fP \fITechnical Reference Manual\fP.
+ .TP
+ .BI \-f #
+ output format 1\-3 [default: \fI1\fP]
++.RS
++.IR 1 " = \fB2-byte header; rest is data\fP"
++.br
++.IR 2 " = \fBRandom Access Segments (see dasm.pdf)\fP"
++.br
++.IR 3 " = \fBRaw (no headers/segments; just code)\fP"
++.RE
+ .TP
+ .BI \-o name
+ output file name [default: \fIa.out\fP]
+@@ -57,6 +67,7 @@
+ symbol table sorting [default: \fI0\fP]
+ .RS
+ .IR 0 " = \fBalphabetical\fP"
++.br
+ .IR 1 " = \fBaddress/value\fP"
+ .RE
+ .TP
+@@ -64,7 +75,9 @@
+ error format [default: \fI0\fP]
+ .RS
+ .IR 0 " = \fBMS\fP"
++.br
+ .IR 1 " = \fBDillon\fP"
++.br
+ .IR 2 " = \fBGNU\fP"
+ .RE
+ .TP
+@@ -78,7 +91,7 @@
+ maximum allowed file-size in kB
+ .SH SEE ALSO
+ .TP
+-.IR /usr/share/doc/dasm/dasm.pdf :
++.IR /usr/doc/dasm-2.20.14.1/dasm.pdf :
+ .B dasm Technical Reference Manual
+ .SH AUTHOR
+ Written and maintained by the DASM team and its contributors.
diff --git a/development/dasm/slack-desc b/development/dasm/slack-desc
new file mode 100644
index 0000000000..26d358b729
--- /dev/null
+++ b/development/dasm/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------------------------------------------------------|
+dasm: dasm (cross assembler for 6502 and other 8-bit CPUs)
+dasm:
+dasm: DASM is versatile macro assembler with support for several 8-bit
+dasm: microprocessors including MOS 6502 & 6507; Motorola 6803, 68705, and
+dasm: 68HC11; Hitachi HD6303 (extended Motorola 6801) and Fairchild F8.
+dasm:
+dasm: DASM also includes platform support for the Atari 2600, Atari 7800,
+dasm: and Fairchild Channel F game consoles.
+dasm:
+dasm:
+dasm:
diff --git a/development/dasm/vcs-old.txt b/development/dasm/vcs-old.txt
new file mode 100644
index 0000000000..fe7cf332d0
--- /dev/null
+++ b/development/dasm/vcs-old.txt
@@ -0,0 +1,10 @@
+Around 2003, the Atari 2600 vcs.h file changed greatly, in ways that
+make it somewhat incompatible with the older vcs.h. For instance,
+Thomas Jentzsch's River Raid commented source no longer assembles
+correctly with the new vcs.h.
+
+If you need it, there's a copy of the old vcs.h from around 2000 included
+in the dasm package as: /usr/share/dasm/machines/atari2600/vcs.h.old
+
+New projects should use the new vcs.h; the old one exists only for
+backwards compatibility with old sources.
diff --git a/development/dasm/vcs.h.old b/development/dasm/vcs.h.old
new file mode 100644
index 0000000000..dbddf057b3
--- /dev/null
+++ b/development/dasm/vcs.h.old
@@ -0,0 +1,158 @@
+;
+; VCS system equates
+;
+; Vertical blank registers
+;
+VSYNC = $00
+;VS_Enable = 2
+;
+VBLANK = $01
+;VB_Enable = 2
+;VB_Disable = 0
+;VB_LatchEnable = 64
+;VB_LatchDisable = 0
+;VB_DumpPots = 128
+; I don't know a good name to un-dump the pots,
+; at least that makes sense.
+
+WSYNC = $02
+RSYNC = $03 ;for sadists
+;
+; Size registers for players and missiles
+;
+NUSIZ0 = $04
+NUSIZ1 = $05
+;P_Single = 0
+;P_TwoClose = 1
+;P_TwoMedium = 2
+;P_ThreeClose = 3
+;P_TwoFar = 4
+;P_Double = 5
+;P_ThreeMedium = 6
+;P_Quad = 7
+
+;M_Single = $00
+;M_Double = $10
+;M_Quad = $20
+;M_Oct = $40
+
+;
+; Color registers
+;
+COLUP0 = $06
+COLUP1 = $07
+COLUPF = $08
+COLUBK = $09
+
+;
+; Playfield Control
+;
+CTRLPF = $0A
+;PF_Reflect = $01
+;PF_Score = $02
+;PF_Priority = $04
+; Use missile equates to set ball width.
+
+REFP0 = $0B
+REFP1 = $0C
+;P_Reflect = $08
+
+PF0 = $0D
+PF1 = $0E
+PF2 = $0F
+RESP0 = $10
+RESP1 = $11
+RESM0 = $12
+RESM1 = $13
+RESBL = $14
+AUDC0 = $15
+AUDC1 = $16
+AUDF0 = $17
+AUDF1 = $18
+AUDV0 = $19
+AUDV1 = $1A ;duh
+
+;
+; Players
+;
+GRP0 = $1B
+GRP1 = $1C
+
+;
+; Single-bit objects
+;
+ENAM0 = $1D
+ENAM1 = $1E
+ENABL = $1F
+;M_Enable = 2
+
+HMP0 = $20
+HMP1 = $21
+HMM0 = $22
+HMM1 = $23
+HMBL = $24
+
+; Miscellaneous
+VDELP0 = $25
+VDEL01 = $26
+VDELP1 = $26
+VDELBL = $27
+RESMP0 = $28
+RESMP1 = $29
+HMOVE = $2A
+HMCLR = $2B
+CXCLR = $2C
+CXM0P = $30
+CXM1P = $31
+CXP0FB = $32
+CXP1FB = $33
+CXM0FB = $34
+CXM1FB = $35
+CXBLPF = $36
+CXPPMM = $37
+INPT0 = $38
+INPT1 = $39
+INPT2 = $3A
+INPT3 = $3B
+INPT4 = $3C
+INPT5 = $3D
+
+;
+; Switch A equates.
+;
+; There are more elegant ways than using all eight of these. :-)
+;
+SWCHA = $0280
+;J0_Right = $80
+;J0_Left = $40
+;J0_Down = $20
+;J0_Up = $10
+;J1_Right = $08
+;J1_Left = $04
+;J1_Down = $02
+;J1_up = $01
+;
+; Switch B equates
+;
+SWCHB = $0282
+;P0_Diff = $80
+;P1_Diff = $40
+;Con_Color = $08
+;Con_Select = $02
+;Con_Start = $01
+
+;
+; Switch Control
+;
+SWACNT = $281
+SWBCNT = $283
+
+;
+; Timer
+;
+INTIM = $0284
+TIM1T = $0294
+TIM8T = $0295
+TIM64T = $0296
+TIM1024T = $0297
+
diff --git a/development/dbeaver-ce/dbeaver-ce.SlackBuild b/development/dbeaver-ce/dbeaver-ce.SlackBuild
index 1e7291395b..f469a1b7db 100644
--- a/development/dbeaver-ce/dbeaver-ce.SlackBuild
+++ b/development/dbeaver-ce/dbeaver-ce.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dbeaver-ce
-# Copyright 2020 Joielechong <juansspy@gmail.com>, Jasper Hageraats <spycrowsoft@gmail.com>
-# Copyright 2014 Antonio Hernández Blas <hba.nihilismus@gmail.com>
+# Copyright 2023 Joielechong <juansspy@gmail.com>, Jasper Hageraats <spycrowsoft@gmail.com>
+# Copyright 2014 Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-ORIGINAL_PRGNAM=dbeaver
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dbeaver-ce
+ORIGINAL_PRGNAM=dbeaver
-VERSION=${VERSION:-7.2.4}
+VERSION=${VERSION:-24.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=${ARCH:-$(uname -m)}
case "$ARCH" in
@@ -37,7 +40,14 @@ case "$ARCH" in
*) echo "$ARCH is not supported"; exit 1 ;;
esac
-CWD=$(pwd)
+# 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}
@@ -68,16 +78,28 @@ find -L . \
DESKTOPPATH=/usr/share/dbeaver/
NEWDESKTOPPATH=/opt/$PRGNAM/
-# Rewrite paths in .desktop file
-mv ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop.orig
-sed "s~$DESKTOPPATH~$NEWDESKTOPPATH~" ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop.orig > ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop
-rm ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop.orig
-
-# Add dbeaver to KDE/GNOME/XFCE menu
-install -D -m 644 ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.desktop \
- ${PKG}/usr/share/applications/${PRGNAM}.desktop
+## Add dbeaver to KDE/GNOME/XFCE menu
+mkdir -p $PKG/usr/share/applications
+cat <<EOF > $PKG/usr/share/applications/$PRGNAM.desktop
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=false
+Name=dbeaver-ce
+GenericName=Universal Database Manager
+Comment=Universal Database Manager and SQL Client.
+Path=/opt/$PRGNAM
+Exec=/opt/$PRGNAM/$ORIGINAL_PRGNAM
+Icon=/opt/$PRGNAM/dbeaver.png
+Categories=IDE;Development
+StartupWMClass=DBeaver
+StartupNotify=true
+Keywords=Database;SQL;IDE;JDBC;ODBC;MySQL;PostgreSQL;Oracle;DB2;MariaDB
+MimeType=application/sql
+EOF
-install -D -m 644 ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.png ${PKG}/usr/share/pixmaps/${ORIGINAL_PRGNAM}.png
+install -D -m 0644 ${NEWDESTDIR}/${ORIGINAL_PRGNAM}.png \
+ ${PKG}/usr/share/pixmaps/${ORIGINAL_PRGNAM}.png
mkdir -p $PKG/usr/bin
cat << EOF > $PKG/usr/bin/$PRGNAM
@@ -98,6 +120,7 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dbeaver-ce/dbeaver-ce.info b/development/dbeaver-ce/dbeaver-ce.info
index 29d2b1584f..e8c3544ef3 100644
--- a/development/dbeaver-ce/dbeaver-ce.info
+++ b/development/dbeaver-ce/dbeaver-ce.info
@@ -1,10 +1,10 @@
PRGNAM="dbeaver-ce"
-VERSION="7.2.4"
+VERSION="24.0.2"
HOMEPAGE="https://dbeaver.io"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.dbeaver.com/community/7.2.4/dbeaver-ce-7.2.4-linux.gtk.x86_64.tar.gz"
-MD5SUM_x86_64="fcb676adfd0ff24602e47b3f78a5e537"
-REQUIRES="jdk"
+DOWNLOAD_x86_64="https://github.com/dbeaver/dbeaver/releases/download/24.0.2/dbeaver-ce-24.0.2-linux.gtk.x86_64.tar.gz"
+MD5SUM_x86_64="8d798aedc7ae9b5995951edf826e9c3d"
+REQUIRES=""
MAINTAINER="Joielechong"
EMAIL="juansspy@gmail.com"
diff --git a/development/alloy/doinst.sh b/development/dbeaver-ce/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/development/alloy/doinst.sh
+++ b/development/dbeaver-ce/doinst.sh
diff --git a/development/decklink-sdk/decklink-sdk.SlackBuild b/development/decklink-sdk/decklink-sdk.SlackBuild
index d91e2c8c98..8484cbde9e 100644
--- a/development/decklink-sdk/decklink-sdk.SlackBuild
+++ b/development/decklink-sdk/decklink-sdk.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for decklink-sdk
-# Copyright 2015-2017 Christoph Willing Brisbane, Australia
+# Copyright 2015-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=decklink-sdk
SRCNAM=Blackmagic_DeckLink_SDK
-VERSION=${VERSION:-10.8.6}
+VERSION=${VERSION:-12.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -68,7 +78,7 @@ mkdir -p ${PKG}/usr/include/decklink
cp -p Linux/include/* ${PKG}/usr/include/decklink/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -T Blackmagic\ Decklink\ SDK.pdf $PKG/usr/doc/$PRGNAM-$VERSION/$SRCNAM.pdf
+cp -T Blackmagic\ DeckLink\ SDK.pdf $PKG/usr/doc/$PRGNAM-$VERSION/$SRCNAM.pdf
cp -a ReadMe.rtf Linux/Samples Examples $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -103,13 +113,12 @@ done
( cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples && \
for m in `find . -name "*.pro"`; do
echo "Editing $m ..."
- sed -i '
- /INCLUDEPATH/ {
- a\
-INCLUDEPATH += /usr/include/decklink\\
- d
- }
- ' $m
+ if [ -e "$(dirname $m)/src" ]; then
+ echo "XXXX $(dirname $m)"
+ sed -i '/INCLUDEPATH/ a INCLUDEPATH += /usr/include/decklink \\' $m
+ else
+ sed -i '/INCLUDEPATH/ a INCLUDEPATH += /usr/include/decklink ' $m
+ fi
done
)
(cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples/ && \
@@ -127,4 +136,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/decklink-sdk/decklink-sdk.info b/development/decklink-sdk/decklink-sdk.info
index 69c066c964..3af7a5cc34 100644
--- a/development/decklink-sdk/decklink-sdk.info
+++ b/development/decklink-sdk/decklink-sdk.info
@@ -1,10 +1,10 @@
PRGNAM="decklink-sdk"
-VERSION="10.8.6"
+VERSION="12.7"
HOMEPAGE="http://www.blackmagic-design.com"
-DOWNLOAD="http://sw.blackmagicdesign.com/DeckLink/v10.8.6/Blackmagic_DeckLink_SDK_10.8.6.zip"
-MD5SUM="afc81036577bebed03d6a4f95b3cb542"
+DOWNLOAD="http://sw.blackmagicdesign.com/DeckLink/v12.7/Blackmagic_DeckLink_SDK_12.7.zip"
+MD5SUM="7529651c91132cfa603d2ab26c247d86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/development/dejagnu/dejagnu.SlackBuild b/development/dejagnu/dejagnu.SlackBuild
index cfafa7363e..a547d7d8c3 100644
--- a/development/dejagnu/dejagnu.SlackBuild
+++ b/development/dejagnu/dejagnu.SlackBuild
@@ -1,18 +1,28 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Dejagnu
# Written by Andres Fuentes (rafu@riseup.net)
# This script is public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dejagnu
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -62,4 +72,4 @@ cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/devhelp/devhelp.SlackBuild b/development/devhelp/devhelp.SlackBuild
index d7a0d884cd..748b7ade2d 100644
--- a/development/devhelp/devhelp.SlackBuild
+++ b/development/devhelp/devhelp.SlackBuild
@@ -1,29 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for DevHelp
-# Written by Andrew Rowland (darowland@ieee.org)
+# Originally written by Andrew Rowland (darowland@ieee.org), Copyright © 2012-2023
+# Current maintainer: Logan Rathbone <poprocks@gmail.com>, Copyright © 2023
+#
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+#
+# For ChangeLog, see SBo git log history.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=devhelp
-VERSION=${VERSION:-2.32.0}
+VERSION=${VERSION:-43.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -36,42 +48,48 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mkdir build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+meson setup \
+ --buildtype=plain \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -D strip=true \
+ -D plugin_emacs=true \
+ -D plugin_gedit=true \
+ -D plugin_vim=true \
+ build/
+"${NINJA:=ninja}" -v -C build/
+DESTDIR=$PKG "${NINJA}" -C build/ install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSES NEWS *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -79,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/devhelp/devhelp.info b/development/devhelp/devhelp.info
index ac4f4f4e1c..d050799e12 100644
--- a/development/devhelp/devhelp.info
+++ b/development/devhelp/devhelp.info
@@ -1,10 +1,10 @@
PRGNAM="devhelp"
-VERSION="2.32.0"
+VERSION="43.0"
HOMEPAGE="https://wiki.gnome.org/Apps/Devhelp"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.32/devhelp-2.32.0.tar.gz"
-MD5SUM="6253a7845cf3f800c105bcd115d77b29"
+DOWNLOAD="https://download.gnome.org/sources/devhelp/43/devhelp-43.0.tar.xz"
+MD5SUM="14b56884ae13c4ad7d87036a65b9eaed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libunique webkitgtk"
+REQUIRES="webkit2gtk"
MAINTAINER="Andrew Rowland"
EMAIL="darowland@ieee.org"
diff --git a/development/devhelp/doinst.sh b/development/devhelp/doinst.sh
index 975eb75d2f..401d987795 100644
--- a/development/devhelp/doinst.sh
+++ b/development/devhelp/doinst.sh
@@ -1,13 +1,3 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-
-schema_install devhelp.schemas
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -17,3 +7,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/development/device-tree-compiler/device-tree-compiler.SlackBuild b/development/device-tree-compiler/device-tree-compiler.SlackBuild
index 58b655f1fa..230558bc53 100644
--- a/development/device-tree-compiler/device-tree-compiler.SlackBuild
+++ b/development/device-tree-compiler/device-tree-compiler.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Device Tree Compiler
@@ -24,10 +24,18 @@
# With tweaks from rworkman to use in SlackBuilds.org tree
+# 20231120 bkw: modified by SlackBuilds.org: add -j1 to make command,
+# since parallel builds don't work.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=device-tree-compiler
-VERSION=${VERSION:-1.4.4}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=dtc
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -56,22 +68,26 @@ else
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
+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 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+patch -p1 < $CWD/fix-python-destdir-usage.diff
-make clean
-make CFLAGS="$SLKCFLAGS" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
-make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
+make -j1 clean
+make -j1 CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
+make -j1 install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} 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
@@ -86,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/device-tree-compiler/device-tree-compiler.info b/development/device-tree-compiler/device-tree-compiler.info
index 38575f14af..a25d77bae3 100644
--- a/development/device-tree-compiler/device-tree-compiler.info
+++ b/development/device-tree-compiler/device-tree-compiler.info
@@ -1,8 +1,8 @@
PRGNAM="device-tree-compiler"
-VERSION="1.4.4"
+VERSION="1.6.1"
HOMEPAGE="https://git.kernel.org/cgit/utils/dtc/dtc.git"
-DOWNLOAD="http://harrier.slackbuilds.org/misc/device-tree-compiler-1.4.4.tar.xz"
-MD5SUM="ccc3b88d50823b19791f42bc2e5c9309"
+DOWNLOAD="https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/dtc-1.6.1.tar.gz"
+MD5SUM="19eef37196e99b659c402a29aac5ba59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/device-tree-compiler/fix-python-destdir-usage.diff b/development/device-tree-compiler/fix-python-destdir-usage.diff
new file mode 100644
index 0000000000..49b3c14d5b
--- /dev/null
+++ b/development/device-tree-compiler/fix-python-destdir-usage.diff
@@ -0,0 +1,12 @@
+diff -Nur device-tree-compiler-1.6.0.orig/pylibfdt/Makefile.pylibfdt device-tree-compiler-1.6.0/pylibfdt/Makefile.pylibfdt
+--- device-tree-compiler-1.6.0.orig/pylibfdt/Makefile.pylibfdt 2020-03-04 00:14:58.000000000 -0600
++++ device-tree-compiler-1.6.0/pylibfdt/Makefile.pylibfdt 2021-11-06 12:38:30.133022247 -0500
+@@ -22,7 +22,7 @@
+
+ install_pylibfdt: $(PYMODULE)
+ @$(VECHO) INSTALL-PYLIB
+- $(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX)
++ $(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX) --root=$(DESTDIR)
+
+ pylibfdt_clean:
+ @$(VECHO) CLEAN "(pylibfdt)"
diff --git a/development/dfsimage/README b/development/dfsimage/README
new file mode 100644
index 0000000000..b41e85e084
--- /dev/null
+++ b/development/dfsimage/README
@@ -0,0 +1,10 @@
+dfsimage (utility for BBC micro floppy disk images)
+
+dfsimage is a command-line utility and a Python module dedicated to
+maintenance of BBC Micro disk image files. These files usually have
+extensions .ssd for single sided disk images, or .dsd for double sided
+disk images.
+
+dfsimage allows indexing contents of the disk images, importing files
+to and exporting from the disk images, and modifying disk images in
+place, such as renaming files or changing the disk title.
diff --git a/development/dfsimage/dfsimage.SlackBuild b/development/dfsimage/dfsimage.SlackBuild
new file mode 100644
index 0000000000..6538bfbb81
--- /dev/null
+++ b/development/dfsimage/dfsimage.SlackBuild
@@ -0,0 +1,69 @@
+#!/bin/bash
+
+# Slackware build script for dfsimage
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# In theory, the full docs can be generated with Sphinx. However, I'm
+# unwilling to make it a dependency. The only thing missing is the API
+# doc, which 99% of users would never read anyway. The user's manual
+# is the important bit, we install it as a man page.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=dfsimage
+VERSION=${VERSION:-0.9rc3_20210220_de24cf0}
+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}
+
+# No C, so no C flags. No lib(64)? stuffs needed either.
+
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+python3 setup.py install --root=$PKG
+
+# Format readme.rst as a man page, not HTML.
+patch -p1 < $CWD/man_page.diff
+mkdir -p $PKG/usr/man/man1
+rst2man.py readme.rst | gzip -9c > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+sed 's,\r,,' LICENSE > $PKGDOC/LICENSE
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dfsimage/dfsimage.info b/development/dfsimage/dfsimage.info
new file mode 100644
index 0000000000..42ba3b832e
--- /dev/null
+++ b/development/dfsimage/dfsimage.info
@@ -0,0 +1,10 @@
+PRGNAM="dfsimage"
+VERSION="0.9rc3_20210220_de24cf0"
+HOMEPAGE="https://github.com/monkeyman79/dfsimage"
+DOWNLOAD="https://slackware.uk/~urchlay/src/dfsimage-0.9rc3_20210220_de24cf0.tar.xz"
+MD5SUM="bdb14121c1e573632ca34c273d6c816d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/dfsimage/git2tarxz.sh b/development/dfsimage/git2tarxz.sh
new file mode 100644
index 0000000000..70c7d46b08
--- /dev/null
+++ b/development/dfsimage/git2tarxz.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+# Create source tarball from git repo
+
+# There's stuff in here specific to dfsimage, don't use this as a template.
+
+# Note that this script doesn't need to be run as root. It does need to
+# be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+PRGNAM=dfsimage
+CLONE_URL=https://github.com/monkeyman79/dfsimage
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+# Upstream doesn't use tags, but does have a version number.
+MAKEVER="$( grep ^VERSION makefile | cut -d= -f2 )"
+
+VERSION=${MAKEVER}_${DATE}_${GIT_SHA}
+
+find . -name .git\* -print0 | xargs -0 rm -rf
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/development/dfsimage/man_page.diff b/development/dfsimage/man_page.diff
new file mode 100644
index 0000000000..590fc240f4
--- /dev/null
+++ b/development/dfsimage/man_page.diff
@@ -0,0 +1,232 @@
+diff -Naur dfsimage/readme.rst dfsimage.patched/readme.rst
+--- dfsimage/readme.rst 2023-05-04 17:38:19.198961496 -0400
++++ dfsimage.patched/readme.rst 2023-05-06 01:58:17.771007300 -0400
+@@ -1,33 +1,21 @@
++.. |version| replace:: 0.9rc3_20210220_de24cf0
++.. |date| date::
++
+ ========
+ dfsimage
+ ========
+
+-**BBC Micro Acorn DFS floppy disk image maintenance utility**
+-
+-This package contains a command-line utility and a Python module dedicated for
+-maintenance of **BBC Micro** disk image files. Those files usually have extensions
+-*.ssd* - for single sided disk image, or *.dsd* - for double sided disk image.
+-
+-This package allows indexing contents of the disk images, importing files to and
+-exporting from the disk images, modifying disk images in place, such as
+-renaming files or changing disk title and transferring data between disk images.
++---------------------------------------------------------
++BBC Micro Acorn DFS floppy disk image maintenance utility
++---------------------------------------------------------
++
++:Manual section: 1
++:Manual group: SlackBuilds.org
++:Date: |date|
++:Version: |version|
+
+-The ``dfsimage`` module also supports *MMB* files. *MMB* files are containers for
+-large number of *.ssd* disk images, designed for storing disk images on a
+-MMC or SD card. All commands that work with *.ssd* FILES can be also used on a disk
+-image contained within an MMB file. Index of a disk image within an MMB file can be
+-either specified using `index`__ option, or appended to the MMB file name, following
+-a colon character, e.g. ``beeb.mmb:12``. Commands |list|_, |dump|_ and |digest|_ can
+-take a range of disk images, e.g. ``beeb.mmb:10-20`` or an entire *MMB* file. In that
+-case command will be applied to all *initialized* disk image in the specified range.
+-
+-There are few commands intended specially for MMB files, such as |donboot|_ or
+-|drecat|_.
+-
+-__ index-opt_
+-
+-usage
+-=====
++SYNOPSIS
++========
+
+ .. code-block:: shell-session
+
+@@ -36,121 +24,31 @@
+ dfsimage --help-options
+ dfsimage --help-format
+
+-**examples**:
+-
+-Index all floppy images with contents from the 'images' directory to 'index.json' file
+-
+-.. code-block:: shell-session
+-
+- dfsimage index -f json images/*.ssd images/*.dsd > index.json
+-
+-Covert a linear double sided image to a '.dsd' file
+-
+-.. code-block:: shell-session
+-
+- dfsimage convert --from -D -L linear.img --to inter.dsd
+-
+-Import all files from the 'files' directory to a new image 'games.ssd'
+-
+-.. code-block:: shell-session
+-
+- dfsimage import --new games.ssd --title="GAMES" files/*
+-
+-Export all files from the disk image at index 12 in 'beeb.mmb' file to the 'files' directory
+-
+-.. code-block:: shell-session
+-
+- dfsimage export beeb.mmb:12 -o files/
++DESCRIPTION
++===========
+
+-Index all floppy image contents from the 'images' directory to text table file
+-
+-.. code-block:: shell-session
+-
+- dfsimage index --only-files -f table images/*.ssd images/*.dsd > files.csv
+-
+-installation
+-============
+-
+-At this point the package is not yet available in the PyPI repository, so
+-it has to be build and installed manually:
+-
+-Linux
+------
+-
+-Make sure that pip and dependencies are installed.
+-If you are running Debian, Ubuntu or derived Linux distribution,
+-install the python3-pip package like this.
+-
+-.. code-block:: shell-session
+-
+- ~$ sudo apt-get install python3-pip
+-
+-Upgrade pip to latest version.
+-
+-.. code-block:: shell-session
+-
+- ~$ python -m pip install --upgrade pip
+-
+-Clone the repository
+-
+-.. code-block:: shell-session
++**dfsimage** is a command-line utility and a Python module dedicated for
++maintenance of **BBC Micro** disk image files. These files usually have extensions
++*.ssd* for a single sided disk image, or *.dsd* for a double sided disk image.
+
+- ~/src$ git clone https://github.com/monkeyman79/dfsimage.git
+- ~/src$ cd dfsimage
+-
+-Build and install package
+-
+-.. code-block:: shell-session
+-
+- ~/src/dfsimage$ python -m pip install .
+-
+-Windows
+--------
+-
+-Before installing this package on a Windows machine, make sure that
+-both Python and Git are installed on your system.
+-
+-* Python can be downloaded from here: https://www.python.org/downloads/
+-* Git for Windows can be downloaded from here: https://gitforwindows.org/
+-
+-Make sure to add both Python and Git to your PATH when asked by the installer.
+-
+-Execute steps below in either Command Prompt or Windows PowerShell.
+-
+-.. code-block:: ps1con
+-
+- PS C:\Users\you> mkdir Documents\src
+- PS C:\Users\you> cd Documents\src
+- PS C:\Users\you\Documents\src> git clone "https://github.com/monkeyman79/dfsimage.git"
+- PS C:\Users\you\Documents\src> cd dfsimage
+- PS C:\Users\you\Documents\src\dfsimage> python -m pip install --user .
+-
+-During installation, you may see the following warning message:
+-
+- **WARNING**: The script dfsimage.exe is installed in ``'C:\Users\you\AppData\Local\Packages\...\Scripts'``
+- which is not on PATH.
+-
+- Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
+-
+-This means that the ``'dfsimage'`` command will not be directly available. There are two options here:
+-
+-* Always execute dfsimage via ``python -m dfsimage COMMAND...``
+-* Add the Scripts directory to your PATH variable
+-
+-**Adding Scripts directory to your PATH variable**
+-
+-We can combine powers of Python and PowerShell to automatically add your local
+-Scripts directory to PATH.
+-Execute the steps below in the Windows PowerShell:
++**dfsimage** allows indexing contents of the disk images, importing files to and
++exporting from the disk images, modifying disk images in place, such as
++renaming files or changing disk title, and transferring data between disk images.
+
+-.. code-block:: ps1con
++The ``dfsimage`` module also supports *MMB* files. *MMB* files are containers for
++large number of *.ssd* disk images, designed for storing disk images on a
++MMC or SD card. All commands that work with *.ssd* FILES can be also used on a disk
++image contained within an MMB file. Index of a disk image within an MMB file can be
++either specified using the `index` option, or appended to the MMB file name, following
++a colon character, e.g. beeb.mmb:12. Commands **list**, **dump** and **digest** can
++take a range of disk images, e.g. beeb.mmb:10-20 or an entire *MMB* file. In that
++case the command will be applied to all *initialized* disk image in the specified range.
+
+- PS C:\Users\you> $USER_SITE = python -m site --user-site
+- PS C:\Users\you> $USER_SCRIPTS = (Get-ChildItem (Split-Path -Path $USER_SITE -Parent) Scripts).FullName
+- PS C:\Users\you> [Environment]::SetEnvironmentVariable("PATH",
+- >> [Environment]::GetEnvironmentVariable("PATH", "User") + ";$USER_SCRIPTS", "User")
++There are few commands intended specially for MMB files, such as **donboot** or
++**drecat**.
+
+-Now close your console window and open it again to make the change take effect.
++OPTIONS
++=======
+
+ command list
+ ============
+@@ -1123,6 +1021,39 @@
+ * ``mmb_status_byte`` - Raw MMB status byte value in the MMB catalog.
+ * ``sha1`` - SHA1 digest of the entire disk image file.
+
++EXAMPLES
++========
++
++Index all floppy images with contents from the 'images' directory to 'index.json' file
++
++.. code-block:: shell-session
++
++ dfsimage index -f json images/*.ssd images/*.dsd > index.json
++
++Covert a linear double sided image to a '.dsd' file
++
++.. code-block:: shell-session
++
++ dfsimage convert --from -D -L linear.img --to inter.dsd
++
++Import all files from the 'files' directory to a new image 'games.ssd'
++
++.. code-block:: shell-session
++
++ dfsimage import --new games.ssd --title="GAMES" files/*
++
++Export all files from the disk image at index 12 in 'beeb.mmb' file to the 'files' directory
++
++.. code-block:: shell-session
++
++ dfsimage export beeb.mmb:12 -o files/
++
++Index all floppy image contents from the 'images' directory to text table file
++
++.. code-block:: shell-session
++
++ dfsimage index --only-files -f table images/*.ssd images/*.dsd > files.csv
++
+ development status
+ ==================
+
diff --git a/development/dfsimage/slack-desc b/development/dfsimage/slack-desc
new file mode 100644
index 0000000000..b4b686b083
--- /dev/null
+++ b/development/dfsimage/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------------------------------------------------------|
+dfsimage: dfsimage (utility for BBC micro floppy disk images)
+dfsimage:
+dfsimage: dfsimage is a command-line utility and a Python module dedicated to
+dfsimage: maintenance of BBC Micro disk image files. These files usually have
+dfsimage: extensions .ssd for single sided disk images, or .dsd for double sided
+dfsimage: disk images.
+dfsimage:
+dfsimage: dfsimage allows indexing contents of the disk images, importing files
+dfsimage: to and exporting from the disk images, and modifying disk images in
+dfsimage: place, such as renaming files or changing the disk title.
+dfsimage:
diff --git a/development/dfu-programmer/README b/development/dfu-programmer/README
index f75afde793..934d235d1f 100644
--- a/development/dfu-programmer/README
+++ b/development/dfu-programmer/README
@@ -1,17 +1,12 @@
-dfu-programmer is a Device Firmware Update based USB programmer for
-Atmel chips with a USB bootloader.
-
-It seems to be working just fine with the LUFA based DFU Bootloader.
-(http://www.fourwalledcubicle.com/LUFA.php).
-
-
-You might want to add the following udev rule under /etc/udev/rules.d:
-
-SUBSYSTEM=="usb",ACTION=="add",ATTRS{idVendor}=="03eb",ATTRS{idProduct}=="2ff4",GROUP="plugdev"
-
-so when you plug the AVR chip to program, the USB devices becomes
-available to all the members of the "plugdev" group. Also, I found
-that the programmer doesn't work for non-root users when the
-"usbfs" is mounted on /proc/bus/usb, so my advice is to remove the
-"usbfs" entry from /etc/fstab if it is there (or maybe there is a
- better solution).
+dfu-programmer is an implementation of the Device Firmware Upgrade
+class USB driver that enables firmware upgrades for various USB enabled
+(with the correct bootloader) Atmel chips. This program was created
+because the Atmel "FLIP" program for flashing devices does not support
+flashing via USB on Linux, and because standard DFU loaders do not work
+for Atmel's chips.
+
+Check out the Atmel website for more information. They are kind enough
+to provide generally correct specifications this implementation is
+based on.
+
+See README.SBo for post-install configuration.
diff --git a/development/dfu-programmer/README.SBo b/development/dfu-programmer/README.SBo
new file mode 100644
index 0000000000..b35a127b74
--- /dev/null
+++ b/development/dfu-programmer/README.SBo
@@ -0,0 +1,10 @@
+You might want to add the following udev rule under /etc/udev/rules.d:
+
+ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff4", MODE="0664", GROUP="plugdev"
+
+so when you plug the Atmel chip to program, the device becomes
+available to all the members of the "plugdev" group.
+
+You will need to reboot your system or run the following command:
+
+sudo udevadm control --reload
diff --git a/development/dfu-programmer/dfu-programmer.SlackBuild b/development/dfu-programmer/dfu-programmer.SlackBuild
index 8a4d1ef375..5f516955d2 100644
--- a/development/dfu-programmer/dfu-programmer.SlackBuild
+++ b/development/dfu-programmer/dfu-programmer.SlackBuild
@@ -1,12 +1,35 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for dfu-programmer.
+# Slackware build script for dfu-programmer
+
+# Copyright 2023 Steven Voges <Oregon, USA>
# Written by Andrzej Telszewski <atelszewski@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dfu-programmer
-VERSION=${VERSION:-0.5.4}
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -52,6 +79,11 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+mkdir -p m4
+aclocal -I m4
+autoheader
+automake --foreign --add-missing --force-missing
+autoconf
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -71,7 +103,8 @@ 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 ChangeLog NEWS README \
+cp -a \
+ AUTHORS COPYING NEWS README.md docs/$PRGNAM.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -79,4 +112,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dfu-programmer/dfu-programmer.info b/development/dfu-programmer/dfu-programmer.info
index e3020ffd80..5a1fed8e28 100644
--- a/development/dfu-programmer/dfu-programmer.info
+++ b/development/dfu-programmer/dfu-programmer.info
@@ -1,10 +1,10 @@
PRGNAM="dfu-programmer"
-VERSION="0.5.4"
-HOMEPAGE="http://dfu-programmer.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.5.4/dfu-programmer-0.5.4.tar.gz"
-MD5SUM="707dcd0f957a74e92456ea6919faa772"
+VERSION="1.1.0"
+HOMEPAGE="https://dfu-programmer.github.io"
+DOWNLOAD="https://github.com/dfu-programmer/dfu-programmer/archive/v1.1.0/dfu-programmer-1.1.0.tar.gz"
+MD5SUM="683b169a9b9658b28742709a227c68a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/development/dfu-programmer/slack-desc b/development/dfu-programmer/slack-desc
index a4b0be2250..04125cb81a 100644
--- a/development/dfu-programmer/slack-desc
+++ b/development/dfu-programmer/slack-desc
@@ -6,12 +6,12 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-dfu-programmer: dfu-programmer (USB programmer for USB AVR chips)
+dfu-programmer: dfu-programmer (USB programmer for Atmel chips)
dfu-programmer:
dfu-programmer: dfu-programmer is a Device Firmware Update based USB programmer for
-dfu-programmer: Atmel chips with a USB bootloader.
+dfu-programmer: Atmel chips with a USB bootloader
dfu-programmer:
-dfu-programmer: Homepage: http://dfu-programmer.sourceforge.net/
+dfu-programmer: Homepage: http://dfu-programmer.github.io
dfu-programmer:
dfu-programmer:
dfu-programmer:
diff --git a/development/dhex/010_fix-typos.patch b/development/dhex/010_fix-typos.patch
new file mode 100644
index 0000000000..e782e6e9a8
--- /dev/null
+++ b/development/dhex/010_fix-typos.patch
@@ -0,0 +1,177 @@
+Description: fix typos and spelling errors
+Author: Gürkan Myczko <gurkan@phys.ethz.ch>
+Author: Fabio Augusto De Muzio Tobich <ftobich@gmail.com>
+Forwarded: no
+Last-Update: 2020-11-08
+
+Index: dhex/README.txt
+===================================================================
+--- dhex.orig/README.txt
++++ dhex/README.txt
+@@ -110,9 +110,9 @@ read from it, -r can be used. For exampl
+ sets the cursor to 0xaffe, and searches for the hex string "d0 0f" backwards
+ from there.
+
+-% ./dhex -oh affe -shb d00f -w occurances.log dhex
++% ./dhex -oh affe -shb d00f -w occurrences.log dhex
+
+-writes the results into a logfile called "occurances.log" and exits.
++writes the results into a logfile called "occurrences.log" and exits.
+
+ -----------------------------------------------------------------[ 5. Hexcalc ]-
+
+Index: dhex/datatypes.h
+===================================================================
+--- dhex.orig/datatypes.h
++++ dhex/datatypes.h
+@@ -101,7 +101,7 @@ typedef struct _tSearch
+ tBool forwardnotbackward;
+ char searchstring[32];
+ tInt16 searchlen;
+- tInt64 occurancesfound;
++ tInt64 occurrencesfound;
+ tInt64 lastoccurance;
+ tInt64 lastsearchlogpos;
+ } tSearch;
+Index: dhex/dhex.1
+===================================================================
+--- dhex.orig/dhex.1
++++ dhex/dhex.1
+@@ -101,7 +101,7 @@
+ .Ek
+ .Sh DESCRIPTION
+ .Nm
+-is a hex editor. It can be used to alter individual bytes in large files. Since it is a text-mode programm based on ncurses, it can run in numerous scenarios.
++is a hex editor. It can be used to alter individual bytes in large files. Since it is a text-mode program based on ncurses, it can run in numerous scenarios.
+ .
+ Its special feature is the diff mode: With it, the user has a visual tool for file comparison. This mode is invoked when
+ .Nm
+@@ -155,7 +155,7 @@ from an exotic terminal.
+ .It Fl m Ar markerfile
+ It is possible in
+ .Nm
+-to set bookmarks and store them in a markerfile for later use. With this parameter, the markerfile is being read at start time, making it unnecesarry to read them later through the gui. Their file format is described in
++to set bookmarks and store them in a markerfile for later use. With this parameter, the markerfile is being read at start time, making it unnecessary to read them later through the gui. Their file format is described in
+ .Xr dhex_markers 5 .
+ .It Fl ob od oh oo Ar offset
+ After loading a file, the cursor is set to 0, and the first page of bytes is being shown on the screen. With one of those parameters it is possible to start at any other location in the file. The cursorposition could be given as a binary number with
+@@ -179,11 +179,11 @@ or an octal one with
+ .Pp
+ This way, the first few bytes in a file can be skipped, and just the rest can be compared.
+ .It Fl r Ar searchlog
+-When searching from the command line, the offsets are being read from this searchlog. Its format is being decribed in
++When searching from the command line, the offsets are being read from this searchlog. Its format is being described in
+ .Xr dhex_searchlog 5 .
+ .It Fl r1 Ar searchlog1
+ .It Fl r2 Ar searchlog2
+-When searching in two files simultanously, the offsets can be read from two different searchlogs.
++When searching in two files simultaneously, the offsets can be read from two different searchlogs.
+ .It Fl sa sab sh shb Ar string
+ Instead of setting the cursor offset to an absolute value, it is possible to search for a specific string from the command line. If there is an additional
+ .Op Fl ob od oh oo Ar offset
+@@ -202,7 +202,7 @@ or
+ can be applied.
+ .It Fl s1a s1ab s1h s1hb Ar string1
+ .It Fl s2a s2ab s2h s2hb Ar string2
+-In the diff mode, it is possible to search for two strings in two files simultanously.
++In the diff mode, it is possible to search for two strings in two files simultaneously.
+ .It Fl v
+ Prints out the version of
+ .Nm .
+@@ -212,7 +212,7 @@ When searching from the command line, wr
+ .Pp
+ .It Fl \&w1 Ar searchlog1
+ .It Fl w2 Ar searchlog2
+-When searching in two files simultanously, write the results from both searches into those log files.
++When searching in two files simultaneously, write the results from both searches into those log files.
+ .El
+ .Sh USER INTERFACE
+ .Ss General
+@@ -235,11 +235,11 @@ If no other
+ .Op Fl o
+ or
+ .Op Fl a
+-parameter was given at start time, the cursor is being set to offset 0. It is also being shown in the hex column. Here, it can be moved with the cursor keys. When entering a hexadecimal number, the file is being edited. The file can be edited in the ascii column as well, simply by pressing the TAB key (or whichever key was substituted for it in the keyboard setup). Pressing TAB again will return the cursor to the hex column. Pressing F9 (or its substitute) will undo the last of the changes. Changes are being shown in a differnt color.
++parameter was given at start time, the cursor is being set to offset 0. It is also being shown in the hex column. Here, it can be moved with the cursor keys. When entering a hexadecimal number, the file is being edited. The file can be edited in the ascii column as well, simply by pressing the TAB key (or whichever key was substituted for it in the keyboard setup). Pressing TAB again will return the cursor to the hex column. Pressing F9 (or its substitute) will undo the last of the changes. Changes are being shown in a different color.
+ .Pp
+ Editing is not possible in the diff mode. Here, pressing the cursor keys will move both files synchronously.
+ .Ss The goto screen
+-Pressing F1 (or its substitute) will open the Goto... screen. Here, it is possible to jump to a specific address directly, without the need of scrolling there with the cursor keys. The address can be entered in the 'To' field, either absolute or relative (to leap over a specified amount of bytes). An absolute address is being chosen by pressing '=', and a relative one by pressing '+' or '-', for a positive or negative leap respectively. Regardless of the adressing mode, it has to be entered as a hexadecimal number.
++Pressing F1 (or its substitute) will open the Goto... screen. Here, it is possible to jump to a specific address directly, without the need of scrolling there with the cursor keys. The address can be entered in the 'To' field, either absolute or relative (to leap over a specified amount of bytes). An absolute address is being chosen by pressing '=', and a relative one by pressing '+' or '-', for a positive or negative leap respectively. Regardless of the addressing mode, it has to be entered as a hexadecimal number.
+ .Pp
+ It is also possible to set up to ten bookmarks in this screen: Pressing '0'...'9' will select one of them. Moving the cursor to "Set" and pressing ENTER will alter one of those book marks. The "Diff:" fields are showing the difference between the actual cursor position and the bookmark.
+ .Pp
+@@ -249,11 +249,11 @@ parameter.
+ .Xr dhex_markers 5
+ describes the format of the marker files.
+ .Ss Searching
+-Pressing F2 (or its subsitute) will open the Search... screen. Here, a short string can be entered (either in hex, or in ascii). If no logfiles are being selected, the cursor will jump to the next occurance of this search string upon selection of "Go". It can be chosen if the search is supposed to be conducted forward of backwards.
++Pressing F2 (or its substitute) will open the Search... screen. Here, a short string can be entered (either in hex, or in ascii). If no logfiles are being selected, the cursor will jump to the next occurrence of this search string upon selection of "Go". It can be chosen if the search is supposed to be conducted forward of backwards.
+ .Pp
+-To jump to the next occurance, F3 (or its substitute) has to be pressed. To jump to the previous one, F4 has to be pressed. The search itself wraps at the edges of the file, meaning that when it reaches the end, it will start from the beginning and vice versa.
++To jump to the next occurrence, F3 (or its substitute) has to be pressed. To jump to the previous one, F4 has to be pressed. The search itself wraps at the edges of the file, meaning that when it reaches the end, it will start from the beginning and vice versa.
+ .Pp
+-Searchlogs are an advanced way of searching: Writing to the searchlog does not jump the cursor from one occurance to the next. Instead, it will write the offsets of all of them into the logfile. Their format is described in
++Searchlogs are an advanced way of searching: Writing to the searchlog does not jump the cursor from one occurrence to the next. Instead, it will write the offsets of all of them into the logfile. Their format is described in
+ .Xr dhex_searchlog 5 .
+ .Pp
+ Reading from this searchlog means that the search does not cover the whole file: Only the addresses which have been provided in this file are being searched. Thus it is possible to search for specific changes. Like for example the number of lives stored in the save file of a game.
+Index: dhex/main.c
+===================================================================
+--- dhex.orig/main.c
++++ dhex/main.c
+@@ -67,7 +67,7 @@ void helpscreen(char* argv0,int exitval)
+ fprintf(stderr," -sa, -SA, -sab, -SAB [x] find the ascii string x in file (b=backwards)\n");
+ fprintf(stderr," -sh, -SH, -shb, -SHB [x] find the hex string x in file (b=backwards)\n");
+ fprintf(stderr," -r, -R [read searchlog] read the search positions from this searchlog\n");
+- fprintf(stderr," -w, -W [write searchlog] write the location of the occurances to this log\n");
++ fprintf(stderr," -w, -W [write searchlog] write the location of the occurrences to this log\n");
+ fprintf(stderr,"\n");
+ fprintf(stderr,"%s [Parameters] [Filename1] [Filename2]: Diff mode\n",argv0);
+ fprintf(stderr," -cd, -CD [x] correlate with the minimum difference\n");
+@@ -688,7 +688,7 @@ int main(int argc,char** argv)
+ cursorpos2=actcursorpos2;
+ }
+ }
+- else if (search1.occurancesfound)
++ else if (search1.occurrencesfound)
+ {
+ searchfor(&search1,buf1,&cursorpos1,(ch==KEYF3)); // f3: next
+ firstpos1=cursorpos1;
+@@ -762,8 +762,8 @@ int main(int argc,char** argv)
+ if (markers) free(markers);
+ welcomescreen(argv[0]);
+ } else {
+- if (gosearch1) fprintf(stderr,"%lli occurances found in %s\n",search1.occurancesfound,buf1->filename);
+- if (gosearch2) fprintf(stderr,"%lli occurances found in %s\n",search2.occurancesfound,buf2->filename);
++ if (gosearch1) fprintf(stderr,"%lli occurrences found in %s\n",search1.occurrencesfound,buf1->filename);
++ if (gosearch2) fprintf(stderr,"%lli occurrences found in %s\n",search2.occurrencesfound,buf2->filename);
+ }
+ return 0;
+ }
+Index: dhex/search.c
+===================================================================
+--- dhex.orig/search.c
++++ dhex/search.c
+@@ -123,7 +123,7 @@ tInt8 searchfor(tSearch* search,tBuffer*
+ else found=0;
+ if (found)
+ {
+- search->occurancesfound++;
++ search->occurrencesfound++;
+ search->lastoccurance=actcursorpos;
+ if (search->writesearchlog) fprintf(fwlog,"%016llx\n",(tUInt64)actcursorpos+buf->baseaddr); else done=1;
+ }
+Index: dhex/ui.c
+===================================================================
+--- dhex.orig/ui.c
++++ dhex/ui.c
+@@ -100,7 +100,7 @@ void searchmask(tOutput* output,tSearch*
+ {
+ drawcenterframe(output,14,60,"Found");
+ setcolor(output,COLOR_TEXT);
+- mvwprintw(output->win,offsy+13,offsx+1,"%lld occurances found",search->occurancesfound);
++ mvwprintw(output->win,offsy+13,offsx+1,"%lld occurrences found",search->occurrencesfound);
+ getkey((tKeyTab*)output->pKeyTab,1);
+ }
+ }
diff --git a/development/dhex/dhex.SlackBuild b/development/dhex/dhex.SlackBuild
index 45e02ef260..4715fa8149 100644
--- a/development/dhex/dhex.SlackBuild
+++ b/development/dhex/dhex.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dhex
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210829 bkw: BUILD=2, fix typos in docs/src, fix grammar in docs.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dhex
VERSION=${VERSION:-0.69}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +24,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -50,6 +59,13 @@ 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 {} \+
+# 20210829 bkw: patch borrowed from Debian, with thanks.
+patch -p1 < $CWD/010_fix-typos.patch
+
+# 20210829 bkw: the above patch doesn't address the weird grammar
+# in the man pages (use of "being" as a noise-word). So:
+sed -i 's,\(is\|are\) *being,\1,g' $PRGNAM.1 *.5
+
sed -i -e 's,-O3,'"$SLKCFLAGS"',' -e 's,share/man,man,' Makefile
make LDFLAGS="-L/usr/lib$LIBDIRSUFFIX"
@@ -67,4 +83,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dhex/dhex.info b/development/dhex/dhex.info
index 8b51c816cb..e051e3ca2f 100644
--- a/development/dhex/dhex.info
+++ b/development/dhex/dhex.info
@@ -1,10 +1,10 @@
PRGNAM="dhex"
VERSION="0.69"
-HOMEPAGE="http://www.dettus.net/dhex/"
-DOWNLOAD="http://www.dettus.net/dhex/dhex_0.69.tar.gz"
+HOMEPAGE="https://www.dettus.net/dhex/"
+DOWNLOAD="https://www.dettus.net/dhex/dhex_0.69.tar.gz"
MD5SUM="64d557437fe110c19f23ed3e9bbcdd54"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/diakonos/diakonos.SlackBuild b/development/diakonos/diakonos.SlackBuild
index cff33077e4..2f7ced4b25 100644
--- a/development/diakonos/diakonos.SlackBuild
+++ b/development/diakonos/diakonos.SlackBuild
@@ -1,16 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for diakonos
# Written by Phillip Warner <pc_warner@yahoo.com>
# Currently maintained by Martin McConnell <bancensorshipfriends@hotmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=diakonos
VERSION=${VERSION:-0.9.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -53,4 +63,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/diff-so-fancy/README b/development/diff-so-fancy/README
new file mode 100644
index 0000000000..8c018d065c
--- /dev/null
+++ b/development/diff-so-fancy/README
@@ -0,0 +1,5 @@
+diff-so-fancy strives to make your diffs human readable instead
+of machine readable. This helps improve code quality and helps
+you spot defects faster.
+
+This script repackages the Debian package provided by Aos Dabbagh.
diff --git a/development/diff-so-fancy/diff-so-fancy.SlackBuild b/development/diff-so-fancy/diff-so-fancy.SlackBuild
new file mode 100644
index 0000000000..2bd9a73187
--- /dev/null
+++ b/development/diff-so-fancy/diff-so-fancy.SlackBuild
@@ -0,0 +1,74 @@
+#!/bin/bash
+
+# Slackware build script for diff-so-fancy
+
+# Copyright 2024 Dimitar Nikov, Alfreton, United Kingdom
+# 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=diff-so-fancy
+VERSION=${VERSION:-1.4.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH="noarch"
+
+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 $PKG
+ar p $CWD/${PRGNAM}_${VERSION}-1ubuntu1_all.deb data.tar.xz | tar -xvJ
+
+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 $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
+
+rm -fr $PKG/usr/share/doc
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/usr/man/man1
+mv $PKG/usr/share/man/man1/$PRGNAM.1.gz $PKG/usr/man/man1
+rm -fr $PKG/usr/share/man
+
+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/development/diff-so-fancy/diff-so-fancy.info b/development/diff-so-fancy/diff-so-fancy.info
new file mode 100644
index 0000000000..97a60d9b0e
--- /dev/null
+++ b/development/diff-so-fancy/diff-so-fancy.info
@@ -0,0 +1,10 @@
+PRGNAM="diff-so-fancy"
+VERSION="1.4.4"
+HOMEPAGE="https://github.com/so-fancy/diff-so-fancy"
+DOWNLOAD="http://ppa.launchpadcontent.net/aos1/diff-so-fancy/ubuntu/pool/main/d/diff-so-fancy/diff-so-fancy_1.4.4-1ubuntu1_all.deb"
+MD5SUM="1b369ea97764cfcc76effe76baea0401"
+DOWNLOAD_x86_64="UNSUPPORTED"
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Dimitar Nikov"
+EMAIL="dimitar at nikov dot net"
diff --git a/development/vscode/doinst.sh b/development/diff-so-fancy/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/development/vscode/doinst.sh
+++ b/development/diff-so-fancy/doinst.sh
diff --git a/development/diff-so-fancy/slack-desc b/development/diff-so-fancy/slack-desc
new file mode 100644
index 0000000000..78b9d1e5a2
--- /dev/null
+++ b/development/diff-so-fancy/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------------------------------------------------------|
+diff-so-fancy: diff-so-fancy (make your diffs human readable)
+diff-so-fancy:
+diff-so-fancy: diff-so-fancy strives to make your diffs human readable instead
+diff-so-fancy: of machine readable. This helps improve code quality and helps
+diff-so-fancy: you spot defects faster.
+diff-so-fancy:
+diff-so-fancy: Homepage: https://github.com/so-fancy/diff-so-fancy
+diff-so-fancy:
+diff-so-fancy:
+diff-so-fancy:
+diff-so-fancy:
diff --git a/development/diffoscope/README b/development/diffoscope/README
index 54ec0c72e1..0e6a139424 100644
--- a/development/diffoscope/README
+++ b/development/diffoscope/README
@@ -3,16 +3,6 @@ directories different. It will recursively unpack archives of many
kinds and transform various binary formats into more human readable
form to compare them.
-
-Required Dependencies
-
-Both python-magic and python-libarchive-c must be built with python3
-support, for example
-
- PYTHON3=yes ./python-magic.SlackBuild
- PYTHON3=yes ./python-libarchive-c.SlackBuild
-
-
Optional Dependencies
argcomplete (for argument completion)
diff --git a/development/diffoscope/diffoscope.SlackBuild b/development/diffoscope/diffoscope.SlackBuild
index f6d185d3d2..3700068bd7 100644
--- a/development/diffoscope/diffoscope.SlackBuild
+++ b/development/diffoscope/diffoscope.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for diffoscope
@@ -22,10 +22,13 @@
# 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=diffoscope
-VERSION=${VERSION:-106}
+VERSION=${VERSION:-252}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -85,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/diffoscope/diffoscope.info b/development/diffoscope/diffoscope.info
index d24dd2f0dc..4b628709be 100644
--- a/development/diffoscope/diffoscope.info
+++ b/development/diffoscope/diffoscope.info
@@ -1,8 +1,8 @@
PRGNAM="diffoscope"
-VERSION="106"
+VERSION="252"
HOMEPAGE="https://diffoscope.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/d/diffoscope/diffoscope-106.tar.gz"
-MD5SUM="db1bc005772df139807dccf9ba19107d"
+DOWNLOAD="https://diffoscope.org/archive/diffoscope-252.tar.bz2"
+MD5SUM="bb1319a53b7225c300f6c9f48d295dfd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-libarchive-c python-magic"
diff --git a/development/diffuse/diffuse.SlackBuild b/development/diffuse/diffuse.SlackBuild
index 91c22f6114..10043c62ac 100644
--- a/development/diffuse/diffuse.SlackBuild
+++ b/development/diffuse/diffuse.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for diffuse
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=diffuse
VERSION=${VERSION:-0.4.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,4 +81,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/digikey-kicad-library/digikey-kicad-library.SlackBuild b/development/digikey-kicad-library/digikey-kicad-library.SlackBuild
index 355a5fa235..48f7061cbe 100644
--- a/development/digikey-kicad-library/digikey-kicad-library.SlackBuild
+++ b/development/digikey-kicad-library/digikey-kicad-library.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for digikey-kicad-library
# DigiKey Schematic, pcb libraries for KiCad.
@@ -24,14 +24,24 @@
# 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=digikey-kicad-library
VERSION=${VERSION:-20191024+0802230}
COMMIT="080223022765f0a639e1189dc5479e8fb2722ae4"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
-CWD=$(pwd)
+# 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}
@@ -64,4 +74,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dis/dis.1 b/development/dis/dis.1
new file mode 100644
index 0000000000..d1d9b862af
--- /dev/null
+++ b/development/dis/dis.1
@@ -0,0 +1,192 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "DIS" 1 "2021-08-30" "0.6" "SlackBuilds.org"
+.SH NAME
+dis \- dis - statically tracing 6502 disassembler
+.\" RST source for dis(1) man page. Convert with:
+.
+.\" rst2man.py dis.rst > dis.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+dis [\fI\-options\fP] file ...
+.SH DESCRIPTION
+.sp
+dis creates XASM/MADS\-compatible assembly code from a memory dump or
+an executable. dis statically traces execution paths starting from
+code entry points to mark which memory locations contain code. All
+other memory is treated as data. dis traces through JMP, JSR and BXX
+branch instructions. It stops at RTS, RTI and illegal instructions.
+.sp
+dis automatically determines common code entry points when
+disassembling Atari XEX/SAP files and Commodore 64 PRG files.
+.sp
+The disassembly is written to standard output.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \fI\-c\fP \fBL=XXXX\fP
+Code entry point(s)
+.TP
+.B \fI\-d\fP \fBL=XXXX\fP
+Data location(s) \- Disallow tracing as code
+.TP
+.B \fI\-C\fP \fBL=XXXX\fP
+Constant value(s)
+.TP
+.B \fI\-v\fP \fBL=XXXX\fP
+Vector(s), e.g. FFFA
+.TP
+.B \fI\-A\fP \fBL=XXXX\fP
+Data address(es)
+.TP
+.B \fI\-P\fP \fBL=XXXX\fP
+Code address(es) \- Trace target as code
+.TP
+.B \fI\-o\fP \fBL=XXXX\fP
+Origin for raw files
+.TP
+.B \fI\-l\fP
+Create labels
+.TP
+.B \fI\-i\fP
+Emit illegal opcodes
+.TP
+.B \fI\-t\fP \fBTYPE\fP
+Disassemble as TYPE:
+.INDENT 7.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+xex \- Atari executable (\-x)
+sap \- Atari SAP file
+prg \- Commodore 64 executable (\-p)
+raw \- raw memory
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.TP
+.B \fI\-x\fP
+Disassemble as Atari executable (same as \fB\-t xex\fP)
+.TP
+.B \fI\-p\fP
+Disassemble as Commodore 64 executable (same as \fB\-t prg\fP)
+.TP
+.B \fI\-comment\fP
+Emit comments
+.TP
+.B \fI\-call\fP
+Emit callers
+.TP
+.B \fI\-access\fP
+Emit accessors
+.TP
+.B \fI\-extern\fP
+Emit labels for out\-of\-range addresses
+.TP
+.B \fI\-rangelabels\fP
+Emit labels for ranges instead of base+offset
+.TP
+.B \fI\-verbose\fP
+Print info to STDERR
+.TP
+.B \fI\-dump\fP
+Print options in format for \-a
+.TP
+.B \fI\-dumpequ\fP
+Print equ statements for all labels
+.TP
+.B \fI\-headers\fP
+Print opt h\- if disabled with \-noheaders
+.TP
+.B \fI\-a\fP \fBFILE\fP
+Read options from FILE. Lines are: OPTION VALUE. If \fBFILE\fP
+is not found, it will be searched for in \fB/usr/share/dis\fP instead.
+.UNINDENT
+.sp
+Addresses may include a range, e.g. table=$300+F
+.sp
+Addresses may include xex segment number, e.g. 3:1FAE
+.sp
+Addresses for \-A and \-P may be given as HIGH_LOW, e.g. 3C64_3C62
+.SH FILES
+.INDENT 0.0
+.TP
+.B \fB/usr/share/dis/*.dop\fP
+Predefined option files for various platforms, for use with \fI\-a\fP\&.
+These include:
+.INDENT 7.0
+.INDENT 3.5
+sys.dop, hardware.dop: for use with Atari 8\-bit object code.
+.sp
+6510.dop, cia.dop, sid.dop, vic.dop: for use with Commodore 64 object code.
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/dis\-0.6/LICENSE.md for license information.
+.SH AUTHORS
+.sp
+dis was written by Lyren Brown.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The full documentation for \fBdis\fP:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+/usr/doc/dis\-0.6/README.md
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+The AtariAge thread:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+http://atariage.com/forums/topic/232658\-statically\-tracing\-6502\-disassembler/
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/dis/dis.SlackBuild b/development/dis/dis.SlackBuild
index c3eab3bce5..b68b9c584d 100644
--- a/development/dis/dis.SlackBuild
+++ b/development/dis/dis.SlackBuild
@@ -1,20 +1,27 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dis
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dis
VERSION=${VERSION:-0.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# no compiled code here
ARCH=noarch
-CWD=$(pwd)
+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}
@@ -34,6 +41,8 @@ cd $PRGNAM-$RELEASE
chown -R root:root .
chmod 644 *
+sed -i 's,Dissasseble,Disassemble,g' $PRGNAM README*
+
patch -p1 < $CWD/usr_share.diff # look for .dop files also in /usr/share/dis
# manual install
@@ -42,10 +51,15 @@ install -m0755 $PRGNAM $PKG/usr/bin
install -m0644 *.dop $PKG/usr/share/$PRGNAM
install -m0644 *.md $PKG/usr/doc/$PRGNAM-$VERSION
+# uh, and now manual (page) install. The man page was made from README.md
+# by the SlackBuild author.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dis/dis.info b/development/dis/dis.info
index 8e2d27a871..c01b7a2cf5 100644
--- a/development/dis/dis.info
+++ b/development/dis/dis.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/dis/dis.rst b/development/dis/dis.rst
new file mode 100644
index 0000000000..f98570752f
--- /dev/null
+++ b/development/dis/dis.rst
@@ -0,0 +1,154 @@
+.. RST source for dis(1) man page. Convert with:
+.. rst2man.py dis.rst > dis.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 0.6
+.. |date| date::
+
+===
+dis
+===
+
+------------------------------------------
+dis - statically tracing 6502 disassembler
+------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+dis [*-options*] file ...
+
+DESCRIPTION
+===========
+
+dis creates XASM/MADS-compatible assembly code from a memory dump or
+an executable. dis statically traces execution paths starting from
+code entry points to mark which memory locations contain code. All
+other memory is treated as data. dis traces through JMP, JSR and BXX
+branch instructions. It stops at RTS, RTI and illegal instructions.
+
+dis automatically determines common code entry points when
+disassembling Atari XEX/SAP files and Commodore 64 PRG files.
+
+The disassembly is written to standard output.
+
+OPTIONS
+=======
+
+*-c* **L=XXXX**
+ Code entry point(s)
+
+*-d* **L=XXXX**
+ Data location(s) - Disallow tracing as code
+
+*-C* **L=XXXX**
+ Constant value(s)
+
+*-v* **L=XXXX**
+ Vector(s), e.g. FFFA
+
+*-A* **L=XXXX**
+ Data address(es)
+
+*-P* **L=XXXX**
+ Code address(es) - Trace target as code
+
+*-o* **L=XXXX**
+ Origin for raw files
+
+*-l*
+ Create labels
+
+*-i*
+ Emit illegal opcodes
+
+*-t* **TYPE**
+ Disassemble as TYPE::
+
+ xex - Atari executable (-x)
+ sap - Atari SAP file
+ prg - Commodore 64 executable (-p)
+ raw - raw memory
+
+*-x*
+ Disassemble as Atari executable (same as **-t xex**)
+
+*-p*
+ Disassemble as Commodore 64 executable (same as **-t prg**)
+
+*-comment*
+ Emit comments
+
+*-call*
+ Emit callers
+
+*-access*
+ Emit accessors
+
+*-extern*
+ Emit labels for out-of-range addresses
+
+*-rangelabels*
+ Emit labels for ranges instead of base+offset
+
+*-verbose*
+ Print info to STDERR
+
+*-dump*
+ Print options in format for -a
+
+*-dumpequ*
+ Print equ statements for all labels
+
+*-headers*
+ Print opt h- if disabled with -noheaders
+
+*-a* **FILE**
+ Read options from FILE. Lines are: OPTION VALUE. If **FILE**
+ is not found, it will be searched for in **/usr/share/dis** instead.
+
+Addresses may include a range, e.g. table=$300+F
+
+Addresses may include xex segment number, e.g. 3:1FAE
+
+Addresses for -A and -P may be given as HIGH_LOW, e.g. 3C64_3C62
+
+FILES
+=====
+
+**/usr/share/dis/\*.dop**
+ Predefined option files for various platforms, for use with *-a*.
+ These include:
+
+ sys.dop, hardware.dop: for use with Atari 8-bit object code.
+
+ 6510.dop, cia.dop, sid.dop, vic.dop: for use with Commodore 64 object code.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/dis-|version|/LICENSE.md for license information.
+
+AUTHORS
+=======
+
+dis was written by Lyren Brown.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The full documentation for **dis**::
+
+ /usr/doc/dis-0.6/README.md
+
+The AtariAge thread::
+
+ http://atariage.com/forums/topic/232658-statically-tracing-6502-disassembler/
diff --git a/development/dis6502/2857fc3_20180311.diff b/development/dis6502/2857fc3_20180311.diff
new file mode 100644
index 0000000000..7101c7a22f
--- /dev/null
+++ b/development/dis6502/2857fc3_20180311.diff
@@ -0,0 +1,446 @@
+diff --git a/dis.h b/dis.h
+index 607678d..c48a6c2 100644
+--- a/dis.h
++++ b/dis.h
+@@ -1,8 +1,7 @@
+ /*
+ * dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
+ *
+- * $Id: dis.h 26 2004-01-17 23:28:23Z eric $
+- * Copyright 2000-2016 Eric Smith <spacewar@gmail.com>
++ * Copyright 2000-2018 Eric Smith <spacewar@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+@@ -21,7 +20,7 @@
+ */
+
+
+-extern int sevenbit; /* if true, mask character data with 0x7f
++extern bool sevenbit; /* if true, mask character data with 0x7f
+ to ignore MSB */
+
+ typedef uint16_t addr_t;
+@@ -41,6 +40,10 @@ extern int base_address, vector_address;
+ extern int entry_count;
+ extern int entry_address[MAX_ENTRY];
+
++
++extern bool prodos;
++
++
+ extern int asmout;
+ extern unsigned char f[];
+ extern unsigned char d[];
+@@ -116,8 +119,9 @@ char *get_name(addr_t loc);
+ #define TSTOP 262
+ #define TRTSTAB 263
+ #define TJTAB2 264
+-#define EQS 265
+-#define OFS 266
++#define TJTAB 265
++#define EQS 266
++#define OFS 267
+
+ extern FILE *yyin, *yyout;
+ int lineno;
+diff --git a/initopts.c b/initopts.c
+index f33345c..f5bb146 100644
+--- a/initopts.c
++++ b/initopts.c
+@@ -1,10 +1,8 @@
+ /*
+- *
+- * dis [-p predefineds] file
+- *
+- * The -p option may be repeated.
++ * Copyright 2001-2018 Eric Smith <spacewar@gmail.com>
+ */
+
++#include <stdbool.h>
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -37,7 +35,8 @@ void usage (void)
+ " -p <file> predefs\n"
+ " -e <address> alternate entry point address\n"
+ " -v <address> alternate vector address\n"
+- " -7 mask character data to 7-bit",
++ " -7 mask character data to 7-bit\n"
++ " -P decode ProDOS MLI calls\n",
+ progname);
+ exit (1);
+ }
+@@ -96,7 +95,10 @@ void initopts (int argc, char *argv[])
+ bopt = ATARI_BOOT;
+ break;
+ case '7':
+- sevenbit = 1;
++ sevenbit = true;
++ break;
++ case 'P':
++ prodos = true;
+ break;
+ default: crash("Invalid option letter");
+ }
+diff --git a/lex.l b/lex.l
+index 1899887..3c637c6 100644
+--- a/lex.l
++++ b/lex.l
+@@ -1,8 +1,7 @@
+ /*
+ * dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
+ *
+- * $Id: lex.l 26 2004-01-17 23:28:23Z eric $
+- * Copyright 2001-2014 Eric Smith <eric@brouhaha.com>
++ * Copyright 2001-2018 Eric Smith <spacewar@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+@@ -23,6 +22,7 @@
+
+ %{
+ #undef ECHO
++#include <stdbool.h>
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -62,6 +62,8 @@ alphanum [0-9a-zA-Z_]
+
+ \.[Jj][Tt][Aa][Bb]2 { return TJTAB2; }
+
++\.[Jj][Tt][Aa][Bb] { return TJTAB; }
++
+ {digit}+ {
+ (void)sscanf(yytext, "%d", &token.ival);
+ return NUMBER;
+diff --git a/main.c b/main.c
+index cdc3c23..a6f101d 100644
+--- a/main.c
++++ b/main.c
+@@ -1,8 +1,7 @@
+ /*
+ * dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
+ *
+- * $Id: main.c 26 2004-01-17 23:28:23Z eric $
+- * Copyright 2000-2016 Eric Smith <eric@brouhaha.com>
++ * Copyright 2000-2018 Eric Smith <spacewar@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+@@ -21,6 +20,7 @@
+ */
+
+
++#include <stdbool.h>
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -28,7 +28,8 @@
+
+ #include "dis.h"
+
+-int sevenbit = 0; /* if true, mask character data with 0x7f to ignore MSB */
++bool sevenbit = false; /* if true, mask character data with 0x7f to ignore MSB */
++bool prodos = false;
+
+ #define NTSTART 500
+
+@@ -44,6 +45,12 @@ int rtstab_addr [RTSTAB_MAX]; /* .rtstab directive */
+ int rtstab_size [RTSTAB_MAX];
+ int rtstab_count = 0;
+
++#define JTAB_MAX 50
++
++int jtab_addr [JTAB_MAX]; /* .jtab directive */
++int jtab_size [JTAB_MAX];
++int jtab_count = 0;
++
+ #define JTAB2_MAX 50
+
+ int jtab2_addr_low [JTAB2_MAX]; /* .jtab2 directive */
+@@ -122,6 +129,18 @@ void trace_inst (addr_t addr)
+ break;
+ }
+
++ // handle ProDOS MLI calls
++ if (prodos && (opcode == 0x20) && (operand == 0xbf00))
++ {
++ f[addr++] |= TDONE; // system call number
++ uint16_t parameter_list = getword(addr);
++ f[addr++] |= TDONE;
++ f[addr++] |= TDONE;
++ f[parameter_list] |= DREF;
++ save_ref(istart, operand);
++ continue;
++ }
++
+ /* Mark data references */
+
+ switch (ip->flag & ADRMASK)
+@@ -211,8 +230,7 @@ void start_trace (addr_t loc, char *name)
+
+ void do_ptrace (void)
+ {
+- int i;
+- for (i = 0; i<tstarti; i++)
++ for (int i = 0; i<tstarti; i++)
+ {
+ char *trace_sym = (char *) malloc (6);
+ sprintf (trace_sym, "P%04x", tstart [i]);
+@@ -223,16 +241,29 @@ void do_ptrace (void)
+
+ void do_rtstab (void)
+ {
+- int i, j;
+- int loc, code;
++ for (int i = 0; i < rtstab_count; i++)
++ {
++ int loc = rtstab_addr [i];
++ for (int j = 0; j < rtstab_size [i]; j++)
++ {
++ char *trace_sym = (char *) malloc (6);
++ int code = d [loc] + (d [loc + 1] << 8) + 1;
++ sprintf (trace_sym, "T%04x", code);
++ start_trace (code, trace_sym);
++ loc += 2;
++ }
++ }
++}
+
+- for (i = 0; i < rtstab_count; i++)
++void do_jtab (void)
++{
++ for (int i = 0; i < jtab_count; i++)
+ {
+- loc = rtstab_addr [i];
+- for (j = 0; j < rtstab_size [i]; j++)
++ int loc = jtab_addr [i];
++ for (int j = 0; j < jtab_size [i]; j++)
+ {
+ char *trace_sym = (char *) malloc (6);
+- code = d [loc] + (d [loc + 1] << 8) + 1;
++ int code = d [loc] + (d [loc + 1] << 8);
+ sprintf (trace_sym, "T%04x", code);
+ start_trace (code, trace_sym);
+ loc += 2;
+@@ -242,16 +273,14 @@ void do_rtstab (void)
+
+ void do_jtab2 (void)
+ {
+- int i, j;
+- int loc_l, loc_h, code;
+- for (i = 0; i < jtab2_count; i++)
++ for (int i = 0; i < jtab2_count; i++)
+ {
+- loc_l = jtab2_addr_low [i];
+- loc_h = jtab2_addr_high [i];
+- for (j = 0; j < jtab2_size [i]; j++)
++ int loc_l = jtab2_addr_low [i];
++ int loc_h = jtab2_addr_high [i];
++ for (int j = 0; j < jtab2_size [i]; j++)
+ {
+ char *trace_sym = (char *) malloc (6);
+- code = d [loc_l + j] + (d [loc_h + j] << 8);
++ int code = d [loc_l + j] + (d [loc_h + j] << 8);
+ sprintf (trace_sym, "T%04x", code);
+ start_trace (code, trace_sym);
+ }
+@@ -295,6 +324,7 @@ int main (int argc, char *argv[])
+
+ do_ptrace ();
+ do_rtstab ();
++ do_jtab ();
+ do_jtab2 ();
+
+ trace_all ();
+@@ -308,7 +338,6 @@ int main (int argc, char *argv[])
+ void get_predef (void)
+ {
+ long loc, loc2;
+- int i;
+ int size;
+ char *name;
+
+@@ -334,6 +363,20 @@ void get_predef (void)
+ rtstab_addr [rtstab_count] = loc;
+ rtstab_size [rtstab_count++] = size;
+ break;
++ case TJTAB:
++ if (yylex() != NUMBER)
++ crash(".jtab needs an address operand");
++ loc = token.ival;
++ if (loc > 0x10000 || loc < 0)
++ crash("Number out of range");
++ if (yylex() != ',')
++ crash(".jtab needs a comma");
++ if (yylex() != NUMBER)
++ crash(".jtab needs a comma");
++ size = token.ival;
++ jtab_addr [jtab_count] = loc;
++ jtab_size [jtab_count++] = size;
++ break;
+ case TJTAB2:
+ if (yylex() != NUMBER)
+ crash(".jtab2 needs a number operand");
+@@ -401,7 +444,7 @@ void get_predef (void)
+ size = token.ival;
+ f[loc] |= NAMED;
+ save_name(loc, name);
+- for (i = 1; i < size; i++)
++ for (int i = 1; i < size; i++)
+ {
+ f [loc + i] |= OFFSET;
+ offset [loc + i] = -i;
+@@ -449,7 +492,6 @@ void loadboot (void)
+
+ FILE *fp;
+ int base_addr;
+- register int i;
+ int len;
+
+ fp = fopen(file, "r");
+@@ -469,7 +511,7 @@ void loadboot (void)
+ if (fread((char *)&d[base_addr], 1, len, fp) != len)
+ crash("input too short");
+
+- for(i = base_addr; len > 0; len--)
++ for(int i = base_addr; len > 0; len--)
+ f[i++] |= LOADED;
+
+ start_trace(base_addr+6, "**BOOT**");
+@@ -481,7 +523,7 @@ void loadfile (void)
+ FILE *fp;
+ int base_addr;
+ int last_addr;
+- register int i;
++ int i;
+ int had_header;
+ int tmp;
+
+@@ -603,13 +645,12 @@ void binaryloadfile (void)
+
+ if (entry_count)
+ {
+- int i;
+- char label [8];
+- for (i = 0; i < entry_count; i++)
++ for (int j = 0; j < entry_count; j++)
+ {
+- snprintf (label, sizeof (label), "e_%04x", entry_address[i]);
++ char *label = malloc(7);
++ sprintf (label, "e_%04x", entry_address[j]);
+ printf("label: %s\n", label);
+- start_trace (entry_address[i], label);
++ start_trace (entry_address[j], label);
+ }
+ }
+ else
+diff --git a/print.c b/print.c
+index a049a91..1a3f25c 100644
+--- a/print.c
++++ b/print.c
+@@ -1,8 +1,7 @@
+ /*
+ * dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
+ *
+- * $Id: print.c 26 2004-01-17 23:28:23Z eric $
+- * Copyright 2000-2014 Eric Smith <eric@brouhaha.com>
++ * Copyright 2000-2018 Eric Smith <spacewar@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+@@ -20,7 +19,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
+ */
+
+-
++#include <stdbool.h>
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -247,7 +246,7 @@ int print_data (addr_t i)
+ i++;
+
+ for (j = 1; j < 8; j++) {
+- if (f[i] & (JREF | SREF | DREF) || ((f[i] & LOADED) == 0))
++ if (f[i] & (JREF | SREF | DREF | ISOP) || ((f[i] & LOADED) == 0))
+ break;
+ else
+ printf(",$%02x", getbyte(i));
+diff --git a/ref.c b/ref.c
+index 879ddb1..5a40156 100644
+--- a/ref.c
++++ b/ref.c
+@@ -1,8 +1,7 @@
+ /*
+ * dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
+ *
+- * $Id: ref.c,v 1.5 2003/09/15 21:49:25 eric Exp $
+- * Copyright 2001-2003 Eric Smith <eric@brouhaha.com>
++ * Copyright 2001-2018 Eric Smith <spacewar@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+@@ -21,6 +20,7 @@
+ */
+
+
++#include <stdbool.h>
+ #include <stdint.h>
+ #include <stdio.h>
+
+diff --git a/tbl.c b/tbl.c
+index 8a5f3b4..c42f56e 100644
+--- a/tbl.c
++++ b/tbl.c
+@@ -1,8 +1,7 @@
+ /*
+ * dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
+ *
+- * $Id: tbl.c 26 2004-01-17 23:28:23Z eric $
+- * Copyright 2001-2014 Eric Smith <eric@brouhaha.com>
++ * Copyright 2001-2018 Eric Smith <spacewar@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+@@ -20,7 +19,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
+ */
+
+-
++#include <stdbool.h>
+ #include <stdint.h>
+ #include <stdio.h>
+
+@@ -83,6 +82,7 @@ struct info optbl[256] = {
+ [0x41] = { "eor", 2, INX },
+
+ [0x45] = { "eor", 2, ZPG },
++ [0x46] = { "lsr", 2, ZPG },
+
+ [0x48] = { "pha", 1, IMP },
+ [0x49] = { "eor", 2, IMM },
+diff --git a/trace_queue.c b/trace_queue.c
+index 332473c..dc8852f 100644
+--- a/trace_queue.c
++++ b/trace_queue.c
+@@ -1,8 +1,7 @@
+ /*
+ * dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
+ *
+- * $Id: trace_queue.c,v 1.2 2003/09/15 21:49:25 eric Exp $
+- * Copyright 2000-2003 Eric Smith <eric@brouhaha.com>
++ * Copyright 2000-2018 Eric Smith <spacewar@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+@@ -20,7 +19,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
+ */
+
+-
++#include <stdbool.h>
+ #include <stdint.h>
+ #include <stdio.h>
+ #include "dis.h"
diff --git a/development/dis6502/README b/development/dis6502/README
index 5e3fd01970..f125d60a09 100644
--- a/development/dis6502/README
+++ b/development/dis6502/README
@@ -6,6 +6,9 @@ sections from data by tracing the flow of execution, and supports a
config file for manually defining code sections that aren't reached by
the trace.
+Note: the package includes predef files for Atari and Commodore 8-bit
+computers, for use with the -p option, in /usr/share/dis6502.
+
Note: This is NOT the dis6502 from AtariMax. Although the name is the
same, AtariMax's disassembler is completely different (for one thing,
it's a Windows GUI application).
diff --git a/development/dis6502/compilefix.diff b/development/dis6502/compilefix.diff
deleted file mode 100644
index 00a76e9d65..0000000000
--- a/development/dis6502/compilefix.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur dis6502-0.12/lex.l dis6502-0.12.patched/lex.l
---- dis6502-0.12/lex.l 2004-01-17 18:25:28.000000000 -0500
-+++ dis6502-0.12.patched/lex.l 2017-09-08 00:44:16.631761979 -0400
-@@ -91,7 +91,7 @@
- emalloc(n)
- unsigned n;
- {
-- char *ptr, *malloc();
-+ char *ptr;
-
- if ((ptr = malloc(n)) == (char *) 0) {
- (void) fprintf(stderr,"out of core");
diff --git a/development/dis6502/dis6502.1 b/development/dis6502/dis6502.1
deleted file mode 100644
index 458f8fd383..0000000000
--- a/development/dis6502/dis6502.1
+++ /dev/null
@@ -1,176 +0,0 @@
-.\" Man page generated from reStructuredText.
-.
-.TH DIS6502 1 "2017-09-08" "0.12" "SlackBuilds.org"
-.SH NAME
-dis6502 \- Disassemble 6502 object code
-.
-.nr rst2man-indent-level 0
-.
-.de1 rstReportMargin
-\\$1 \\n[an-margin]
-level \\n[rst2man-indent-level]
-level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
--
-\\n[rst2man-indent0]
-\\n[rst2man-indent1]
-\\n[rst2man-indent2]
-..
-.de1 INDENT
-.\" .rstReportMargin pre:
-. RS \\$1
-. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-. nr rst2man-indent-level +1
-.\" .rstReportMargin post:
-..
-.de UNINDENT
-. RE
-.\" indent \\n[an-margin]
-.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.nr rst2man-indent-level -1
-.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-..
-.\" RST source for dis6502(1) man page. Convert with:
-.
-.\" rst2man.py dis6502.rst > dis6502.1
-.
-.\" rst2man.py comes from the SBo development/docutils package.
-.
-.SH SYNOPSIS
-.sp
-dis6502 [\fI\-b\fP | \fI\-l\fP | \fI\-c\fP | \fI\-r <address>\fP] [\fI\-a\fP] [\fI\-p <pfile>\fP] [\fI\-v <address>\fP] [\fI\-7\fP] \fIfile\fP
-.SH DESCRIPTION
-.sp
-Dis6502 disassembles 6502 binary files. Binary formats understood include
-Atari binary files (L menu command) and boot files. Equate and control
-files can be included via the option to name well known locations and to
-control the disassembly process. The output includes a cross reference.
-.sp
-The disassembly process is a two pass operation: First the program flow
-is traced starting with the init and run parameters in the file headers.
-The dump routine then prints out the information.
-.SH OPTIONS
-.INDENT 0.0
-.TP
-.B \fB\-r\fP \fI<address\fP>
-\fIfile\fP is raw binary, located at \fI<address>\fP\&.
-.TP
-.B \fB\-b\fP
-\fIfile\fP is an Atari boot image (disk or cassette). Note that neither .ATR
-nor .CAS images are supported: the file must be a raw image with no header
-information. For disks, this is called an XFD file.
-.TP
-.B \fB\-l\fP
-\fIfile\fP is an Atari load file (aka XEX).
-.TP
-.B \fB\-c\fP
-\fIfile\fP is a Commodore 64 executable.
-.TP
-.B \fB\-a\fP
-Generate assembly output. Suppresses the addresses and object
-code normally printed on each line of output, and omits the
-cross\-reference section from the end of the output.
-.TP
-.B \fB\-p\fP \fI<pfile>\fP
-Use predefinition file. See \fBFILE FORMAT\fP for the predef file format.
-Up to 10 \fB\-p\fP options may be included.
-.TP
-.B \fB\-v\fP \fI<address>\fP
-Alternate vector address (normally \fB$FFFA\fP). This option only has
-any effect with raw binaries (\fB\-r\fP option).
-.TP
-.B \fB\-7\fP
-Mask character data to 7\-bit.
-.UNINDENT
-.SH FILES
-.sp
-\fB/usr/share/dis6502/atari8.predef\fP
-.sp
-\fB/usr/share/dis6502/c64.predef\fP
-.sp
-Predefinition files for Atari 8\-bit and Commodore 64, containing the usual
-system equates.
-.SH FILE FORMAT
-.sp
-Lines in a predefinition file consist of:
-.sp
-\fBlabel\fP .eq \fIaddress\fP
-.sp
-\fBlabel\fP .equ \fIaddress\fP
-.INDENT 0.0
-.INDENT 3.5
-Defines a label. The \fB\&.eq\fP and \fB\&.equ\fP forms are equivalent.
-.UNINDENT
-.UNINDENT
-.sp
-\fB\&.jtab2\fP \fIlowaddr,hiaddr,count\fP
-.INDENT 0.0
-.INDENT 3.5
-Defines a table of \fIcount\fP pointers, split into low and
-high byte tables. In assembly code, such a table might look like:
-.INDENT 0.0
-.INDENT 3.5
-.sp
-.nf
-.ft C
-; func1, func2, func3 are addresses.
-table_lo: .byte <func1, <func2, <func3
-table_hi: .byte >func1, >func2, >func3
-.ft P
-.fi
-.UNINDENT
-.UNINDENT
-.sp
-To disassemble these, assuming the address of \fItable_lo\fP is \fB$1000\fP,
-use:
-.INDENT 0.0
-.INDENT 3.5
-.sp
-.nf
-.ft C
-\&.jtab2 $1000,$1003,3
-.ft P
-.fi
-.UNINDENT
-.UNINDENT
-.UNINDENT
-.UNINDENT
-.sp
-\fB\&.rtstab\fP \fIlowaddr\fP,*hiaddr*,*count*
-.INDENT 0.0
-.INDENT 3.5
-Like \fB\&.jtab2\fP, but each entry contains the target address minus one, for use with RTS.
-.UNINDENT
-.UNINDENT
-.sp
-\fB\&.trace\fP \fIaddress\fP
-.INDENT 0.0
-.INDENT 3.5
-Causes the trace process to continue at \fIaddress\fP\&.
-.UNINDENT
-.UNINDENT
-.sp
-\fB\&.stop\fP \fIaddress\fP
-.INDENT 0.0
-.INDENT 3.5
-Causes the trace process to stop at \fIaddress\fP\&.
-.UNINDENT
-.UNINDENT
-.SH COPYRIGHT
-.sp
-dis6502 is distributed under the terms of the Free Software Foundation\(aqs
-General Public License, Version 2. See the file
-/usr/doc/dis6502\-0.12/COPYING for license information.
-.SH AUTHORS
-.sp
-dis6502 was written by Robert Bond, Udi Finkelstein, and Eric Smith.
-.sp
-This man page written for the SlackBuilds.org project
-by B. Watson, and is licensed under the WTFPL.
-.SH SEE ALSO
-.sp
-dis(1), da65(1)
-.sp
-The dis6502 homepage: \fI\%http://www.brouhaha.com/~eric/software/dis6502/\fP
-.\" Generated by docutils manpage writer.
-.
diff --git a/development/dis6502/dis6502.SlackBuild b/development/dis6502/dis6502.SlackBuild
index baef9520a0..12f7c06622 100644
--- a/development/dis6502/dis6502.SlackBuild
+++ b/development/dis6502/dis6502.SlackBuild
@@ -1,15 +1,28 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dis6502
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230516 bkw: *finally* updated after almost 6 years. upstream moved
+# to github but didn't update or remove the old website...
+# - updated for latest git (0.15+2857fc3_20180311). used latest git
+# rather than the last release because there's a critical bugfix:
+# release was missing the LSR zeropage opcode.
+# - use upstream's man page, now that there is one. though I had to
+# patch it to add a couple options that aren't mentioned there.
+# - get rid of no-longer-needed compilefix and helpformat patches.
+# - mention the predefs files in README.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dis6502
-VERSION=${VERSION:-0.12}
+VERSION=${VERSION:-0.15+2857fc3_20180311}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +32,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -40,25 +57,31 @@ fi
set -e
+TARVER="$( echo $VERSION | cut -d+ -f1 )"
+GITVER="$( echo $VERSION | cut -d+ -f2 )"
+
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 $PRGNAM-$TARVER
+tar xvf $CWD/$PRGNAM-$TARVER.tar.gz
+cd $PRGNAM-$TARVER
chown -R root:root .
chmod 644 *
-patch -p1 < $CWD/compilefix.diff
-patch -p1 < $CWD/helpformat.diff # add missing \n to last line of usage msg
-make CFLAGS="$SLKCFLAGS"
+# Patch was made by editing the man page. Documents a few options
+# that are in the help output, cleans up the formatting, and fixes
+# the synopsis.
+patch -p1 < $CWD/manpage.diff
+
+# Patch was made by cloning upstream's repo and doing a 'git diff v0.15'.
+patch -p1 < $CWD/$GITVER.diff
+
+make CFLAGS="$SLKCFLAGS -fcommon"
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
install -s -m0755 $PRGNAM $PKG/usr/bin
-
-# man page based on the one from comp.sources.amiga v02i053 release, dated
-# October 1986,
-gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
# c64.predefs file is a modified version of the one from the
# comp.sources.amiga v02i053 release. atari8.predefs file was created
@@ -75,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dis6502/dis6502.info b/development/dis6502/dis6502.info
index 62c648c8e6..65a483acbd 100644
--- a/development/dis6502/dis6502.info
+++ b/development/dis6502/dis6502.info
@@ -1,10 +1,10 @@
PRGNAM="dis6502"
-VERSION="0.12"
-HOMEPAGE="http://www.brouhaha.com/~eric/software/dis6502/"
-DOWNLOAD="http://www.brouhaha.com/~eric/software/dis6502/dis6502-0.12.tar.gz"
-MD5SUM="6b865314f1d7d8629fd3c7f7e390b099"
+VERSION="0.15+2857fc3_20180311"
+HOMEPAGE="https://github.com/brouhaha/dis6502/"
+DOWNLOAD="https://github.com/brouhaha/dis6502/archive/v0.15/dis6502-0.15.tar.gz"
+MD5SUM="0db176cea87d7e01ca1112a62a23b9d9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/dis6502/helpformat.diff b/development/dis6502/helpformat.diff
deleted file mode 100644
index bda1ffcecd..0000000000
--- a/development/dis6502/helpformat.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur dis6502-0.12.orig/initopts.c dis6502-0.12/initopts.c
---- dis6502-0.12.orig/initopts.c 2004-01-17 18:25:29.000000000 -0500
-+++ dis6502-0.12/initopts.c 2006-11-24 18:56:32.000000000 -0500
-@@ -30,7 +30,7 @@
- " options: -a assembly output\n"
- " -p <file> predefs\n"
- " -v <address> alternate vector address\n"
-- " -7 mask character data to 7-bit",
-+ " -7 mask character data to 7-bit\n",
- progname);
- exit (1);
- }
diff --git a/development/dis6502/manpage.diff b/development/dis6502/manpage.diff
new file mode 100644
index 0000000000..0004c82a5b
--- /dev/null
+++ b/development/dis6502/manpage.diff
@@ -0,0 +1,121 @@
+diff --git a/dis6502.1 b/dis6502.1
+index 5234264..a0d9ea3 100644
+--- a/dis6502.1
++++ b/dis6502.1
+@@ -1,14 +1,34 @@
+-.TH DIS6502 1 "12 SEP 2003"
+-.UC 4
++.TH DIS6502 1 "16 MAY 2023" "0.15+2857fc3_20180311" "SlackBuilds.org"
+ .SH NAME
+ dis6502 \- Disassemble 6502 object code
+ .SH SYNOPSIS
+ .I dis6502
+ [
+-.I \-b
++.B \-r \fIaddress\fP
++|
++.B \-b
++|
++.B \-l
++|
++.B \-c
+ ]
+ [
+-.I -p \fIpfile\fP
++.B \-a
++]
++[
++.B \-p \fIpfile\fP
++]
++[
++.B \-e \fIaddress\fP
++]
++[
++.B \-v \fIaddress\fP
++]
++[
++.B \-7
++]
++[
++.B \-P
+ ]
+ .I file
+ .LP
+@@ -24,41 +44,49 @@ process. The output includes a cross reference.
+ The disassembly process is a two pass operation: First the program
+ flow is traced starting with the init and run parameters in the file
+ headers. The dump routine then prints out the information.
+-.PP
+-The command line options are:
++.SH OPTIONS
+ .TP
+-.I \-r \fIaddress\fP
++.B \-r \fIaddress\fP
+ Raw binary input file, with the first byte of the file being associated with
+ the specified address.
+ .TP
+-.I \-b
++.B \-b
+ Atari boot format input file.
+ .TP
+-.I \-l
++.B \-l
+ Atari load format input file.
+ .TP
+-.I \-c
++.B \-c
+ Commodore format input file.
+ .TP
+-.I \-p \fIpfile\fP
++.B \-a
++Assembly output.
++.TP
++.B \-p \fIpfile\fP
+ Read in the predefine file \fIpfile\fP.
+ Up to 20 \fI-p\fP options may be included.
+ .TP
+-.I \-v \fIaddress\fP
++.B \-e \fIaddress\fP
++Use an alternate entry point address.
++.TP
++.B \-v \fIaddress\fP
+ Use an alternate address for the reset and interrupt vectors.
+ .TP
+-.I \-7
++.B \-7
+ Mask off MSB of character data.
+-.PP
+-Lines in pfile consist of:
++.TP
++.B \-P
++Decode Apple ProDOS MLI calls.
++.SH PREDEFINE FILES
++Lines in \fIpfile\fP consist of:
+ .PP
+ name .eq address
+ .PP
+ .stop address
+ .PP
+ .trace address
+-.PP
+-.I Address
++.PP
++.I Address
+ may be a decimal number or
+ may be a hexadecimal number (the first character of the number
+ should be "$"). For example, "$21b5" is
+@@ -66,12 +94,11 @@ the hexadecimal number 21b5.
+ .I Name
+ is a sequence of numbers and characters starting with a
+ letter.
+-.I .trace
++.I .trace
+ causes
+-the trace process to continue at the address given.
++the trace process to continue at the address given.
+ .I .stop
+ causes the
+ trace process to stop at the address given.
+ .SH AUTHORS
+ Robert Bond, Udi Finkelstein, and Eric Smith
+-.SH BUGS
diff --git a/development/dkms/Makefile_mktemp.diff b/development/dkms/Makefile_mktemp.diff
deleted file mode 100644
index 783447ab7b..0000000000
--- a/development/dkms/Makefile_mktemp.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- Makefile.orig 2018-04-26 01:56:48.000000000 +1000
-+++ Makefile 2018-07-09 23:29:27.236000000 +1000
-@@ -97,7 +97,7 @@
-
- $(TARBALL):
- mkdir -p $(deb_destdir)
-- tmp_dir=`mktemp -d --tmpdir dkms.XXXXXXXX` ; \
-+ tmp_dir=`mktemp -d -t dkms.XXXXXXXX` ; \
- cp -a ../$(RELEASE_NAME) $${tmp_dir}/$(RELEASE_STRING) ; \
- sed -e "s/\[INSERT_VERSION_HERE\]/$(RELEASE_VERSION)/" dkms > $${tmp_dir}/$(RELEASE_STRING)/dkms ; \
- sed -e "s/\[INSERT_VERSION_HERE\]/$(RELEASE_VERSION)/" dkms.spec > $${tmp_dir}/$(RELEASE_STRING)/dkms.spec ; \
-@@ -114,7 +114,7 @@
-
-
- rpm: $(TARBALL) dkms.spec
-- tmp_dir=`mktemp -d --tmpdir dkms.XXXXXXXX` ; \
-+ tmp_dir=`mktemp -d -t dkms.XXXXXXXX` ; \
- echo $(tmp_dir); \
- mkdir -p $${tmp_dir}/{BUILD,RPMS,SRPMS,SPECS,SOURCES} ; \
- cp $(TARBALL) $${tmp_dir}/SOURCES ; \
-@@ -139,7 +139,7 @@
- cd -
-
- debs:
-- tmp_dir=`mktemp -d --tmpdir dkms.XXXXXXXX` ; \
-+ tmp_dir=`mktemp -d -t dkms.XXXXXXXX` ; \
- make debmagic DEB_TMP_BUILDDIR=$${tmp_dir} DIST=$(DIST); \
- rm -rf $${tmp_dir}
-
diff --git a/development/dkms/dkms.SlackBuild b/development/dkms/dkms.SlackBuild
index 8b9bf52554..37a0c7966c 100644
--- a/development/dkms/dkms.SlackBuild
+++ b/development/dkms/dkms.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2012-2017 LEVAI Daniel
# All rights reserved.
-# Copyright (c) 2018-2020 Christoph Willing Brisbane, Australia
+# Copyright (c) 2018-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@@ -25,10 +25,13 @@
# 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=dkms
-VERSION=${VERSION:-2.8.3}
+VERSION=${VERSION:-3.0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -72,18 +79,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 {} \;
-patch -p0 < $CWD/Makefile_mktemp.diff
CFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG
mv $PKG/usr/share/man $PKG/usr/man
rm -Rf $PKG/etc/kernel $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a TODO README.md AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a README.md COPYING $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dkms/dkms.info b/development/dkms/dkms.info
index f98fbaeb79..7222e30158 100644
--- a/development/dkms/dkms.info
+++ b/development/dkms/dkms.info
@@ -1,8 +1,8 @@
PRGNAM="dkms"
-VERSION="2.8.3"
+VERSION="3.0.12"
HOMEPAGE="https://github.com/dell/dkms"
-DOWNLOAD="https://github.com/dell/dkms/archive/v2.8.3/dkms-2.8.3.tar.gz"
-MD5SUM="e607ebd05a6037e1f9fd9bff8b98463b"
+DOWNLOAD="https://github.com/dell/dkms/archive/v3.0.12/dkms-3.0.12.tar.gz"
+MD5SUM="5a79464d43c0e7236b022f1db46fcc0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/dmd/dmd.SlackBuild b/development/dmd/dmd.SlackBuild
index 5233b33b22..60e0e00982 100644
--- a/development/dmd/dmd.SlackBuild
+++ b/development/dmd/dmd.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for DMD
-# Copyright 2016-2019 Eugene Wissner, Dachau, Germany
+# Copyright 2016-2024 Eugene Wissner, Mannheim, Germany
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -22,10 +22,13 @@
# (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=dmd
-VERSION=${VERSION:-2.094.1}
+VERSION=${VERSION:-2.107.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -99,4 +109,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dmd/dmd.info b/development/dmd/dmd.info
index 538abb5a4c..f4989ee3b7 100644
--- a/development/dmd/dmd.info
+++ b/development/dmd/dmd.info
@@ -1,8 +1,8 @@
PRGNAM="dmd"
-VERSION="2.094.1"
+VERSION="2.107.1"
HOMEPAGE="https://dlang.org"
-DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.094.1/dmd.2.094.1.linux.tar.xz"
-MD5SUM="35402e68157edcc6855c88adce13ee4a"
+DOWNLOAD="https://downloads.dlang.org/releases/2.x/2.107.1/dmd.2.107.1.linux.tar.xz"
+MD5SUM="3f6d0239e071a14050182693d9de8b4b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/docutils/README b/development/docutils/README
deleted file mode 100644
index f782f52b93..0000000000
--- a/development/docutils/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Docutils (Python Documentation Utilities)
-
-Docutils is a modular system for processing documentation into useful
-formats, such as HTML, XML, and LaTeX. For input Docutils supports
-reStructuredText, an easy-to-read, what-you-see-is-what-you-get
-plaintext markup syntax.
diff --git a/development/docutils/docutils.SlackBuild b/development/docutils/docutils.SlackBuild
deleted file mode 100644
index b953ca5071..0000000000
--- a/development/docutils/docutils.SlackBuild
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for docutils
-
-# Copyright 2006-2019 Robby Workman Tuscaloosa, AL, 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.
-
-PRGNAM=docutils
-VERSION=${VERSION:-0.14}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-2to3 --write --no-diffs docutils
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.txt PKG-INFO $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:-tgz}
diff --git a/development/docutils/docutils.info b/development/docutils/docutils.info
deleted file mode 100644
index 5e22f0645a..0000000000
--- a/development/docutils/docutils.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="docutils"
-VERSION="0.14"
-HOMEPAGE="http://docutils.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/docutils/docutils-0.14.tar.gz"
-MD5SUM="c53768d63db3873b7d452833553469de"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
diff --git a/development/docutils/slack-desc b/development/docutils/slack-desc
deleted file mode 100644
index 06dc8a4d0d..0000000000
--- a/development/docutils/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------------------------------------------------------|
-docutils: docutils (Python Document Utilities module)
-docutils:
-docutils: Docutils is an open-source text processing system for processing
-docutils: plaintext documentation into useful formats, such as HTML or LaTeX.
-docutils: It includes reStructuredText, the easy to read, easy to use,
-docutils: what-you-see-is-what-you-get plaintext markup language.
-docutils:
-docutils: Homepage: http://docutils.sourceforge.net/
-docutils:
-docutils:
-docutils:
diff --git a/development/dotnet-runtime-3.1/README b/development/dotnet-runtime-3.1/README
new file mode 100644
index 0000000000..264128638a
--- /dev/null
+++ b/development/dotnet-runtime-3.1/README
@@ -0,0 +1,12 @@
+.NET Core is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub. It's
+cross-platform (supporting Windows, macOS, and Linux) and can be used to
+build device, cloud, and IoT applications.
+
+This package contains everything you need to run a .NET application.
+If you want to build apps, install .NET Core SDK (dotnet-sdk), which
+contains this runtime too.
+
+NOTE: This release has reached end of life, meaning it is no longer
+supported. It is recommended to move to a supported release, such as
+.NET 6.0.
diff --git a/development/dotnet-runtime-3.1/dotnet-runtime-3.1.SlackBuild b/development/dotnet-runtime-3.1/dotnet-runtime-3.1.SlackBuild
new file mode 100644
index 0000000000..577027b4a3
--- /dev/null
+++ b/development/dotnet-runtime-3.1/dotnet-runtime-3.1.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-runtime-3.1.
+#
+# Copyright 2019 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-runtime-3.1
+SRCNAM=dotnet-runtime
+VERSION=${VERSION:-3.1.32}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p 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 -c n -l n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-runtime-3.1/dotnet-runtime-3.1.info b/development/dotnet-runtime-3.1/dotnet-runtime-3.1.info
new file mode 100644
index 0000000000..a80aeffbcb
--- /dev/null
+++ b/development/dotnet-runtime-3.1/dotnet-runtime-3.1.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-runtime-3.1"
+VERSION="3.1.32"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/fea239ad-fd47-4764-aa71-6a147a82f632/20ee58b0bf08ae9f6e76e37ba3765c57/dotnet-runtime-3.1.32-linux-x64.tar.gz"
+MD5SUM_x86_64="35b8b193668feed527b28d2ecdd257fa"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-runtime-3.1/slack-desc b/development/dotnet-runtime-3.1/slack-desc
new file mode 100644
index 0000000000..0baa91503c
--- /dev/null
+++ b/development/dotnet-runtime-3.1/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------------------------------------------------------|
+dotnet-runtime-3.1: dotnet-runtime-3.1 (Runtime for .NET Core applications)
+dotnet-runtime-3.1:
+dotnet-runtime-3.1: .NET Core is an open-source, general-purpose development platform
+dotnet-runtime-3.1: maintained by Microsoft and the .NET community on GitHub. It's
+dotnet-runtime-3.1: cross-platform (supporting Windows, macOS, and Linux) and can be used
+dotnet-runtime-3.1: to build device, cloud, and IoT applications. This package contains
+dotnet-runtime-3.1: everything you need to run a .NET application. If you want to build
+dotnet-runtime-3.1: apps, install dotnet-sdk, which contains this runtime too.
+dotnet-runtime-3.1:
+dotnet-runtime-3.1: https://dotnet.microsoft.com/
+dotnet-runtime-3.1:
diff --git a/development/dotnet-runtime-5.0/README b/development/dotnet-runtime-5.0/README
new file mode 100644
index 0000000000..95e9f6c987
--- /dev/null
+++ b/development/dotnet-runtime-5.0/README
@@ -0,0 +1,12 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub. It's
+cross-platform (supporting Windows, macOS, and Linux) and can be used to
+build device, cloud, and IoT applications.
+
+This package contains everything you need to run a .NET 5.0 application.
+If you want to build apps, install .NET 5.0 SDK (dotnet-sdk-5.0), which
+contains this runtime too.
+
+NOTE: This release has reached end of life, meaning it is no longer
+supported. It is recommended to move to a supported release, such as
+.NET 6.0.
diff --git a/development/dotnet-runtime-5.0/dotnet-runtime-5.0.SlackBuild b/development/dotnet-runtime-5.0/dotnet-runtime-5.0.SlackBuild
new file mode 100644
index 0000000000..eb2a41fc71
--- /dev/null
+++ b/development/dotnet-runtime-5.0/dotnet-runtime-5.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-runtime-5.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-runtime-5.0
+SRCNAM=dotnet-runtime
+VERSION=${VERSION:-5.0.17}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p 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 -c n -l n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-runtime-5.0/dotnet-runtime-5.0.info b/development/dotnet-runtime-5.0/dotnet-runtime-5.0.info
new file mode 100644
index 0000000000..1d1242829a
--- /dev/null
+++ b/development/dotnet-runtime-5.0/dotnet-runtime-5.0.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-runtime-5.0"
+VERSION="5.0.17"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/e77438f6-865f-45e0-9a52-3e4b04aa609f/024a880ed4bfbfd3b9f222fec0b6aaff/dotnet-runtime-5.0.17-linux-x64.tar.gz"
+MD5SUM_x86_64="4ba46fd1b5a343d2089193a50331e0a1"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-runtime-5.0/slack-desc b/development/dotnet-runtime-5.0/slack-desc
new file mode 100644
index 0000000000..8afd31815b
--- /dev/null
+++ b/development/dotnet-runtime-5.0/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------------------------------------------------------|
+dotnet-runtime-5.0: dotnet-runtime-5.0 (Runtime for .NET 5.0 applications)
+dotnet-runtime-5.0:
+dotnet-runtime-5.0: .NET is an open-source, general-purpose development platform
+dotnet-runtime-5.0: maintained by Microsoft and the .NET community on GitHub. It's
+dotnet-runtime-5.0: cross-platform (supporting Windows, macOS, and Linux) and can be used
+dotnet-runtime-5.0: to build device, cloud, and IoT applications. This package contains
+dotnet-runtime-5.0: everything you need to run a .NET 5.0 application. If you want to
+dotnet-runtime-5.0: build apps, install dotnet-sdk-5.0, which contains this runtime too.
+dotnet-runtime-5.0:
+dotnet-runtime-5.0: https://dotnet.microsoft.com/
+dotnet-runtime-5.0:
diff --git a/development/dotnet-runtime-6.0/README b/development/dotnet-runtime-6.0/README
new file mode 100644
index 0000000000..5bbc4cc684
--- /dev/null
+++ b/development/dotnet-runtime-6.0/README
@@ -0,0 +1,8 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub. It's
+cross-platform (supporting Windows, macOS, and Linux) and can be used to
+build device, cloud, and IoT applications.
+
+This package contains everything you need to run a .NET 6.0 application.
+If you want to build apps, install .NET 6.0 SDK (dotnet-sdk-6.0), which
+contains this runtime too.
diff --git a/development/dotnet-runtime-6.0/dotnet-runtime-6.0.SlackBuild b/development/dotnet-runtime-6.0/dotnet-runtime-6.0.SlackBuild
new file mode 100644
index 0000000000..04f9ff5854
--- /dev/null
+++ b/development/dotnet-runtime-6.0/dotnet-runtime-6.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-runtime-6.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-runtime-6.0
+SRCNAM=dotnet-runtime
+VERSION=${VERSION:-6.0.27}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p 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 -c n -l n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-runtime-6.0/dotnet-runtime-6.0.info b/development/dotnet-runtime-6.0/dotnet-runtime-6.0.info
new file mode 100644
index 0000000000..692de1b28a
--- /dev/null
+++ b/development/dotnet-runtime-6.0/dotnet-runtime-6.0.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-runtime-6.0"
+VERSION="6.0.27"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/b4f214ee-a287-4640-991c-de80de4111d9/2672dee679fc3627949e8efdfff71e6d/dotnet-runtime-6.0.27-linux-x64.tar.gz"
+MD5SUM_x86_64="93f2046bec5cc07356960ca65a5037b9"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-runtime-6.0/slack-desc b/development/dotnet-runtime-6.0/slack-desc
new file mode 100644
index 0000000000..ebf96fe0d4
--- /dev/null
+++ b/development/dotnet-runtime-6.0/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------------------------------------------------------|
+dotnet-runtime-6.0: dotnet-runtime-6.0 (Runtime for .NET 6.0 applications)
+dotnet-runtime-6.0:
+dotnet-runtime-6.0: .NET Core is an open-source, general-purpose development platform
+dotnet-runtime-6.0: maintained by Microsoft and the .NET community on GitHub. It's
+dotnet-runtime-6.0: cross-platform (supporting Windows, macOS, and Linux) and can be used
+dotnet-runtime-6.0: to build device, cloud, and IoT applications. This package contains
+dotnet-runtime-6.0: everything you need to run a .NET 6.0 application. If you want to
+dotnet-runtime-6.0: build apps, install dotnet-sdk-6.0, which contains this runtime too.
+dotnet-runtime-6.0:
+dotnet-runtime-6.0: https://dotnet.microsoft.com/
+dotnet-runtime-6.0:
diff --git a/development/dotnet-runtime-7.0/README b/development/dotnet-runtime-7.0/README
new file mode 100644
index 0000000000..9d8b8d729b
--- /dev/null
+++ b/development/dotnet-runtime-7.0/README
@@ -0,0 +1,8 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub. It's
+cross-platform (supporting Windows, macOS, and Linux) and can be used to
+build device, cloud, and IoT applications.
+
+This package contains everything you need to run a .NET 7.0 application.
+If you want to build apps, install .NET 7.0 SDK (dotnet-sdk-7.0), which
+contains this runtime too.
diff --git a/development/dotnet-runtime-7.0/dotnet-runtime-7.0.SlackBuild b/development/dotnet-runtime-7.0/dotnet-runtime-7.0.SlackBuild
new file mode 100644
index 0000000000..55963dd7be
--- /dev/null
+++ b/development/dotnet-runtime-7.0/dotnet-runtime-7.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-runtime-7.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-runtime-7.0
+SRCNAM=dotnet-runtime
+VERSION=${VERSION:-7.0.16}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p 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 -c n -l n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-runtime-7.0/dotnet-runtime-7.0.info b/development/dotnet-runtime-7.0/dotnet-runtime-7.0.info
new file mode 100644
index 0000000000..89a68b0b23
--- /dev/null
+++ b/development/dotnet-runtime-7.0/dotnet-runtime-7.0.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-runtime-7.0"
+VERSION="7.0.16"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/a1b18f18-1bd5-4c11-a9ed-b38ff8e5276d/c357409f720369b1eb5b6f183521ac95/dotnet-runtime-7.0.16-linux-x64.tar.gz"
+MD5SUM_x86_64="2fda1b9a683644047f7d53920e2c11a1"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-runtime-7.0/slack-desc b/development/dotnet-runtime-7.0/slack-desc
new file mode 100644
index 0000000000..befb53bc5a
--- /dev/null
+++ b/development/dotnet-runtime-7.0/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------------------------------------------------------|
+dotnet-runtime-7.0: dotnet-runtime-7.0 (Runtime for .NET 7.0 applications)
+dotnet-runtime-7.0:
+dotnet-runtime-7.0: .NET Core is an open-source, general-purpose development platform
+dotnet-runtime-7.0: maintained by Microsoft and the .NET community on GitHub. It's
+dotnet-runtime-7.0: cross-platform (supporting Windows, macOS, and Linux) and can be used
+dotnet-runtime-7.0: to build device, cloud, and IoT applications. This package contains
+dotnet-runtime-7.0: everything you need to run a .NET 7.0 application. If you want to
+dotnet-runtime-7.0: build apps, install dotnet-sdk-7.0, which contains this runtime too.
+dotnet-runtime-7.0:
+dotnet-runtime-7.0: https://dotnet.microsoft.com/
+dotnet-runtime-7.0:
diff --git a/development/dotnet-runtime-8.0/README b/development/dotnet-runtime-8.0/README
new file mode 100644
index 0000000000..791ac5e783
--- /dev/null
+++ b/development/dotnet-runtime-8.0/README
@@ -0,0 +1,8 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub. It's
+cross-platform (supporting Windows, macOS, and Linux) and can be used to
+build device, cloud, and IoT applications.
+
+This package contains everything you need to run a .NET 8.0 application.
+If you want to build apps, install .NET 8.0 SDK (dotnet-sdk-8.0), which
+contains this runtime too.
diff --git a/development/dotnet-runtime-8.0/dotnet-runtime-8.0.SlackBuild b/development/dotnet-runtime-8.0/dotnet-runtime-8.0.SlackBuild
new file mode 100644
index 0000000000..7efe20772f
--- /dev/null
+++ b/development/dotnet-runtime-8.0/dotnet-runtime-8.0.SlackBuild
@@ -0,0 +1,76 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-runtime-8.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-runtime-8.0
+SRCNAM=dotnet-runtime
+VERSION=${VERSION:-8.0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p 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 -c n -l n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-runtime-8.0/dotnet-runtime-8.0.info b/development/dotnet-runtime-8.0/dotnet-runtime-8.0.info
new file mode 100644
index 0000000000..0b6fa55fbc
--- /dev/null
+++ b/development/dotnet-runtime-8.0/dotnet-runtime-8.0.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-runtime-8.0"
+VERSION="8.0.2"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/307e4bf7-53c1-4b03-a2e5-379151ab3a04/140e7502609d45dfd83e4750b4bb5178/dotnet-runtime-8.0.2-linux-x64.tar.gz"
+MD5SUM_x86_64="e1c19b5a686d82edab6be0cf2efdf3c1"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-runtime-8.0/slack-desc b/development/dotnet-runtime-8.0/slack-desc
new file mode 100644
index 0000000000..09b9cf445f
--- /dev/null
+++ b/development/dotnet-runtime-8.0/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------------------------------------------------------|
+dotnet-runtime-8.0: dotnet-runtime-8.0 (Runtime for .NET 8.0 applications)
+dotnet-runtime-8.0:
+dotnet-runtime-8.0: .NET Core is an open-source, general-purpose development platform
+dotnet-runtime-8.0: maintained by Microsoft and the .NET community on GitHub. It's
+dotnet-runtime-8.0: cross-platform (supporting Windows, macOS, and Linux) and can be used
+dotnet-runtime-8.0: to build device, cloud, and IoT applications. This package contains
+dotnet-runtime-8.0: everything you need to run a .NET 8.0 application. If you want to
+dotnet-runtime-8.0: build apps, install dotnet-sdk-8.0, which contains this runtime too.
+dotnet-runtime-8.0:
+dotnet-runtime-8.0: https://dotnet.microsoft.com/
+dotnet-runtime-8.0:
diff --git a/development/dotnet-runtime/README b/development/dotnet-runtime/README
deleted file mode 100644
index d5f36f17a7..0000000000
--- a/development/dotnet-runtime/README
+++ /dev/null
@@ -1,8 +0,0 @@
-.NET Core is an open-source, general-purpose development platform
-maintained by Microsoft and the .NET community on GitHub. It's
-cross-platform (supporting Windows, macOS, and Linux) and can be used to
-build device, cloud, and IoT applications.
-
-This package contains everything you need to run a .NET application.
-If you want to build apps, install .NET Core SDK (dotnet-sdk), which
-contains this runtime too.
diff --git a/development/dotnet-runtime/doinst.sh b/development/dotnet-runtime/doinst.sh
deleted file mode 100644
index ec1d7e5165..0000000000
--- a/development/dotnet-runtime/doinst.sh
+++ /dev/null
@@ -1 +0,0 @@
-ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
diff --git a/development/dotnet-runtime/dotnet-runtime.SlackBuild b/development/dotnet-runtime/dotnet-runtime.SlackBuild
deleted file mode 100644
index 74297ad0fb..0000000000
--- a/development/dotnet-runtime/dotnet-runtime.SlackBuild
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for dotnet-runtime.
-#
-# Copyright 2019 Reza Talebi, Shahin Shahr, Iran.
-# 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.
-
-PRGNAM=dotnet-runtime
-VERSION=${VERSION:-3.1.8}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-
-set -e
-
-if [ "$( uname -m )" = "x86_64" ]; then
- ARCH="x86_64"
- ARCHITECTURE="x64"
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="amd64"
-else
- echo "Package for $(uname -m) architecture is not available."
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-${VERSION}-${BUILD}
-mkdir -p $PRGNAM-${VERSION}-${BUILD}
-cd $PKG
-mkdir -p usr/share/dotnet
-tar -zxf $CWD/$PRGNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
-chown -R root:root usr/share/dotnet
-
-mkdir -p 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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/dotnet-runtime/dotnet-runtime.info b/development/dotnet-runtime/dotnet-runtime.info
deleted file mode 100644
index fde866f9d6..0000000000
--- a/development/dotnet-runtime/dotnet-runtime.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dotnet-runtime"
-VERSION="3.1.8"
-HOMEPAGE="https://dotnet.microsoft.com/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/e4e47a0a-132e-416a-b8eb-f3373ad189d9/43af4412e27696c3c16e50f496f6c7af/dotnet-runtime-3.1.8-linux-x64.tar.gz"
-MD5SUM_x86_64="c12f3c0964df3a9539d9d4b525b1c371"
-REQUIRES=""
-MAINTAINER="Reza Talebi"
-EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-runtime/slack-desc b/development/dotnet-runtime/slack-desc
deleted file mode 100644
index 1a9e103999..0000000000
--- a/development/dotnet-runtime/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------------------------------------------------------|
-dotnet-runtime: dotnet-runtime (Runtime for .NET Core applications)
-dotnet-runtime:
-dotnet-runtime: .NET Core is an open-source, general-purpose development platform
-dotnet-runtime: maintained by Microsoft and the .NET community on GitHub. It's
-dotnet-runtime: cross-platform (supporting Windows, macOS, and Linux) and can be used
-dotnet-runtime: to build device, cloud, and IoT applications. This package contains
-dotnet-runtime: everything you need to run a .NET application. If you want to build
-dotnet-runtime: apps, install dotnet-sdk, which contains this runtime too.
-dotnet-runtime:
-dotnet-runtime: https://dotnet.microsoft.com/
-dotnet-runtime:
diff --git a/development/dotnet-sdk-3.1/README b/development/dotnet-sdk-3.1/README
new file mode 100644
index 0000000000..cb2b708c89
--- /dev/null
+++ b/development/dotnet-sdk-3.1/README
@@ -0,0 +1,11 @@
+.NET Core is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub.
+It's cross-platform (supporting Windows, macOS, and Linux)
+and can be used to build device, cloud, and IoT applications.
+
+Please run 'dotnet new' after installing to initiate the program
+and load all of the templates.
+
+NOTE: This release has reached end of life, meaning it is no longer
+supported. It is recommended to move to a supported release, such
+as .NET 6.0.
diff --git a/development/dotnet-sdk-3.1/dotnet-sdk-3.1.SlackBuild b/development/dotnet-sdk-3.1/dotnet-sdk-3.1.SlackBuild
new file mode 100644
index 0000000000..6a81100853
--- /dev/null
+++ b/development/dotnet-sdk-3.1/dotnet-sdk-3.1.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-sdk-3.1.
+#
+# Copyright 2019 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-sdk-3.1
+SRCNAM=dotnet-sdk
+VERSION=${VERSION:-3.1.426}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-sdk-3.1/dotnet-sdk-3.1.info b/development/dotnet-sdk-3.1/dotnet-sdk-3.1.info
new file mode 100644
index 0000000000..8bf2d6d6b6
--- /dev/null
+++ b/development/dotnet-sdk-3.1/dotnet-sdk-3.1.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-sdk-3.1"
+VERSION="3.1.426"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/e89c4f00-5cbb-4810-897d-f5300165ee60/027ace0fdcfb834ae0a13469f0b1a4c8/dotnet-sdk-3.1.426-linux-x64.tar.gz"
+MD5SUM_x86_64="69efb31243eea340f6764f8461def1f1"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-sdk-3.1/slack-desc b/development/dotnet-sdk-3.1/slack-desc
new file mode 100644
index 0000000000..67b9e2d926
--- /dev/null
+++ b/development/dotnet-sdk-3.1/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------------------------------------------------------|
+dotnet-sdk-3.1: dotnet-sdk-3.1 (Cross-platform development framework)
+dotnet-sdk-3.1:
+dotnet-sdk-3.1: .NET Core is an open-source, general-purpose development
+dotnet-sdk-3.1: platform maintained by Microsoft and the .NET community on
+dotnet-sdk-3.1: GitHub. It's cross-platform (supporting Windows, macOS, and Linux)
+dotnet-sdk-3.1: and can be used to build device, cloud, and IoT applications.
+dotnet-sdk-3.1: Please run 'dotnet new' after installing to initiate the program
+dotnet-sdk-3.1: and load all of the templates.
+dotnet-sdk-3.1:
+dotnet-sdk-3.1: https://dotnet.microsoft.com/
+dotnet-sdk-3.1:
diff --git a/development/dotnet-sdk-5.0/README b/development/dotnet-sdk-5.0/README
new file mode 100644
index 0000000000..893dba803f
--- /dev/null
+++ b/development/dotnet-sdk-5.0/README
@@ -0,0 +1,11 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub.
+It's cross-platform (supporting Windows, macOS, and Linux)
+and can be used to build device, cloud, and IoT applications.
+
+Please run 'dotnet new' after installing to initiate the program
+and load all of the templates.
+
+NOTE: This release has reached end of life, meaning it is no longer
+supported. It is recommended to move to a supported release, such
+as .NET 6.0.
diff --git a/development/dotnet-sdk-5.0/dotnet-sdk-5.0.SlackBuild b/development/dotnet-sdk-5.0/dotnet-sdk-5.0.SlackBuild
new file mode 100644
index 0000000000..f96c2be583
--- /dev/null
+++ b/development/dotnet-sdk-5.0/dotnet-sdk-5.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-sdk-5.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-sdk-5.0
+SRCNAM=dotnet-sdk
+VERSION=${VERSION:-5.0.408}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-sdk-5.0/dotnet-sdk-5.0.info b/development/dotnet-sdk-5.0/dotnet-sdk-5.0.info
new file mode 100644
index 0000000000..70dc9407f2
--- /dev/null
+++ b/development/dotnet-sdk-5.0/dotnet-sdk-5.0.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-sdk-5.0"
+VERSION="5.0.408"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/904da7d0-ff02-49db-bd6b-5ea615cbdfc5/966690e36643662dcc65e3ca2423041e/dotnet-sdk-5.0.408-linux-x64.tar.gz"
+MD5SUM_x86_64="163faea07cfe6cc01014fffec24e1f07"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-sdk-5.0/slack-desc b/development/dotnet-sdk-5.0/slack-desc
new file mode 100644
index 0000000000..32c8dbf734
--- /dev/null
+++ b/development/dotnet-sdk-5.0/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------------------------------------------------------|
+dotnet-sdk-5.0: dotnet-sdk-5.0 (Cross-platform development framework)
+dotnet-sdk-5.0:
+dotnet-sdk-5.0: .NET is an open-source, general-purpose development
+dotnet-sdk-5.0: platform maintained by Microsoft and the .NET community on
+dotnet-sdk-5.0: GitHub. It's cross-platform (supporting Windows, macOS, and Linux)
+dotnet-sdk-5.0: and can be used to build device, cloud, and IoT applications.
+dotnet-sdk-5.0: Please run 'dotnet new' after installing to initiate the program
+dotnet-sdk-5.0: and load all of the templates.
+dotnet-sdk-5.0:
+dotnet-sdk-5.0: https://dotnet.microsoft.com/
+dotnet-sdk-5.0:
diff --git a/development/dotnet-sdk-6.0/README b/development/dotnet-sdk-6.0/README
new file mode 100644
index 0000000000..d7bd923f31
--- /dev/null
+++ b/development/dotnet-sdk-6.0/README
@@ -0,0 +1,7 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub.
+It's cross-platform (supporting Windows, macOS, and Linux)
+and can be used to build device, cloud, and IoT applications.
+
+Please run 'dotnet new' after installing to initiate the program
+and load all of the templates.
diff --git a/development/dotnet-sdk-6.0/dotnet-sdk-6.0.SlackBuild b/development/dotnet-sdk-6.0/dotnet-sdk-6.0.SlackBuild
new file mode 100644
index 0000000000..4524b4bc67
--- /dev/null
+++ b/development/dotnet-sdk-6.0/dotnet-sdk-6.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-sdk-6.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-sdk-6.0
+SRCNAM=dotnet-sdk
+VERSION=${VERSION:-6.0.419}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-sdk-6.0/dotnet-sdk-6.0.info b/development/dotnet-sdk-6.0/dotnet-sdk-6.0.info
new file mode 100644
index 0000000000..e8e84faea3
--- /dev/null
+++ b/development/dotnet-sdk-6.0/dotnet-sdk-6.0.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-sdk-6.0"
+VERSION="6.0.419"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/8828b97b-7bfd-4b1b-a646-e55bddc0d7ad/e2f7d168ad273e78fbae72ffb6d215d3/dotnet-sdk-6.0.419-linux-x64.tar.gz"
+MD5SUM_x86_64="125e34490e5c84191dfd3157b7317b4b"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-sdk-6.0/slack-desc b/development/dotnet-sdk-6.0/slack-desc
new file mode 100644
index 0000000000..492c39f0b3
--- /dev/null
+++ b/development/dotnet-sdk-6.0/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------------------------------------------------------|
+dotnet-sdk-6.0: dotnet-sdk-6.0 (Cross-platform development framework)
+dotnet-sdk-6.0:
+dotnet-sdk-6.0: .NET is an open-source, general-purpose development
+dotnet-sdk-6.0: platform maintained by Microsoft and the .NET community on
+dotnet-sdk-6.0: GitHub. It's cross-platform (supporting Windows, macOS, and Linux)
+dotnet-sdk-6.0: and can be used to build device, cloud, and IoT applications.
+dotnet-sdk-6.0: Please run 'dotnet new' after installing to initiate the program
+dotnet-sdk-6.0: and load all of the templates.
+dotnet-sdk-6.0:
+dotnet-sdk-6.0: https://dotnet.microsoft.com/
+dotnet-sdk-6.0:
diff --git a/development/dotnet-sdk-7.0/README b/development/dotnet-sdk-7.0/README
new file mode 100644
index 0000000000..d7bd923f31
--- /dev/null
+++ b/development/dotnet-sdk-7.0/README
@@ -0,0 +1,7 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub.
+It's cross-platform (supporting Windows, macOS, and Linux)
+and can be used to build device, cloud, and IoT applications.
+
+Please run 'dotnet new' after installing to initiate the program
+and load all of the templates.
diff --git a/development/dotnet-sdk-7.0/dotnet-sdk-7.0.SlackBuild b/development/dotnet-sdk-7.0/dotnet-sdk-7.0.SlackBuild
new file mode 100644
index 0000000000..68507c4437
--- /dev/null
+++ b/development/dotnet-sdk-7.0/dotnet-sdk-7.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-sdk-7.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-sdk-7.0
+SRCNAM=dotnet-sdk
+VERSION=${VERSION:-7.0.406}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+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-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-sdk-7.0/dotnet-sdk-7.0.info b/development/dotnet-sdk-7.0/dotnet-sdk-7.0.info
new file mode 100644
index 0000000000..5d10566ed9
--- /dev/null
+++ b/development/dotnet-sdk-7.0/dotnet-sdk-7.0.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-sdk-7.0"
+VERSION="7.0.406"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/57150757-56af-450b-ba30-8532fac51e0f/507247327723f24970f66f51554c18bc/dotnet-sdk-7.0.406-linux-x64.tar.gz"
+MD5SUM_x86_64="a35ba6c1afad1f9c4d2101674a43ce9c"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-sdk-7.0/slack-desc b/development/dotnet-sdk-7.0/slack-desc
new file mode 100644
index 0000000000..4feeced507
--- /dev/null
+++ b/development/dotnet-sdk-7.0/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------------------------------------------------------|
+dotnet-sdk-7.0: dotnet-sdk-7.0 (Cross-platform development framework)
+dotnet-sdk-7.0:
+dotnet-sdk-7.0: .NET is an open-source, general-purpose development
+dotnet-sdk-7.0: platform maintained by Microsoft and the .NET community on
+dotnet-sdk-7.0: GitHub. It's cross-platform (supporting Windows, macOS, and Linux)
+dotnet-sdk-7.0: and can be used to build device, cloud, and IoT applications.
+dotnet-sdk-7.0: Please run 'dotnet new' after installing to initiate the program
+dotnet-sdk-7.0: and load all of the templates.
+dotnet-sdk-7.0:
+dotnet-sdk-7.0: https://dotnet.microsoft.com/
+dotnet-sdk-7.0:
diff --git a/development/dotnet-sdk-8.0/README b/development/dotnet-sdk-8.0/README
new file mode 100644
index 0000000000..d7bd923f31
--- /dev/null
+++ b/development/dotnet-sdk-8.0/README
@@ -0,0 +1,7 @@
+.NET is an open-source, general-purpose development platform
+maintained by Microsoft and the .NET community on GitHub.
+It's cross-platform (supporting Windows, macOS, and Linux)
+and can be used to build device, cloud, and IoT applications.
+
+Please run 'dotnet new' after installing to initiate the program
+and load all of the templates.
diff --git a/development/dotnet-sdk-8.0/dotnet-sdk-8.0.SlackBuild b/development/dotnet-sdk-8.0/dotnet-sdk-8.0.SlackBuild
new file mode 100644
index 0000000000..5c5f765110
--- /dev/null
+++ b/development/dotnet-sdk-8.0/dotnet-sdk-8.0.SlackBuild
@@ -0,0 +1,76 @@
+#!/bin/bash
+
+# Slackware build script for dotnet-sdk-8.0.
+#
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# 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=dotnet-sdk-8.0
+SRCNAM=dotnet-sdk
+VERSION=${VERSION:-8.0.200}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-${VERSION}-${BUILD}
+mkdir -p $PRGNAM-${VERSION}-${BUILD}
+cd $PKG
+mkdir -p usr/share/dotnet
+tar -zxf $CWD/$SRCNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
+chown -R root:root usr/share/dotnet
+
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dotnet-sdk-8.0/dotnet-sdk-8.0.info b/development/dotnet-sdk-8.0/dotnet-sdk-8.0.info
new file mode 100644
index 0000000000..3ec41089c9
--- /dev/null
+++ b/development/dotnet-sdk-8.0/dotnet-sdk-8.0.info
@@ -0,0 +1,10 @@
+PRGNAM="dotnet-sdk-8.0"
+VERSION="8.0.200"
+HOMEPAGE="https://dotnet.microsoft.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/7a1bac6e-364e-4de4-b76d-a1e3af5af8d2/292c64839df2435b4289766af556e144/dotnet-sdk-8.0.200-linux-x64.tar.gz"
+MD5SUM_x86_64="6afc81f7688193061827074a61a5ce6b"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-sdk-8.0/slack-desc b/development/dotnet-sdk-8.0/slack-desc
new file mode 100644
index 0000000000..413cede212
--- /dev/null
+++ b/development/dotnet-sdk-8.0/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------------------------------------------------------|
+dotnet-sdk-8.0: dotnet-sdk-8.0 (Cross-platform development framework)
+dotnet-sdk-8.0:
+dotnet-sdk-8.0: .NET is an open-source, general-purpose development
+dotnet-sdk-8.0: platform maintained by Microsoft and the .NET community on
+dotnet-sdk-8.0: GitHub. It's cross-platform (supporting Windows, macOS, and Linux)
+dotnet-sdk-8.0: and can be used to build device, cloud, and IoT applications.
+dotnet-sdk-8.0: Please run 'dotnet new' after installing to initiate the program
+dotnet-sdk-8.0: and load all of the templates.
+dotnet-sdk-8.0:
+dotnet-sdk-8.0: https://dotnet.microsoft.com/
+dotnet-sdk-8.0:
diff --git a/development/dotnet-sdk/README b/development/dotnet-sdk/README
deleted file mode 100644
index 5cb3bae000..0000000000
--- a/development/dotnet-sdk/README
+++ /dev/null
@@ -1,7 +0,0 @@
-.NET Core is an open-source, general-purpose development platform
-maintained by Microsoft and the .NET community on GitHub.
-It's cross-platform (supporting Windows, macOS, and Linux)
-and can be used to build device, cloud, and IoT applications.
-
-Please run 'dotnet new' after installing to initiate the program
-and load all of the templates.
diff --git a/development/dotnet-sdk/doinst.sh b/development/dotnet-sdk/doinst.sh
deleted file mode 100644
index ec1d7e5165..0000000000
--- a/development/dotnet-sdk/doinst.sh
+++ /dev/null
@@ -1 +0,0 @@
-ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
diff --git a/development/dotnet-sdk/dotnet-sdk.SlackBuild b/development/dotnet-sdk/dotnet-sdk.SlackBuild
deleted file mode 100644
index 6bb5bd96cb..0000000000
--- a/development/dotnet-sdk/dotnet-sdk.SlackBuild
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for dotnet-sdk.
-#
-# Copyright 2019 Reza Talebi, Shahin Shahr, Iran.
-# 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.
-
-PRGNAM=dotnet-sdk
-VERSION=${VERSION:-3.1.402}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-
-set -e
-
-if [ "$( uname -m )" = "x86_64" ]; then
- ARCH="x86_64"
- ARCHITECTURE="x64"
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="amd64"
-else
- echo "Package for $(uname -m) architecture is not available."
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-${VERSION}-${BUILD}
-mkdir -p $PRGNAM-${VERSION}-${BUILD}
-cd $PKG
-mkdir -p usr/share/dotnet
-tar -zxf $CWD/$PRGNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
-chown -R root:root usr/share/dotnet
-
-mkdir -p 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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/dotnet-sdk/dotnet-sdk.info b/development/dotnet-sdk/dotnet-sdk.info
deleted file mode 100644
index 5bc625a397..0000000000
--- a/development/dotnet-sdk/dotnet-sdk.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dotnet-sdk"
-VERSION="3.1.402"
-HOMEPAGE="https://dotnet.microsoft.com/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/f01e3d97-c1c3-4635-bc77-0c893be36820/6ec6acabc22468c6cc68b61625b14a7d/dotnet-sdk-3.1.402-linux-x64.tar.gz"
-MD5SUM_x86_64="53f4e617ba3d006fb7249759aefc186f"
-REQUIRES=""
-MAINTAINER="Reza Talebi"
-EMAIL="reza.talebi.73@outlook.com"
diff --git a/development/dotnet-sdk/slack-desc b/development/dotnet-sdk/slack-desc
deleted file mode 100644
index 91b0a95552..0000000000
--- a/development/dotnet-sdk/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------------------------------------------------------|
-dotnet-sdk: dotnet-sdk (Cross-platform development framework)
-dotnet-sdk:
-dotnet-sdk: .NET Core is an open-source, general-purpose development
-dotnet-sdk: platform maintained by Microsoft and the .NET community on
-dotnet-sdk: GitHub. It's cross-platform (supporting Windows, macOS, and Linux)
-dotnet-sdk: and can be used to build device, cloud, and IoT applications.
-dotnet-sdk: Please run 'dotnet new' after installing to initiate the program
-dotnet-sdk: and load all of the templates.
-dotnet-sdk:
-dotnet-sdk: https://dotnet.microsoft.com/
-dotnet-sdk:
diff --git a/development/dpkg/dpkg.SlackBuild b/development/dpkg/dpkg.SlackBuild
index 540bc7da93..23287496ed 100644
--- a/development/dpkg/dpkg.SlackBuild
+++ b/development/dpkg/dpkg.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for dpkg.
#
-# Copyright 2016-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2016-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2009 Marco Bonetti <sid77@slackware.it>
# All rights reserved.
#
@@ -23,10 +23,13 @@
# 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=dpkg
-VERSION=${VERSION:-1.19.7}
+VERSION=${VERSION:-1.22.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -78,10 +88,18 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-silent-rules \
+ --disable-compiler-warnings \
+ --disable-dselect \
--disable-devel-docs \
--disable-start-stop-daemon \
- --enable-silent-rules \
+ --disable-update-alternatives \
+ --with-libz \
+ --with-libbz2 \
+ --with-liblzma \
+ --host=$ARCH-slackware-linux \
--build=$ARCH-slackware-linux
make
@@ -93,15 +111,17 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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
-DOCS="debian/changelog debian/usertags doc/README* ABOUT-NLS \
+DOCS="debian/changelog doc/README* ABOUT-NLS \
AUTHORS COPYING NEWS README* THANKS TODO"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp $DOCS $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dpkg/dpkg.info b/development/dpkg/dpkg.info
index 805a9276b3..3c40ae108a 100644
--- a/development/dpkg/dpkg.info
+++ b/development/dpkg/dpkg.info
@@ -1,10 +1,10 @@
PRGNAM="dpkg"
-VERSION="1.19.7"
+VERSION="1.22.6"
HOMEPAGE="https://wiki.debian.org/Teams/Dpkg"
-DOWNLOAD="http://snapshot.debian.org/archive/debian/20190608T092728Z/pool/main/d/dpkg/dpkg_1.19.7.tar.xz"
-MD5SUM="60f57c5494e6dfa177504d47bfa0e383"
+DOWNLOAD="http://deb.debian.org/debian/pool/main/d/dpkg/dpkg_1.22.6.tar.xz"
+MD5SUM="595ba2badfa81bb2915b7bca08a5c245"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libmd"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"
diff --git a/development/dreampie/dreampie.SlackBuild b/development/dreampie/dreampie.SlackBuild
index b0c6609b86..d7d6acd277 100644
--- a/development/dreampie/dreampie.SlackBuild
+++ b/development/dreampie/dreampie.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dreampie
@@ -22,10 +22,13 @@
# 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=dreampie
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -87,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dreampie/dreampie.info b/development/dreampie/dreampie.info
index 43891add2a..47c9f4cae5 100644
--- a/development/dreampie/dreampie.info
+++ b/development/dreampie/dreampie.info
@@ -1,7 +1,7 @@
PRGNAM="dreampie"
VERSION="1.2.1"
HOMEPAGE="http://www.dreampie.org"
-DOWNLOAD="https://github.com/noamraph/dreampie/archive/1.2.1.tar.gz"
+DOWNLOAD="https://github.com/noamraph/dreampie/archive/1.2.1/dreampie-1.2.1.tar.gz"
MD5SUM="a1b77f94f599fad372b2d8260967fd13"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/dte/dte.SlackBuild b/development/dte/dte.SlackBuild
index 1dda720864..4417d56b6b 100644
--- a/development/dte/dte.SlackBuild
+++ b/development/dte/dte.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dte
@@ -22,10 +22,13 @@
# 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=dte
VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -91,4 +101,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dune/README b/development/dune/README
new file mode 100644
index 0000000000..4bee426ba6
--- /dev/null
+++ b/development/dune/README
@@ -0,0 +1,5 @@
+Dune is a build system designed for OCaml/Reason projects only.
+It focuses on providing the user with a consistent experience and
+takes care of most of the low-level details of OCaml compilation.
+All you have to do is provide a description of your project and
+dune will do the rest.
diff --git a/development/dune/dune.SlackBuild b/development/dune/dune.SlackBuild
new file mode 100644
index 0000000000..082b1e9eca
--- /dev/null
+++ b/development/dune/dune.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for dune
+
+# Copyright 2019-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# 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=dune
+VERSION=${VERSION:-3.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make release
+make DESTDIR=$PKG INSTALL_ARGS="--prefix=/usr --libdir=/usr/lib$LIBDIRSUFFIX/ocaml" install
+
+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
+
+rm -fR $PKG/usr/doc
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/dune/dune.info b/development/dune/dune.info
new file mode 100644
index 0000000000..7b6640cba2
--- /dev/null
+++ b/development/dune/dune.info
@@ -0,0 +1,10 @@
+PRGNAM="dune"
+VERSION="3.0.0"
+HOMEPAGE="http://caml.inria.fr"
+DOWNLOAD="https://github.com/ocaml/dune/archive/3.0.0/dune-3.0.0.tar.gz"
+MD5SUM="14cc07bdb7c2bc856e5e5b2c46cc4ed5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ocaml"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/development/dune/slack-desc b/development/dune/slack-desc
new file mode 100644
index 0000000000..4e035d51d4
--- /dev/null
+++ b/development/dune/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------------------------------------------------------|
+dune: dune (ocaml build system - formerly jbuilder)
+dune:
+dune: Dune is a build system designed for OCaml/Reason projects only.
+dune: It focuses on providing the user with a consistent experience and
+dune: takes care of most of the low-level details of OCaml compilation.
+dune: All you have to do is provide a description of your project and
+dune: dune will do the rest.
+dune:
+dune: homepage: https://github.com/ocaml/dune
+dune:
+dune:
diff --git a/development/dwz/README b/development/dwz/README
deleted file mode 100644
index 7a677ec267..0000000000
--- a/development/dwz/README
+++ /dev/null
@@ -1,15 +0,0 @@
-dwz is a dwarf compressor
-
-DWARF optimization and duplicate removal tool
-
-dwz is a program that attempts to optimize DWARF debugging
-information contained in ELF shared libraries and ELF executables for
-size, by replacing DWARF information representation with equivalent
-smaller representation where possible and by reducing the amount of
-duplication using techniques from DWARF standard appendix E -
-creating DW_TAG_partial_unit compilation units (CUs) for duplicated
-information and using DW_TAG_imported_unit to import it into each CU
-that needs it.
-
-sourcecode licence is GPL2. see COPYING and COPYING.RUNTIME for more
-details.
diff --git a/development/dwz/dwz.SlackBuild b/development/dwz/dwz.SlackBuild
deleted file mode 100644
index 4f456a2533..0000000000
--- a/development/dwz/dwz.SlackBuild
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for the dwz
-
-# Copyright 2020 Tim Dickson, dickson.tim@googlemail.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.
-
-#download from mirrors.kernel.org/sourceware/dwx/releases/
-PRGNAM=dwz
-VERSION=${VERSION:-0.13}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Fix man installation path (the original works due to a link in slackware from /usr/share/man
-# to /usr/man , but we may as well install it in the right place)
-sed -i 's_^mandir.*_mandir = /usr/man_g' Makefile
-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
-
-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
-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:-tgz}
diff --git a/development/dwz/dwz.info b/development/dwz/dwz.info
deleted file mode 100644
index e9464ab4ef..0000000000
--- a/development/dwz/dwz.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dwz"
-VERSION="0.13"
-HOMEPAGE="https://sourceware.org/git/?p=dwz.git;a=summary"
-DOWNLOAD="http://mirrors.kernel.org/sourceware/dwz/releases/dwz-0.13.tar.xz"
-MD5SUM="6cb10dc92d432a5b86bc3fe36e154698"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Tim Dickson"
-EMAIL="dickson.tim@googlemail.com"
diff --git a/development/dwz/slack-desc b/development/dwz/slack-desc
deleted file mode 100644
index 1120b63aeb..0000000000
--- a/development/dwz/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------------------------------------------------------|
-dwz: dwz (a dwarf compressor)
-dwz:
-dwz: DWARF optimization and duplicate removal tool
-dwz: dwz is a program that attempts to optimize DWARF debugging
-dwz: information contained in ELF shared libraries and ELF executables for
-dwz: size, by replacing DWARF information representation with equivalent
-dwz: smaller representation where possible and by reducing the amount of
-dwz: duplication using techniques from DWARF standard appendix E -
-dwz: creating DW_TAG_partial_unit compilation units (CUs) for duplicated
-dwz: information and using DW_TAG_imported_unit to import it into each CU
-dwz: that needs it. see https://sourceware.org/git/?p=dwz.git;a=summary
diff --git a/development/eagle/eagle.SlackBuild b/development/eagle/eagle.SlackBuild
index c56329b476..d0e39ace1f 100644
--- a/development/eagle/eagle.SlackBuild
+++ b/development/eagle/eagle.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eagle (binary repackaging)
# Copyright 2008,2015 Kyle Guinn <elyk03@gmail.com>, USA
# Copyright 2010,2013 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2016 Andrzej Telszewski, Banie
+# Copyright 2024 Andrzej Telszewski, Koszalin
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,13 @@
# 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=eagle
VERSION=${VERSION:-7.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=${ARCH:-$(uname -m)}
case $ARCH in
@@ -36,7 +39,14 @@ case $ARCH in
*) echo "$ARCH is unsupported."; exit 1 ;;
esac
-CWD=$(pwd)
+# 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}
@@ -113,4 +123,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eagle/eagle.info b/development/eagle/eagle.info
index 3bb14c8b55..e610b8a2c6 100644
--- a/development/eagle/eagle.info
+++ b/development/eagle/eagle.info
@@ -1,10 +1,10 @@
PRGNAM="eagle"
VERSION="7.7.0"
HOMEPAGE="https://www.autodesk.com/products/eagle/overview"
-DOWNLOAD="http://web.cadsoft.de/ftp/eagle/program/7.7/eagle-lin32-7.7.0.run"
+DOWNLOAD="http://dl36mmdz94630.cloudfront.net/uploads/eagle_softwares/files/000/000/003/original/eagle-lin32-7.7.0.run"
MD5SUM="2538a6e89825e7f17a475c139772e92a"
-DOWNLOAD_x86_64="http://web.cadsoft.de/ftp/eagle/program/7.7/eagle-lin64-7.7.0.run"
+DOWNLOAD_x86_64="http://dl36mmdz94630.cloudfront.net/uploads/eagle_softwares/files/000/000/005/original/eagle-lin64-7.7.0.run"
MD5SUM_x86_64="32af1a9e3af2a95121dc332a520e9486"
REQUIRES=""
MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
+EMAIL="andrzej@telszewski.com"
diff --git a/development/ebe/ebe.SlackBuild b/development/ebe/ebe.SlackBuild
index c18cfc1c13..50ae70b3fb 100644
--- a/development/ebe/ebe.SlackBuild
+++ b/development/ebe/ebe.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009, 2010, 2011, 2012, 2013, 2014 Eric Hameleers, Eindhoven, Netherlands
@@ -27,11 +27,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230831 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install README without +x permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ebe
VERSION=${VERSION:-3.0.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +46,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -98,6 +110,7 @@ mkdir -p $PKG/usr/bin
ln -sf /opt/${PRGNAM}-${VERSION}/${PRGNAM} $PKG/usr/bin/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 644 README
cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -106,4 +119,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ecl/ecl.SlackBuild b/development/ecl/ecl.SlackBuild
index 8d5a29e210..5a52078c14 100644
--- a/development/ecl/ecl.SlackBuild
+++ b/development/ecl/ecl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ecl (embeddedable common-lisp)
@@ -19,28 +19,38 @@
# (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=ecl
-VERSION=${VERSION:-15.3.7}
+VERSION=${VERSION:-21.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-DOCS="ANNOUNCEMENT INSTALL README.1st Copyright LGPL"
+DOCS="CHANGELOG COPYING INSTALL LICENSE README.md"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,5 +104,5 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ecl/ecl.info b/development/ecl/ecl.info
index af2e88b308..079ad4ca45 100644
--- a/development/ecl/ecl.info
+++ b/development/ecl/ecl.info
@@ -1,8 +1,8 @@
PRGNAM="ecl"
-VERSION="15.3.7"
-HOMEPAGE="http://ecls.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/ecls/ecls/15.3/ecl-15.3.7.tgz"
-MD5SUM="39f4fb924c88e47ce31e6d57ac2a6de8"
+VERSION="21.2.1"
+HOMEPAGE="https://common-lisp.net/project/ecl/"
+DOWNLOAD="https://common-lisp.net/project/ecl/static/files/release/ecl-21.2.1.tgz"
+MD5SUM="0c9e0437dbf3a7f1b00da32b7794a3b0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/ecl/slack-desc b/development/ecl/slack-desc
index 656c790945..1b821a2668 100644
--- a/development/ecl/slack-desc
+++ b/development/ecl/slack-desc
@@ -14,6 +14,6 @@ ecl: featuring CLOS (Common-Lisp Object System), conditions, loops,
ecl: etc, plus a translator to C, which can produce standalone
ecl: executables
ecl:
-ecl: Homepage: http://ecls.sourceforge.net/
+ecl: Homepage: https://common-lisp.net/project/ecl/
ecl:
ecl:
diff --git a/development/eclim/630fbcd5e6caa810f721b0f0de9478aaf78f7958.patch.gz b/development/eclim/630fbcd5e6caa810f721b0f0de9478aaf78f7958.patch.gz
deleted file mode 100644
index e759181210..0000000000
--- a/development/eclim/630fbcd5e6caa810f721b0f0de9478aaf78f7958.patch.gz
+++ /dev/null
Binary files differ
diff --git a/development/eclim/README b/development/eclim/README
deleted file mode 100644
index 86b549b422..0000000000
--- a/development/eclim/README
+++ /dev/null
@@ -1,17 +0,0 @@
-eclim - The power of Eclipse in your favourite editor.
-
-Eclim provides the ability to access Eclipse code editing features via
-the command line or a local network connection, allowing those features
-to be integrated with your favourite editor.
-
-This package builds against eclipse-java, but can also be built against
-eclipse-jee or eclipse-cpp instead. In that case, pass the eclipse home
-directory to the script:
-
-ECLIPSE_HOME=/opt/eclipse-jee ./eclim.SlackBuild
-
-or
-
-ECLIPSE_HOME=/opt/eclipse-cpp ./eclim.SlackBuild
-
-apache-ant and Sphinx are only needed at build-time, not runtime.
diff --git a/development/eclim/eclim.SlackBuild b/development/eclim/eclim.SlackBuild
deleted file mode 100644
index 61b8b66d33..0000000000
--- a/development/eclim/eclim.SlackBuild
+++ /dev/null
@@ -1,157 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for eclim
-
-# Copyright 2016-2019 Andrew Clemons, Wellington New Zealand
-# 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.
-
-PRGNAM=eclim
-VERSION=${VERSION:-2.8.0}
-SPHINX_BOOTSTRAP_VERSION=${SPHINX_BOOTSTRAP_VERSION:-0.7.1}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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"
-
-zcat $CWD/630fbcd5e6caa810f721b0f0de9478aaf78f7958.patch.gz | patch -p1
-zcat $CWD/sphinx2.patch.gz | patch -p1
-
-rm -rf doc/theme
-
-(
- cd doc
- tar -xf "$CWD/sphinx-bootstrap-theme-$SPHINX_BOOTSTRAP_VERSION.tar.gz"
- mv "sphinx-bootstrap-theme-$SPHINX_BOOTSTRAP_VERSION" theme
-)
-
-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 {} \;
-
-# http://eclim.org/install.html#install-source
-(
- # build nailgun
- cd org.eclim/nailgun
-
- chmod +x configure
- sed -i 's/ -s -O3//' Makefile.in
-
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure
-
- make
-
- find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-)
-
-chmod +x bin/sphinx
-
-# allow building with root - eek
-sed -i "s/'root'/'dummy'/g" ant/build.gant
-
-ECLIPSE_HOME=${ECLIPSE_HOME:-/opt/eclipse-java}
-ECLIPSE_HOME=${ECLIPSE_HOME%/}
-
-# thanks to the archlinux maintainer (thanks to mikezackles)
-sed -i \
- -e "s|File(getVariable('eclipse')|File('$ECLIPSE_HOME/'|g" \
- -e 's|${user.home}/\.|${vim.files}/|g' \
- -e '70,94d' \
- ant/build.gant
-
-ant build -Declipse.home=$ECLIPSE_HOME -Dvim.files=/usr/share/vim/vimfiles -Dfile.encoding=UTF-8
-
-mkdir -p $PKG/usr/share/vim/vimfiles
-mkdir -p $PKG$ECLIPSE_HOME
-
-ant docs vimdocs -Declipse.home=$ECLIPSE_HOME -Dvim.files=$PKG/usr/share/vim/vimfiles -Dfile.encoding=UTF-8
-ant deploy -Declipse.home=$PKG$ECLIPSE_HOME -Dvim.files=$PKG/usr/share/vim/vimfiles -Dfile.encoding=UTF-8
-
-# tidy up
-sed -i "s|$PKG||" \
- $PKG$ECLIPSE_HOME/plugins/org.eclim_$VERSION/bin/eclimd \
- $PKG$ECLIPSE_HOME/plugins/org.eclim_$VERSION/plugin.properties \
- $PKG/usr/share/vim/vimfiles/eclim/plugin/eclim.vim
-
-# generate tags for help files
-echo "ignored" | vim \
- -c "set rtp^=$PKG/usr/share/vim/vimfiles" \
- -c "source $PKG/usr/share/vim/vimfiles/plugin/eclim.vim" \
- -c 'silent! EclimHelp' \
- -c 'q!' -
-
-find $PKG$ECLIPSE_HOME/plugins/org.eclim_$VERSION/nailgun \! -name ng -mindepth 1 -print0 | xargs -0 rm -rf
-rm -rf build/doc/site/.doctrees
-
-# neovim support
-mkdir -p $PKG/usr/share/nvim/runtime/plugin
-(
- cd $PKG/usr/share/nvim/runtime
-
- ln -s ../../vim/vimfiles/eclim eclim
- ln -s ../../../vim/vimfiles/plugin/eclim.vim plugin/eclim.vim
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- build/doc/site \
- $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:-tgz}
diff --git a/development/eclim/eclim.info b/development/eclim/eclim.info
deleted file mode 100644
index 070fda41e8..0000000000
--- a/development/eclim/eclim.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="eclim"
-VERSION="2.8.0"
-HOMEPAGE="http://eclim.org"
-DOWNLOAD="https://github.com/ervandew/eclim/releases/download/2.8.0/eclim_2.8.0.tar.gz \
- https://github.com/ryan-roemer/sphinx-bootstrap-theme/archive/v0.7.1/sphinx-bootstrap-theme-0.7.1.tar.gz"
-MD5SUM="aae873ee270d6c7b21a6ff3bec3f08ad \
- f2cd079095fd6b41b0762b98133b7752"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="apache-ant eclipse-java Sphinx"
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/development/eclim/slack-desc b/development/eclim/slack-desc
deleted file mode 100644
index 8bc8bed87a..0000000000
--- a/development/eclim/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------------------------------------------------------|
-eclim: eclim (The power of Eclipse in your favorite editor.)
-eclim:
-eclim: Eclim provides the ability to access Eclipse code editing features
-eclim: (code completion, searching, code validation, and many more) via the
-eclim: command line or a local network connection, allowing those features
-eclim: to be integrated with your favorite editor.
-eclim:
-eclim:
-eclim:
-eclim: http://eclim.org/
-eclim:
diff --git a/development/eclim/sphinx2.patch.gz b/development/eclim/sphinx2.patch.gz
deleted file mode 100644
index bf446a3bf4..0000000000
--- a/development/eclim/sphinx2.patch.gz
+++ /dev/null
Binary files differ
diff --git a/development/eclipse-cpp/README b/development/eclipse-cpp/README
index a1707cc3e5..5cb49c987f 100644
--- a/development/eclipse-cpp/README
+++ b/development/eclipse-cpp/README
@@ -15,7 +15,7 @@ This package includes:
UPGRADING:
**********
if you find an error during Eclipse initialisation, check
-this two files:
+these two files:
/opt/eclipse-cpp/configuration/config.ini
/opt/eclipse-cpp/eclipse.ini
diff --git a/development/eclipse-cpp/eclipse-cpp.SlackBuild b/development/eclipse-cpp/eclipse-cpp.SlackBuild
index 30c85fd50f..6bae0ef11b 100644
--- a/development/eclipse-cpp/eclipse-cpp.SlackBuild
+++ b/development/eclipse-cpp/eclipse-cpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eclipse-cpp
@@ -26,11 +26,14 @@
# Modified from classical eclipse slackbuild
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eclipse-cpp
-VERSION=${VERSION:-4.15}
-SRCVERSION=${SRCVERSION:-2020-03-R}
+VERSION=${VERSION:-4.31}
+SRCVERSION=${SRCVERSION:-2024-03-R}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -51,11 +58,11 @@ mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT
cd $PKG/opt/$PRGNAM
# Untar source code tarball according with ARCH value
-# ARCH can only be 'x86_64'
-if [ "$ARCH" = "x86_64" ]; then
- tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-incubation-linux-gtk-$ARCH.tar.gz
+# ARCH can only be 'x86_64' or 'aarch64'
+if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then
+ tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz
else
- printf "$ARCH is not supported...\n"
+ printf "%s is not supported...\n" "$ARCH"
exit 1
fi
@@ -101,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eclipse-cpp/eclipse-cpp.desktop b/development/eclipse-cpp/eclipse-cpp.desktop
index 62b38fe572..8b2717fae9 100644
--- a/development/eclipse-cpp/eclipse-cpp.desktop
+++ b/development/eclipse-cpp/eclipse-cpp.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
-Exec=env SWT_GTK3=0 eclipse-cpp
+Exec=eclipse-cpp
Name=Eclipse C/C++
GenericName=Eclipse IDE for C/C++ Developers
Icon=eclipse-cpp
diff --git a/development/eclipse-cpp/eclipse-cpp.info b/development/eclipse-cpp/eclipse-cpp.info
index e38d2e3ca1..d2acc9706b 100644
--- a/development/eclipse-cpp/eclipse-cpp.info
+++ b/development/eclipse-cpp/eclipse-cpp.info
@@ -1,10 +1,12 @@
PRGNAM="eclipse-cpp"
-VERSION="4.15"
-HOMEPAGE="http://www.eclipse.org"
+VERSION="4.31"
+HOMEPAGE="https://www.eclipse.org/cdt/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2020-03/R/eclipse-cpp-2020-03-R-incubation-linux-gtk-x86_64.tar.gz"
-MD5SUM_x86_64="c419a30918f1396c9d46106ed2350a01"
-REQUIRES="jdk webkit2gtk"
+DOWNLOAD_x86_64="https://download.eclipse.org/technology/epp/downloads/release/2024-03/R/eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz \
+ https://download.eclipse.org/technology/epp/downloads/release/2024-03/R/eclipse-cpp-2024-03-R-linux-gtk-aarch64.tar.gz"
+MD5SUM_x86_64="cde7015280cb11b25e1f4bdff3243cf9 \
+ 45a4fdea1281079970b0d8aae6896f4e"
+REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/development/eclipse-cpp/slack-desc b/development/eclipse-cpp/slack-desc
index b972ec5fa5..d6639d18e8 100644
--- a/development/eclipse-cpp/slack-desc
+++ b/development/eclipse-cpp/slack-desc
@@ -15,5 +15,5 @@ eclipse-cpp: for C/C++ developers.
eclipse-cpp:
eclipse-cpp:
eclipse-cpp:
-eclipse-cpp: Homepage: http://www.eclipse.org/cdt
+eclipse-cpp: Homepage: https://www.eclipse.org/cdt/
eclipse-cpp:
diff --git a/development/eclipse-java/README b/development/eclipse-java/README
index 28fee3dfb0..395cb825e0 100644
--- a/development/eclipse-java/README
+++ b/development/eclipse-java/README
@@ -16,7 +16,7 @@ This package includes:
UPGRADING:
**********
if you find an error during Eclipse initialisation, check
-this two files:
+these two files:
/opt/eclipse-java/configuration/config.ini
/opt/eclipse-java/eclipse.ini
diff --git a/development/eclipse-java/eclipse-java.SlackBuild b/development/eclipse-java/eclipse-java.SlackBuild
index 2ac761caaa..54cff91d1f 100644
--- a/development/eclipse-java/eclipse-java.SlackBuild
+++ b/development/eclipse-java/eclipse-java.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eclipse-java
@@ -26,11 +26,14 @@
# Modified from classical eclipse slackbuild
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eclipse-java
-VERSION=${VERSION:-4.15}
-SRCVERSION=${SRCVERSION:-2020-03-R}
+VERSION=${VERSION:-4.31}
+SRCVERSION=${SRCVERSION:-2024-03-R}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -51,11 +58,11 @@ mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT
cd $PKG/opt/$PRGNAM
# Untar source code tarball according with ARCH value
-# ARCH can only be 'x86_64'
-if [ "$ARCH" = "x86_64" ]; then
+# ARCH can only be 'x86_64' or 'aarch64'
+if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then
tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz
else
- printf "$ARCH is not supported...\n"
+ printf "%s is not supported...\n" "$ARCH"
exit 1
fi
@@ -101,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eclipse-java/eclipse-java.info b/development/eclipse-java/eclipse-java.info
index 6cfda43736..83459d8549 100644
--- a/development/eclipse-java/eclipse-java.info
+++ b/development/eclipse-java/eclipse-java.info
@@ -1,10 +1,12 @@
PRGNAM="eclipse-java"
-VERSION="4.15"
-HOMEPAGE="http://www.eclipse.org"
+VERSION="4.31"
+HOMEPAGE="https://www.eclipse.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2020-03/R/eclipse-java-2020-03-R-linux-gtk-x86_64.tar.gz"
-MD5SUM_x86_64="1f4485a89895dd830489dbbb9581c3ae"
-REQUIRES="jdk webkit2gtk"
+DOWNLOAD_x86_64="https://download.eclipse.org/technology/epp/downloads/release/2024-03/R/eclipse-java-2024-03-R-linux-gtk-x86_64.tar.gz \
+ https://download.eclipse.org/technology/epp/downloads/release/2024-03/R/eclipse-java-2024-03-R-linux-gtk-aarch64.tar.gz"
+MD5SUM_x86_64="615d721f03f6f6a24447ed7812f2a6c9 \
+ 7bf9cd0ff52b51aef10e9a7d73c91fb9"
+REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/development/eclipse-java/slack-desc b/development/eclipse-java/slack-desc
index 07b14b232c..df5f589923 100644
--- a/development/eclipse-java/slack-desc
+++ b/development/eclipse-java/slack-desc
@@ -13,7 +13,7 @@ eclipse-java: Java IDE, a CVS client, Git client, XML Editor, Mylyn,
eclipse-java: Maven integration and WindowBuilder
eclipse-java:
eclipse-java:
-eclipse-java: Homepage: http://www.eclipse.org
+eclipse-java: Homepage: https://www.eclipse.org/
eclipse-java:
eclipse-java:
eclipse-java:
diff --git a/development/eclipse-jee/README b/development/eclipse-jee/README
index f748908109..92ebb759a4 100644
--- a/development/eclipse-jee/README
+++ b/development/eclipse-jee/README
@@ -16,13 +16,13 @@ This package includes:
- Eclipse XML Editors and Tools
Notes:
- - webkitgtk is required to use the internal web browser.
+ - webkit2gtk is required to use the internal web browser.
**********
UPGRADING:
**********
if you find an error during Eclipse initialisation, check
-this two files:
+these two files:
/opt/eclipse-jee/configuration/config.ini
/opt/eclipse-jee/eclipse.ini
diff --git a/development/eclipse-jee/eclipse-jee.SlackBuild b/development/eclipse-jee/eclipse-jee.SlackBuild
index d54d108fa5..4e980bb0a9 100644
--- a/development/eclipse-jee/eclipse-jee.SlackBuild
+++ b/development/eclipse-jee/eclipse-jee.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eclipse-jee
@@ -26,11 +26,14 @@
# Modified from classical eclipse slackbuild
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eclipse-jee
-VERSION=${VERSION:-4.15}
-SRCVERSION=${SRCVERSION:-2020-03-R}
+VERSION=${VERSION:-4.31}
+SRCVERSION=${SRCVERSION:-2024-03-R}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -51,11 +58,11 @@ mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT
cd $PKG/opt/$PRGNAM
# Untar source code tarball according with ARCH value
-# ARCH can only be 'x86_64'
-if [ "$ARCH" = "x86_64" ]; then
- tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-incubation-linux-gtk-$ARCH.tar.gz
+# ARCH can only be 'x86_64' or 'aarch64'
+if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then
+ tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz
else
- printf "$ARCH is not supported...\n"
+ printf "%s is not supported...\n" "$ARCH"
exit 1
fi
@@ -101,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eclipse-jee/eclipse-jee.desktop b/development/eclipse-jee/eclipse-jee.desktop
index 2c13318909..336f1f8717 100644
--- a/development/eclipse-jee/eclipse-jee.desktop
+++ b/development/eclipse-jee/eclipse-jee.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
-Exec=env SWT_GTK3=0 eclipse-jee
+Exec=eclipse-jee
Name=Eclipse Java EE
GenericName=Eclipse IDE for Java EE Developers
Icon=eclipse-jee
diff --git a/development/eclipse-jee/eclipse-jee.info b/development/eclipse-jee/eclipse-jee.info
index 3f43bbadbc..8817429b3c 100644
--- a/development/eclipse-jee/eclipse-jee.info
+++ b/development/eclipse-jee/eclipse-jee.info
@@ -1,10 +1,12 @@
PRGNAM="eclipse-jee"
-VERSION="4.15"
-HOMEPAGE="http://www.eclipse.org"
+VERSION="4.31"
+HOMEPAGE="https://www.eclipse.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2020-03/R/eclipse-jee-2020-03-R-incubation-linux-gtk-x86_64.tar.gz"
-MD5SUM_x86_64="435abf4f12fd20b4b10c0b81ccbdd4b8"
-REQUIRES="jdk webkit2gtk"
+DOWNLOAD_x86_64="https://download.eclipse.org/technology/epp/downloads/release/2024-03/R/eclipse-jee-2024-03-R-linux-gtk-x86_64.tar.gz \
+ https://download.eclipse.org/technology/epp/downloads/release/2024-03/R/eclipse-jee-2024-03-R-linux-gtk-aarch64.tar.gz"
+MD5SUM_x86_64="2dd3ed30068ceb394d289e198e04e5ef \
+ 7dcfd1b8c3d05ba0bb25a17c39c59dd5"
+REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/development/eclipse-jee/slack-desc b/development/eclipse-jee/slack-desc
index 290cbe5494..83e33ec097 100644
--- a/development/eclipse-jee/slack-desc
+++ b/development/eclipse-jee/slack-desc
@@ -13,7 +13,7 @@ eclipse-jee: including a Java IDE, tools for Java EE, JPA, JSF, Mylyn...
eclipse-jee:
eclipse-jee:
eclipse-jee:
-eclipse-jee: Homepage: http://www.eclipse.org
+eclipse-jee: Homepage: https://www.eclipse.org/
eclipse-jee:
eclipse-jee:
eclipse-jee:
diff --git a/development/eclipse-php/README b/development/eclipse-php/README
index 4e15e24c15..71af43ab36 100644
--- a/development/eclipse-php/README
+++ b/development/eclipse-php/README
@@ -12,11 +12,11 @@ This package includes:
**********
UPGRADING:
**********
-if you find an error during Eclipse initialization, check
+if you find an error during Eclipse initialisation, check
these two files:
/opt/eclipse-php/configuration/config.ini
/opt/eclipse-php/eclipse.ini
-If you haven't done modifications in those files, overwrite
+If you haven't made modifications to those files, overwrite
them with config.ini.new and eclipse.ini.new.
diff --git a/development/eclipse-php/doinst.sh b/development/eclipse-php/doinst.sh
index 95382d88a1..e6a482879a 100644
--- a/development/eclipse-php/doinst.sh
+++ b/development/eclipse-php/doinst.sh
@@ -1,14 +1,11 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
- # toss the redundant copy
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
rm $NEW
fi
- # Otherwise, we leave the .new copy for the admin to consider...
}
if [ -x /usr/bin/update-desktop-database ]; then
diff --git a/development/eclipse-php/eclipse-php.SlackBuild b/development/eclipse-php/eclipse-php.SlackBuild
index bfde2c534a..5b16d8a7de 100644
--- a/development/eclipse-php/eclipse-php.SlackBuild
+++ b/development/eclipse-php/eclipse-php.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eclipse-php
@@ -27,11 +27,14 @@
# Modified from classical eclipse slackbuild
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eclipse-php
-VERSION=${VERSION:-4.14}
-SRCVERSION=${SRCVERSION:-2019-12-R}
+VERSION=${VERSION:-4.31}
+SRCVERSION=${SRCVERSION:-2024-03-R}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -52,11 +59,11 @@ mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT
cd $PKG/opt/$PRGNAM
# Untar source code tarball according with ARCH value
-# ARCH can only be 'x86_64'
-if [ "$ARCH" = "x86_64" ]; then
+# ARCH can only be 'x86_64' or 'aarch64'
+if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then
tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz
else
- printf "$ARCH is not supported...\n"
+ printf "%s is not supported...\n" "$ARCH"
exit 1
fi
@@ -100,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eclipse-php/eclipse-php.desktop b/development/eclipse-php/eclipse-php.desktop
index 481c6a7ea7..ca52b3ce70 100644
--- a/development/eclipse-php/eclipse-php.desktop
+++ b/development/eclipse-php/eclipse-php.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
-Exec=env SWT_GTK3=0 eclipse-php
+Exec=eclipse-php
Name=Eclipse PHP
GenericName=Eclipse IDE for PHP Developers
Icon=eclipse-php
diff --git a/development/eclipse-php/eclipse-php.info b/development/eclipse-php/eclipse-php.info
index 9d09f14e10..2df51b7915 100644
--- a/development/eclipse-php/eclipse-php.info
+++ b/development/eclipse-php/eclipse-php.info
@@ -1,10 +1,12 @@
PRGNAM="eclipse-php"
-VERSION="4.14"
-HOMEPAGE="http://www.eclipse.org"
+VERSION="4.31"
+HOMEPAGE="https://www.eclipse.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2019-12/R/eclipse-php-2019-12-R-linux-gtk-x86_64.tar.gz"
-MD5SUM_x86_64="273dad6dfff659928be652367772b2cd"
-REQUIRES="jdk webkit2gtk"
+DOWNLOAD_x86_64="https://download.eclipse.org/technology/epp/downloads/release/2024-03/R/eclipse-php-2024-03-R-linux-gtk-x86_64.tar.gz \
+ https://download.eclipse.org/technology/epp/downloads/release/2024-03/R/eclipse-php-2024-03-R-linux-gtk-aarch64.tar.gz"
+MD5SUM_x86_64="ab8d96d1abfb4a5c9dea22eb18dd7bd3 \
+ ab6a3881a147d96e134ed210c446e083"
+REQUIRES=""
MAINTAINER="Giuseppe Di Terlizzi"
EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/development/eclipse-php/slack-desc b/development/eclipse-php/slack-desc
index bb12471d4c..70df76eb50 100644
--- a/development/eclipse-php/slack-desc
+++ b/development/eclipse-php/slack-desc
@@ -13,7 +13,7 @@ eclipse-php: support, Git client, Mylyn and editors for JavaScript, HTML, CSS an
eclipse-php: XML.
eclipse-php:
eclipse-php:
-eclipse-php: Homepage: http://www.eclipse.org
+eclipse-php: Homepage: https://www.eclipse.org/
eclipse-php:
eclipse-php:
eclipse-php:
diff --git a/development/eclipse-platform/eclipse-platform.SlackBuild b/development/eclipse-platform/eclipse-platform.SlackBuild
index 3d46cff3ed..cfcad3541f 100644
--- a/development/eclipse-platform/eclipse-platform.SlackBuild
+++ b/development/eclipse-platform/eclipse-platform.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eclipse-platform
-# Copyright 2020 Igor Alexandrov <igor.alexandrov@outlook.com>
+# Copyright 2020, 2021 Igor Alexandrov <igor.alexandrov@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=eclipse-platform
-VERSION=${VERSION:-4.17}
+VERSION=${VERSION:-4.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -40,14 +43,21 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
-CWD=$(pwd)
+# 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}
SRCNAM=eclipse
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -81,4 +91,4 @@ mkdir -p install
cat $CWD/slack-desc > install/slack-desc
cat $CWD/doinst.sh > install/doinst.sh
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eclipse-platform/eclipse-platform.info b/development/eclipse-platform/eclipse-platform.info
index c6ba1f4cb0..ca30522a19 100644
--- a/development/eclipse-platform/eclipse-platform.info
+++ b/development/eclipse-platform/eclipse-platform.info
@@ -1,10 +1,10 @@
PRGNAM="eclipse-platform"
-VERSION="4.17"
-HOMEPAGE="http://www.eclipse.org"
+VERSION="4.19"
+HOMEPAGE="https://www.eclipse.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-4.17-202009021800/eclipse-platform-4.17-linux-gtk-x86_64.tar.gz"
-MD5SUM_x86_64="d3f0e3916b8e551ea57097abfcfe445e"
-REQUIRES="jdk webkit2gtk"
+DOWNLOAD_x86_64="https://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-4.19-202103031800/eclipse-platform-4.19-linux-gtk-x86_64.tar.gz"
+MD5SUM_x86_64="48253adbb219851359613344d942d934"
+REQUIRES="zulu-openjdk8 webkit2gtk"
MAINTAINER="Igor Alexandrov"
EMAIL="igor.alexandrov@outlook.com"
diff --git a/development/edb-debugger/edb-debugger.SlackBuild b/development/edb-debugger/edb-debugger.SlackBuild
index 12ad7efbb5..738e0027cd 100644
--- a/development/edb-debugger/edb-debugger.SlackBuild
+++ b/development/edb-debugger/edb-debugger.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Evan's Debugger (edb-debugger)
@@ -22,13 +22,15 @@
# 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=edb-debugger
-VERSION=${VERSION:-0.9.20}
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PRGNAMPREFIX=edb
-SRCNAM=debugger
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,9 +40,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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-$SRCNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
@@ -62,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tgz
-cd $SRCNAM
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,27 +81,23 @@ 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 {} \;
-qmake
-make
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DATAROOTDIR=/usr/share \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/bin
-cp -a edb $PKG/usr/bin
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAMPREFIX
-cp -a lib*.so $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAMPREFIX
-
-mkdir -p $PKG/usr/man/man1
-gzip -9 edb.1 edb.1.gz
-cp -a edb.1.gz $PKG/usr/man/man1
-
-mkdir -p $PKG/usr/include/$PRGNAMPREFIX
-cp -a include/. $PKG/usr/include/$PRGNAMPREFIX
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/. BUGS CHANGELOG COPYING README README.plugins TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUGS CHANGELOG COPYING README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -100,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/edb-debugger/edb-debugger.info b/development/edb-debugger/edb-debugger.info
index 1477a74bcf..4e5052ab7d 100644
--- a/development/edb-debugger/edb-debugger.info
+++ b/development/edb-debugger/edb-debugger.info
@@ -1,10 +1,10 @@
PRGNAM="edb-debugger"
-VERSION="0.9.20"
+VERSION="1.3.0"
HOMEPAGE="http://codef00.com/projects#debugger"
-DOWNLOAD="http://codef00.com/projects/debugger-0.9.20.tgz"
-MD5SUM="5916d415f598fae8632dd763f58e11d1"
+DOWNLOAD="https://github.com/eteran/edb-debugger/releases/download/1.3.0/edb-debugger-1.3.0.tgz"
+MD5SUM="8f718aae43d6b1e683ffe9e90f7cc984"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="capstone"
MAINTAINER="P.D. Parnoff"
EMAIL="cryptoanarquismo@biofcentral.com"
diff --git a/development/editorconfig-core-c/README b/development/editorconfig-core-c/README
deleted file mode 100644
index dab1af1845..0000000000
--- a/development/editorconfig-core-c/README
+++ /dev/null
@@ -1,7 +0,0 @@
-EditorConfig makes it easy to maintain the correct coding style when
-switching between different text editors and between different projects.
-
-The EditorConfig project maintains a file format and plugins for various
-text editors which allow this file format to be read and used by those
-editors. For information on the file format and supported text editors,
-see the EditorConfig website.
diff --git a/development/editorconfig-core-c/editorconfig-core-c.SlackBuild b/development/editorconfig-core-c/editorconfig-core-c.SlackBuild
deleted file mode 100644
index dadad7dd5c..0000000000
--- a/development/editorconfig-core-c/editorconfig-core-c.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for editorconfig-core-c
-
-# Copyright 2019 David Demelier, France
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=editorconfig-core-c
-VERSION=${VERSION:-0.12.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-# fix man path installation
-patch -p0 < $CWD/man-directory.patch
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
- rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a
-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
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/editorconfig-core-c/editorconfig-core-c.info b/development/editorconfig-core-c/editorconfig-core-c.info
deleted file mode 100644
index 9a87350ad5..0000000000
--- a/development/editorconfig-core-c/editorconfig-core-c.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="editorconfig-core-c"
-VERSION="0.12.1"
-HOMEPAGE="https://github.com/editorconfig/editorconfig-core-c"
-DOWNLOAD="http://github.com/editorconfig/editorconfig-core-c/archive/v0.12.1/editorconfig-core-c-0.12.1.tar.gz"
-MD5SUM="f15a4d417c405c8de54f132dc3429e46"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Demelier"
-EMAIL="markand@malikania.fr"
diff --git a/development/editorconfig-core-c/man-directory.patch b/development/editorconfig-core-c/man-directory.patch
deleted file mode 100644
index 74d5db6733..0000000000
--- a/development/editorconfig-core-c/man-directory.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- doc/CMakeLists.txt.orig 2019-02-16 20:30:36.724781344 +0100
-+++ doc/CMakeLists.txt 2019-02-16 20:31:01.294782000 +0100
-@@ -107,17 +107,17 @@
- # we need to exclude it when installing man3. Same for
- # editorconfig-format.3
- install(DIRECTORY ${EC_MANPAGE3_DIR}
-- DESTINATION share/man
-+ DESTINATION man
- PATTERN editorconfig.3 EXCLUDE
- PATTERN editorconfig-format.3 EXCLUDE
- REGEX ._include_. EXCLUDE)
-
- install(FILES
- ${EC_MANPAGE1_DIR}/editorconfig.1
-- DESTINATION share/man/man1)
-+ DESTINATION man/man1)
- install(FILES
- ${EC_MANPAGE5_DIR}/editorconfig-format.5
-- DESTINATION share/man/man5)
-+ DESTINATION man/man5)
-
- # "make clean" should also clean generated docs
- set_directory_properties(PROPERTIES
diff --git a/development/editorconfig-core-c/slack-desc b/development/editorconfig-core-c/slack-desc
deleted file mode 100644
index ca84f7de28..0000000000
--- a/development/editorconfig-core-c/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------------------------------------------------------|
-editorconfig-core-c: editorconfig-core-c (EditorConfig core library written in C)
-editorconfig-core-c:
-editorconfig-core-c: EditorConfig makes it easy to maintain the correct coding style when
-editorconfig-core-c: switching between different text editors and between different
-editorconfig-core-c: projects.
-editorconfig-core-c:
-editorconfig-core-c: The EditorConfig project maintains a file format and plugins for
-editorconfig-core-c: various text editors which allow this file format to be read and used
-editorconfig-core-c: by those editors. For information on the file format and supported
-editorconfig-core-c: text editors, see the EditorConfig website.
-editorconfig-core-c:
diff --git a/development/egypt/egypt.SlackBuild b/development/egypt/egypt.SlackBuild
index 204fca75e5..bccddf0fa9 100644
--- a/development/egypt/egypt.SlackBuild
+++ b/development/egypt/egypt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for egypt
@@ -22,26 +22,36 @@
# 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=egypt
VERSION=${VERSION:-1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eisl/README b/development/eisl/README
new file mode 100644
index 0000000000..74f74916cd
--- /dev/null
+++ b/development/eisl/README
@@ -0,0 +1,16 @@
+Easy-ISLisp (EISL) is an interpreter and compiler compatible with the
+ISLisp standard. EISL was written by Kenichi Sasagawa and is available
+under a BSD license, featuring:
+* Full support of the ISLisp standard plus a number of extensions.
+* Readline support and syntax highlighting.
+* A compiler with generates C code, comparable in performance as
+ equivalent code generated by SBCL.
+* tail-call optimization.
+* type inference.
+* C interop,
+* libraries for CSV handling, OpenGL, statistics, parallel execution,
+ linear algebra, combinatorics, GNU Plot interop, lazy evaluation
+ (delay / force, l*), Tcl/Tk interop, TCP sockets, Unicode support,
+ prolog interpreter, etc.
+
+
diff --git a/development/eisl/eisl.SlackBuild b/development/eisl/eisl.SlackBuild
new file mode 100644
index 0000000000..73fb8968ef
--- /dev/null
+++ b/development/eisl/eisl.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# Slackware build script for eisl
+
+# Copyright 2023 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=eisl
+VERSION=${VERSION:-3.70}
+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 $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# patch to correct tcl.h location:
+cat $CWD/patches/01-tcltk.patch | patch -p1 || exit 1;
+
+# patch to use gdbm instead of unavailable ndbm:
+cat $CWD/patches/02-ndbm.patch | patch -p1 || exit 1;
+
+CFLAGS="$SLKCFLAGS" make DESTDIR=$PKG PREFIX="/usr" install
+
+find $PKG/usr/share -name "*.lsp" -exec chmod -x {} \;
+
+# minor correction of example file:
+sed -i '1s|/Users/dbane|/usr|' example/script-test.lsp
+
+# correct file permissions
+find {example,verify,bench} -type f -exec chmod -x {} \;
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md license.txt \
+ documents example verify bench \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eisl/eisl.info b/development/eisl/eisl.info
new file mode 100644
index 0000000000..5e20ae9741
--- /dev/null
+++ b/development/eisl/eisl.info
@@ -0,0 +1,10 @@
+PRGNAM="eisl"
+VERSION="3.70"
+HOMEPAGE="https://github.com/sasagawa888/eisl"
+DOWNLOAD="https://github.com/sasagawa888/eisl/archive/v3.70/eisl-3.70.tar.gz"
+MD5SUM="69c257d61da68f70740c625933b159ab"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/eisl/patches/01-tcltk.patch b/development/eisl/patches/01-tcltk.patch
new file mode 100644
index 0000000000..3b573ed309
--- /dev/null
+++ b/development/eisl/patches/01-tcltk.patch
@@ -0,0 +1,12 @@
+--- eisl-3.50/library/tcltk.lsp 2023-09-10 01:16:45.000000000 -0300
++++ eisl-3.50-mod/library/tcltk.lsp 2023-10-26 21:45:06.916251188 -0300
+@@ -1,8 +1,4 @@
+-(c-lang "#ifdef __linux__
+- #include <tcl/tcl.h>
+- #else
+- #include <tcl.h>
+- #endif")
++(c-lang "#include <tcl.h>")
+ (c-option "-ltcl -ltk" linux)
+ (c-option "-I/opt/homebrew/opt/tcl-tk/include -L/opt/homebrew/opt/tcl-tk/lib -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6" macos)
+ (c-define "BUFFSIZE" "1024")
diff --git a/development/eisl/patches/02-ndbm.patch b/development/eisl/patches/02-ndbm.patch
new file mode 100644
index 0000000000..4b1aede9db
--- /dev/null
+++ b/development/eisl/patches/02-ndbm.patch
@@ -0,0 +1,52 @@
+--- eisl-3.50/library/ndbm.lsp 2023-09-10 01:16:45.000000000 -0300
++++ eisl-3.50-mod/library/ndbm.lsp 2023-10-26 21:57:30.208196711 -0300
+@@ -8,9 +8,9 @@
+ ;;;
+ ;;; See persist.lsp for a higher-level way to do things.
+
+-(c-include "<ndbm.h>")
++(c-include "<gdbm.h>")
+ (c-include "<fcntl.h>")
+-(c-option "-lgdbm_compat -lgdbm" linux)
++(c-option "-lgdbm" linux)
+
+ ;; This is the best way I could see to export C #define contants?
+ (defun ndbm-rdonly ()
+@@ -30,9 +30,9 @@
+ (c-lang "res = Fmakefaststrlong(res_str);"))
+
+ (defun ndbm-insert ()
+- (c-lang "res = DBM_INSERT | INT_FLAG;"))
++ (c-lang "res = GDBM_INSERT | INT_FLAG;"))
+ (defun ndbm-replace ()
+- (c-lang "res = DBM_REPLACE | INT_FLAG;"))
++ (c-lang "res = GDBM_REPLACE | INT_FLAG;"))
+
+ (defun ndbm-store (db key content store-mode)
+ ;; Store a record to the file
+@@ -40,14 +40,14 @@
+ (c-lang "datum key, content;");
+ (c-lang "key.dptr = Fgetname(KEY); key.dsize = strlen(key.dptr) + 1;")
+ (c-lang "content.dptr = Fgetname(CONTENT); content.dsize = strlen(content.dptr) + 1;")
+- (c-lang "res = dbm_store(Fgetlong(DB), key, content, STORE_MODE & INT_MASK) | INT_FLAG;"))
++ (c-lang "res = gdbm_store(Fgetlong(DB), key, content, STORE_MODE & INT_MASK) | INT_FLAG;"))
+
+ (defun ndbm-fetch (db key)
+ ;; Fetch a record from the file
+ (the <longnum> db)(the <string> key)
+ (c-lang "datum key, content;")
+ (c-lang "key.dptr = Fgetname(KEY); key.dsize = strlen(key.dptr) + 1;")
+- (c-lang "content = dbm_fetch(Fgetlong(DB), key);")
++ (c-lang "content = gdbm_fetch(Fgetlong(DB), key);")
+ (c-lang "res = (content.dptr == NULL) ? NIL : Fmakestr(content.dptr);"))
+
+ (defun ndbm-delete (db key)
+@@ -55,7 +55,7 @@
+ (the <longnum> db)(the <string> key)
+ (c-lang "datum key;")
+ (c-lang "key.dptr = Fgetname(KEY); key.dsize = strlen(key.dptr) + 1;")
+- (c-lang "res = dbm_delete(Fgetlong(DB), key) | INT_FLAG;"))
++ (c-lang "res = gdbm_delete(Fgetlong(DB), key) | INT_FLAG;"))
+
+ (defun ndbm-close (db)
+ ;; Close an open dbm file
diff --git a/development/eisl/slack-desc b/development/eisl/slack-desc
new file mode 100644
index 0000000000..97e610e2a0
--- /dev/null
+++ b/development/eisl/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------------------------------------------------------|
+eisl: eisl (ISO ISLISP interpreter)
+eisl:
+eisl: Easy-ISLisp (EISL) is an interpreter and compiler compatible with the
+eisl: ISLisp standard. EISL was written by Kenichi Sasagawa and is
+eisl: available under a BSD license.
+eisl:
+eisl:
+eisl:
+eisl:
+eisl: For more information, see: https://github.com/sasagawa888/eisl
+eisl:
diff --git a/development/electron/README b/development/electron/README
index ae026dc2d8..845fbcb752 100644
--- a/development/electron/README
+++ b/development/electron/README
@@ -5,7 +5,9 @@ cross-platform desktop applications with HTML, CSS, and JavaScript.
Electron accomplishes this by combining Chromium and Node.js into a
single runtime, and apps can be packaged for Mac, Windows, and Linux.
-This is electron binary repackaged in Slackware style.
+This is electron binary repackaged in Slackware style. This SlackBuild
+is for version 19 of Electron. The binary for Electron 19 is only
+available for x86_64, arm64 and arm7vl systems.
Optional features
diff --git a/development/electron/electron.SlackBuild b/development/electron/electron.SlackBuild
index acc4416a96..4fdae7c433 100644
--- a/development/electron/electron.SlackBuild
+++ b/development/electron/electron.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for electron
# Copyright 2017 Dhaby Xiloj <slack.dhabyx@gmail.com>
+# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +23,13 @@
# 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=electron
-VERSION=${VERSION:-10.0.0_beta.1}
-SRCVER=$(echo $VERSION | tr _ -)
+VERSION=${VERSION:-20.3.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,16 +39,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
- PKG_ARCH="ia32"
-elif [ "$ARCH" = "i686" ]; then
- PKG_ARCH="ia32"
-elif [ "$ARCH" = "x86_64" ]; then
+if [ "$ARCH" = "x86_64" ]; then
PKG_ARCH="x64"
else
echo "The package for $(uname -m) architecture is not supported.";
@@ -57,10 +60,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-mkdir $PRGNAM-$SRCVER
-cd $PRGNAM-$SRCVER
-unzip $CWD/$PRGNAM-v$SRCVER-linux-$PKG_ARCH.zip
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-v$VERSION-linux-$PKG_ARCH.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -77,23 +80,26 @@ cp -a *.bin *.pak *.so $PRGNAM icudtl.dat version locales resources \
(
cd $PKG/usr/bin
ln -sf ../share/$PRGNAM/$PRGNAM ${PRGNAM}${VERSION}
- ln -sf ../share/$PRGNAM/$PRGNAM ${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
+
# Install prebuilt version for build binary apps
if [ "${INSTALL_ZIP:-no}" != no ]; then
mkdir -p $PKG/usr/share/$PRGNAM/release
- cp $CWD/$PRGNAM-v$SRCVER-linux-$PKG_ARCH.zip $PKG/usr/share/$PRGNAM/release
+ cp $CWD/$PRGNAM-v$VERSION-linux-$PKG_ARCH.zip $PKG/usr/share/$PRGNAM/release
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE LICENSES.chromium.html $CWD/README.Slackware \
+ LICENSE LICENSES.chromium.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README.Slackware > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/electron/electron.info b/development/electron/electron.info
index 6074f2b12f..26a6c16d02 100644
--- a/development/electron/electron.info
+++ b/development/electron/electron.info
@@ -1,10 +1,10 @@
PRGNAM="electron"
-VERSION="10.0.0_beta.1"
-HOMEPAGE="https://electron.atom.io/"
-DOWNLOAD="https://github.com/electron/electron/releases/download/v10.0.0-beta.1/electron-v10.0.0-beta.1-linux-ia32.zip"
-MD5SUM="1fb8f937c6ddf47cb6c5b6b2cfc04433"
-DOWNLOAD_x86_64="https://github.com/electron/electron/releases/download/v10.0.0-beta.1/electron-v10.0.0-beta.1-linux-x64.zip"
-MD5SUM_x86_64="277eed276bbbd25ec492f8646fe78048"
+VERSION="20.3.12"
+HOMEPAGE="https://www.electronjs.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/electron/electron/releases/download/v20.3.12/electron-v20.3.12-linux-x64.zip"
+MD5SUM_x86_64="6d24bae2deab47cacf16ba4ab4ac34e7"
REQUIRES=""
-MAINTAINER="DhabyX"
-EMAIL="slack.dhabyx@gmail.com"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/elixir/elixir.SlackBuild b/development/elixir/elixir.SlackBuild
index da19c9db2a..f87a7f9c33 100644
--- a/development/elixir/elixir.SlackBuild
+++ b/development/elixir/elixir.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
## Copyright (C) 2016 Ryan S. Northrup <northrup@yellowapple.us>
@@ -26,10 +26,13 @@
## (vzdorovenco@yahoo.com). Please **DO NOT** email halflife about
## this SlackBuild.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=elixir
-VERSION=${VERSION:-1.9.0}
+VERSION=${VERSION:-1.11.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRC_NAME_VERSION=elixir-${VERSION}
@@ -41,9 +44,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
@@ -81,9 +91,9 @@ chown -R root:root $PKG/usr/lib${LIBDIRSUFFIX}/elixir
chmod -R u+w,go+r-w,a-s $PKG/usr/lib${LIBDIRSUFFIX}/elixir
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-for file in CHANGELOG.md CODE_OF_CONDUCT.md ISSUE_TEMPLATE.md LICENSE \
- NOTICE README.md RELEASE.md VERSION ; do
- cp $file $PKG/usr/doc/$PRGNAM-$VERSION
+for file in CHANGELOG.md CODE_OF_CONDUCT.md LICENSE \
+ NOTICE README.md RELEASE.md SECURITY.md VERSION ; do
+ cp $file $PKG/usr/doc/$PRGNAM-$VERSION
done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/elixir/elixir.info b/development/elixir/elixir.info
index db08f46b14..9fa0a45f3b 100644
--- a/development/elixir/elixir.info
+++ b/development/elixir/elixir.info
@@ -1,8 +1,8 @@
PRGNAM="elixir"
-VERSION="1.9.0"
+VERSION="1.11.3"
HOMEPAGE="https://elixir-lang.org"
-DOWNLOAD="https://github.com/elixir-lang/elixir/archive/v1.9.0/elixir-1.9.0.tar.gz"
-MD5SUM="73b008e9bfa1cff1a8340505b36bcceb"
+DOWNLOAD="https://github.com/elixir-lang/elixir/archive/v1.11.3/elixir-1.11.3.tar.gz"
+MD5SUM="0319a8428c647cdbc373312a5c25fb5e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="erlang-otp"
diff --git a/development/emsdk/README b/development/emsdk/README
new file mode 100644
index 0000000000..a060a7b88a
--- /dev/null
+++ b/development/emsdk/README
@@ -0,0 +1,18 @@
+Emscripten is a toolset which allows compiling C/C++ into JavaScript.
+
+
+If that does not scare you, read further.
+
+Emscripten used to work like a compiler-wrapper around gcc/g++/clang,
+and other tools, and doing that now is still possible, via a package
+called "emscripten" (not available at SBo). However, since the
+ambitions of the authors began to grow, more and more tools were
+becoming part of the Emscripten toolset, and it became more and more
+unwieldy installing all of them by hand.
+
+This package, emsdk, is a set of "blessed" shell scripts to do just
+that in a standardised fashion. It might be compared to an Android
+SDK manager, or MinGW installer.
+
+Activate it by sourcing /etc/profile.d/emsdk_env.sh , or run
+individual commands by emsdk <command>
diff --git a/development/emsdk/emsdk b/development/emsdk/emsdk
new file mode 100644
index 0000000000..3d3fe9f3e8
--- /dev/null
+++ b/development/emsdk/emsdk
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd "/usr/libLIBDIRSUFFIX/emsdk"
+./emsdk "$@"
diff --git a/development/emsdk/emsdk.SlackBuild b/development/emsdk/emsdk.SlackBuild
new file mode 100644
index 0000000000..b21263f9ce
--- /dev/null
+++ b/development/emsdk/emsdk.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for emsdk
+
+# Copyright 2023, Lockywolf
+# 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=emsdk
+VERSION=${VERSION:-3.1.39}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+
+install --mode 755 --directory "$PKG"/usr/bin
+install --mode 755 $CWD/emsdk "$PKG"/usr/bin/
+sed -i "s/LIBDIRSUFFIX/$LIBDIRSUFFIX/g" "$PKG"/usr/bin/emsdk
+
+install --mode 755 --directory "$PKG"/etc/profile.d/
+install --mode 755 $CWD/emsdk_env.sh "$PKG"/etc/profile.d/
+sed -i "s/LIBDIRSUFFIX/$LIBDIRSUFFIX/g" "$PKG"/etc/profile.d/emsdk_env.sh
+
+install --mode 755 --directory "$PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM"
+for file in emsdk emsdk.py *.json *.txt emsdk_env.*; do
+ install --mode 755 "$file" "$PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM"
+done
+
+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 \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/emsdk/emsdk.info b/development/emsdk/emsdk.info
new file mode 100644
index 0000000000..9f0fc75bf7
--- /dev/null
+++ b/development/emsdk/emsdk.info
@@ -0,0 +1,10 @@
+PRGNAM="emsdk"
+VERSION="3.1.39"
+HOMEPAGE="https://emscripten.org"
+DOWNLOAD="https://github.com/emscripten-core/emsdk/archive/3.1.39/emsdk-3.1.39.tar.gz"
+MD5SUM="9ed4d9a4556c84c84bae09b005506d14"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.emsdk_2023-06-09@lockywolf.net"
diff --git a/development/emsdk/emsdk_env.sh b/development/emsdk/emsdk_env.sh
new file mode 100644
index 0000000000..a14f8ba165
--- /dev/null
+++ b/development/emsdk/emsdk_env.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+source /usr/libLIBDIRSUFFIX/emsdk/emsdk_env.sh
diff --git a/development/emsdk/slack-desc b/development/emsdk/slack-desc
new file mode 100644
index 0000000000..ec5b99342a
--- /dev/null
+++ b/development/emsdk/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------------------------------------------------------|
+emsdk: emsdk (simple interface for installing emscripten toolchain)
+emsdk:
+emsdk: The Emscripten SDK is effectively a small package manager for tools
+emsdk: that are used in conjunction with Emscripten.
+emsdk:
+emsdk: The SDK provides a way to install all the required tools, such as
+emsdk: Clang, Python and Node.js along with an update mechanism that
+emsdk: enables migrating to newer Emscripten versions as they are released.
+emsdk:
+emsdk:
+emsdk:
diff --git a/development/energia/energia.SlackBuild b/development/energia/energia.SlackBuild
index a60c847405..4e24d609f2 100644
--- a/development/energia/energia.SlackBuild
+++ b/development/energia/energia.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Energia
@@ -22,25 +22,35 @@
# 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=energia
VERSION=${VERSION:-0101E0014}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
SRCSUFFIX="-linux"
elif [ "$ARCH" = "i686" ]; then
@@ -108,4 +118,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/energia/energia.info b/development/energia/energia.info
index 5e332169b6..b1867dd958 100644
--- a/development/energia/energia.info
+++ b/development/energia/energia.info
@@ -1,10 +1,10 @@
PRGNAM="energia"
VERSION="0101E0014"
HOMEPAGE="http://energia.nu/"
-DOWNLOAD="http://energia.nu/downloads/downloadv3.php?file=energia-0101E0014-linux.tgz"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/energia-0101E0014-linux.tgz"
MD5SUM="934899c503c8f325288d60530e3369bb"
-DOWNLOAD_x86_64="http://energia.nu/downloads/downloadv3.php?file=energia-0101E0014-linux64.tgz"
+DOWNLOAD_x86_64="https://ponce.cc/slackware/sources/repo/energia-0101E0014-linux64.tgz"
MD5SUM_x86_64="2badad8a522a48d65a5a938c1b4e5eba"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Erwin van Zanten"
EMAIL="e.van.zanten.evz@gmail.com"
diff --git a/development/enki/enki.SlackBuild b/development/enki/enki.SlackBuild
index 8e752c48b8..f4c3a89be5 100644
--- a/development/enki/enki.SlackBuild
+++ b/development/enki/enki.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for enki
# Copyright 2015-2107 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2017-2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -23,10 +23,13 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=enki
-VERSION=${VERSION:-15.11.1}
+VERSION=${VERSION:-22.08.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCS="ChangeLog LICENSE.GPL2 README.md doc/"
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,7 +82,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 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -85,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/enki/enki.info b/development/enki/enki.info
index b6f62e591c..2763fd7c61 100644
--- a/development/enki/enki.info
+++ b/development/enki/enki.info
@@ -1,10 +1,10 @@
PRGNAM="enki"
-VERSION="15.11.1"
-HOMEPAGE="https://github.com/hlamer/enki"
-DOWNLOAD="https://github.com/andreikop/enki/archive/v15.11.1/enki-15.11.1.tar.gz"
-MD5SUM="9db077a097ca75ae3f89f159ac245c3d"
+VERSION="22.08.0"
+HOMEPAGE="https://github.com/andreikop/enki"
+DOWNLOAD="https://github.com/andreikop/enki/archive/refs/tags/v22.08.0/enki-22.08.0.tar.gz"
+MD5SUM="39854c794a5fbc043fbb47ac82593021"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyparsing qutepart"
+REQUIRES="qutepart"
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/development/enki/slack-desc b/development/enki/slack-desc
index 6517965006..89a5163de8 100644
--- a/development/enki/slack-desc
+++ b/development/enki/slack-desc
@@ -14,6 +14,6 @@ enki:
enki:
enki:
enki:
-enki: https://github.com/hlamer/enki
+enki: https://github.com/andreikop/enki
enki:
enki:
diff --git a/development/envision/README b/development/envision/README
new file mode 100644
index 0000000000..f67860ca6f
--- /dev/null
+++ b/development/envision/README
@@ -0,0 +1,10 @@
+envision (graphics editing tool for Atari 8-bit systems)
+
+envision is a graphics editing program similar to the old Atari
+program Envision. It is a full-featured character editor and
+map-maker. It supports both native files and .XFD disk images. It is
+mouse based, and includes all the standard editing methods (flips,
+fills, rotates, invert, etc).
+
+The package includes the envision author's example disk image as
+/usr/doc/envision-*/example.xfd (see also example.txt).
diff --git a/development/envision/doinst.sh b/development/envision/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/development/envision/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/envision/envision.1 b/development/envision/envision.1
new file mode 100644
index 0000000000..442713371b
--- /dev/null
+++ b/development/envision/envision.1
@@ -0,0 +1,76 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "ENVISION" 1 "2022-12-31" "0.9" "SlackBuilds.org"
+.SH NAME
+envision \- Atari 8-bit graphics editing tool
+.\" RST source for envision(1) man page. Convert with:
+.
+.\" rst2man.py envision.rst > envision.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+envision [\fB\-f\fP | \fB\-full\fP] [\fB\-z\fP \fIfactor\fP | \fB\-zoom\fP \fIfactor\fP]
+.SH DESCRIPTION
+.sp
+\fBenvision\fP is a font/map editing program similar to the old APX
+Envision program on the Atari 8\-bits.
+.sp
+It is a full\-featured character editor and map\-maker. It supports both
+native files and .XFD disk images. It is mouse based, and includes all
+the standard editing methods (flips, fills, rotates, invert, etc).
+.sp
+This man page doesn\(aqt explain how to actually use \fBenvision\fP\&. For that,
+see the full documentation: /usr/doc/envision\-0.9/envision.txt
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \fB\-f\fP, \fB\-full\fP
+Runs \fBenvision\fP in full\-screen mode. You can also toggle fullscreen
+by pressing Ctrl\-Enter.
+.TP
+.B \fB\-z\fP \fIfactor\fP, \fB\-zoom\fP \fIfactor\fP
+Set the zoom level (2 to 8). This is multiplied by 320x200. The default
+is 3, which gives a 960x600 display. For 1080p displays, try \fB\-z 5\fP\&.
+For 4k, try 7 or 8. The window isn\(aqt actually resizable after the
+application starts...
+.UNINDENT
+.SH AUTHORS
+.sp
+envision was written by Mark Schmelzenbach.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The envision homepage: \fI\%https://atari.miribilist.com/envision/index.html\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/envision/envision.SlackBuild b/development/envision/envision.SlackBuild
new file mode 100644
index 0000000000..dbb749f861
--- /dev/null
+++ b/development/envision/envision.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for envision
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=envision
+VERSION=${VERSION:-0.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -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
+# -x excludes the prebuilt binaries and git stuff, makes the source dir
+# 90% smaller.
+unzip $CWD/$PRGNAM-$VERSION.zip -x '*.dll' '*.exe' '*/.git/*' '*/envision'
+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 {} \+
+
+sed -i "s,-O3,$SLKCFLAGS," src/Makefile.linux
+make -C src -f Makefile.linux
+
+mkdir -p $PKG/usr/bin
+install -s -m0755 src/$PRGNAM $PKG/usr/bin
+
+# wish there were an icon bigger than 32x32...
+mkdir -p $PKG/usr/share/icons/hicolor/32x32/apps $PKG/usr/share/pixmaps
+convert src/icon32_32.bmp $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
+ln -s ../icons/hicolor/32x32/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+# .desktop file written by SlackBuild author.
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+# man page written by SlackBuild author.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a $PRGNAM.txt $PRGNAM.blurb $PKGDOC
+cat $CWD/example.xfd > $PKGDOC/example.xfd
+cat $CWD/example.txt > $PKGDOC/example.txt
+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/development/envision/envision.desktop b/development/envision/envision.desktop
new file mode 100644
index 0000000000..45e3b88622
--- /dev/null
+++ b/development/envision/envision.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Envision
+Comment=Graphic design tool for Atari 8-bit
+Exec=envision
+Icon=envision
+Type=Application
+Categories=Graphics;
+Terminal=false
+Version=1.0
diff --git a/development/envision/envision.info b/development/envision/envision.info
new file mode 100644
index 0000000000..cca82dd293
--- /dev/null
+++ b/development/envision/envision.info
@@ -0,0 +1,14 @@
+PRGNAM="envision"
+VERSION="0.9"
+HOMEPAGE="https://atari.miribilist.com/envision/index.html"
+DOWNLOAD="https://atari.miribilist.com/envision/envision-0.9.zip \
+ https://atari.miribilist.com/envision/example.xfd \
+ https://atari.miribilist.com/envision/example.txt"
+MD5SUM="6c788cf0f6352fc5c1f6bb4c97d5c05c \
+ 55645cef31d56effa42b5c32cae4356a \
+ 62902ec64d3e0b9c90e2ad7d47759a42"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/envision/envision.rst b/development/envision/envision.rst
new file mode 100644
index 0000000000..61d644855d
--- /dev/null
+++ b/development/envision/envision.rst
@@ -0,0 +1,63 @@
+.. RST source for envision(1) man page. Convert with:
+.. rst2man.py envision.rst > envision.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 0.9
+.. |date| date::
+
+========
+envision
+========
+
+---------------------------------
+Atari 8-bit graphics editing tool
+---------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+envision [**-f** | **-full**] [**-z** *factor* | **-zoom** *factor*]
+
+DESCRIPTION
+===========
+
+**envision** is a font/map editing program similar to the old APX
+Envision program on the Atari 8-bits.
+
+It is a full-featured character editor and map-maker. It supports both
+native files and .XFD disk images. It is mouse based, and includes all
+the standard editing methods (flips, fills, rotates, invert, etc).
+
+This man page doesn't explain how to actually use **envision**. For that,
+see the full documentation: /usr/doc/envision-|version|/envision.txt
+
+OPTIONS
+=======
+
+**-f**, **-full**
+ Runs **envision** in full-screen mode. You can also toggle fullscreen
+ by pressing Ctrl-Enter.
+
+**-z** *factor*, **-zoom** *factor*
+ Set the zoom level (2 to 8). This is multiplied by 320x200. The default
+ is 3, which gives a 960x600 display. For 1080p displays, try **-z 5**.
+ For 4k, try 7 or 8. The window isn't actually resizable after the
+ application starts...
+
+AUTHORS
+=======
+
+envision was written by Mark Schmelzenbach.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The envision homepage: https://atari.miribilist.com/envision/index.html
diff --git a/development/envision/slack-desc b/development/envision/slack-desc
new file mode 100644
index 0000000000..df5843b26d
--- /dev/null
+++ b/development/envision/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------------------------------------------------------|
+envision: envision (graphics editing tool for Atari 8-bit systems)
+envision:
+envision: envision is a graphics editing program similar to the old Atari
+envision: program Envision. It is a full-featured character editor and
+envision: map-maker. It supports both native files and .XFD disk images. It is
+envision: mouse based, and includes all the standard editing methods (flips,
+envision: fills, rotates, invert, etc).
+envision:
+envision:
+envision:
+envision:
diff --git a/development/envytools/README b/development/envytools/README
index a60e326b96..cd84ac6bf2 100644
--- a/development/envytools/README
+++ b/development/envytools/README
@@ -24,4 +24,4 @@ Some parts of envytools can be disabled with:
Both hwtest and vdpow require nva.
Optional dependencies:
- cudatoolkit, libseccomp
+ cudatoolkit
diff --git a/development/envytools/envytools.SlackBuild b/development/envytools/envytools.SlackBuild
index 96f6777b38..466a10b3f6 100644
--- a/development/envytools/envytools.SlackBuild
+++ b/development/envytools/envytools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for envytools
@@ -22,10 +22,13 @@
# 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=envytools
-VERSION=${VERSION:-2018.10.30_16dd1ff}
+VERSION=${VERSION:-20210309_39d90be}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -100,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/envytools/envytools.info b/development/envytools/envytools.info
index 47a7dfc245..9ec7914f37 100644
--- a/development/envytools/envytools.info
+++ b/development/envytools/envytools.info
@@ -1,10 +1,10 @@
PRGNAM="envytools"
-VERSION="2018.10.30_16dd1ff"
+VERSION="20210309_39d90be"
HOMEPAGE="https://github.com/envytools/envytools/"
-DOWNLOAD="http://slackless.raccoons.tech/src/envytools-2018.10.30_16dd1ff.tar.xz"
-MD5SUM="4794587ac7ab89477c47344c9f4c62bd"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/envytools-20210309_39d90be.tar.xz"
+MD5SUM="727c3fdb5405350f238b53dc841b9fdf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
diff --git a/development/eovim/07716.patch b/development/eovim/07716.patch
deleted file mode 100644
index a591038ac9..0000000000
--- a/development/eovim/07716.patch
+++ /dev/null
@@ -1,427 +0,0 @@
-From 0771672b18c6645a7fa4de61ac106bdf3b69a04a Mon Sep 17 00:00:00 2001
-From: Jean Guyomarc'h <jean@guyomarch.bzh>
-Date: Sat, 12 Jan 2019 08:43:01 +0100
-Subject: [PATCH] nvim: handle requests initiates by neovim
-
-Neovim is able to initiate requests to the UI client (via the
-'rpcrequest()') API. Eovim is now able to run a user-defined callback
-function when a request is emitted. A request response is sent back to
-neovim. This is one step to solve #38.
----
- CMakeLists.txt | 1 +
- include/eovim/nvim.h | 11 +++
- include/eovim/nvim_request.h | 52 ++++++++++++++
- src/main.c | 2 +
- src/nvim.c | 72 +++++++++++++++++++-
- src/nvim_api.c | 18 ++---
- src/nvim_request.c | 127 +++++++++++++++++++++++++++++++++++
- 7 files changed, 272 insertions(+), 11 deletions(-)
- create mode 100644 include/eovim/nvim_request.h
- create mode 100644 src/nvim_request.c
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index adf75dc..cfc6dbf 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -115,6 +115,7 @@ add_executable(eovim
- "${SRC_DIR}/event/cmdline.c"
- "${SRC_DIR}/nvim_api.c"
- "${SRC_DIR}/nvim_helper.c"
-+ "${SRC_DIR}/nvim_request.c"
- "${SRC_DIR}/plugin.c"
- "${SRC_DIR}/options.c"
- "${SRC_DIR}/contrib.c"
-diff --git a/include/eovim/nvim.h b/include/eovim/nvim.h
-index 13c77ab..f27e3f4 100644
---- a/include/eovim/nvim.h
-+++ b/include/eovim/nvim.h
-@@ -52,6 +52,8 @@ struct nvim
- Eina_List *requests;
-
- msgpack_unpacker unpacker;
-+
-+ /* The following msgpack structures must be handled on the main loop only */
- msgpack_sbuffer sbuffer;
- msgpack_packer packer;
- uint32_t request_id;
-@@ -76,4 +78,13 @@ void nvim_mouse_enabled_set(s_nvim *nvim, Eina_Bool enable);
- Eina_Bool nvim_mouse_enabled_get(const s_nvim *nvim);
- Eina_Stringshare *nvim_eovimrc_path_get(const s_nvim *nvim);
-
-+/**
-+ * Flush the msgpack buffer to the neovim instance, by writing to its standard
-+ * input
-+ *
-+ * @param[in] nvim The neovim handle
-+ * @return EINA_TRUE on success, EINA_FALSE on failure.
-+ */
-+Eina_Bool nvim_flush(s_nvim *nvim);
-+
- #endif /* ! __EOVIM_NVIM_H__ */
-diff --git a/include/eovim/nvim_request.h b/include/eovim/nvim_request.h
-new file mode 100644
-index 0000000..68de980
---- /dev/null
-+++ b/include/eovim/nvim_request.h
-@@ -0,0 +1,52 @@
-+/*
-+ * Copyright (c) 2019 Jean Guyomarc'h
-+ *
-+ * Permission is hereby granted, free of charge, to any person obtaining a
-+ * copy of this software and associated documentation files (the "Software"),
-+ * to deal in the Software without restriction, including without limitation
-+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
-+ * and/or sell copies of the Software, and to permit persons to whom the
-+ * Software is furnished to do so, subject to the following conditions:
-+ *
-+ * The above copyright notice and this permission notice shall be included in
-+ * all copies or substantial portions of the Software.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-+ * DEALINGS IN THE SOFTWARE.
-+ */
-+
-+#ifndef EOVIM_NVIM_REQUEST_H__
-+#define EOVIM_NVIM_REQUEST_H__
-+
-+#include "eovim/types.h"
-+
-+/**
-+ * Callback signature used when replying to a request.
-+ *
-+ * @param[in] nvim The neovim handle
-+ * @param[in] args Array of arguments from the request
-+ * @param[in,out] pk Msgpack packer to be used to write the error and the
-+ * result of the request. See msgpack-rpc.
-+ * @return EINA_TRUE on success, EINA_FALSE on failure
-+ *
-+ * @note This function should not call nvim_flush(). It is automatically handled.
-+ */
-+typedef Eina_Bool (*f_nvim_request_cb)(s_nvim *nvim, const msgpack_object_array *args,
-+ msgpack_packer *pk);
-+
-+Eina_Bool nvim_request_init(void);
-+void nvim_request_shutdown(void);
-+
-+Eina_Bool nvim_request_add(const char *request_name, f_nvim_request_cb func);
-+void nvim_request_del(const char *request_name);
-+
-+Eina_Bool
-+nvim_request_process(s_nvim *nvim, Eina_Stringshare *request,
-+ const msgpack_object_array *args, uint32_t req_id);
-+
-+#endif /* ! EOVIM_NVIM_REQUEST_H__ */
-diff --git a/src/main.c b/src/main.c
-index 2708186..4beb699 100644
---- a/src/main.c
-+++ b/src/main.c
-@@ -24,6 +24,7 @@
- #include "eovim/config.h"
- #include "eovim/nvim.h"
- #include "eovim/nvim_api.h"
-+#include "eovim/nvim_request.h"
- #include "eovim/nvim_event.h"
- #include "eovim/termview.h"
- #include "eovim/main.h"
-@@ -53,6 +54,7 @@ static const s_module _modules[] =
- MODULE(config),
- MODULE(keymap),
- MODULE(nvim_api),
-+ MODULE(nvim_request),
- MODULE(nvim_event),
- MODULE(plugin),
- MODULE(prefs),
-diff --git a/src/nvim.c b/src/nvim.c
-index 6c9d18f..83fdee4 100644
---- a/src/nvim.c
-+++ b/src/nvim.c
-@@ -26,6 +26,7 @@
- #include "eovim/config.h"
- #include "eovim/nvim_api.h"
- #include "eovim/nvim_event.h"
-+#include "eovim/nvim_request.h"
- #include "eovim/nvim_helper.h"
- #include "eovim/log.h"
- #include "eovim/main.h"
-@@ -53,6 +54,51 @@ _nvim_get(void)
- return _nvim_instance;
- }
-
-+static Eina_Bool
-+_handle_request(s_nvim *nvim, const msgpack_object_array *args)
-+{
-+ /* Retrieve the request identifier ****************************************/
-+ if (EINA_UNLIKELY(args->ptr[1].type != MSGPACK_OBJECT_POSITIVE_INTEGER))
-+ {
-+ ERR("Second argument in request is expected to be an integer");
-+ return EINA_FALSE;
-+ }
-+ const uint64_t long_req_id = args->ptr[1].via.u64;
-+ if (EINA_UNLIKELY(long_req_id > UINT32_MAX))
-+ {
-+ ERR("Request ID '%" PRIu64 " is too big", long_req_id);
-+ return EINA_FALSE;
-+ }
-+ const uint32_t req_id = (uint32_t)long_req_id;
-+
-+ /* Retrieve the request arguments *****************************************/
-+ if (EINA_UNLIKELY(args->ptr[3].type != MSGPACK_OBJECT_ARRAY))
-+ {
-+ ERR("Fourth argument in request is expected to be an array");
-+ return EINA_FALSE;
-+ }
-+ const msgpack_object_array *const req_args = &(args->ptr[3].via.array);
-+
-+ /* Retrieve the request name **********************************************/
-+ if (EINA_UNLIKELY(args->ptr[2].type != MSGPACK_OBJECT_STR))
-+ {
-+ ERR("Third argument in request is expected to be a string");
-+ return EINA_FALSE;
-+ }
-+ const msgpack_object_str *const str = &(args->ptr[2].via.str);
-+ Eina_Stringshare *const request =
-+ eina_stringshare_add_length(str->ptr, str->size);
-+ if (EINA_UNLIKELY(! request))
-+ {
-+ ERR("Failed to create stringshare");
-+ return EINA_FALSE;
-+ }
-+
-+ const Eina_Bool ok = nvim_request_process(nvim, request, req_args, req_id);
-+ eina_stringshare_del(request);
-+ return ok;
-+}
-+
- static Eina_Bool
- _handle_request_response(s_nvim *nvim,
- const msgpack_object_array *args)
-@@ -289,6 +335,7 @@ _nvim_received_data_cb(void *data EINA_UNUSED,
- int type EINA_UNUSED,
- void *event)
- {
-+ /* See https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md */
- const Ecore_Exe_Event_Data *const info = event;
- s_nvim *const nvim = _nvim_get();
- msgpack_unpacker *const unpacker = &nvim->unpacker;
-@@ -356,11 +403,15 @@ _nvim_received_data_cb(void *data EINA_UNUSED,
- }
- switch (args->ptr[0].via.u64)
- {
-- case 1:
-+ case 0: /* msgpack-rpc request */
-+ _handle_request(nvim, args);
-+ break;
-+
-+ case 1: /* msgpack-rpc response */
- _handle_request_response(nvim, args);
- break;
-
-- case 2:
-+ case 2: /* msgpack-rpc notification */
- _handle_notification(nvim, args);
- break;
-
-@@ -824,6 +875,23 @@ nvim_free(s_nvim *nvim)
- }
- }
-
-+Eina_Bool nvim_flush(s_nvim *nvim)
-+{
-+ /* Send the data present in the msgpack buffer */
-+ const Eina_Bool ok =
-+ ecore_exe_send(nvim->exe, nvim->sbuffer.data, (int)nvim->sbuffer.size);
-+
-+ /* Now that the data is gone (hopefully), clear the buffer */
-+ msgpack_sbuffer_clear(&nvim->sbuffer);
-+ if (EINA_UNLIKELY(! ok))
-+ {
-+ CRI("Failed to send %zu bytes to neovim", nvim->sbuffer.size);
-+ return EINA_FALSE;
-+ }
-+ DBG("Sent %zu bytes to neovim", nvim->sbuffer.size);
-+ return EINA_TRUE;
-+}
-+
- void
- nvim_mouse_enabled_set(s_nvim *nvim,
- Eina_Bool enable)
-diff --git a/src/nvim_api.c b/src/nvim_api.c
-index 0b7e6ee..8082352 100644
---- a/src/nvim_api.c
-+++ b/src/nvim_api.c
-@@ -55,8 +55,13 @@ _request_new(s_nvim *nvim,
- req->uid = nvim_next_uid_get(nvim);
- DBG("Preparing request '%s' with id %"PRIu32, rpc_name, req->uid);
-
-- /* Clear the serialization buffer before pushing a new request */
-- msgpack_sbuffer_clear(&nvim->sbuffer);
-+ /* The buffer MUST be empty before preparing another request. If this is not
-+ * the case, something went very wrong! Discard the buffer and keep going */
-+ if (EINA_UNLIKELY(nvim->sbuffer.size != 0u))
-+ {
-+ ERR("The buffer is not empty. I've messed up somewhere");
-+ msgpack_sbuffer_clear(&nvim->sbuffer);
-+ }
-
- /* Keep the request around */
- nvim->requests = eina_list_append(nvim->requests, req);
-@@ -91,19 +96,14 @@ _request_cleanup(s_nvim *nvim,
- }
-
- static Eina_Bool
--_request_send(s_nvim *nvim,
-- s_request *req)
-+_request_send(s_nvim *nvim, s_request *req)
- {
- /* Finally, send that to the slave neovim process */
-- const Eina_Bool ok =
-- ecore_exe_send(nvim->exe, nvim->sbuffer.data, (int)nvim->sbuffer.size);
-- if (EINA_UNLIKELY(! ok))
-+ if (EINA_UNLIKELY(! nvim_flush(nvim)))
- {
-- CRI("Failed to send %zu bytes to neovim", nvim->sbuffer.size);
- _request_cleanup(nvim, req);
- return EINA_FALSE;
- }
-- DBG("Sent %zu bytes to neovim", nvim->sbuffer.size);
- return EINA_TRUE;
- }
-
-diff --git a/src/nvim_request.c b/src/nvim_request.c
-new file mode 100644
-index 0000000..7d34602
---- /dev/null
-+++ b/src/nvim_request.c
-@@ -0,0 +1,127 @@
-+/*
-+ * Copyright (c) 2019 Jean Guyomarc'h
-+ *
-+ * Permission is hereby granted, free of charge, to any person obtaining a
-+ * copy of this software and associated documentation files (the "Software"),
-+ * to deal in the Software without restriction, including without limitation
-+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
-+ * and/or sell copies of the Software, and to permit persons to whom the
-+ * Software is furnished to do so, subject to the following conditions:
-+ *
-+ * The above copyright notice and this permission notice shall be included in
-+ * all copies or substantial portions of the Software.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-+ * DEALINGS IN THE SOFTWARE.
-+ */
-+
-+#include "eovim/nvim_request.h"
-+#include "eovim/nvim.h"
-+#include "eovim/log.h"
-+
-+static Eina_Hash *_nvim_requests;
-+
-+
-+/*============================================================================*
-+ * API *
-+ *============================================================================*/
-+
-+Eina_Bool
-+nvim_request_add(const char *request_name, f_nvim_request_cb func)
-+{
-+ Eina_Stringshare *const name = eina_stringshare_add(request_name);
-+ const Eina_Bool ok = eina_hash_direct_add(_nvim_requests, name, func);
-+ if (EINA_UNLIKELY(! ok))
-+ {
-+ ERR("Failed to register request \"%s\"", request_name);
-+ return EINA_FALSE;
-+ }
-+ return EINA_TRUE;
-+}
-+
-+void
-+nvim_request_del(const char *request_name)
-+{
-+ Eina_Stringshare *const name = eina_stringshare_add(request_name);
-+ eina_hash_del(_nvim_requests, name, NULL);
-+ eina_stringshare_del(name);
-+}
-+
-+Eina_Bool
-+nvim_request_init(void)
-+{
-+ _nvim_requests = eina_hash_stringshared_new(NULL);
-+ if (EINA_UNLIKELY(! _nvim_requests))
-+ {
-+ CRI("Failed to create hash table");
-+ return EINA_FALSE;
-+ }
-+ return EINA_TRUE;
-+}
-+
-+void
-+nvim_request_shutdown(void)
-+{
-+ assert(_nvim_requests != NULL);
-+ eina_hash_free(_nvim_requests);
-+ _nvim_requests = NULL;
-+}
-+
-+Eina_Bool
-+nvim_request_process(s_nvim *nvim, Eina_Stringshare *request,
-+ const msgpack_object_array *args, uint32_t req_id)
-+{
-+ /* This function shall only be used on the main loop. Otherwise, we cannot
-+ * use this packer */
-+ msgpack_packer *const pk = &nvim->packer;
-+
-+ /* The buffer MUST be empty before preparing the response. If this is not
-+ * the case, something went very wrong! Discard the buffer and keep going */
-+ if (EINA_UNLIKELY(nvim->sbuffer.size != 0u))
-+ {
-+ ERR("The buffer is not empty. I've messed up somewhere");
-+ msgpack_sbuffer_clear(&nvim->sbuffer);
-+ }
-+
-+ /*
-+ * Pack the message! It is an array of four (4) items:
-+ * - the rpc type:
-+ * - 1 is a request response
-+ * - the unique identifier of the request
-+ * - the error return
-+ * - the result return
-+ *
-+ * We start to reply with the two first elements. If we are not prepared to
-+ * handle this request, we will finish the message with an error and no
-+ * result. But if someone handles the request, it is up to the handler to
-+ * finish the message by setting both the error and result.
-+ */
-+ msgpack_pack_array(pk, 4);
-+ msgpack_pack_int(pk, 1);
-+ msgpack_pack_uint32(pk, req_id);
-+
-+ const f_nvim_request_cb func = eina_hash_find(_nvim_requests, request);
-+ if (EINA_UNLIKELY(! func))
-+ {
-+ WRN("No handler for request '%s'", request);
-+ const char error[] = "unknown request";
-+
-+ /* See msgpack-rpc request response. Reply there is an error */
-+ msgpack_pack_str(pk, sizeof(error) - 1u);
-+ msgpack_pack_str_body(pk, error, sizeof(error) - 1u);
-+ msgpack_pack_nil(pk);
-+ nvim_flush(nvim);
-+ return EINA_FALSE;
-+ }
-+ else
-+ {
-+ const Eina_Bool ok = func(nvim, args, pk);
-+ nvim_flush(nvim);
-+ return ok;
-+ }
-+}
diff --git a/development/eovim/7b320.patch b/development/eovim/7b320.patch
deleted file mode 100644
index a2b31e8c7f..0000000000
--- a/development/eovim/7b320.patch
+++ /dev/null
@@ -1,182 +0,0 @@
-From 7b320c17b1fc8821eac411f6d6afc14e32f7e093 Mon Sep 17 00:00:00 2001
-From: Jean Guyomarc'h <jean@guyomarch.bzh>
-Date: Sat, 12 Jan 2019 08:46:44 +0100
-Subject: [PATCH] nvim: properly handle the vimenter request
-
-Fixes #38
----
- include/eovim/nvim_api.h | 3 ++-
- include/eovim/nvim_helper.h | 2 +-
- src/nvim.c | 47 +++++++++++++++++++++++++++----------
- src/nvim_api.c | 6 +++--
- src/nvim_helper.c | 4 ++--
- 5 files changed, 43 insertions(+), 19 deletions(-)
-
-diff --git a/include/eovim/nvim_api.h b/include/eovim/nvim_api.h
-index 9885ee1..ca9baab 100644
---- a/include/eovim/nvim_api.h
-+++ b/include/eovim/nvim_api.h
-@@ -27,7 +27,8 @@
- #include <Eina.h>
- #include <msgpack.h>
-
--Eina_Bool nvim_api_ui_attach(s_nvim *nvim, unsigned int width, unsigned int height);
-+Eina_Bool nvim_api_ui_attach(s_nvim *nvim, unsigned int width, unsigned int height,
-+ f_nvim_api_cb func, void *func_data);
- Eina_Bool nvim_api_get_api_info(s_nvim *nvim, f_nvim_api_cb cb, void *data);
- Eina_Bool nvim_api_ui_try_resize(s_nvim *nvim, unsigned int width, unsigned height);
- Eina_Bool nvim_api_ui_ext_cmdline_set(s_nvim *nvim, Eina_Bool externalize);
-diff --git a/include/eovim/nvim_helper.h b/include/eovim/nvim_helper.h
-index b6ce5f4..9f976d5 100644
---- a/include/eovim/nvim_helper.h
-+++ b/include/eovim/nvim_helper.h
-@@ -49,6 +49,6 @@ nvim_helper_highlight_group_decode_noop(s_nvim *nvim,
-
-
- void nvim_helper_autocmd_do(s_nvim *nvim, const char *event);
--void nvim_helper_autocmd_vimenter_exec(s_nvim *nvim, f_nvim_api_cb func, void *func_data);
-+void nvim_helper_autocmd_vimenter_exec(s_nvim *nvim);
-
- #endif /* ! __EOVIM_NVIM_HELPER_H__ */
-diff --git a/src/nvim.c b/src/nvim.c
-index 83fdee4..a003a00 100644
---- a/src/nvim.c
-+++ b/src/nvim.c
-@@ -43,6 +43,8 @@ enum
- static Ecore_Event_Handler *_event_handlers[__HANDLERS_LAST];
- static s_nvim *_nvim_instance = NULL;
-
-+static void _api_decode_cb(s_nvim *nvim, void *data, const msgpack_object *result);
-+
- /*============================================================================*
- * Private API *
- *============================================================================*/
-@@ -278,6 +280,15 @@ _handle_notification(s_nvim *nvim,
- return EINA_FALSE;
- }
-
-+static Eina_Bool
-+_vimenter_request_cb(s_nvim *nvim EINA_UNUSED,
-+ const msgpack_object_array *args EINA_UNUSED,
-+ msgpack_packer *pk)
-+{
-+ msgpack_pack_nil(pk); /* Error */
-+ msgpack_pack_nil(pk); /* Result */
-+ return EINA_TRUE;
-+}
-
- /*============================================================================*
- * Nvim Processes Events Handlers *
-@@ -298,6 +309,21 @@ _nvim_added_cb(void *data EINA_UNUSED,
-
- const Ecore_Exe_Event_Add *const info = event;
- INF("Process with PID %i was created", ecore_exe_pid_get(info->exe));
-+
-+ /* Okay, at this point the neovim process is running! Great! Now, we can
-+ * start to retrieve the API information and trigger the vimenter autocmd.
-+ *
-+ * We can start attaching the UI on the fly.
-+ * See :help ui-startup for details.
-+ */
-+ s_nvim *const nvim = _nvim_get();
-+ nvim_api_get_api_info(nvim, _api_decode_cb, NULL);
-+
-+ nvim_helper_autocmd_vimenter_exec(nvim);
-+ const s_geometry *const geo = &nvim->opts->geometry;
-+ nvim_api_ui_attach(nvim, geo->w, geo->h, _ui_attached_cb, NULL);
-+
-+
- return ECORE_CALLBACK_PASS_ON;
- }
-
-@@ -438,6 +464,7 @@ _nvim_received_error_cb(void *data EINA_UNUSED,
- return ECORE_CALLBACK_PASS_ON;
- }
-
-+/* FIXME this is soooooo fragile */
- static void
- _nvim_runtime_load(s_nvim *nvim,
- const char *filename)
-@@ -653,16 +680,6 @@ _api_decode_cb(s_nvim *nvim, void *data EINA_UNUSED, const msgpack_object *resul
- _virtual_interface_setup(nvim);
- }
-
--static void
--_vimenter_cb(s_nvim *nvim,
-- void *data EINA_UNUSED,
-- const msgpack_object *result EINA_UNUSED)
--{
-- _nvim_builtin_runtime_load(nvim);
-- _nvim_eovimrc_load(nvim);
-- nvim_api_var_integer_set(nvim, "eovim_running", 1);
--}
--
- static void
- _nvim_plugins_load(s_nvim *nvim)
- {
-@@ -815,6 +832,9 @@ nvim_new(const s_options *opts,
- /* Initialize the virtual interface to safe values (non-NULL pointers) */
- _virtual_interface_init(nvim);
-
-+ /* Add a callback to the vimenter request */
-+ nvim_request_add("vimenter", _vimenter_request_cb);
-+
- /* Create the neovim process */
- nvim->exe = ecore_exe_pipe_run(
- eina_strbuf_string_get(cmdline),
-@@ -831,9 +851,10 @@ nvim_new(const s_options *opts,
- DBG("Running %s", eina_strbuf_string_get(cmdline));
- eina_strbuf_free(cmdline);
-
-- nvim_api_get_api_info(nvim, _api_decode_cb, NULL);
-- nvim_helper_autocmd_vimenter_exec(nvim, _vimenter_cb, NULL);
-- nvim_api_ui_attach(nvim, opts->geometry.w, opts->geometry.h);
-+ /* FIXME These are sooo fragile. Rework that!!! */
-+ _nvim_builtin_runtime_load(nvim);
-+ _nvim_eovimrc_load(nvim);
-+ nvim_api_var_integer_set(nvim, "eovim_running", 1);
-
- /* Create the GUI window */
- if (EINA_UNLIKELY(! gui_add(&nvim->gui, nvim)))
-diff --git a/src/nvim_api.c b/src/nvim_api.c
-index 8082352..cf93577 100644
---- a/src/nvim_api.c
-+++ b/src/nvim_api.c
-@@ -138,8 +138,8 @@ void nvim_api_request_call(s_nvim *nvim,
-
- Eina_Bool
- nvim_api_ui_attach(s_nvim *nvim,
-- unsigned int width,
-- unsigned int height)
-+ unsigned int width, unsigned int height,
-+ f_nvim_api_cb func, void *func_data)
- {
- const char api[] = "nvim_ui_attach";
- s_request *const req = _request_new(nvim, api, sizeof(api) - 1);
-@@ -148,6 +148,8 @@ nvim_api_ui_attach(s_nvim *nvim,
- CRI("Failed to create request");
- return EINA_FALSE;
- }
-+ req->cb.func = func;
-+ req->cb.data = func_data;
-
- const s_config *const cfg = nvim->config;
-
-diff --git a/src/nvim_helper.c b/src/nvim_helper.c
-index 7199203..2ec09fb 100644
---- a/src/nvim_helper.c
-+++ b/src/nvim_helper.c
-@@ -134,11 +134,11 @@ nvim_helper_autocmd_do(s_nvim *nvim,
- }
-
- void
--nvim_helper_autocmd_vimenter_exec(s_nvim *nvim, f_nvim_api_cb func, void *func_data)
-+nvim_helper_autocmd_vimenter_exec(s_nvim *nvim)
- {
- const char cmd[] = "autocmd VimEnter * call rpcrequest(1, 'vimenter')";
- const Eina_Bool ok =
-- nvim_api_command(nvim, cmd, sizeof(cmd) - 1u, func, func_data);
-+ nvim_api_command(nvim, cmd, sizeof(cmd) - 1u, NULL, NULL);
- if (EINA_UNLIKELY(! ok))
- { ERR("Failed to execute: %s", cmd); }
- }
diff --git a/development/eovim/dd8f0.patch b/development/eovim/dd8f0.patch
deleted file mode 100644
index 9b9722a037..0000000000
--- a/development/eovim/dd8f0.patch
+++ /dev/null
@@ -1,107 +0,0 @@
-From dd8f0d3fff4951cd7b7ea294823b8e377024c2ff Mon Sep 17 00:00:00 2001
-From: Jean Guyomarc'h <jean@guyomarch.bzh>
-Date: Sat, 12 Jan 2019 08:47:35 +0100
-Subject: [PATCH] gui: make an overlay fade when the UI is attached to neovim
-
----
- data/themes/default.edc | 29 +++++++++++++++++++++++++++++
- include/eovim/gui.h | 1 +
- src/gui.c | 5 +++++
- src/nvim.c | 9 +++++++--
- 4 files changed, 42 insertions(+), 2 deletions(-)
-
-diff --git a/data/themes/default.edc b/data/themes/default.edc
-index 27703fc..7f8d0e3 100644
---- a/data/themes/default.edc
-+++ b/data/themes/default.edc
-@@ -430,6 +430,19 @@ collections {
- visible: 0;
- }
- }
-+
-+ rect { "overlay"; nomouse;
-+ desc { "default";
-+ color: 40 40 40 255;;
-+ }
-+ desc { "fade";
-+ color: 40 40 40 0;
-+ }
-+ desc { "faded";
-+ inherit: "fade";
-+ visible: 0; /* Make sure it is killed */
-+ }
-+ }
- }
-
- programs {
-@@ -437,6 +450,22 @@ collections {
- action: PLAY_SAMPLE "bell" 1.0 ALERT;
- }
-
-+ /* [OVERLAY FADING] **************************************************
-+ * When eovim starts, we push an overlay that covers the whole window.
-+ * When neovim is successfully attached to the UI, we make the overlay
-+ * fade away, so we can begin to use neovim. */
-+ program { signal: "eovim,ready"; source: "eovim";
-+ action: STATE_SET "fade";
-+ target: "overlay";
-+ transition: ACCELERATE 0.2;
-+ after: "eovim_overlay_faded";
-+ }
-+ program { name: "eovim_overlay_faded";
-+ action: STATE_SET "faded";
-+ target: "overlay";
-+ }
-+ /* END OVERLAY FADING ***********************************************/
-+
- program { signal: "eovim,cmdline,show"; source: "eovim";
- action: STATE_SET "default";
- target: "eovim.cmdline";
-diff --git a/include/eovim/gui.h b/include/eovim/gui.h
-index f05fb97..981e957 100644
---- a/include/eovim/gui.h
-+++ b/include/eovim/gui.h
-@@ -192,6 +192,7 @@ void gui_caps_lock_alert(s_gui *gui);
- void gui_caps_lock_dismiss(s_gui *gui);
- Eina_Bool gui_caps_lock_warning_get(const s_gui *gui);
-
-+void gui_ready_set(s_gui *gui);
- void gui_mode_update(s_gui *gui, const s_mode *mode);
-
- #endif /* ! __EOVIM_GUI_H__ */
-diff --git a/src/gui.c b/src/gui.c
-index 96dcdcd..efd476b 100644
---- a/src/gui.c
-+++ b/src/gui.c
-@@ -893,6 +893,11 @@ gui_bell_ring(s_gui *gui)
- elm_layout_signal_emit(gui->layout, "eovim,bell,ring", "eovim");
- }
-
-+void gui_ready_set(s_gui *gui)
-+{
-+ elm_layout_signal_emit(gui->layout, "eovim,ready", "eovim");
-+}
-+
- static void
- _compl_item_del(void *data,
- Evas_Object *obj EINA_UNUSED)
-diff --git a/src/nvim.c b/src/nvim.c
-index a003a00..dcf263d 100644
---- a/src/nvim.c
-+++ b/src/nvim.c
-@@ -49,8 +49,13 @@ static void _api_decode_cb(s_nvim *nvim, void *data, const msgpack_object *resul
- * Private API *
- *============================================================================*/
-
--static inline s_nvim *
--_nvim_get(void)
-+static void _ui_attached_cb(s_nvim *nvim, void *data EINA_UNUSED,
-+ const msgpack_object *result EINA_UNUSED)
-+{
-+ gui_ready_set(&nvim->gui);
-+}
-+
-+static inline s_nvim *_nvim_get(void)
- {
- /* We handle only one neovim instance */
- return _nvim_instance;
diff --git a/development/eovim/eovim.SlackBuild b/development/eovim/eovim.SlackBuild
index 3eaaa8b9a6..a8d769c5a0 100644
--- a/development/eovim/eovim.SlackBuild
+++ b/development/eovim/eovim.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eovim
-# Copyright 2018-2019 Benjamin Trigona-Harany
+# Copyright 2018-2021 Benjamin Trigona-Harany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=eovim
-VERSION=${VERSION:-0.1.3}
+VERSION=${VERSION:-0.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,9 +79,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 {} \;
-patch -p1 < $CWD/7b320.patch
-patch -p1 < $CWD/07716.patch
-patch -p1 < $CWD/dd8f0.patch
+sed -i '25,28d' cmake/Modules/FindEfl.cmake
mkdir -p build
cd build
@@ -79,7 +87,6 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
- -DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \
..
make install DESTDIR=$PKG
cd ..
@@ -102,4 +109,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eovim/eovim.info b/development/eovim/eovim.info
index cdaa0982bf..ae1dd04d6b 100644
--- a/development/eovim/eovim.info
+++ b/development/eovim/eovim.info
@@ -1,8 +1,8 @@
PRGNAM="eovim"
-VERSION="0.1.3"
+VERSION="0.2.0"
HOMEPAGE="https://github.com/jeanguyomarch/eovim"
-DOWNLOAD="https://github.com/jeanguyomarch/eovim/archive/v0.1.3/eovim-0.1.3.tar.gz"
-MD5SUM="c4f833fa94c483d20d83eb83b48c4c23"
+DOWNLOAD="https://github.com/jeanguyomarch/eovim/archive/v0.2.0/eovim-0.2.0.tar.gz"
+MD5SUM="9386331be9cbf2bf4910ccb794f47bdf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="efl neovim"
diff --git a/development/epydoc/epydoc.SlackBuild b/development/epydoc/epydoc.SlackBuild
index a39a6f1969..760edb42dd 100644
--- a/development/epydoc/epydoc.SlackBuild
+++ b/development/epydoc/epydoc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for epydoc
@@ -21,10 +21,13 @@
# 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=epydoc
VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -76,4 +86,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/eric/README b/development/eric/README
deleted file mode 100644
index 4b128584f2..0000000000
--- a/development/eric/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Eric is a full featured Python and Ruby editor and IDE, written in
-python. It is based on the cross platform Qt gui toolkit, integrating
-the highly flexible Scintilla editor control. It is designed to be
-usable as everdays' quick and dirty editor as well as being usable as a
-professional project management tool integrating many advanced features
-Python offers the professional coder. eric4 includes a plugin system,
-which allows easy extension of the IDE functionality with plugins
-downloadable from the net.
diff --git a/development/eric/eric.SlackBuild b/development/eric/eric.SlackBuild
deleted file mode 100644
index 7b9a7d8c4c..0000000000
--- a/development/eric/eric.SlackBuild
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for eric4
-# Copyright 2009-2015 Rudson Alves <rudsonalves@rra.etc.br>
-# 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.
-
-PRGNAM=eric
-VERSION=${VERSION:-4.5.25}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-LANGUAGE=${LANGUAGE:-en}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
-
-PYTHONSITEPKG=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')")
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf ${PRGNAM}4-$VERSION
-tar -xvf $CWD/${PRGNAM}4-$VERSION.tar.gz
-tar -xvf $CWD/${PRGNAM}4-i18n-${LANGUAGE}-$VERSION.tar.gz
-cd ${PRGNAM}4-$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 {} \;
-
-python install.py -i $PKG -d "$PYTHONSITEPKG" -b /usr/bin
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.GPL3 README-i18n.txt changelog README THANKS \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/usr/share/applications
-sed s/lib/lib${LIBDIRSUFFIX}/ $CWD/eric4.desktop \
- > $PKG/usr/share/applications/eric4.desktop
-cp $CWD/eric4.png $PKG$PYTHONSITEPKG/eric4/pixmaps/
-
-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:-tgz}
diff --git a/development/eric/eric.info b/development/eric/eric.info
deleted file mode 100644
index db98f87498..0000000000
--- a/development/eric/eric.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="eric"
-VERSION="4.5.25"
-HOMEPAGE="http://eric-ide.python-projects.org/"
-DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/eric/eric4-4.5.25.tar.gz/f68cdadacfa10298c89300e0c4036324/eric4-4.5.25.tar.gz \
- https://src.fedoraproject.org/repo/pkgs/eric/eric4-i18n-en-4.5.25.tar.gz/be31efb97dc597cc58ba86461f972874/eric4-i18n-en-4.5.25.tar.gz"
-MD5SUM="f68cdadacfa10298c89300e0c4036324 \
- be31efb97dc597cc58ba86461f972874"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Rudson Alves"
-EMAIL="alves@rra.etc.br"
diff --git a/development/eric/eric4.desktop b/development/eric/eric4.desktop
deleted file mode 100644
index dcb16b5117..0000000000
--- a/development/eric/eric4.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Exec=eric4 %u
-MimeType=application/py;
-Icon=/usr/lib/python2.7/site-packages/eric4/pixmaps/eric4.png
-Terminal=false
-Categories=Qt;KDE;Development;IDE;
-Name=Eric4
-Comment=Eric4 IDE for Python
diff --git a/development/eric/eric4.png b/development/eric/eric4.png
deleted file mode 100644
index 6672dbd44a..0000000000
--- a/development/eric/eric4.png
+++ /dev/null
Binary files differ
diff --git a/development/eric/slack-desc b/development/eric/slack-desc
deleted file mode 100644
index 3392b25cbe..0000000000
--- a/development/eric/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------------------------------------------------------|
-eric: eric (Eric is a full featured Python and Ruby editor and IDE)
-eric:
-eric: Eric is a full featured Python and Ruby editor and IDE, written in
-eric: python. It is based on the cross platform Qt gui toolkit, integrating
-eric: the highly flexible Scintilla editor control. It is designed to be
-eric: usable as everdays' quick and dirty editor as well as being usable as
-eric: a professional project management tool integrating many advanced
-eric: features Python offers the professional coder.
-eric:
-eric: http://eric-ide.python-projects.org/
-eric:
diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild
index bb1978409f..013b16842b 100644
--- a/development/erlang-otp/erlang-otp.SlackBuild
+++ b/development/erlang-otp/erlang-otp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
## Written by halflife (vzdorovenco@yahoo.com)
@@ -20,10 +20,16 @@
# 28 November 2016 to reflect the use of README.md instead
# of README in upstream
+# 20220415 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binaries/libraries.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=erlang-otp
-VERSION=${VERSION:-22.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-23.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRC_NAME_VERSION=otp_src_${VERSION}
DOC_NAME_VERSION=otp_doc_man_${VERSION}
@@ -36,9 +42,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
@@ -66,9 +76,9 @@ cd $SRC_NAME_VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -99,6 +109,9 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv COPYRIGHT README.md $PKG/usr/doc/$PRGNAM-$VERSION )
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
mv $PKG/usr/lib${LIBDIRSUFFIX}/erlang/man $PKG/usr
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
@@ -109,4 +122,4 @@ sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%g" $CWD/doinst.sh > \
$PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/erlang-otp/erlang-otp.info b/development/erlang-otp/erlang-otp.info
index 5290d8fab4..bdaf47b2ad 100644
--- a/development/erlang-otp/erlang-otp.info
+++ b/development/erlang-otp/erlang-otp.info
@@ -1,10 +1,10 @@
PRGNAM="erlang-otp"
-VERSION="22.0"
-HOMEPAGE="http://www.erlang.org"
-DOWNLOAD="http://www.erlang.org/download/otp_src_22.0.tar.gz \
- http://www.erlang.org/download/otp_doc_man_22.0.tar.gz"
-MD5SUM="9842663e49f48e967c44b7574423f9e9 \
- 7136c499d44e99313a06109458a6d793"
+VERSION="23.2"
+HOMEPAGE="https://www.erlang.org"
+DOWNLOAD="https://erlang.org/download/otp_src_23.2.tar.gz \
+ https://erlang.org/download/otp_doc_man_23.2.tar.gz"
+MD5SUM="e315f59eb9e420a0e469c09649f4303f \
+ cfef029c3d4d6acf2cc04f8589002ecd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/erlang-otp/slack-desc b/development/erlang-otp/slack-desc
index 8ede9e0803..1dc83ce652 100644
--- a/development/erlang-otp/slack-desc
+++ b/development/erlang-otp/slack-desc
@@ -15,5 +15,5 @@ erlang-otp: with strict evaluation, single assignment, and dynamic typing.
erlang-otp: It was designed by Ericsson to support distributed,
erlang-otp: fault-tolerant, soft-real-time, non-stop applications.
erlang-otp:
-erlang-otp: http://www.erlang.org/
+erlang-otp: https://www.erlang.org/
erlang-otp:
diff --git a/development/evemu/evemu.SlackBuild b/development/evemu/evemu.SlackBuild
index 2d7e299507..7df50c6450 100644
--- a/development/evemu/evemu.SlackBuild
+++ b/development/evemu/evemu.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for evemu
@@ -22,10 +22,13 @@
# 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=evemu
VERSION=${VERSION:-2.7.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,8 +103,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ex-vi/ex-vi.SlackBuild b/development/ex-vi/ex-vi.SlackBuild
index 724f4a9855..cab4116d11 100644
--- a/development/ex-vi/ex-vi.SlackBuild
+++ b/development/ex-vi/ex-vi.SlackBuild
@@ -1,11 +1,13 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ex-vi
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210830 bkw: build 4, -j1 no longer needed on -current.
+
# 20160726 bkw: build 3
# parallel make (-jN where N > 1) fails on Slack 14.2, add -j1
@@ -22,18 +24,13 @@
# mode. Exceeding TUBELINES just means vi ignores the extra lines at the
# bottom of the terminal.
-# Default to 320x200, which would be enough for a 8x16 console font on a
-# WQXGA 2560x1600 display, or a 2/3-width full-height X terminal on 4K
-# UHDTV (3840x2160). If I don't make this configurable, someone will
-# need it to be. So:
-TUBECOLS=${TUBECOLS:-320}
-TUBELINES=${TUBELINES:-200}
+cd $(dirname $0) ; CWD=$(pwd)
-# We now return you to your regularly scheduled programming:
PRGNAM=ex-vi
VERSION=${VERSION:-050325}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -64,6 +65,15 @@ fi
set -e
+# Default to 320x200, which would be enough for a 8x16 console font on a
+# WQXGA 2560x1600 display, or a 2/3-width full-height X terminal on 4K
+# UHDTV (3840x2160). If I don't make this configurable, someone will
+# need it to be. So:
+TUBECOLS=${TUBECOLS:-320}
+TUBELINES=${TUBELINES:-200}
+
+# We now return you to your regularly scheduled programming:
+
TARNAME=ex
rm -rf $PKG
@@ -73,11 +83,8 @@ rm -rf $TARNAME-$VERSION
tar xvf $CWD/$TARNAME-$VERSION.tar.bz2
cd $TARNAME-$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 {} \+
# Don't install the binary with the sticky bit set. It doesn't do anything
# on Linux, and might set off alarm bells.
@@ -91,7 +98,7 @@ sed -i -e "/^#define/s,\\(TUBESIZE *\\).*$,\\1 $(( TUBECOLS * TUBELINES ))," \
# To avoid conflicts with Slackware's elvis and/or vim, we install to /opt and
# include a login script to set PATH and MANPATH.
-make -j1 all install \
+make all install \
RPMCFLAGS="$SLKCFLAGS" \
MANDIR=/opt/$PRGNAM/man \
PREFIX=/opt/$PRGNAM \
@@ -117,4 +124,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ex-vi/ex-vi.info b/development/ex-vi/ex-vi.info
index 54f763a0e8..d3209940f5 100644
--- a/development/ex-vi/ex-vi.info
+++ b/development/ex-vi/ex-vi.info
@@ -1,10 +1,10 @@
PRGNAM="ex-vi"
VERSION="050325"
HOMEPAGE="http://ex-vi.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/ex-vi/ex-vi/050325/ex-050325.tar.bz2"
+DOWNLOAD="https://downloads.sourceforge.net/project/ex-vi/ex-vi/050325/ex-050325.tar.bz2"
MD5SUM="e668595254233e4d96811083a3e4e2f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/extra-cmake-modules/README b/development/extra-cmake-modules/README
deleted file mode 100644
index 02464a57ba..0000000000
--- a/development/extra-cmake-modules/README
+++ /dev/null
@@ -1,6 +0,0 @@
-CMake extra modules (extra cmake modules for compiling KDE Frameworks)
-
-This package contains additional cmake modules required for compiling
-KDE Frameworks 5.
-
-Sphinx is an optional dependency to build the modules documentation.
diff --git a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
deleted file mode 100644
index 89815ccc56..0000000000
--- a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for extra-cmake-modules
-# Copyright 2014, 2015 Eric Hameleers, Eindhoven, NL
-# Copyright 2014 Patrick J. Volkerding, Sebeka, Minnesota, 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.
-#
-# Adapted by Fellype do Nascimento - fellype(at)gmail.com
-
-PRGNAM=extra-cmake-modules
-VERSION=${VERSION:-5.51.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
- -DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \
- -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
-
-if [ $(which sphinx-build 2>/dev/null) ]; then
- find $PKG/usr/man -type f -exec gzip -9 {} \;
- for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING-CMAKE-SCRIPTS README.rst $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/extra-cmake-modules/extra-cmake-modules.info b/development/extra-cmake-modules/extra-cmake-modules.info
deleted file mode 100644
index 42220ec3df..0000000000
--- a/development/extra-cmake-modules/extra-cmake-modules.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="extra-cmake-modules"
-VERSION="5.51.0"
-HOMEPAGE="https://cgit.kde.org/extra-cmake-modules.git"
-DOWNLOAD="https://github.com/KDE/extra-cmake-modules/archive/v5.51.0/extra-cmake-modules-5.51.0.tar.gz"
-MD5SUM="9801d0bca6cc3ae9cbdcfe2eb02b9e94"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Fellype do Nascimento"
-EMAIL="fellype(at)gmail.com"
diff --git a/development/extra-cmake-modules/slack-desc b/development/extra-cmake-modules/slack-desc
deleted file mode 100644
index b03f1de920..0000000000
--- a/development/extra-cmake-modules/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------------------------------------------------------|
-extra-cmake-modules: extra-cmake-modules (CMake extra modules)
-extra-cmake-modules:
-extra-cmake-modules: This package contains additional cmake modules required for
-extra-cmake-modules: compiling KDE Frameworks 5.
-extra-cmake-modules:
-extra-cmake-modules:
-extra-cmake-modules:
-extra-cmake-modules:
-extra-cmake-modules:
-extra-cmake-modules:
-extra-cmake-modules:
diff --git a/development/f2c/README b/development/f2c/README
index ed89051435..61f28bde6f 100644
--- a/development/f2c/README
+++ b/development/f2c/README
@@ -1,13 +1,22 @@
+
f2c is a Fortran-to-C converter.
This package includes libf2c, which must be linked to the resulting C
-code. Thus the general idea is
+code.
+
+Thus the general idea is: f2c foo.f; gcc foo.c -lf2c
+
+Or use the fc script provided in the docs directory. Beware, fc is
+also an (unrelated) bash builtin.
+
+f2c used to use two separate libraries, libi77 and libf77. These are
+now rolled together into libf2c. NB libf2c carries a separate version
+number from f2c itself. The version number associated with the
+SlackBuilds package is the f2c version number.
- f2c foo.f
- gcc foo.c -lf2c
+If combining with gfortran, you may want to use gfortran -ff2c. See
+the gfortran man page.
-Or use the fc script provided in the docs directory. Beware, fc is also
-a bash builtin.
+Multiple files must be downloaded because netlib doesn't provide a
+convenient single tarball.
-If combining with gfortran, you may want to use the gfortran -ff2c
-option. See the gfortran man page.
diff --git a/development/f2c/f2c.SlackBuild b/development/f2c/f2c.SlackBuild
index 4106279e3f..ca3b3d691d 100644
--- a/development/f2c/f2c.SlackBuild
+++ b/development/f2c/f2c.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for f2c
-# Copyright 2017, Judah Milgram, Washington DC
+# Copyright 2017-2023, Judah Milgram, Washington DC
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=f2c
-VERSION=${VERSION:-20160102} # This is the f2c version, not libf2c.
+VERSION=${VERSION:-20240130} # f2c version, not libf2c.
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -66,7 +73,7 @@ cd $PRGNAM-$VERSION/libf2c
unzip $CWD/libf2c.zip
cd $TMP/$PRGNAM-$VERSION
-tar xvf $CWD/src.tgz
+tar xfvz $CWD/src.tgz
chown -R root:root .
find -L . \
@@ -75,46 +82,49 @@ 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 {} \;
-# libf2c
-
+# make libf2c:
cd $TMP/$PRGNAM-$VERSION/libf2c
make CFLAGS="${SLKCFLAGS}" -f makefile.u
+# install libf2c:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
make -f makefile.u LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX} install
-strip --strip-unneeded $PKG/usr/lib${LIBDIRSUFFIX}/libf2c.a
-
-# f2c
+# make f2c:
cd $TMP/$PRGNAM-$VERSION/src
make CFLAGS="${SLKCFLAGS}" -f makefile.u
+# install f2c:
mkdir -p $PKG/usr/bin
+mkdir -p $PKG/usr/include
install -s f2c $PKG/usr/bin
-strip --strip-unneeded $PKG/usr/bin/f2c
+install -m 644 f2c.h $PKG/usr/include
-mkdir -p $PKG/usr/include
-install f2c.h $PKG/usr/include
+# strip binaries:
+strip --strip-unneeded $PKG/usr/lib${LIBDIRSUFFIX}/libf2c.a
+strip --strip-unneeded $PKG/usr/bin/f2c
+# install f2c man page:
+cd $TMP
mkdir -p $PKG/usr/man/man1
-install f2c.1 $PKG/usr/man/man1/f2c.1
+install -m 644 $PRGNAM-$VERSION/src/f2c.1t $PKG/usr/man/man1/f2c.1
gzip -9 $PKG/usr/man/man1/f2c.1
-
-cd $TMP/$PRGNAM-$VERSION
-
+# install docs:
+cd $TMP
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a src/Notice src/changes $PKG/usr/doc/$PRGNAM-$VERSION
-
-cp -a src/README $PKG/usr/doc/$PRGNAM-$VERSION/README.f2c
-cp -a libf2c/README $PKG/usr/doc/$PRGNAM-$VERSION/README.libf2c
-
+cp -a $PRGNAM-$VERSION/src/Notice $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $PRGNAM-$VERSION/src/README $PKG/usr/doc/$PRGNAM-$VERSION/README.f2c
+cp -a $PRGNAM-$VERSION/src/changes $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $PRGNAM-$VERSION/libf2c/README $PKG/usr/doc/$PRGNAM-$VERSION/README.libf2c
cat $CWD/fc > $PKG/usr/doc/$PRGNAM-$VERSION/fc
cat $CWD/f2c.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/f2c.pdf
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# Copy the slack-desc into ./install
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+# Make the package
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/f2c/f2c.info b/development/f2c/f2c.info
index 69d0ea1d2a..3871d4eb70 100644
--- a/development/f2c/f2c.info
+++ b/development/f2c/f2c.info
@@ -1,16 +1,16 @@
PRGNAM="f2c"
-VERSION="20160102"
-HOMEPAGE="http://www.netlib.org/f2c/"
-DOWNLOAD="http://www.netlib.org/f2c/libf2c.zip \
- http://www.netlib.org/f2c/src.tgz \
- http://www.netlib.org/f2c/fc \
- http://www.netlib.org/f2c/f2c.pdf"
-MD5SUM="e80fb30fa3717660db71b1bed65b88b7 \
- f11ed7992a92ad4b4f86fdf94994473a \
+VERSION="20240130"
+HOMEPAGE="https://netlib.org/f2c/"
+DOWNLOAD="https://netlib.org/f2c/libf2c.zip \
+ https://netlib.org/f2c/src.tgz \
+ https://netlib.org/f2c/fc \
+ https://netlib.org/f2c/f2c.pdf"
+MD5SUM="651b3d9cbfc9ae659166332785ac3b6e \
+ 3a292e0c25dbb65bf0273959a3f18bf5 \
dcdf6afbd96204662bf10594b744cb44 \
2a84d6d2f74412d7a288e721070d62b8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Judah Milgram"
-EMAIL="milgram@cgpp.com"
+EMAIL="milgram / cgpp / com"
diff --git a/development/f2c/slack-desc b/development/f2c/slack-desc
index 4373cf0645..b1f3476557 100644
--- a/development/f2c/slack-desc
+++ b/development/f2c/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-f2c: f2c (Fortran-to-C converter)
+f2c: f2c (a Fortran-to-C converter)
f2c:
-f2c: f2c is a Fortran-to-C converter
f2c: by S. I. Feldman, David M. Gay, Mark W. Maimone, and N. L. Schryer
f2c:
-f2c: This package includes libf2c, which must be linked to the resulting C
-f2c: code.
-f2c:
+f2c: From netlib. Includes libf2c.
f2c:
+f2c: The general idea: f2c foo.f; gcc foo.c -lf2c
f2c:
+f2c: If combining with gfortran, see the -ff2c option in the gfortran man
+f2c: page.
f2c:
diff --git a/development/facile/README b/development/facile/README
deleted file mode 100644
index ba9340af9f..0000000000
--- a/development/facile/README
+++ /dev/null
@@ -1 +0,0 @@
-FaCiLe is a Functional Constraint Library implemented in Objective Caml.
diff --git a/development/facile/facile.SlackBuild b/development/facile/facile.SlackBuild
deleted file mode 100644
index db7d46ca08..0000000000
--- a/development/facile/facile.SlackBuild
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for facile
-
-# Copyright 2008-2017 Heinz Wiesinger, Amsterdam, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=facile
-VERSION=${VERSION:-1.1.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- 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 $PKG/usr/lib$LIBDIRSUFFIX/ocaml/facile
-
-./configure \
- --faciledir $PKG/usr/lib$LIBDIRSUFFIX/ocaml/facile
-
-make
-make install
-
-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 LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/facile/facile.info b/development/facile/facile.info
deleted file mode 100644
index 6bcc192c8c..0000000000
--- a/development/facile/facile.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="facile"
-VERSION="1.1.3"
-HOMEPAGE="http://opti.recherche.enac.fr/facile/"
-DOWNLOAD="http://opti.recherche.enac.fr/facile/distrib/facile-1.1.3.tar.gz"
-MD5SUM="172c4fbea636a8fa575b988390639d8d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ocaml"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/development/facile/slack-desc b/development/facile/slack-desc
deleted file mode 100644
index 6afc68cbc3..0000000000
--- a/development/facile/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------------------------------------------------------|
-facile: facile (Functional Constraint Library)
-facile:
-facile: FaCiLe is a Functional Constraint Library implemented in Objective
-facile: Caml.
-facile:
-facile: Homepage: http://opti.recherche.enac.fr/facile/
-facile:
-facile:
-facile:
-facile:
-facile:
diff --git a/development/fasm/README b/development/fasm/README
new file mode 100644
index 0000000000..fa624dd9e6
--- /dev/null
+++ b/development/fasm/README
@@ -0,0 +1,9 @@
+fasm (fast assembler for the x86 and x86-64 architectures)
+
+The flat assembler (abbreviated to fasm, intentionally stylized
+with lowercase letters) is a fast assembler running in a variety
+of operating systems, in continued development since 1999. It was
+designed primarily for the assembly of x86 instructions and it
+supports x86 and x86-64 instruction sets with extensions like MMX,
+3DNow!, SSE up to SSE4, AVX, AVX2, XOP, and AVX-512. It can produce
+output in plain binary, MZ, PE, COFF or ELF format.
diff --git a/development/fasm/fasm.1 b/development/fasm/fasm.1
new file mode 100644
index 0000000000..54f9e70c5f
--- /dev/null
+++ b/development/fasm/fasm.1
@@ -0,0 +1,94 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "FASM" 1 "2022-01-17" "1.73.29" "SlackBuilds.org"
+.SH NAME
+fasm \- fast assembler for the x86 and x86-64 architectures
+.\" RST source for fasm(1) man page. Convert with:
+.
+.\" rst2man.py fasm.rst > fasm.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+fasm [\fB\-d\fP \fIname=value\fP ...] [\fB\-m\fP \fImem\-limit\fP] [\fB\-p\fP \fIpass\-limit\fP] [\fB\-s\fP \fIsymbol\-file\fP] \fIsource\-file\fP [\fIoutput\-file\fP]
+.SH DESCRIPTION
+.sp
+\fBfasm\fP (aka flat assembler) is a fast assembler for the x86 and
+x86\-64 architectures. When executed, it will assemble the given
+source file.
+.sp
+If no \fIoutput\-file\fP is given, the output filename will be the
+\fIsource\-file\fP name with the extension replaced with \fI\&.o\fP\&.
+.SH OPTIONS
+.sp
+The space between an option and its argument is optional (\fB\-m10\fP and
+\fB\-m 10\fP are both acceptable).
+.INDENT 0.0
+.TP
+.B \fB\-d\fP \fIname=value\fP
+Predefine a symbol (variable). May be given multiple times, as needed.
+.TP
+.B \fB\-m\fP \fImem\-limit\fP
+Set the limit in \fI1024\-byte\fP kilobytes for the amount of memory \fBfasm\fP can
+use. If the limit is exceeded, \fBfasm\fP will exit with an "out of
+memory" error and nonzero exit status. Default is 16384 (aka 16MB),
+minimum is 1, maximum allowed is 4194303 (~4GB)... but values ~4000000 and up
+can cause \fBfasm\fP to segfault.
+.TP
+.B \fB\-p\fP \fIpass\-limit\fP
+Set the maximum number of passes \fBfasm\fP will make over the source. Default
+is 100; maximum is 65536.
+.TP
+.B \fB\-s\fP \fIsymbol\-file\fP
+Dump symbolic information for debugging to \fIsymbol\-file\fP\&. This file
+can be processed with the \fBlisting\fP, \fBsymbols\fP, or \fBprepsrc\fP tools:
+see /usr/doc/fasm\-1.73.29/tools\-readme.txt for details.
+.UNINDENT
+.SH EXIT STATUS
+.sp
+Zero for successful completion, 1 for invalid command\-line option(s),
+or non\-zero (apparently always 255) for any fatal assembly error.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/fasm\-1.73.29/license.txt for license information.
+.SH AUTHORS
+.sp
+\fBfasm\fP was written by Tomasz Grysztar.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The full documentation: /usr/doc/fasm\-1.73.29/fasm.txt
+.sp
+The fasm homepage: \fI\%https://flatassembler.net\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/fasm/fasm.SlackBuild b/development/fasm/fasm.SlackBuild
new file mode 100644
index 0000000000..2525badf2b
--- /dev/null
+++ b/development/fasm/fasm.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for fasm
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Note: the source archive includes the full source plus prebuilt 32-
+# and 64-bit binaries. This SlackBuild uses the prebuilt binary to
+# bootstrap the binary it's going to install.
+
+# I almost didn't bother with an x86_64 option. The assembler is
+# 32-bit but fully static, will run fine on 64-bit without multilib,
+# and there doesn't seem to be any advantage to using the 64-bit
+# native binary... but upstream provides it, so I do too. Plus the
+# tools need help on Slackware64 due to lack of multilib.
+
+# 20240208 bkw: updated for v1.73.32.
+# 20230822 bkw: updated for v1.73.31.
+# 20230102 bkw: updated for v1.73.30.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=fasm
+VERSION=${VERSION:-1.73.32}
+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
+
+# Build will fail on non-x86/x86_64. Let's fail ASAP though, not
+# bother to extract the source.
+case "$ARCH" in
+ i?86|x86_64) ;; # OK
+ *) cat <<EOF
+*** $PRGNAM can only be built and run on i586, i686, or x86_64 (not '$ARCH')
+EOF
+exit 1
+esac
+
+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
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM
+
+if [ "$ARCH" = "x86_64" ]; then
+ SRCDIR=source/Linux/x64
+ FASM="$(pwd)/fasm.x64"
+ tar xvf $CWD/fasm-prebuilt-tools-$VERSION.tar.xz
+else
+ FASM="$(pwd)/fasm"
+ SRCDIR=source/Linux
+fi
+
+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 {} \+
+
+# Bootstrap using the prebuilt binary.
+cd $SRCDIR
+$FASM fasm.asm
+
+# The binary we just built should be byte-for-byte identical with
+# the prebuilt one. If not, this will error out of the script.
+cmp $FASM fasm
+
+# Note: do not attempt to strip this (no section headers).
+mkdir -p $PKG/usr/bin
+install -m0755 fasm $PKG/usr/bin/fasm
+
+cd -
+
+# Build the tools, if we're on 32-bit. For 64-bit we use prebuilt
+# statically-linked tools, since we don't have a 32-bit libc for them
+# to link with. The prebuilt tools just came from running this script
+# on i586, then tarring up the binaries. For some reason, the Debian
+# fasm package doesn't include compiled tools, though it does include
+# the sources for them (even the win32 source).
+
+cd tools/libc
+for i in listing prepsrc symbols; do
+ # if the file exists, it's prebuilt, we won't (and can't) build it.
+ if [ ! -e $i ]; then
+ $FASM $i.asm
+ gcc -static -Wl,-s -o $i $i.o
+ fi
+ install -m0755 -oroot -groot $i $PKG/usr/bin/$i
+done
+cd -
+
+# Man page written for this SlackBuild. Debian had one already,
+# but it's not very detailed and is missing the -d option.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+mv tools/readme.txt tools-readme.txt
+cp -a *.txt tools/*.txt examples $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/fasm/fasm.info b/development/fasm/fasm.info
new file mode 100644
index 0000000000..13749dcb55
--- /dev/null
+++ b/development/fasm/fasm.info
@@ -0,0 +1,12 @@
+PRGNAM="fasm"
+VERSION="1.73.32"
+HOMEPAGE="https://flatassembler.net"
+DOWNLOAD="https://flatassembler.net/fasm-1.73.32.tgz"
+MD5SUM="71be6901ec3e1e1459616bba27f544d9"
+DOWNLOAD_x86_64="https://flatassembler.net/fasm-1.73.32.tgz \
+ https://slackware.uk/~urchlay/src/fasm-prebuilt-tools-1.73.32.tar.xz"
+MD5SUM_x86_64="71be6901ec3e1e1459616bba27f544d9 \
+ 566290d1f406cfeaad01fa0f2b6a31c4"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/fasm/fasm.rst b/development/fasm/fasm.rst
new file mode 100644
index 0000000000..ee6fe87749
--- /dev/null
+++ b/development/fasm/fasm.rst
@@ -0,0 +1,85 @@
+.. RST source for fasm(1) man page. Convert with:
+.. rst2man.py fasm.rst > fasm.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 1.73.29
+.. |date| date::
+
+====
+fasm
+====
+
+---------------------------------------------------
+fast assembler for the x86 and x86-64 architectures
+---------------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+fasm [**-d** *name=value* ...] [**-m** *mem-limit*] [**-p** *pass-limit*] [**-s** *symbol-file*] *source-file* [*output-file*]
+
+DESCRIPTION
+===========
+
+**fasm** (aka flat assembler) is a fast assembler for the x86 and
+x86-64 architectures. When executed, it will assemble the given
+source file.
+
+If no *output-file* is given, the output filename will be the
+*source-file* name with the extension replaced with *.o*.
+
+OPTIONS
+=======
+
+The space between an option and its argument is optional (**-m10** and
+**-m 10** are both acceptable).
+
+**-d** *name=value*
+ Predefine a symbol (variable). May be given multiple times, as needed.
+
+**-m** *mem-limit*
+ Set the limit in *1024-byte* kilobytes for the amount of memory **fasm** can
+ use. If the limit is exceeded, **fasm** will exit with an "out of
+ memory" error and nonzero exit status. Default is 16384 (aka 16MB),
+ minimum is 1, maximum allowed is 4194303 (~4GB)... but values ~4000000 and up
+ can cause **fasm** to segfault.
+
+**-p** *pass-limit*
+ Set the maximum number of passes **fasm** will make over the source. Default
+ is 100; maximum is 65536.
+
+**-s** *symbol-file*
+ Dump symbolic information for debugging to *symbol-file*. This file
+ can be processed with the **listing**, **symbols**, or **prepsrc** tools:
+ see /usr/doc/fasm-|version|/tools-readme.txt for details.
+
+EXIT STATUS
+===========
+
+Zero for successful completion, 1 for invalid command-line option(s),
+or non-zero (apparently always 255) for any fatal assembly error.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/fasm-|version|/license.txt for license information.
+
+AUTHORS
+=======
+
+**fasm** was written by Tomasz Grysztar.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The full documentation: /usr/doc/fasm-|version|/fasm.txt
+
+The fasm homepage: https://flatassembler.net
diff --git a/development/fasm/slack-desc b/development/fasm/slack-desc
new file mode 100644
index 0000000000..1a9df84ad3
--- /dev/null
+++ b/development/fasm/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------------------------------------------------------|
+fasm: fasm (fast assembler for the x86 and x86-64 architectures)
+fasm:
+fasm: The flat assembler (abbreviated to fasm, intentionally stylized
+fasm: with lowercase letters) is a fast assembler running in a variety
+fasm: of operating systems, in continued development since 1999. It was
+fasm: designed primarily for the assembly of x86 instructions and it
+fasm: supports x86 and x86-64 instruction sets with extensions like MMX,
+fasm: 3DNow!, SSE up to SSE4, AVX, AVX2, XOP, and AVX-512. It can produce
+fasm: output in plain binary, MZ, PE, COFF or ELF format.
+fasm:
+fasm:
diff --git a/development/flawfinder/flawfinder.SlackBuild b/development/flawfinder/flawfinder.SlackBuild
index da7abe3c1f..3424109de7 100644
--- a/development/flawfinder/flawfinder.SlackBuild
+++ b/development/flawfinder/flawfinder.SlackBuild
@@ -1,41 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for flawfinder
# Written by Andrzej Telszewski <atelszewski@gmail.com>
+# 20220330 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - make this noarch (no compiled code, no use of $LIBDIRSUFFIX).
+# - remove useless INSTALL.txt from doc dir.
+# - fix download URL.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flawfinder
VERSION=${VERSION:-1.27}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
@@ -48,9 +40,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
make install \
INSTALL_DIR_BIN=$PKG/usr/bin \
@@ -64,7 +56,7 @@ make install \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
announcement ChangeLog COPYING correct-results.html correct-results.txt \
- flawfinder.pdf flawtest.c INSTALL.txt junk.c README sloctest.c \
+ flawfinder.pdf flawtest.c junk.c README sloctest.c \
test-results.html test-results.txt test.c test2.c \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -73,4 +65,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/flawfinder/flawfinder.info b/development/flawfinder/flawfinder.info
index b2a0b2ec9c..e5a1e939ba 100644
--- a/development/flawfinder/flawfinder.info
+++ b/development/flawfinder/flawfinder.info
@@ -1,7 +1,7 @@
PRGNAM="flawfinder"
VERSION="1.27"
HOMEPAGE="https://www.dwheeler.com/flawfinder/"
-DOWNLOAD="https://www.dwheeler.com/flawfinder/flawfinder-1.27.tar.gz"
+DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/flawfinder/flawfinder-1.27.tar.gz/50fff67dd439f42b785577ed8b3a3f7d/flawfinder-1.27.tar.gz"
MD5SUM="50fff67dd439f42b785577ed8b3a3f7d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/flow/README b/development/flow/README
deleted file mode 100644
index f5138eec45..0000000000
--- a/development/flow/README
+++ /dev/null
@@ -1,22 +0,0 @@
-The goal of Flow is to find errors in JavaScript code with little
-programmer effort. Flow relies heavily on type inference to find type
-errors even when the program has not been annotated It precisely tracks
-the types of variables as they flow through the program.
-
-At the same time, Flow is a gradual type system. Any parts of your
-program that are dynamic in nature can easily bypass the type checker
-so you can mix statically typed code with dynamic code.
-
-Flow also supports a highly expressive type language. Flow types can
-express much more fine-grained distinctions than traditional type
-systems. For example, Flow helps you catch errors involving null,
-unlike most type systems.
-
-NOTE:
-
-Flow does not support 32-bit systems, but there is a commented out
-patch included here that will allow it to build. Note that although
-`flow` will compile and run on a 32-bit system with this patch, it will
-not pass the built-in tests. The patch is included in the hopes that
-someone brave enough will investigate this and help upstream deliver
-32-bit support.
diff --git a/development/flow/flow.SlackBuild b/development/flow/flow.SlackBuild
deleted file mode 100644
index 512561ff51..0000000000
--- a/development/flow/flow.SlackBuild
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for flow
-
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# 2017 | Dhaby Xiloj | slack.dhabyx@gmail.com
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <https://www.gnu.org/licenses/>.
-
-PRGNAM=flow
-VERSION=${VERSION:-0.43.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- x86_64) ARCH=x86_64 ;;
- *) echo "The package for $(uname -m) architecture is not available."; exit 1;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-DOCS="Changelog.md CONTRIBUTING.md LICENSE PATENTS README.md examples"
-
-if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- echo "The package for $(uname -m) architecture is not available.";
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
- make
-
-mkdir -p $PKG/opt/$PRGNAM/ $PKG/usr/bin/
-mv bin/ $PKG/opt/$PRGNAM/
-(
- cd $PKG/usr/bin
- ln -sf /opt/$PRGNAM/bin/$PRGNAM $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
-cp -ar $DOCS $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:-tgz}
diff --git a/development/flow/flow.info b/development/flow/flow.info
deleted file mode 100644
index 8b7ed4b732..0000000000
--- a/development/flow/flow.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="flow"
-VERSION="0.43.1"
-HOMEPAGE="http://flowtype.org/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/facebook/flow/archive/v0.43.1/flow-0.43.1.tar.gz"
-MD5SUM_x86_64="9af68ac96b29a30b5c3fe88d96b5a97d"
-REQUIRES="ocamlbuild"
-MAINTAINER="DhabyX"
-EMAIL="slack.dhabyx@gmail.com"
diff --git a/development/flow/slack-desc b/development/flow/slack-desc
deleted file mode 100644
index d3202dc0a9..0000000000
--- a/development/flow/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------------------------------------------------------|
-flow: flow (A static type checker for JavaScript)
-flow:
-flow: Adds static typing to JavaScript to improve developer productivity
-flow: and code quality.
-flow:
-flow:
-flow:
-flow:
-flow:
-flow: http://flowtype.org/
-flow:
diff --git a/development/fly/fly.SlackBuild b/development/fly/fly.SlackBuild
index 94db10fa9d..1d6bb09b37 100644
--- a/development/fly/fly.SlackBuild
+++ b/development/fly/fly.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fly
-# Copyright 2020 Dmitrii Sosedov, United States
+# Copyright 2021 Dmitrii Sosedov, United States
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=fly
-VERSION=${VERSION:-6.0.0}
+VERSION=${VERSION:-6.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,13 +37,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -87,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/fly/fly.info b/development/fly/fly.info
index 3a040919d1..31fb467803 100644
--- a/development/fly/fly.info
+++ b/development/fly/fly.info
@@ -1,10 +1,10 @@
PRGNAM="fly"
-VERSION="6.0.0"
+VERSION="6.7.4"
HOMEPAGE="https://concourse-ci.org/fly.html"
DOWNLOAD="UNSUPPORTED"
-MD5SUM="UNSUPPORTED"
-DOWNLOAD_x86_64="https://github.com/concourse/concourse/releases/download/v6.0.0/fly-6.0.0-linux-amd64.tgz"
-MD5SUM_x86_64="c0c66b346164b49be9121a2af4a585a0"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/concourse/concourse/releases/download/v6.7.4/fly-6.7.4-linux-amd64.tgz"
+MD5SUM_x86_64="43cecc7ca957a40bf2f0d6e1bac9e872"
REQUIRES=""
MAINTAINER="Dmitrii Sosedov"
EMAIL="d.sosedov@gmail.com"
diff --git a/development/fly/slack-desc b/development/fly/slack-desc
index a6965fbcf1..22ab5e0244 100644
--- a/development/fly/slack-desc
+++ b/development/fly/slack-desc
@@ -15,5 +15,5 @@ fly: used for CI/CD, and is built to scale to any kind of automation
fly: pipeline, from simple to complex.
fly:
fly: Homepage: https://concourse-ci.org/fly.html
-fly: Release date: Mar 25, 2020
+fly: Release date: Jan 26, 2021
fly:
diff --git a/development/focal/README b/development/focal/README
new file mode 100644
index 0000000000..b28995ba0b
--- /dev/null
+++ b/development/focal/README
@@ -0,0 +1,24 @@
+focal (FOCAL language interpreter)
+
+FOCAL is an interactive interpreted programming language based on JOSS
+and mostly used on DEC PDP series machines. It is an ancestor of (or
+at least an influence on) the BASIC language. For more information on
+FOCAL, see: https://en.wikipedia.org/wiki/FOCAL_(programming_language)
+
+This implementation is by Dave Conroy and Akira KIDA. It comes from Eric
+Raymond and John Cowan's Retrocomputing Museum:
+http://www.catb.org/retro/
+
+See /usr/doc/focal-$VERSION/focal_doc.txt for the language
+specification. See /usr/share/focal for sample code. Loading and
+running a FOCAL program is done like so:
+
+ $ focal
+ *lib call program.foc
+ *g
+
+Enter "quit" at the * prompt to exit.
+
+There is a small archive of FOCAL programs available here:
+ftp://ftp.pdp8.net/software/games/focal/
+...although not all of them are compatible with this version of FOCAL.
diff --git a/development/focal/beer.foc b/development/focal/beer.foc
new file mode 100644
index 0000000000..13beb83ccf
--- /dev/null
+++ b/development/focal/beer.foc
@@ -0,0 +1,24 @@
+01.10 c Focal-8 version of 99 Bottles of beer
+01.20 c Hacked by Akira KIDA, <SDI00379@niftyserve.or.jp>
+01.30 c Made to actually work by Dave Pitts <dpitts@cozx.com>
+10.10 set bottles = 99
+10.20 do 20
+10.30 quit
+20.10 for j=1,bottles; set i=bottles+1-j;do 30
+20.20 return
+30.10 set b = i
+30.20 do 40 ; type " on the wall, "
+30.30 do 40 ; type ".", ! , "Take one down, pass it around.", !
+30.40 set b = i - 1
+30.50 do 40 ; type " on the wall.", !, !
+30.60 return
+40.10 do 50
+40.20 type " of beer"
+40.30 return
+50.10 if (b - 1) 50.20, 50.40, 50.60
+50.20 type "No more bottles"
+50.30 return
+50.40 type %1.0, b, " bottle"
+50.50 return
+50.60 type %1.0, b, " bottles"
+50.70 return
diff --git a/development/focal/focal.SlackBuild b/development/focal/focal.SlackBuild
new file mode 100644
index 0000000000..4a9fc6be11
--- /dev/null
+++ b/development/focal/focal.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for focal
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# VERSION is the date on the files inside the tarball.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=focal
+VERSION=${VERSION:-19950417}
+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
+tar xvf $CWD/$PRGNAM.tar.gz
+cd $PRGNAM
+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 {} \+
+
+# Use our flags.
+sed -i "/^CFLAGS/s,-O -g,$SLKCFLAGS," Makefile
+
+# Fix compile issues on modern gcc. Yes, it uses the hated and
+# deprecated gets(). There are still some compiler warnings (implicit
+# int for e.g. "register c;") but they don't seem to do harm.
+sed -i '1iextern char *gets(char *s);' focal.h
+sed -i '67s,|,||,' focal3.c # wrong: if (ln<1 | ln>99)
+sed -i 's,\<getline\>,Getline,g' *.c *.h
+
+make
+
+# Test the thing now that it's built.
+cat <<EOF | ./focal > test.out
+lib call queens.foc
+g
+quit
+EOF
+if grep -q 'Total 92 answers' test.out; then
+ echo "=== Self-test passed."
+else
+ echo "=== Self-test FAILED, bailing."
+ exit 1
+fi
+
+# beer.foc comes from https://www.99-bottles-of-beer.net/language-focal-2514.html
+# hello.foc comes from https://github.com/leachim6/hello-world but it had to
+# be modified (this FOCAL hates the line number with 4 parts).
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/bin $PKGDOC $PKG/usr/share/$PRGNAM
+install -s -m0755 $PRGNAM $PKG/usr/bin/$PRGNAM
+install -oroot -groot -m0644 *.foc $CWD/*.foc $PKG/usr/share/$PRGNAM
+
+# Rename, in case KDE or XFCE thinks it should open this with Calligra
+# or MS-Word in Wine, based on the filename extension.
+mv focal.doc focal_doc.txt
+
+cp -a README focal_doc.txt $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/focal/focal.info b/development/focal/focal.info
new file mode 100644
index 0000000000..7847e9773a
--- /dev/null
+++ b/development/focal/focal.info
@@ -0,0 +1,10 @@
+PRGNAM="focal"
+VERSION="19950417"
+HOMEPAGE="http://www.catb.org/retro/"
+DOWNLOAD="http://www.catb.org/retro/focal.tar.gz"
+MD5SUM="de1db172fca2489dd701a7377342de03"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/focal/hello.foc b/development/focal/hello.foc
new file mode 100644
index 0000000000..a13024bc77
--- /dev/null
+++ b/development/focal/hello.foc
@@ -0,0 +1 @@
+01.01 TYPE "HELLO WORLD",!
diff --git a/development/focal/slack-desc b/development/focal/slack-desc
new file mode 100644
index 0000000000..956398b7e4
--- /dev/null
+++ b/development/focal/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------------------------------------------------------|
+focal: focal (FOCAL language interpreter)
+focal:
+focal: FOCAL is an interactive interpreted programming language based on JOSS
+focal: and mostly used on DEC PDP series machines. It is an ancestor of (or
+focal: at least an influence on) the BASIC language. For more information on
+focal: FOCAL, see: https://en.wikipedia.org/wiki/FOCAL_(programming_language)
+focal:
+focal:
+focal:
+focal:
+focal:
diff --git a/development/fortls/README b/development/fortls/README
new file mode 100644
index 0000000000..f1d769c1ef
--- /dev/null
+++ b/development/fortls/README
@@ -0,0 +1,35 @@
+fortls is an implementation of the Language Server Protocol for Fortran
+using Python (3.7+).
+
+All code editors that support LSP can integrate with fortls; see the
+section Editor Integration in the documentation. Some supported code
+editors include: Visual Studio Code, Atom, Sublime Text, (Neo)Vim, and
+Emacs.
+
+Features:
+ * Project-wide and Document symbol detection and Renaming
+ * Hover support, Signature help and Auto-completion
+ * GoTo/Peek implementation and Find/Peek references
+ * Preprocessor support
+ * Documentation parsing (Doxygen and FORD styles)
+ * Access to multiple intrinsic modules and functions
+ * ISO_FORTRAN_ENV GCC 11.2.0
+ * ISO_C_BINDING GCC 11.2.0
+ * IEEE_EXCEPTIONS, IEEE_ARITHMETIC, IEEE_FEATURES GCC 11.2.0
+ * OpenMP OMP_LIB, OMP_LIB_KINDS v5.0
+ * OpenACC OPENACC, OPENACC_KINDS v3.1
+ * Diagnostics
+ * Multiple definitions with the same variable name
+ * Variable definition masks definition from parent scope
+ * Missing subroutine/function arguments
+ * Unknown user-defined type used in TYPE/CLASS definition (only if
+ visible in project)
+ * Unclosed blocks/scopes
+ * Invalid scope nesting
+ * Unknown modules in USE statement
+ * Unimplemented deferred type-bound procedures
+ * Use of non-imported variables/objects in interface blocks
+ * Statement placement errors (CONTAINS, IMPLICIT, IMPORT)
+ * Code actions
+ * Generate type-bound procedures and implementation templates for
+ deferred procedures
diff --git a/development/fortls/fortls.SlackBuild b/development/fortls/fortls.SlackBuild
new file mode 100644
index 0000000000..443c1c1579
--- /dev/null
+++ b/development/fortls/fortls.SlackBuild
@@ -0,0 +1,77 @@
+#!/bin/bash
+
+# Slackware build script for fortls
+
+# Copyright 2023 Erich Ritz, Jenks, Oklahoma, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=fortls
+VERSION=${VERSION:-2.13.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $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 {} \;
+
+python3 setup.py install --root=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md LICENSE README.md SECURITY.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/fortls/fortls.info b/development/fortls/fortls.info
new file mode 100644
index 0000000000..23125357e3
--- /dev/null
+++ b/development/fortls/fortls.info
@@ -0,0 +1,10 @@
+PRGNAM="fortls"
+VERSION="2.13.0"
+HOMEPAGE="https://fortls.fortran-lang.org"
+DOWNLOAD="https://files.pythonhosted.org/packages/38/04/db988efbcaac142999af91888e9750dfa422108a318ec3038c2cd42ecf04/fortls-2.13.0.tar.gz"
+MD5SUM="b48ded0a49d364cc029591547a16703d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-json5"
+MAINTAINER="Erich Ritz"
+EMAIL="erich.public@protonmail.com"
diff --git a/development/fortls/slack-desc b/development/fortls/slack-desc
new file mode 100644
index 0000000000..6645096d68
--- /dev/null
+++ b/development/fortls/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------------------------------------------------------|
+fortls: fortls (A modern Language Server for Fortran)
+fortls:
+fortls: fortls is an implementation of the Language Server Protocol for
+fortls: Fortran using Python (3.7+).
+fortls:
+fortls: All code editors that support LSP can integrate with fortls; see the
+fortls: section Editor Integration in the documentation. Some supported code
+fortls: editors include: Visual Studio Code, Atom, Sublime Text, (Neo)Vim, and
+fortls: Emacs.
+fortls:
+fortls: Homepage: https://fortls.fortran-lang.org
diff --git a/development/fossil/README b/development/fossil/README
index 9a33b45e31..af0f5691e7 100644
--- a/development/fossil/README
+++ b/development/fossil/README
@@ -3,32 +3,33 @@ created by D. Richard Hipp, the primary author of SQLite.
Features:
-- tamper-proof artifact record
-- simple command-line interface
-- customizable web interface with JSON, RSS, CGI, wiki, and forum
-- online project documentation with full-text search capability
-- online activity and ticket reports
-- user accounts with access controls
-- coherent versioning across all files
-- straightforward branching and merging
-- bisect searches to pinpoint behavior changes
+- Tamper-proof artifact record
+- Simple command-line interface
+- Customizable web interface with JSON, RSS, CGI, wiki, chat, and forum
+- Online project documentation with full-text search capability
+- Integrated PIC-like markup language for creating diagrams
+- Online activity and ticket reports
+- User accounts with access controls
+- Coherent versioning across all files
+- Straightforward branching and merging
+- Bisect searches to pinpoint behavior changes
- SHA3-256 and hardened SHA1 checksums
- FUSE filesystem makes all historical and branch revisions available
-- synchronization via http, https, ssh, and local/network filesystems
-- automated replication and backup
-- git import/export and Subversion/CVS import
-- nested checkouts to share common subtrees across related projects
-- checkout directory not cluttered with administrative files
-- support for Docker
-- unversioned file area for builds, statistics, other ephemeral content
-- optional PGP signing of commits
-- users can subscribe to email alerts to be notified of event types
-- private branch which are excluded from syncs until published
-- bundles group a change set (e.g. a private branch) into a single file
-- users can make their own repositories, no need for special privileges
-- works in Windows as well as Linux and other Unix-like systems
+- Synchronization via http, https, ssh, and local/network filesystems
+- Automated replication and backup
+- Git import/export and Subversion/CVS import
+- Nested checkouts to share common subtrees across related projects
+- Checkout directory not cluttered with administrative files
+- Support for Docker
+- Unversioned file area for builds, statistics, other ephemeral content
+- Optional PGP signing of commits
+- Users can subscribe to email alerts to be notified of events
+- Private branches which are excluded from syncs until published
+- Bundles group a change set (e.g. a private branch) into a single file
+- Users can make their own repositories, no need for special privileges
+- Works in Windows as well as Linux and other Unix-like systems
-Fossil can host the entire project development website, including the
+Fossil can host an entire project development website, including the
download area, but it also can be used for individual projects with no
need for a shared server.
@@ -48,14 +49,14 @@ See Fossil in action online:
Key technical points:
-- unified revision history tree spans the entire repository
-- repository is a collection of artifacts identified by their checksums
-- artifacts are broadly grouped into content and structural artifacts
-- each check-in is tracked as a structural artifact known as a manifest
-- manifests primarily list the full names and checksums of each file
-- manifests can be amended by subsequent control artifacts
-- in most cases, symbolic names refer to the latest matching check-in
-- branches are implemented using propagating symbolic tags
+- Unified revision history tree spans the entire repository
+- Repository is a collection of artifacts identified by their checksums
+- Artifacts are broadly grouped into content and structural artifacts
+- Each check-in is tracked as a structural artifact known as a manifest
+- Manifests primarily list the full names and checksums of each file
+- Manifests can be amended by subsequent control artifacts
+- In most cases, symbolic names refer to the latest matching check-in
+- Branches are implemented using propagating symbolic tags
------------------------------------------------------------------------
diff --git a/development/fossil/fossil.SlackBuild b/development/fossil/fossil.SlackBuild
index a2a80ad651..fbd66c1896 100644
--- a/development/fossil/fossil.SlackBuild
+++ b/development/fossil/fossil.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fossil
-# Copyright 2020 Andy Goth <andrew.m.goth@gmail.com> USA
+# Copyright 2021 Andy Goth <andrew.m.goth@gmail.com> USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=fossil
-VERSION=${VERSION:-2.12.1}
+VERSION=${VERSION:-2.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -57,7 +67,7 @@ fi
set -e
FILE=$CWD/$PRGNAM-src-$VERSION.tar.gz
-DIR=$PRGNAM-$VERSION
+DIR=$PRGNAM-src-$VERSION
if [ ! -e "$FILE" ]; then
FILE=$CWD/$PRGNAM-src.tar.gz
@@ -87,8 +97,7 @@ CFLAGS=${CFLAGS:-$SLKCFLAGS} \
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
+strip --strip-unneeded $PKG/usr/bin/fossil
mkdir -p $PKG/usr/man/man1
gzip -9c fossil.1 > $PKG/usr/man/man1/fossil.1.gz
@@ -101,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/fossil/fossil.info b/development/fossil/fossil.info
index f423ef7d5c..8aa7834cff 100644
--- a/development/fossil/fossil.info
+++ b/development/fossil/fossil.info
@@ -1,8 +1,8 @@
PRGNAM="fossil"
-VERSION="2.12.1"
+VERSION="2.17"
HOMEPAGE="https://fossil-scm.org/"
-DOWNLOAD="https://fossil-scm.org/home/uv/fossil-src-2.12.1.tar.gz"
-MD5SUM="55644270d8494fc5af25128ec56d178b"
+DOWNLOAD="https://fossil-scm.org/home/tarball/f48180f2ff3169651a725396d4f7d667c99a92873b9c3df7eee2f144be7a0721/fossil-src-2.17.tar.gz"
+MD5SUM="20f1a1019fa786145e8d11f909e766bc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/fossil/slack-desc b/development/fossil/slack-desc
index 0eb1aec159..f1576571ae 100644
--- a/development/fossil/slack-desc
+++ b/development/fossil/slack-desc
@@ -10,10 +10,10 @@ fossil: fossil (Distributed Version Control System)
fossil:
fossil: Fossil is a distributed version control and ticket tracking system
fossil: created by D. Richard Hipp, primary author of SQLite. Features:
-fossil: simple command-line interface, coherent versioning across all files,
-fossil: easy branching and merging, customizable web interface, built-in wiki
-fossil: and forum, SHA3-256 and hardened SHA1 checksums, FUSE filesystem, and
-fossil: automated replication and backup. Content is stored using SQLite for
-fossil: atomicity, durability, and effortless administration.
+fossil: simple command-line interface; coherent versioning across all files,
+fossil: easy branching and merging; customizable web interface; built-in wiki,
+fossil: chat, and forum; SHA3-256 checksums; FUSE filesystem; and automated
+fossil: replication and backup. Content is stored using SQLite for atomicity,
+fossil: durability, and effortless administration.
fossil:
fossil: Project Site: https://www.fossil-scm.org/
diff --git a/development/fpc-source/README b/development/fpc-source/README
deleted file mode 100644
index 54f49d7f8d..0000000000
--- a/development/fpc-source/README
+++ /dev/null
@@ -1,2 +0,0 @@
-This is a repackaging of the Free Pascal compiler's source code,
-needed by Lazarus.
diff --git a/development/fpc-source/fpc-source.SlackBuild b/development/fpc-source/fpc-source.SlackBuild
deleted file mode 100644
index 4472487495..0000000000
--- a/development/fpc-source/fpc-source.SlackBuild
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for the Free Pascal source code package
-
-# Copyright 2011-2014 Fridrich von Stauffenberg <cancellor2@gmail.com>
-# Copyright 2018 Michael Edie, 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.
-
-PRGNAM=fpc-source
-VERSION=${VERSION:-3.0.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-ORIG_PRGNAM=fpc
-ORIG_VERSION=$VERSION.source
-
-CWD=$(pwd)
-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 $OUTPUT $TMP $PKG/usr/src
-cd $PKG/usr/src
-tar xvf $CWD/$ORIG_PRGNAM-$ORIG_VERSION.tar.gz
-chown -R root:root $ORIG_PRGNAM-$VERSION
-ln -sf $ORIG_PRGNAM-$VERSION $ORIG_PRGNAM
-
-mkdir -p $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:-tgz}
diff --git a/development/fpc-source/fpc-source.info b/development/fpc-source/fpc-source.info
deleted file mode 100644
index 4c96d9f4a7..0000000000
--- a/development/fpc-source/fpc-source.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="fpc-source"
-VERSION="3.0.4"
-HOMEPAGE="https://www.freepascal.org"
-DOWNLOAD="https://downloads.sourceforge.net/freepascal/fpc-3.0.4.source.tar.gz"
-MD5SUM="bc8c2b53cf0816c3bea39f27fb104b31"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Michael Edie"
-EMAIL="michael@sawbox.net"
diff --git a/development/fpc-source/slack-desc b/development/fpc-source/slack-desc
deleted file mode 100644
index 23169fca2c..0000000000
--- a/development/fpc-source/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------------------------------------------------------|
-fpc-source: fpc-source (Free Pascal sources)
-fpc-source:
-fpc-source: This is a repackaging of the Free Pascal compiler's source code,
-fpc-source: needed by Lazarus.
-fpc-source:
-fpc-source: Homepage: http://freepascal.org
-fpc-source:
-fpc-source:
-fpc-source:
-fpc-source:
-fpc-source:
diff --git a/development/fpc/README b/development/fpc/README
index f92e75fa8c..b41437b58a 100644
--- a/development/fpc/README
+++ b/development/fpc/README
@@ -1,3 +1,5 @@
+fpc (free pascal compiler)
+
Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal
compiler. It is available for different processors: Intel x86,
Amd64/x86_64, PowerPC, PowerPC64, Sparc, ARM. The discontinued 1.0
@@ -5,5 +7,11 @@ version also supports the Motorola 680x0. The following operating
systems are supported: Linux, FreeBSD, Mac OS X/Darwin, DOS, Win32,
Win64, WinCE, OS/2, Netware (libc and classic) and MorphOS.
-NOTE: This package conflicts with ptop, as both install a ptop binary
-in /usr/bin.
+The fpc source code is included by default. It is needed by
+some applications (e.g Lazarus IDE) but it can be excluded with:
+
+ SRC=no ./fpc.Slackbuild
+
+Note: if you plan to use lazarus 3.0 make sure first to remove
+any previous lazarus installation, then upgrade fpc to
+version 3.2.2 build 3, and only then install lazarus 3.0
diff --git a/development/fpc/doinst.sh b/development/fpc/doinst.sh
index 1b1904e6f4..991be0d368 100644
--- a/development/fpc/doinst.sh
+++ b/development/fpc/doinst.sh
@@ -1,15 +1,11 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
rm $NEW
fi
- # Otherwise, we leave the .new copy for the admin to consider...
}
config etc/fpc.cfg.new
-
diff --git a/development/fpc/fpc.SlackBuild b/development/fpc/fpc.SlackBuild
index 023c768239..a7399aec49 100644
--- a/development/fpc/fpc.SlackBuild
+++ b/development/fpc/fpc.SlackBuild
@@ -1,8 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Free Pascal
-# Written by Andre Barboza <bmg.andre@gmail.com>
+# Maintained by Antonio Leal <antonioleal@yahoo.com>.
+# Previously maintained by B. Watson <urchlay@slackware.uk>.
+# Modified by the SlackBuilds.org project.
+# Written by Andre Barboza <email removed>.
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -20,14 +23,39 @@
# 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.
-#
-# Modified by the SlackBuilds.org project.
+
+# 20231229 ALe: BUILD=3
+# Imported Debian patches to support -fPIC option, improved timestamps.
+# Added fpc source code with option to exclude it.
+
+# 20230814 ALe: BUILD=2
+# - tested conflict with ptop: it no longer exists because in ptop SlackBuild
+# the name /usr/bin/ptop.py is now being used.
+
+# 20230520 bkw: ARCH is now i586, use separate SRCARCH for the i386
+# in the source filenames. I severely doubt this would run on a 386
+# anyway. i586 is the minimum *Slackware supported* ARCH this will run
+# on. Not bumping BUILD because the package contents don't change.
+
+# 20220415 bkw: BUILD=2
+# - remove *.rsj files from /usr/bin.
+
+# 20210904 bkw:
+# - take over maintenance.
+# - update for v3.2.2.
+# - install the IDE's data files to fpc base dir, not /usr/bin (ugh).
+# - include man page for instantfpc/ifpc.
+# - TODO: find out why exiting fp (the IDE) leaves the cursor blinking.
+# It's *very* annoying but not a showstopper.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fpc
-VERSION=${VERSION:-3.0.4}
-BINVERSION=${BINVERSION:-3.0.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.2}
+BINVER=${BINVER:-3.2.2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,16 +65,12 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
case "$ARCH" in
- i?86) ARCH="i386"
+ i?86) ARCH="i586"
+ SRCARCH="i386"
LIBDIRSUFFIX=""
;;
- x86_64) ARCH="x86_64"
+ x86_64) SRCARCH="x86_64"
LIBDIRSUFFIX="64"
;;
*) printf "$ARCH is not supported...\n"
@@ -54,40 +78,77 @@ case "$ARCH" in
;;
esac
+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
+fixperms() {
+ chown -R root:root .
+ find -L . -type l -o \
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+}
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$BINVERSION ${PRGNAM}build-$VERSION
-mkdir $PRGNAM-$BINVERSION ${PRGNAM}build-$VERSION
-cd $TMP/$PRGNAM-$BINVERSION
-tar xvf $CWD/$PRGNAM-$BINVERSION.$ARCH-linux.tar --strip-components=1
+rm -rf $PRGNAM-$BINVER ${PRGNAM}build-$VERSION
+mkdir $PRGNAM-$BINVER ${PRGNAM}build-$VERSION
+cd $TMP/$PRGNAM-$BINVER
+tar xvf $CWD/$PRGNAM-$BINVER.$SRCARCH-linux.tar --strip-components=1
cd $TMP/${PRGNAM}build-$VERSION
tar xvf $CWD/${PRGNAM}build-$VERSION.tar.gz
-# Unpack binary files.
+# Unpack binary files. This is the bootstrap compiler; these binaries
+# don't get installed as part of the package.
(
- mkdir -p $TMP/$PRGNAM-$BINVERSION/binary
- cd $TMP/$PRGNAM-$BINVERSION/binary
- tar xvf $TMP/$PRGNAM-$BINVERSION/binary.$ARCH-linux.tar
+ mkdir -p $TMP/$PRGNAM-$BINVER/binary
+ cd $TMP/$PRGNAM-$BINVER/binary
+ tar xvf $TMP/$PRGNAM-$BINVER/binary.$SRCARCH-linux.tar
- cd $TMP/$PRGNAM-$BINVERSION
- tar xvf $TMP/$PRGNAM-$BINVERSION/binary/base.$ARCH-linux.tar.gz
- tar xvf $TMP/$PRGNAM-$BINVERSION/binary/utils.$ARCH-linux.tar.gz
+ cd $TMP/$PRGNAM-$BINVER
+ tar xvf $TMP/$PRGNAM-$BINVER/binary/base.$SRCARCH-linux.tar.gz
+ tar xvf $TMP/$PRGNAM-$BINVER/binary/utils.$SRCARCH-linux.tar.gz
- cd $TMP/$PRGNAM-$BINVERSION/bin
- if [ "$ARCH" = "x86_64" ]; then
- ln -s ../lib/fpc/$BINVERSION/ppcx64
+ cd $TMP/$PRGNAM-$BINVER/bin
+ if [ "$SRCARCH" = "x86_64" ]; then
+ ln -s ../lib/fpc/$BINVER/ppcx64
else
- ln -s ../lib/fpc/$BINVERSION/ppc386
+ ln -s ../lib/fpc/$BINVER/ppc386
fi
)
-export PATH="$TMP/$PRGNAM-$BINVERSION/bin":$PATH
-echo $PATH
+export PATH="$TMP/$PRGNAM-$BINVER/bin":$PATH
+echo "=== PATH is $PATH"
cd $TMP/${PRGNAM}build-$VERSION/${PRGNAM}build-$VERSION
+
+# it's => its. It's one of my pet peeves; its occurrence annoys me.
+sed -i "s,\\(as\\|control\\) it's,\\1 its," install/man/man?/*.?
+
+# 20210905 bkw: patch taken from Debian with many thanks. Installs the
+# - IDE's data files somewhere besides /usr/bin, and patches the IDE to look for them there.
+patch -p1 < $CWD/patches/fix-IDE-data-file-location.patch
+# 20240113 ALe: Patches imported from Debian fpc_3.2.2+dfsg-20.debian.tar.xz :
+# - Fixed liking with libc when PIC is enabled (x86_64 specific)
+patch -p1 < $CWD/patches/Fix-liking-with-libc-when-PIC-is-enabled.patch
+# - Add glibc2.34.patch to adjust startup code for glibc2.34 (Closes: #1016556)
+patch -p1 < $CWD/patches/glibc2.34.patch
+# - Reproducibility never ends: add honor_SOURCE_DATE_EPOCH_in_date.patch to improve some timestamps in binaries
+patch -p1 < $CWD/patches/honor_SOURCE_DATE_EPOCH_in_date.patch
+
+# 20210905 bkw: don't let the NOGDB=1 scare you. During the compile
+# we get this message:
+# Compiling IDE with GDB/MI debugger support, LibGDB is not needed
+# ...and it appears that the IDE does indeed have its debugging
+# support enabled.
make build NOGDB=1
make -j1 NOGDB=1 PREFIX=$PKG/usr install
@@ -95,21 +156,50 @@ make -j1 NOGDB=1 PREFIX=$PKG/usr install
[ "$LIBDIRSUFFIX" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
cd $PKG/usr/bin
-if [ "$ARCH" = "x86_64" ]; then
+if [ "$SRCARCH" = "x86_64" ]; then
ln -s ../lib$LIBDIRSUFFIX/fpc/$VERSION/ppcx64
else
ln -s ../lib$LIBDIRSUFFIX/fpc/$VERSION/ppc386
fi
+# 20231229 ALe: Optionally exclude the source from the package.
+# Source is required by some apps (e.g lazarus IDE).
+if [ "${SRC:-yes}" = "yes" ]; then
+ mkdir -p $PKG/usr/src
+ ( cd $PKG/usr/src
+ tar xvf $CWD/fpc-$VERSION.source.tar.gz
+ fixperms
+ ln -s fpc-$VERSION fpc
+ )
+fi
+
# copy docs
mv $PKG/usr/share/doc $PKG/usr/doc
rmdir $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 20220415 bkw: compiled pascal programs don't use .rsj files at
+# runtime. see https://wiki.lazarus.freepascal.org/Using_resourcestrings
+# and note that there are no *.mo files in this package.
+rm -f $PKG/usr/bin/*.rsj
+
+# 20210905 bkw: fancier than the template, but quite a bit faster and less
+# resource-intensive.
+find $PKG -type f -a -perm /111 | \
+ xargs file -m /etc/file/magic/elf | \
+ 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 {} \;
+# we include one man page borrowed from Debian and edited for
+# grammar and accuracy.
+cat $CWD/instantfpc.1 > $PKG/usr/man/man1/instantfpc.1
+
+gzip $PKG/usr/man/man?/*.*
+
+# no idea why Debian renames instantfpc => ifpc, so support both names.
+ln -s instantfpc.1.gz $PKG/usr/man/man1/ifpc.1.gz
+ln -s instantfpc $PKG/usr/bin/ifpc
# Create compiler config file.
mkdir -p $PKG/etc $PKG/usr/lib$LIBDIRSUFFIX/fpc/$VERSION/ide/text
@@ -118,10 +208,11 @@ $PKG/usr/lib$LIBDIRSUFFIX/fpc/$VERSION/samplecfg \
$PKG/etc
# Clean up the configs by removing our package directory.
-sed -i -e "s:$PKG::g" $PKG/etc/fpc.cfg
-sed -i -e "s:$PKG::g" $PKG/etc/fppkg.cfg
-sed -i -e "s:$PKG::g" $PKG/etc/fppkg/default
-sed -i -e "s:$PKG::g" $PKG/usr/lib$LIBDIRSUFFIX/fpc/$VERSION/ide/text/fp.cfg
+sed -i -e "s:$PKG::g" \
+ $PKG/etc/fpc.cfg \
+ $PKG/etc/fppkg.cfg \
+ $PKG/etc/fppkg/default \
+ $PKG/usr/lib$LIBDIRSUFFIX/fpc/$VERSION/ide/text/fp.cfg
mv $PKG/etc/fpc.cfg $PKG/etc/fpc.cfg.new
mkdir -p $PKG/install
@@ -130,11 +221,6 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
# fix permissions for program docs and demos.
-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 {} \;
-
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+fixperms
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/fpc/fpc.info b/development/fpc/fpc.info
index dbe75c3245..2006462d53 100644
--- a/development/fpc/fpc.info
+++ b/development/fpc/fpc.info
@@ -1,14 +1,18 @@
PRGNAM="fpc"
-VERSION="3.0.4"
+VERSION="3.2.2"
HOMEPAGE="https://www.freepascal.org/"
-DOWNLOAD="https://downloads.sourceforge.net/freepascal/fpc-3.0.4.i386-linux.tar \
- https://downloads.sourceforge.net/freepascal/fpcbuild-3.0.4.tar.gz"
-MD5SUM="110522e12522caecfcca3115bd65ca07 \
- 255717e8e6fab4b472f7c7d0d08d2c4f"
-DOWNLOAD_x86_64="https://downloads.sourceforge.net/freepascal/fpc-3.0.4.x86_64-linux.tar \
- https://downloads.sourceforge.net/freepascal/fpcbuild-3.0.4.tar.gz"
-MD5SUM_x86_64="32f8baf6c89cfed6422b7e2e0f18e7a3\
- 255717e8e6fab4b472f7c7d0d08d2c4f"
+DOWNLOAD="https://downloads.sourceforge.net/project/freepascal/Linux/3.2.2/fpc-3.2.2.i386-linux.tar \
+ https://downloads.sourceforge.net/project/freepascal/Source/3.2.2/fpcbuild-3.2.2.tar.gz \
+ https://downloads.sourceforge.net/freepascal/fpc-3.2.2.source.tar.gz"
+MD5SUM="18354e51309a34b0efe7702633568a1e \
+ 3681ae4a208be4f64ec65e832a9a702d \
+ e7649ad0fc9230fdd9493a7fcabbd426"
+DOWNLOAD_x86_64="https://downloads.sourceforge.net/project/freepascal/Linux/3.2.2/fpc-3.2.2.x86_64-linux.tar \
+ https://downloads.sourceforge.net/project/freepascal/Source/3.2.2/fpcbuild-3.2.2.tar.gz \
+ https://downloads.sourceforge.net/freepascal/fpc-3.2.2.source.tar.gz"
+MD5SUM_x86_64="0186779de0c9caee073fc1394afbee56 \
+ 3681ae4a208be4f64ec65e832a9a702d \
+ e7649ad0fc9230fdd9493a7fcabbd426"
REQUIRES=""
-MAINTAINER="Capi X."
-EMAIL="capi_x@haibane.org"
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/fpc/instantfpc.1 b/development/fpc/instantfpc.1
new file mode 100644
index 0000000000..d82eddf644
--- /dev/null
+++ b/development/fpc/instantfpc.1
@@ -0,0 +1,82 @@
+.TH instantfpc 1 "5 Sep 2021" "Free Pascal" "Instant pascal code interpreter"
+.SH NAME
+instantfpc \- The Free Pascal Interpreter.
+
+.SH SYNOPSIS
+
+.B instantfpc
+[\fI\-h\fR] [\fI\-v\fR] [\fIcompiler options\fR] <\fIsource file\fR>
+[\fIprogram arguments\fR]
+
+.SH DESCRIPTION
+
+.B instantfpc
+is a Pascal code interpreter program. It compiles source and runs the
+generated program. It allows Pascal source code to be treated like a script,
+by placing
+.B #!/usr/bin/env instantfpc
+as the 'shebang' line at the top of the Pascal source file.
+
+To avoid recompiling source when it hasn't changed,
+.B instantfpc
+keeps a cache (see
+.B \-\-set\-cache
+option). When
+.B instantfpc
+is run,
+the source is compared with the cache. If the cached source is not valid, then source is
+copied to the cache with the shebang line commented out, and the cached source is compiled.
+If compilation fails, the \fBfpc\fR output is written to stdout and an exit code of 1
+is returned.
+
+If compilation is successful, the program is executed.
+If \fIprogram arguments\fR were given, they are passed to the compiled program
+when it is run.
+
+If the compiler options contains \fB\-B\fR, the program is always recompiled.
+
+If the environment variable
+.B INSTANTFPCOPTIONS
+is set, it is passed to the compiler as
+the first argument(s).
+
+.SH NOTE
+
+.B instantfpc
+is also installed as
+.B ifpc
+for compatibility with older versions of Free Pascal.
+
+.SH USAGE
+
+.B instantfpc
+takes the following arguments:
+.TP
+.B \-h
+Prints this help message and exit.
+.TP
+.B \-v
+Prints version and exit.
+.TP
+.B \-\-get\-cache
+Prints current cache directory and exit.
+.TP
+.B \-\-set\-cache=<path to cache>
+Set the cache to be used. Otherwise uses environment variable
+.B INSTANTFPCCACHE
+if set, or
+.B $HOME/.cache/instantfpc/
+otherwise.
+.TP
+.B \-\-compiler=<path to compiler>
+Normally \fBfpc\fR is searched in PATH and used as compiler.
+.TP
+.B \-\-skip\-run
+Do not execute the program. Useful to test if script compiles.
+.TP
+.B \-B
+Always recompile.
+
+.SH SEE ALSO
+.IP
+.BR fpc (1)
diff --git a/development/fpc/patches/Fix-liking-with-libc-when-PIC-is-enabled.patch b/development/fpc/patches/Fix-liking-with-libc-when-PIC-is-enabled.patch
new file mode 100644
index 0000000000..096c058912
--- /dev/null
+++ b/development/fpc/patches/Fix-liking-with-libc-when-PIC-is-enabled.patch
@@ -0,0 +1,24 @@
+From: Florian Klämpfl <florian@freepascal.org>
+Date: Mon Aug 3 19:42:14 2020 UTC
+Description: @PLT is needed for calls to link it properly with pic code
+
+--- fpc.orig/fpcsrc/rtl/linux/x86_64/si_c.inc
++++ fpc/fpcsrc/rtl/linux/x86_64/si_c.inc
+@@ -86,7 +86,7 @@
+
+ { start the program }
+ xorq %rbp,%rbp
+- call PASCALMAIN
++ call PASCALMAIN@PLT
+ {$endif FPC_HAS_INDIRECT_ENTRY_INFORMATION}
+ hlt
+ end;
+@@ -162,7 +162,7 @@
+
+ { Call the user's main function, and exit with its value.
+ But let the libc call main. }
+- call libc_start_main
++ call libc_start_main@PLT
+
+ hlt { Crash if somehow `exit' does return. }
+ end;
diff --git a/development/fpc/patches/fix-IDE-data-file-location.patch b/development/fpc/patches/fix-IDE-data-file-location.patch
new file mode 100644
index 0000000000..3ab047f40a
--- /dev/null
+++ b/development/fpc/patches/fix-IDE-data-file-location.patch
@@ -0,0 +1,69 @@
+Description: Align fp IDE template file paths with Debian standards
+ The fp IDE looks for template files in /usr/bin where itself is installed.
+ However this is not conform with Debian stadard for file locations.
+ This patch fixes this by making the IDE looking for templates in the base
+ installation directory.
+Author: Abou Al Montacir <abou.almontacir@sfr.fr>
+Index: fpc/fpcsrc/packages/ide/fpmake.pp
+===================================================================
+--- fpc.orig/fpcsrc/packages/ide/fpmake.pp
++++ fpc/fpcsrc/packages/ide/fpmake.pp
+@@ -282,16 +282,16 @@ begin
+ T.Directory:='compiler';
+ T.Install:=false;
+
+- P.InstallFiles.Add('fp.ans','$(bininstalldir)');
+- P.InstallFiles.Add('gplprog.pt','$(bininstalldir)');
+- P.InstallFiles.Add('gplunit.pt','$(bininstalldir)');
+- P.InstallFiles.Add('program.pt','$(bininstalldir)');
+- P.InstallFiles.Add('unit.pt','$(bininstalldir)');
+- P.InstallFiles.Add('cvsco.tdf','$(bininstalldir)');
+- P.InstallFiles.Add('cvsdiff.tdf','$(bininstalldir)');
+- P.InstallFiles.Add('cvsup.tdf','$(bininstalldir)');
+- P.InstallFiles.Add('grep.tdf','$(bininstalldir)');
+- P.InstallFiles.Add('tpgrep.tdf','$(bininstalldir)');
++ P.InstallFiles.Add('fp.ans','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('gplprog.pt','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('gplunit.pt','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('program.pt','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('unit.pt','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('cvsco.tdf','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('cvsdiff.tdf','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('cvsup.tdf','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('grep.tdf','$(baseinstalldir)/ide');
++ P.InstallFiles.Add('tpgrep.tdf','$(baseinstalldir)/ide');
+ P.InstallFiles.Add('fp32.ico', [win32, win64], '$(bininstalldir)');
+
+ with P.Sources do
+Index: fpc/fpcsrc/packages/ide/fpini.pas
+===================================================================
+--- fpc.orig/fpcsrc/packages/ide/fpini.pas
++++ fpc/fpcsrc/packages/ide/fpini.pas
+@@ -178,12 +178,12 @@ begin
+ end;
+ {$endif WINDOWS}
+ {$else}
+- SystemIDEDir:=FExpand(DirOf(system.paramstr(0))+'../lib/fpc/'+version_string+'/ide/text');
++ SystemIDEDir:=FExpand(DirOf(system.paramstr(0))+'../lib/fpc/'+version_string+'/ide');
+ If Not ExistsDir(SystemIDEdir) Then
+ begin
+- SystemIDEDir:=FExpand(DirOf(system.paramstr(0))+'../lib64/fpc/'+version_string+'/ide/text');
++ SystemIDEDir:=FExpand(DirOf(system.paramstr(0))+'../lib64/fpc/'+version_string+'/ide');
+ If Not ExistsDir(SystemIDEdir) Then
+- SystemIDEDir:='/usr/lib/fpc/'+version_string+'/ide/text';
++ SystemIDEDir:='/usr/lib/fpc/'+version_string+'/ide';
+ end;
+ IDEdir:=CompleteDir(FExpand('~/.fp'));
+ If Not ExistsDir(IDEdir) Then
+Index: fpc/fpcsrc/packages/ide/fptemplt.pas
+===================================================================
+--- fpc.orig/fpcsrc/packages/ide/fptemplt.pas
++++ fpc/fpcsrc/packages/ide/fptemplt.pas
+@@ -280,6 +280,7 @@ begin
+ New(Templates, Init(10,10));
+ ScanDir('.');
+ ScanDir(IDEDir);
++ ScanDir(SystemIDEDir);
+ end;
+
+
diff --git a/development/fpc/patches/glibc2.34.patch b/development/fpc/patches/glibc2.34.patch
new file mode 100644
index 0000000000..5a54a6bd1c
--- /dev/null
+++ b/development/fpc/patches/glibc2.34.patch
@@ -0,0 +1,188 @@
+Description: Adjust startup code for glibc 2.34
+ Based on the corresponding changes made in glibc:
+ https://sourceware.org/git/?p=glibc.git;a=commit;h=035c012e32c11e84d64905efaf55e74f704d3668
+Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
+Author: Graham Inggs <ginggs@debian.org>
+Last-Update: 2022-08-12
+
+--- a/fpcsrc/rtl/linux/powerpc64/cprt0.as
++++ b/fpcsrc/rtl/linux/powerpc64/cprt0.as
+@@ -351,8 +351,8 @@
+ start_addresses:
+ .quad 0 /* was _SDA_BASE_ but not in 64-bit ABI*/
+ .quad main_stub
+- .quad __libc_csu_init
+- .quad __libc_csu_fini
++ .quad 0
++ .quad 0
+ .size start_adresses, .-start_addresses
+
+ /*
+--- a/fpcsrc/rtl/linux/powerpc64/gprt0.as
++++ b/fpcsrc/rtl/linux/powerpc64/gprt0.as
+@@ -351,8 +351,8 @@
+ start_addresses:
+ .quad 0 /* was _SDA_BASE_ but not in 64-bit ABI*/
+ .quad main_stub
+- .quad __libc_csu_init
+- .quad __libc_csu_fini
++ .quad 0
++ .quad 0
+ .size start_adresses, .-start_addresses
+
+ /*
+--- a/fpcsrc/rtl/linux/aarch64/cprt0.as
++++ b/fpcsrc/rtl/linux/aarch64/cprt0.as
+@@ -41,10 +41,8 @@
+ init, fini, rtld_fini, stack_end) */
+ adrp x0,:got:PASCALMAIN
+ ldr x0,[x0,#:got_lo12:PASCALMAIN]
+- adrp x3,:got:__libc_csu_init
+- ldr x3,[x3,#:got_lo12:__libc_csu_init]
+- adrp x4,:got:__libc_csu_fini
+- ldr x4,[x4,#:got_lo12:__libc_csu_fini]
++ mov x3, #0
++ mov x4, #0
+ bl __libc_start_main
+
+ /* This should never happen */
+--- a/fpcsrc/rtl/linux/i386/si_c21.inc
++++ b/fpcsrc/rtl/linux/i386/si_c21.inc
+@@ -35,8 +35,6 @@
+
+ {$asmmode att}
+
+-procedure __libc_csu_init; cdecl; external;
+-procedure __libc_csu_fini; cdecl; external;
+ procedure libc_start_main; external name '__libc_start_main';
+ procedure libc_exit(code: longint); cdecl; external name 'exit';
+
+@@ -93,8 +91,8 @@
+ pushl %esp { stack_end }
+ pushl %edx { function to be registered with
+ atexit(), passed by loader }
+- pushl $__libc_csu_fini
+- pushl $__libc_csu_init
++ pushl $0
++ pushl $0
+ pushl %esi { Push second argument: argv. }
+ pushl %ecx { Push first argument: argc. }
+
+--- a/fpcsrc/rtl/linux/x86_64/cprt0.as
++++ b/fpcsrc/rtl/linux/x86_64/cprt0.as
+@@ -61,9 +61,8 @@
+ which grow downwards). */
+ pushq %rsp
+
+- /* Pass address of our own entry points to .fini and .init. */
+- movq __libc_csu_init@GOTPCREL(%rip), %rcx
+- movq __libc_csu_fini@GOTPCREL(%rip), %r8
++ xorl %r8d, %r8d
++ xorl %ecx, %ecx
+
+ movq main_stub@GOTPCREL(%rip), %rdi
+
+--- a/fpcsrc/rtl/linux/arm/cprt0.as
++++ b/fpcsrc/rtl/linux/arm/cprt0.as
+@@ -82,10 +82,10 @@
+
+ /* Set up the other arguments in registers */
+ ldr a1, =PASCALMAIN
+- ldr a4, =_init
++ ldr a4, = #0
+
+ /* Push fini */
+- str ip, [sp, #-4]!
++ str a4, [sp, #-4]!
+
+ /* __libc_start_main (main, argc, argv, init, fini, rtld_fini, stack_end) */
+
+--- a/fpcsrc/rtl/linux/powerpc64/si_g.inc
++++ b/fpcsrc/rtl/linux/powerpc64/si_g.inc
+@@ -657,9 +657,6 @@
+ Process start/halt
+ ******************************************************************************}
+
+-procedure __libc_csu_init; cdecl; external;
+-procedure __libc_csu_fini; cdecl; external;
+-
+ procedure __libc_start_main(r3,r4,r5,r6,r7,r8,r9: pointer); cdecl; external;
+
+ type
+@@ -745,8 +742,8 @@
+ end
+ = (sda_base: nil; {* was _SDA_BASE_ but not in 64-bit ABI }
+ main: @main_stub;
+- libc_csu_init: @__libc_csu_init;
+- libc_csu_fini: @__libc_csu_fini
++ libc_csu_init: pointer(0);
++ libc_csu_fini: pointer(0)
+ );
+
+ procedure call_libc_start_main(r3,r4,r5,r6,r7,r8,r9: pointer); cdecl;
+--- a/fpcsrc/rtl/linux/powerpc64/si_c.inc
++++ b/fpcsrc/rtl/linux/powerpc64/si_c.inc
+@@ -657,9 +657,6 @@
+ Process start/halt
+ ******************************************************************************}
+
+-procedure __libc_csu_init; cdecl; external;
+-procedure __libc_csu_fini; cdecl; external;
+-
+ procedure __libc_start_main(r3,r4,r5,r6,r7,r8,r9: pointer); cdecl; external;
+
+ var
+@@ -724,8 +721,8 @@
+ end
+ = (sda_base: nil; {* was _SDA_BASE_ but not in 64-bit ABI }
+ main: @main_stub;
+- libc_csu_init: @__libc_csu_init;
+- libc_csu_fini: @__libc_csu_fini
++ libc_csu_init: pointer(0);
++ libc_csu_fini: pointer(0)
+ );
+
+
+--- a/fpcsrc/rtl/linux/powerpc/cprt0.as
++++ b/fpcsrc/rtl/linux/powerpc/cprt0.as
+@@ -35,8 +35,8 @@
+ start_addresses:
+ .long _SDA_BASE_
+ .long main_stub
+- .long __libc_csu_init
+- .long __libc_csu_fini
++ .long 0
++ .long 0
+ .size start_adresses, .-start_addresses
+
+ .section ".text"
+--- a/fpcsrc/rtl/linux/mips/cprt0.as
++++ b/fpcsrc/rtl/linux/mips/cprt0.as
+@@ -113,10 +113,9 @@
+ and $29, -2 * 4
+ subu $29, 32
+
+- lw $7,%got(__libc_csu_init)($gp) /* init */
+- lw $8,%got(__libc_csu_fini)($gp) /* fini */
++ move $7, $0
+
+- sw $8, 16($29) /* fini */
++ sw $0, 16($29)
+ sw $2, 20($29) /* rtld_fini */
+ sw $29, 24($29) /* stack_end */
+
+--- a/fpcsrc/rtl/linux/m68k/cprt0.as
++++ b/fpcsrc/rtl/linux/m68k/cprt0.as
+@@ -41,8 +41,10 @@
+
+ pea (%sp) /* highest available stack address */
+ pea (%a1) /* termination function provided by kernel */
+- pea __libc_csu_fini
+- pea __libc_csu_init
++
++ clr.l -(%sp)
++ clr.l -(%sp)
++
+ pea (%a0) /* argv */
+ move.l %d0,-(%sp) /* argc */
+ pea PASCALMAIN
diff --git a/development/fpc/patches/honor_SOURCE_DATE_EPOCH_in_date.patch b/development/fpc/patches/honor_SOURCE_DATE_EPOCH_in_date.patch
new file mode 100644
index 0000000000..ffe63809b2
--- /dev/null
+++ b/development/fpc/patches/honor_SOURCE_DATE_EPOCH_in_date.patch
@@ -0,0 +1,55 @@
+Description: Reproducible builds requires that the build time stamp is not
+ recorded in binaries. In FPC they are fuild in via the $INCLUDE %DATE%
+ directive which calls getdatestr in globals.pas. To allow reproducible builds
+ we should honor the SOURCE_DATE_EPOCH environment variable. To not depend on
+ the dateutil unit, we include the required code from that package here.
+Author: Paul Gevers <elbrus@debian.org>
+Author: Abou Al Montacir <abou.almontacir@sfr.fr>
+
+Index: fpc/fpcsrc/compiler/globals.pas
+===================================================================
+--- fpc.orig/fpcsrc/compiler/globals.pas
++++ fpc/fpcsrc/compiler/globals.pas
+@@ -559,6 +559,7 @@ interface
+ startsystime : TSystemTime;
+
+ function getdatestr:string;
++ Function UnixToDateTime(const AValue: Int64): TDateTime;
+ function gettimestr:string;
+ function filetimestring( t : longint) : string;
+ function getrealtime(const st: TSystemTime) : real;
+@@ -816,12 +817,34 @@ implementation
+ get the current date in a string YY/MM/DD
+ }
+ var
++ Year,Month,Day: Word;
+ st: TSystemTime;
++ SourceDateEpoch: string;
+ begin
++ SourceDateEpoch := GetEnvironmentVariable('SOURCE_DATE_EPOCH');
++ if Length(SourceDateEpoch)>0 then
++ begin
++ DecodeDate(UnixToDateTime(StrToInt64(SourceDateEpoch)),Year,Month,Day);
++ getdatestr:=L0(Year)+'/'+L0(Month)+'/'+L0(Day);
++ end
++ else
++ begin
+ GetLocalTime(st);
+ getdatestr:=L0(st.Year)+'/'+L0(st.Month)+'/'+L0(st.Day);
++ end;
+ end;
+
++ Function UnixToDateTime(const AValue: Int64): TDateTime;
++ { Code copied from fpcsrc/packages/rtl-objpas/src/inc/dateutil.inc and
++ fpcsrc/rtl/objpas/sysutils/datih.inc }
++ const
++ TDateTimeEpsilon = 2.2204460493e-16 ;
++ UnixEpoch = TDateTime(-2415018.5) + TDateTime(2440587.5) ;
++ begin
++ Result:=UnixEpoch + AValue/SecsPerDay;
++ if (UnixEpoch>=0) and (Result<-TDateTimeEpsilon) then
++ Result:=int(Result-1.0+TDateTimeEpsilon)-frac(1.0+frac(Result));
++ end;
+
+ function filetimestring( t : longint) : string;
+ {
diff --git a/development/fpc/slack-desc b/development/fpc/slack-desc
index 63a715ceaa..ac50d2fc16 100644
--- a/development/fpc/slack-desc
+++ b/development/fpc/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-fpc: fpc (Free Pascal is a Pascal compiler)
+fpc: fpc (free pascal compiler)
fpc:
fpc: Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal
fpc: compiler. It is available for different processors: Intel x86,
diff --git a/development/freetds/freetds.SlackBuild b/development/freetds/freetds.SlackBuild
index 826125272e..b18484af3f 100644
--- a/development/freetds/freetds.SlackBuild
+++ b/development/freetds/freetds.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for freetds
@@ -22,26 +22,36 @@
# 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=freetds
-VERSION=${VERSION:-1.00.9}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.00.99}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -101,9 +111,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO $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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/freetds/freetds.info b/development/freetds/freetds.info
index 530fdb3b51..81e2313fd5 100644
--- a/development/freetds/freetds.info
+++ b/development/freetds/freetds.info
@@ -1,8 +1,8 @@
PRGNAM="freetds"
-VERSION="1.00.9"
+VERSION="1.00.99"
HOMEPAGE="http://www.freetds.org/"
-DOWNLOAD="ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.9.tar.gz"
-MD5SUM="9f3518c9763f195eca119e4ee504be8d"
+DOWNLOAD="ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.99.tar.gz"
+MD5SUM="32777effeb8e45daa5890ef5ad636230"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/frobtads/frobtads.SlackBuild b/development/frobtads/frobtads.SlackBuild
index d4066290cf..e02d20c584 100644
--- a/development/frobtads/frobtads.SlackBuild
+++ b/development/frobtads/frobtads.SlackBuild
@@ -1,21 +1,23 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for frobtads
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# Note: the homepage shows 1.2.3 as the latest release, but the github
-# page has 1.2.4, which includes the resource compiler (which seems
-# pretty important).
-
# TODO: maybe write some man pages.
+# 20220318 bkw: fix build on 32-bit. for some reason, 32-bit needs
+# -fpermissive, thought 64-bit does not.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=frobtads
-VERSION=${VERSION:-1.2.4}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -25,7 +27,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -56,35 +62,33 @@ 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 {} \+
-# I thought to use --enable-t3debug, but that turns out to be for
-# debugging the tads3 compiler itself, not the tads code it's compiling.
-# Not useful to anyone but upstream... --enable-frobd might be of use
-# to someone, though it requires an external debugger (not included here).
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --enable-frobd \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make V=1
-make install-strip DESTDIR=$PKG
+# upstream hardcoded the share/doc stuff. hate.
+sed -i 's,share/doc,doc,' CMCommon.cmake
+
+# ENABLE_FROBD might be of use to someone, though it requires an
+# external debugger (not included here).
+mkdir -p build
+cd build
+ cmake \
+ -DENABLE_FROBD=ON \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -fpermissive -DNDEBUG" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $DOCDIR
-# don't need these in the pkg:
-rm -f doc/INSTALL doc/MacOSX
-cp -a doc/* $DOCDIR
ln -s ../../share/$PRGNAM/tads3/doc $DOCDIR/tads3_doc
+ln -s index.htm $DOCDIR/tads3_doc/index.html
cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/frobtads/frobtads.info b/development/frobtads/frobtads.info
index c9351e215f..2ea2247971 100644
--- a/development/frobtads/frobtads.info
+++ b/development/frobtads/frobtads.info
@@ -1,10 +1,10 @@
PRGNAM="frobtads"
-VERSION="1.2.4"
+VERSION="2.0"
HOMEPAGE="https://www.tads.org/frobtads.htm"
-DOWNLOAD="https://github.com/realnc/frobtads/releases/download/1.2.4/frobtads-1.2.4.tar.bz2"
-MD5SUM="d4a5b8863664998fb989f3fdd2f63de6"
+DOWNLOAD="https://github.com/realnc/frobtads/releases/download/v2.0/frobtads-2.0.tar.bz2"
+MD5SUM="5188944620298695508b9b41a2dba49c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/fsharp/README b/development/fsharp/README
deleted file mode 100644
index 2c0b2cfab1..0000000000
--- a/development/fsharp/README
+++ /dev/null
@@ -1,3 +0,0 @@
-F# is a mature, open source, cross-platform, functional-first
-programming language. It empowers users and organizations to tackle
-complex computing problems with simple, maintainable and robust code.
diff --git a/development/fsharp/doinst.sh b/development/fsharp/doinst.sh
deleted file mode 100644
index 92eb273a89..0000000000
--- a/development/fsharp/doinst.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
diff --git a/development/fsharp/fsharp.SlackBuild b/development/fsharp/fsharp.SlackBuild
deleted file mode 100644
index 8b1032f6ed..0000000000
--- a/development/fsharp/fsharp.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for FSharp
-# Written by Steven Vch. <unstatik@staremax.com>
-
-PRGNAM=fsharp
-VERSION=${VERSION:-4.0.1.20}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-MONO_BIN=`which mono`
-MOZROOTS_BIN=`which mozroots`
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i686 -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 {} \;
-
-
-# manual update system certificates
-$MOZROOTS_BIN --import --machine --sync
-
-$MONO_BIN ./.nuget/NuGet.exe install FsCheck
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
- --prefix /usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-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-* LICENSE README* CONTRIBUTING* ISSUE_TEMPLATE* $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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/fsharp/fsharp.info b/development/fsharp/fsharp.info
deleted file mode 100644
index 8cbf590487..0000000000
--- a/development/fsharp/fsharp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="fsharp"
-VERSION="4.0.1.20"
-HOMEPAGE="https://github.com/fsharp/fsharp"
-DOWNLOAD="https://github.com/fsharp/fsharp/archive/4.0.1.20/fsharp-4.0.1.20.tar.gz"
-MD5SUM="05cca1275956603f497db36a1d6d891c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="mono"
-MAINTAINER="Steven Vch."
-EMAIL="unstatik@staremax.com"
diff --git a/development/fsharp/slack-desc b/development/fsharp/slack-desc
deleted file mode 100644
index 0896c8ff21..0000000000
--- a/development/fsharp/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------------------------------------------------------|
-fsharp: fsharp (.Net language)
-fsharp:
-fsharp: F# is a mature, open source, cross-platform, functional-first
-fsharp: programming language. It empowers users and organizations to tackle
-fsharp: complex computing problems with simple, maintainable and robust code.
-fsharp:
-fsharp: Homepage: https://github.com/fsharp/fsharp
-fsharp:
-fsharp:
-fsharp:
-fsharp:
diff --git a/development/ftjam/ftjam.SlackBuild b/development/ftjam/ftjam.SlackBuild
index 3a26e8453d..97d16eb10e 100644
--- a/development/ftjam/ftjam.SlackBuild
+++ b/development/ftjam/ftjam.SlackBuild
@@ -1,16 +1,17 @@
-#!/bin/sh
+#!/bin/bash -e
# Slackware build script for ftjam
# Written by Ferenc Deak <ferenc.deak@gmail.com>
# Modified (slightly) by the SlackBuilds.org project
-set -e
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ftjam
VERSION=${VERSION:-2.5.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -20,7 +21,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -48,9 +53,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Version 2.5.2 will not build without -fno-strict-aliasing.
# Works around a ftjam bug where jam0 segfaults.
@@ -66,12 +71,13 @@ make install DESTDIR=$PKG
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 README CHANGES RELNOTES Jambase *.html $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+install -m0644 README CHANGES RELNOTES Jambase *.html $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ftnchek/ftnchek.SlackBuild b/development/ftnchek/ftnchek.SlackBuild
index 8235fd37b4..f976bce66a 100644
--- a/development/ftnchek/ftnchek.SlackBuild
+++ b/development/ftnchek/ftnchek.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ftnchek
# Originally written by Pablo Santamaria (email removed)
-# Now maintained by B. Watson <yalhcru@gmail.com>. Original version
+# Now maintained by B. Watson <urchlay@slackware.uk>. Original version
# had no license, modified version released under the WTFPL. See
# http://www.wtfpl.net/txt/copying/ for details.
@@ -16,10 +16,13 @@
# - reflow README, make slack-desc a bit more verbose
# - minor cosmetic fixes
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ftnchek
VERSION=${VERSION:-3.3.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -29,7 +32,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -57,11 +64,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 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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,4 +88,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ftnchek/ftnchek.info b/development/ftnchek/ftnchek.info
index 731d311e65..4603a421d4 100644
--- a/development/ftnchek/ftnchek.info
+++ b/development/ftnchek/ftnchek.info
@@ -1,10 +1,10 @@
PRGNAM="ftnchek"
VERSION="3.3.1"
-HOMEPAGE="http://www.dsm.fordham.edu/~ftnchek/"
-DOWNLOAD="http://www.dsm.fordham.edu/~ftnchek/download/ftnchek-3.3.1.tar.gz"
+HOMEPAGE="https://www.dsm.fordham.edu/~ftnchek/"
+DOWNLOAD="https://www.dsm.fordham.edu/~ftnchek/download/ftnchek-3.3.1.tar.gz"
MD5SUM="e1f4ce51ea1a85e7b080ab5d23013f97"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/fuel/README b/development/fuel/README
deleted file mode 100644
index ff72f85181..0000000000
--- a/development/fuel/README
+++ /dev/null
@@ -1,5 +0,0 @@
-fuel (GUI front-end for Fossil)
-
-Fuel is cross-platform GUI front-end for the excellent Fossil SCM tool
-written in Qt. Fuel runs on Windows, OSX as well as various flavors
-of Unix including Linux and FreeBSD.
diff --git a/development/fuel/fuel.SlackBuild b/development/fuel/fuel.SlackBuild
deleted file mode 100644
index 077fd340d6..0000000000
--- a/development/fuel/fuel.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for fuel.
-#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# 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.
-
-PRGNAM=fuel
-VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-qmake fuel.pro
-make
-make INSTALL_ROOT=$PKG install
-
-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 doc/{Building.md,Changes.md,License.txt} $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/fuel/fuel.info b/development/fuel/fuel.info
deleted file mode 100644
index 76323862a4..0000000000
--- a/development/fuel/fuel.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="fuel"
-VERSION="1.0.1"
-HOMEPAGE="https://fuel-scm.org/fossil/home"
-DOWNLOAD="https://fuel-scm.org/files/releases/fuel-1.0.1.tar.gz"
-MD5SUM="2dc6067711d7aff02bbe1b1585e55108"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="fossil"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/fuel/slack-desc b/development/fuel/slack-desc
deleted file mode 100644
index dc34e00873..0000000000
--- a/development/fuel/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------------------------------------------------------|
-fuel: fuel (GUI front-end for Fossil)
-fuel:
-fuel: Fuel is cross-platform GUI front-end for the excellent Fossil SCM tool
-fuel: written in Qt. Fuel runs on Windows, OSX as well as various flavors
-fuel: of Unix including Linux and FreeBSD.
-fuel:
-fuel: Home page: https://fuel-scm.org/fossil/home/
-fuel:
-fuel:
-fuel:
-fuel:
diff --git a/development/g3log/g3log.SlackBuild b/development/g3log/g3log.SlackBuild
index f2f4617633..47596da0ac 100644
--- a/development/g3log/g3log.SlackBuild
+++ b/development/g3log/g3log.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for G3log
@@ -22,10 +22,13 @@
# 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=g3log
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -99,4 +109,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gambas3/README b/development/gambas3/README
index bdcd0affcd..d3f5e44742 100644
--- a/development/gambas3/README
+++ b/development/gambas3/README
@@ -1,18 +1,14 @@
Gambas is a free IDE based on a Basic interpreter with object
extensions, a bit like Visual Basic. With Gambas, you can quickly
-design your program GUI with Qt5, Qt4 or GTK+, access MySQL, PostgreSQL,
-ODBC and SQLite databases, pilot applications with D-Bus, translate
+design your program GUI with Qt5 or GTK+, access MySQL, PostgreSQL,
+ODBC and SQLite3 databases, pilot applications with D-Bus, translate
your program into any language, create network applications easily,
make 3D OpenGL applications, make CGI web applications, and so on.
-alure, gtkglext, imlib2, unixODBC, sqlite2, postgresql, SDL2_image,
-SDL2_ttf, SDL2_mixer, translate-shell and qt5-webkit are optional
-dependencies.
+unixODBC, postgresql, and translate-shell are optional dependencies.
Note: You should uninstall any present version of gambas before
-creating this package. To enable JIT please install llvm from extra.
+creating this package.
The Gambas ide can create slackware packages of your gambas programs,
but bear in mind that the install location is fixed as /usr/bin
-
-note: installing llvm from slackware/extra is recommended.
diff --git a/development/gambas3/gambas3.SlackBuild b/development/gambas3/gambas3.SlackBuild
index 0c045bc004..5073e7b417 100644
--- a/development/gambas3/gambas3.SlackBuild
+++ b/development/gambas3/gambas3.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Gambas 3
-# updates since version 3.11.2 Copyright 2018-2020 Tim Dickson dickson.tim@googlemail.com
+# Copyright 2018-2024 Tim Dickson dickson.tim@googlemail.com
# Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
#
@@ -23,11 +23,14 @@
# 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=gambas3
SRCNAM=gambas
-VERSION=${VERSION:-3.15.2}
+VERSION=${VERSION:-3.19.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -57,7 +67,8 @@ else
fi
set -e
-if [ "x`ls /var/log/packages|grep ^$PRGNAM|wc -l`" = "x1" ]; then
+#check updated for slackware 15 for new package location
+if [ "x`ls -H /var/lib/pkgtools/packages|grep ^$PRGNAM|wc -l`" = "x1" ]; then
#current installs of gambas should be uninstalled before
#attempting to create this gambas3 package
echo "you must uninstall $PRGNAM before creating package $PRGNAM ver $VERSION"
@@ -90,23 +101,24 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/usr/share/icons/hicolor/{scalable/apps,48x48/apps,64x64/mimetypes}
+chmod 644 app/desktop/$PRGNAM.svg
cp -a app/desktop/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps
-cp -a app/desktop/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps
-cp -a app/mime/application-x-${SRCNAM}{script,serverpage}.png \
- $PKG/usr/share/icons/hicolor/64x64/mimetypes
-cp -a main/mime/application-x-$PRGNAM.png \
- $PKG/usr/share/icons/hicolor/64x64/mimetypes
+convert -resize 48x48 app/desktop/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
+convert -resize 64x64 app/mime/application-x-${SRCNAM}script.png $PKG/usr/share/icons/hicolor/64x64/mimetypes/script.png
+convert -resize 64x64 app/mime/application-x-${SRCNAM}serverpage.png $PKG/usr/share/icons/hicolor/64x64/mimetypes/serverpage.png
+convert -resize 64x64 main/mime/application-x-$PRGNAM.png $PKG/usr/share/icons/hicolor/64x64/mimetypes/application-x-$PRGNAM.png
mkdir -p $PKG/usr/share/{applications,mime/packages}
cp -a app/desktop/$PRGNAM.desktop $PKG/usr/share/applications
+chmod 644 $PKG/usr/share/applications/$PRGNAM.desktop
cp -a app/mime/application-x-${SRCNAM}{script,serverpage}.xml \
$PKG/usr/share/mime/packages
+chmod -x $PKG/usr/share/appdata/$PRGNAM.appdata.xml
cp -a main/mime/application-x-$PRGNAM.xml $PKG/usr/share/mime/packages
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
#ChangeLog is empty so miss out for now
-cp -a COPYING INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -114,4 +126,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gambas3/gambas3.info b/development/gambas3/gambas3.info
index 696eca2bbc..b4eec44fb7 100644
--- a/development/gambas3/gambas3.info
+++ b/development/gambas3/gambas3.info
@@ -1,10 +1,10 @@
PRGNAM="gambas3"
-VERSION="3.15.2"
-HOMEPAGE="http://gambas.sourceforge.net"
-DOWNLOAD="https://gitlab.com/gambas/gambas/-/archive/3.15.2/gambas-3.15.2.tar.bz2"
-MD5SUM="f5ec25ef9b3097593fb189171a4f2b8b"
+VERSION="3.19.1"
+HOMEPAGE="https://gambas.sourceforge.net"
+DOWNLOAD="https://gitlab.com/gambas/gambas/-/archive/3.19.1/gambas-3.19.1.tar.bz2"
+MD5SUM="5e0d6f2b7b13625e137f519b967d494b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES="alure gtkglext webkit2gtk imlib %README%"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"
diff --git a/development/gambas3/slack-desc b/development/gambas3/slack-desc
index c48075839e..480915afc2 100644
--- a/development/gambas3/slack-desc
+++ b/development/gambas3/slack-desc
@@ -10,8 +10,8 @@ gambas3: gambas3 (Gambas Almost Means BASic)
gambas3:
gambas3: Gambas is a free IDE based on a Basic interpreter with object
gambas3: extensions, a bit like Visual Basic. With Gambas, you can quickly
-gambas3: design your program GUI with Qt4 or GTK+, access MySQL, PostgreSQL,
-gambas3: ODBC and SQLite databases, pilot applications with D-Bus, translate
+gambas3: design your program GUI with Qt5 or GTK+, access MySQL, PostgreSQL,
+gambas3: ODBC and SQLite3 databases, pilot applications with D-Bus, translate
gambas3: your program into any language, create network applications easily,
gambas3: make 3D OpenGL applications, make CGI web applications, and so on.
gambas3:
diff --git a/development/gambit/gambit.SlackBuild b/development/gambit/gambit.SlackBuild
index 214b22b593..91cb9b1352 100644
--- a/development/gambit/gambit.SlackBuild
+++ b/development/gambit/gambit.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gambit
# Written by Brian P. O'Hanlon <brainpo -at- gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="gambit"
VERSION=${VERSION:-4.6.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SOURCE_BASE="gambc-v$(echo $VERSION | tr \. _)-devel"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -85,5 +95,5 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gaphor/README b/development/gaphor/README
deleted file mode 100644
index 27921c8bf9..0000000000
--- a/development/gaphor/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Gaphor is a UML modeling tool written in Python. It uses the GTK+
-environment for user interaction.
diff --git a/development/gaphor/gaphor.SlackBuild b/development/gaphor/gaphor.SlackBuild
deleted file mode 100644
index 2edbe6a657..0000000000
--- a/development/gaphor/gaphor.SlackBuild
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gaphor
-
-# Copyright 2014 Mikko Värri, Finland
-# 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.
-
-PRGNAM=gaphor
-VERSION=${VERSION:-0.17.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING FAQ HACKING NEWS 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:-tgz}
diff --git a/development/gaphor/gaphor.info b/development/gaphor/gaphor.info
deleted file mode 100644
index 5882ff470c..0000000000
--- a/development/gaphor/gaphor.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gaphor"
-VERSION="0.17.2"
-HOMEPAGE="https://pypi.python.org/pypi/gaphor"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/gaphor-0.17.2.tar.gz"
-MD5SUM="f42e27a082a0890baf626dd70e17ca95"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="etk.docking zope.component gaphas"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
diff --git a/development/gaphor/slack-desc b/development/gaphor/slack-desc
deleted file mode 100644
index 31814412c4..0000000000
--- a/development/gaphor/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------------------------------------------------------|
-gaphor: gaphor (UML modeling tool)
-gaphor:
-gaphor: Gaphor is a UML modeling tool written in Python. It uses the GTK+
-gaphor: environment for user interaction.
-gaphor:
-gaphor:
-gaphor:
-gaphor:
-gaphor:
-gaphor:
-gaphor:
diff --git a/development/gauche/gauche.SlackBuild b/development/gauche/gauche.SlackBuild
index a4d433a979..c6d282a26d 100644
--- a/development/gauche/gauche.SlackBuild
+++ b/development/gauche/gauche.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for gauche
#
@@ -27,10 +27,13 @@
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gauche
-VERSION=${VERSION:-0.9.5}
+VERSION=${VERSION:-0.9.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -97,12 +107,12 @@ find $PKG/usr/info -type f -exec gzip -9 {} \;
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog Gauche.spec HACKING INSTALL INSTALL.ja \
- NEWS README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog Gauche.spec \
+ *.adoc VERSION $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gauche/gauche.info b/development/gauche/gauche.info
index 03dd5b5a70..d99dce7ad2 100644
--- a/development/gauche/gauche.info
+++ b/development/gauche/gauche.info
@@ -1,8 +1,8 @@
PRGNAM="gauche"
-VERSION="0.9.5"
+VERSION="0.9.11"
HOMEPAGE="http://practical-scheme.net/gauche/"
-DOWNLOAD="http://sourceforge.net/projects/gauche/files/Gauche/Gauche-0.9.5.tgz"
-MD5SUM="8bac7cbd99a91f6f2c037ac6988db14d"
+DOWNLOAD="https://github.com/shirok/Gauche/releases/download/release0_9_11/Gauche-0.9.11.tgz"
+MD5SUM="de63d601099e5a8da8201843c1fa52ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/gcc-d/README b/development/gcc-d/README
deleted file mode 100644
index 09bb108754..0000000000
--- a/development/gcc-d/README
+++ /dev/null
@@ -1,12 +0,0 @@
-This is GDC (GNU D Compiler), the D frontend for GCC.
-
-D is a general-purpose programming language with static typing,
-systems-level access, and C-like syntax. With the D Programming
-Language, write fast, read fast, and run fast.
-
-This package provides GCC 8 with C, C++ and D. It doesn't conflict with
-GCC 5 shipped by Slackware.
-
-Since GCC is built several times to bootstrap the D frontend written in
-D with an older C++-version, be sure you have about 9 GB of disk space
-in your temporary directory.
diff --git a/development/gcc-d/doinst.sh b/development/gcc-d/doinst.sh
deleted file mode 100644
index e9f46fc9c5..0000000000
--- a/development/gcc-d/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/install-info ]; then
- chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/gdc.info.gz 2> /dev/null
-fi
diff --git a/development/gcc-d/gcc-d.SlackBuild b/development/gcc-d/gcc-d.SlackBuild
deleted file mode 100644
index 3bfad9d03f..0000000000
--- a/development/gcc-d/gcc-d.SlackBuild
+++ /dev/null
@@ -1,230 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gcc-d
-
-# Copyright 2017-2018 Eugene Wissner, Dachau, Germany
-#
-# Based on the GCC build script by Patrick J. Volkerding, Sebeka, MN, USA
-#
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=gcc-d
-VERSION=${VERSION:-2.081.2}
-GCC_VERSION=8.2.0
-HOST_GDC=2.076.0
-HOST_GCC=7.3.0
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
- *) ARCH=$(uname -m) ;;
- esac
- export ARCH
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- LIB_ARCH=i386
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- LIB_ARCH=i386
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- LIB_ARCH=amd64
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
- LIBDIRSUFFIX=""
- LIB_ARCH=armv7hl
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
- LIB_ARCH=$ARCH
-fi
-
-case "$ARCH" in
- arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
- *) TARGET=$ARCH-slackware-linux ;;
-esac
-
-if [ "$ARCH" != "x86_64" ]; then
- GCC_ARCHOPTS="--with-arch=$ARCH"
-else
- GCC_ARCHOPTS="--disable-multilib"
-fi
-MAJOR=$( echo $GCC_VERSION | cut -d. -f1 )
-
-set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-
-# Build bootstrap compiler
-cd $TMP
-rm -rf gdc-$HOST_GDC gcc-$HOST_GCC $TMP/bootstrap-gcc-d
-tar xvf $CWD/gcc-$HOST_GCC.tar.?z*
-tar xvf $CWD/gdc-$HOST_GDC.tar.?z*
-
-# Apply patches.
-cd $TMP/gcc-$HOST_GCC/gcc
-
-cd $TMP/gdc-$HOST_GDC
-sh setup-gcc.sh ../gcc-$HOST_GCC
-
-cd $TMP/gcc-$HOST_GCC
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-../gcc-$HOST_GCC/configure \
- --prefix=$TMP/bootstrap-$PRGNAM \
- --enable-shared \
- --disable-bootstrap \
- --enable-languages=c,c++,d \
- --enable-threads=posix \
- --enable-checking=release \
- --with-system-zlib \
- --enable-libstdcxx-dual-abi \
- --disable-libunwind-exceptions \
- --enable-__cxa_atexit \
- --enable-libssp \
- --enable-lto \
- --disable-install-libiberty \
- --with-gnu-ld \
- --verbose \
- --with-arch-directory=$LIB_ARCH \
- $GCC_ARCHOPTS \
- --target=${TARGET} \
- --build=${TARGET} \
- --host=${TARGET}
-
-make
-make install
-
-# Build D compiler
-cd $TMP
-rm -rf gdc-$VERSION gcc-$GCC_VERSION
-tar xvf $CWD/gcc-$GCC_VERSION.tar.?z*
-tar xvf $CWD/gdc-$VERSION.tar.?z*
-
-# Apply patches.
-cd $TMP/gcc-$GCC_VERSION/gcc
-
-cd $TMP/gdc-$VERSION
-sh setup-gcc.sh ../gcc-$GCC_VERSION
-
-cd $TMP/gcc-$GCC_VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CC="$TMP/bootstrap-$PRGNAM/bin/gcc" \
-CXX="$TMP/bootstrap-$PRGNAM/bin/g++" \
-CPP="$TMP/bootstrap-$PRGNAM/bin/cpp" \
-GDC="$TMP/bootstrap-$PRGNAM/bin/gdc" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-../gcc-$GCC_VERSION/configure \
- --prefix=/opt/gdc \
- --libdir=/opt/gdc/lib$LIBDIRSUFFIX \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --enable-shared \
- --enable-bootstrap \
- --enable-languages=c,c++,d \
- --enable-threads=posix \
- --enable-checking=release \
- --with-system-zlib \
- --enable-libstdcxx-dual-abi \
- --disable-libunwind-exceptions \
- --enable-__cxa_atexit \
- --enable-libssp \
- --enable-lto \
- --disable-install-libiberty \
- --with-gnu-ld \
- --verbose \
- --with-arch-directory=$LIB_ARCH \
- --program-suffix="-$MAJOR" \
- --with-pkgversion="GDC $VERSION" \
- $GCC_ARCHOPTS \
- --target=${TARGET} \
- --build=${TARGET} \
- --host=${TARGET}
-
-make
-make install DESTDIR=$PKG
-
-# Remove not D related stuff, already available in GCC
-find $PKG/usr/info -type f -not -name "*gdc*" -delete
-rm -r $PKG/usr/man/man7
-#rm -r $PKG/usr/share
-#rm -r $PKG/usr/include
-
-#find $PKG/usr/libexec/gcc \
-# \( -type f -or -type l \) -not -name "cc1d" \
-# -delete
-
-#find $PKG/usr/lib$LIBDIRSUFFIX/gcc -mindepth 3 \
-# \( -type f -or -type l \) -not -regex ".*/d/.*" \
-# -delete
-
-#find $PKG/usr/lib$LIBDIRSUFFIX -maxdepth 1 \
-# \( -type f -or -type l \) \
-# -not \( -name "*phobos*" -or -name "*gdruntime*" \) \
-# -delete
-
-#find $PKG/usr -type d -empty -delete
-
-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/bin
-for bin in $PKG/opt/gdc/bin/g* $PKG/opt/gdc/bin/c*; do
- binary=$( basename $bin )
- ln -s /opt/gdc/bin/$binary $PKG/usr/bin/$binary
-done
-ln -s gdc-$MAJOR $PKG/usr/bin/gdc
-
-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
-
-gzip -9 $PKG/usr/info/*.info
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $TMP/gdc-$VERSION/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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/gcc-d/gcc-d.info b/development/gcc-d/gcc-d.info
deleted file mode 100644
index 2471cac7b8..0000000000
--- a/development/gcc-d/gcc-d.info
+++ /dev/null
@@ -1,16 +0,0 @@
-PRGNAM="gcc-d"
-VERSION="2.081.2"
-HOMEPAGE="https://www.gdcproject.org/"
-DOWNLOAD="https://download.dlackware.com/hosted-sources/gcc-d/gdc-2.076.0.tar.xz \
- https://download.dlackware.com/hosted-sources/gcc-d/gdc-2.081.2.tar.xz \
- https://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-7.3.0/gcc-7.3.0.tar.xz \
- https://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-8.2.0/gcc-8.2.0.tar.xz"
-MD5SUM="7cfaa5b332372c6cc91284bb63609f87 \
- a0a1093b7a5774eb2a63313f3c0b6c28 \
- be2da21680f27624f3a87055c4ba5af2 \
- 4ab282f414676496483b3e1793d07862"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Eugene Wissner"
-EMAIL="belka@caraus.de"
diff --git a/development/gcc-d/slack-desc b/development/gcc-d/slack-desc
deleted file mode 100644
index f76a2186ea..0000000000
--- a/development/gcc-d/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 ':'.
-
- |-----handy-ruler------------------------------------------------------|
-gcc-d: gcc-d (D support for GCC)
-gcc-d:
-gcc-d: GCC is the GNU Compiler Collection.
-gcc-d:
-gcc-d: D is a general-purpose programming language with static typing,
-gcc-d: systems-level access, and C-like syntax. With the D Programming
-gcc-d: Language, write fast, read fast, and run fast.
-gcc-d:
-gcc-d: Homepage: https://www.gdcproject.org
-gcc-d:
-gcc-d:
diff --git a/development/gcc5/README b/development/gcc5/README
new file mode 100644
index 0000000000..bdc9fd7e52
--- /dev/null
+++ b/development/gcc5/README
@@ -0,0 +1,48 @@
+This gcc5 package can be installed alongside Slackware's gcc-11
+packages. These version 11 compilers can sometimes be quite a bit
+more strict about what they accept as valid code. As a consequence,
+you will regularly run into compilation issues with software. Not just
+the software made with the scripts on slackbuilds.org, but also some
+of the software in the Slackware core distribution requires patches in
+order to get them to compile.
+
+Still having the gcc version 5 compilers can sometimes be a lifesaver.
+Particulars of the gcc5 package:
+- The gcc5 binaries were given a suffix '-5' to make them stand apart
+ from Slackware's default compilers.
+- The gcc5 package only contains the C, C++ and Java compilers.
+- One all-encompassing package is built by the SlackBuild script.
+- Profile scripts are added to /etc/profile.d/. You can 'source'
+ the profile script to prefer the gcc-5 compilers over gcc-7.
+- On 64bit Slackware, the gcc5.SlackBuild will detect an existing gcc
+ multilib compiler and will then build a multilib capable gcc5.
+ If you run pure 64bit Slackware, then a pure 64bit gcc5 package is
+ built.
+
+How to use these gcc5 compilers instead of Slackware's default ones?
+Simple:
+In your console or terminal, you 'source' the provided profile script,
+like this (a c-shell compatible script is available as well):
+
+ source /etc/profile.d/gcc5.sh
+
+The command 'source' is equivalent to the dot command ' . '.
+The profile script will (re-)define the common variables that are
+used by make and other programs to determine which binary to run as
+the compiler:
+
+export CC=gcc-5
+export CPP=cpp-5
+export CXX=g++-5
+export AR=gcc-ar-5
+export NM=gcc-nm-5
+export RANLIB=gcc-ranlib-5
+
+Nothing else needs to be done after sourcing the profile script.
+All you do next is run your compile job as usual in that same console.
+Your program will be compiled with the binaries provided by the gcc5
+package.
+
+** WARNING: The temporary build location used by the script
+** (defaulting here to /tmp/SBo) should *NOT* be a directory path a
+** non-root user could create later...
diff --git a/development/gcc5/c89.sh b/development/gcc5/c89.sh
new file mode 100644
index 0000000000..424b1e1669
--- /dev/null
+++ b/development/gcc5/c89.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+fl="-std=c89"
+CC=${CC:-"gcc"}
+for opt; do
+ case "$opt" in
+ -ansi|-std=c89|-std=iso9899:1990) fl="";;
+ -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
+ exit 1;;
+ esac
+done
+exec $CC $fl ${1+"$@"}
diff --git a/development/gcc5/c99.sh b/development/gcc5/c99.sh
new file mode 100644
index 0000000000..c33636937c
--- /dev/null
+++ b/development/gcc5/c99.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+fl="-std=c99"
+CC=${CC:-"gcc"}
+for opt; do
+ case "$opt" in
+ -std=c99|-std=iso9899:1999) fl="";;
+ -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
+ exit 1;;
+ esac
+done
+exec $CC $fl ${1+"$@"}
diff --git a/development/gcc5/ecj.sh b/development/gcc5/ecj.sh
new file mode 100644
index 0000000000..1d8b797931
--- /dev/null
+++ b/development/gcc5/ecj.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+CLASSPATH=@JAVADIR@/ecj.jar${CLASSPATH:+:}$CLASSPATH \
+ java org.eclipse.jdt.internal.compiler.batch.Main "$@"
+
diff --git a/development/gcc5/fastjar-patches/1000-fastjar-0.97-segfault.patch b/development/gcc5/fastjar-patches/1000-fastjar-0.97-segfault.patch
new file mode 100644
index 0000000000..ab6262407a
--- /dev/null
+++ b/development/gcc5/fastjar-patches/1000-fastjar-0.97-segfault.patch
@@ -0,0 +1,29 @@
+2009-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ * jartool.c (make_manifest): Initialize current_time before
+ calling unix2dostime on it.
+
+--- fastjar-0.97/jartool.c.jj 2008-10-15 18:35:37.000000000 +0200
++++ fastjar-0.97/jartool.c 2009-01-14 15:40:50.000000000 +0100
+@@ -820,6 +820,10 @@ int make_manifest(int jfd, const char *m
+ int mod_time; /* file modification time */
+ struct zipentry *ze;
+
++ current_time = time(NULL);
++ if(current_time == (time_t)-1)
++ exit_on_error("time");
++
+ mod_time = unix2dostime(&current_time);
+
+ /* If we are creating a new manifest, create a META-INF directory entry */
+@@ -828,10 +832,6 @@ int make_manifest(int jfd, const char *m
+
+ memset((file_header + 12), '\0', 16); /*clear mod time, crc, size fields*/
+
+- current_time = time(NULL);
+- if(current_time == (time_t)-1)
+- exit_on_error("time");
+-
+ PACK_UB2(file_header, LOC_EXTRA, 0);
+ PACK_UB2(file_header, LOC_COMP, 0);
+ PACK_UB2(file_header, LOC_FNLEN, nlen);
diff --git a/development/gcc5/fastjar-patches/1001-fastjar-0.97-len1.patch b/development/gcc5/fastjar-patches/1001-fastjar-0.97-len1.patch
new file mode 100644
index 0000000000..722351d334
--- /dev/null
+++ b/development/gcc5/fastjar-patches/1001-fastjar-0.97-len1.patch
@@ -0,0 +1,16 @@
+2009-12-21 Chris Ball <cjb@laptop.org>
+
+ * jartool.c (add_file_to_jar): Test write return value against -1
+ instead of 1.
+
+--- fastjar-0.97/jartool.c.jj 2008-10-15 12:35:37.000000000 -0400
++++ fastjar-0.97/jartool.c 2009-12-22 06:48:09.309530000 -0500
+@@ -1257,7 +1257,7 @@ int add_file_to_jar(int jfd, int ffd, co
+ exit_on_error("write");
+
+ /* write the file name to the zip file */
+- if (1 == write(jfd, fname, file_name_length))
++ if (-1 == write(jfd, fname, file_name_length))
+ exit_on_error("write");
+
+ if(verbose){
diff --git a/development/gcc5/fastjar-patches/1002-fastjar-0.97-filename0.patch b/development/gcc5/fastjar-patches/1002-fastjar-0.97-filename0.patch
new file mode 100644
index 0000000000..34a02a74f3
--- /dev/null
+++ b/development/gcc5/fastjar-patches/1002-fastjar-0.97-filename0.patch
@@ -0,0 +1,14 @@
+2010-03-01 Richard Guenther <rguenther@suse.de>
+
+ * jartool.c (read_entries): Properly zero-terminate filename.
+
+--- fastjar-0.97/jartool.c 6 Sep 2009 22:16:00 -0000 1.59
++++ fastjar-0.97/jartool.c 1 Mar 2010 15:38:43 -0000 1.60
+@@ -790,6 +790,7 @@ int read_entries (int fd)
+ progname, jarfile);
+ return 1;
+ }
++ ze->filename[len] = '\0';
+ len = UNPACK_UB4(header, CEN_EFLEN);
+ len += UNPACK_UB4(header, CEN_COMLEN);
+ if (lseek (fd, len, SEEK_CUR) == -1)
diff --git a/development/gcc5/fastjar-patches/1003-fastjar-CVE-2010-0831.patch b/development/gcc5/fastjar-patches/1003-fastjar-CVE-2010-0831.patch
new file mode 100644
index 0000000000..2c6e23c76c
--- /dev/null
+++ b/development/gcc5/fastjar-patches/1003-fastjar-CVE-2010-0831.patch
@@ -0,0 +1,102 @@
+2010-06-10 Jakub Jelinek <jakub@redhat.com>
+ Dan Rosenberg <dan.j.rosenberg@gmail.com>
+
+ * jartool.c (extract_jar): Fix up checks for traversal to parent
+ directories, disallow absolute paths, make the code slightly more
+ efficient.
+
+--- fastjar-0.97/jartool.c.jj 2009-09-07 00:10:47.000000000 +0200
++++ fastjar-0.97/jartool.c 2010-06-08 20:00:29.000000000 +0200
+@@ -1730,7 +1730,17 @@ int extract_jar(int fd, const char **fil
+ struct stat sbuf;
+ int depth = 0;
+
+- tmp_buff = malloc(sizeof(char) * strlen((const char *)filename));
++ if(*filename == '/'){
++ fprintf(stderr, "Absolute path names are not allowed.\n");
++ exit(EXIT_FAILURE);
++ }
++
++ tmp_buff = malloc(strlen((const char *)filename));
++
++ if(tmp_buff == NULL) {
++ fprintf(stderr, "Out of memory.\n");
++ exit(EXIT_FAILURE);
++ }
+
+ for(;;){
+ const ub1 *idx = (const unsigned char *)strchr((const char *)start, '/');
+@@ -1738,25 +1748,28 @@ int extract_jar(int fd, const char **fil
+ if(idx == NULL)
+ break;
+ else if(idx == start){
++ tmp_buff[idx - filename] = '/';
+ start++;
+ continue;
+ }
+- start = idx + 1;
+
+- strncpy(tmp_buff, (const char *)filename, (idx - filename));
+- tmp_buff[(idx - filename)] = '\0';
++ memcpy(tmp_buff + (start - filename), (const char *)start, (idx - start));
++ tmp_buff[idx - filename] = '\0';
+
+ #ifdef DEBUG
+ printf("checking the existance of %s\n", tmp_buff);
+ #endif
+- if(strcmp(tmp_buff, "..") == 0){
++ if(idx - start == 2 && memcmp(start, "..", 2) == 0){
+ --depth;
+ if (depth < 0){
+ fprintf(stderr, "Traversal to parent directories during unpacking!\n");
+ exit(EXIT_FAILURE);
+ }
+- } else if (strcmp(tmp_buff, ".") != 0)
++ } else if (idx - start != 1 || *start != '.')
+ ++depth;
++
++ start = idx + 1;
++
+ if(stat(tmp_buff, &sbuf) < 0){
+ if(errno != ENOENT)
+ exit_on_error("stat");
+@@ -1765,6 +1778,7 @@ int extract_jar(int fd, const char **fil
+ #ifdef DEBUG
+ printf("Directory exists\n");
+ #endif
++ tmp_buff[idx - filename] = '/';
+ continue;
+ }else {
+ fprintf(stderr, "Hmmm.. %s exists but isn't a directory!\n",
+@@ -1781,10 +1795,11 @@ int extract_jar(int fd, const char **fil
+ if(verbose && handle)
+ printf("%10s: %s/\n", "created", tmp_buff);
+
++ tmp_buff[idx - filename] = '/';
+ }
+
+ /* only a directory */
+- if(strlen((const char *)start) == 0)
++ if(*start == '\0')
+ dir = TRUE;
+
+ #ifdef DEBUG
+@@ -1792,7 +1807,7 @@ int extract_jar(int fd, const char **fil
+ #endif
+
+ /* If the entry was just a directory, don't write to file, etc */
+- if(strlen((const char *)start) == 0)
++ if(*start == '\0')
+ f_fd = -1;
+
+ free(tmp_buff);
+@@ -1876,7 +1891,8 @@ int extract_jar(int fd, const char **fil
+ exit(EXIT_FAILURE);
+ }
+
+- close(f_fd);
++ if (f_fd != -1)
++ close(f_fd);
+
+ if(verbose && dir == FALSE && handle)
+ printf("%10s: %s\n",
diff --git a/development/gcc5/fastjar-patches/1004-fastjar-man.patch b/development/gcc5/fastjar-patches/1004-fastjar-man.patch
new file mode 100644
index 0000000000..34bf704dbb
--- /dev/null
+++ b/development/gcc5/fastjar-patches/1004-fastjar-man.patch
@@ -0,0 +1,27 @@
+2010-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * Makefile.am (POD2MAN): Provide --date from ChangeLog.
+ * Makefile.in: Regenerate.
+
+--- fastjar-0.97/Makefile.am.jj 2008-10-16 04:24:55.000000000 -0400
++++ fastjar-0.97/Makefile.am 2010-06-21 09:29:41.021398000 -0400
+@@ -39,7 +39,7 @@ EXTRA_DIST = \
+ texi2pod.pl
+
+ TEXI2POD = perl $(srcdir)/texi2pod.pl
+-POD2MAN = pod2man --center="GNU" --release=@VERSION@
++POD2MAN = pod2man --center="GNU" --release=@VERSION@ --date=$(shell sed -n '1s/ .*//p' <$(srcdir)/ChangeLog)
+
+ .pod.1:
+ -($(POD2MAN) --section=1 $< > $(@).T$$$$ && \
+--- fastjar-0.97/Makefile.in.jj 2008-10-16 04:15:16.000000000 -0400
++++ fastjar-0.97/Makefile.in 2010-06-21 09:30:15.882810000 -0400
+@@ -515,7 +515,7 @@ EXTRA_DIST = \
+ texi2pod.pl
+
+ TEXI2POD = perl $(srcdir)/texi2pod.pl
+-POD2MAN = pod2man --center="GNU" --release=@VERSION@
++POD2MAN = pod2man --center="GNU" --release=@VERSION@ --date=$(shell sed -n '1s/ .*//p' <$(srcdir)/ChangeLog)
+
+ #SPLINT_FLAGS=-I . -I $(srcdir)/lib -I $(srcdir) -DHAVE_CONFIG_H +posixlib +weak
+ SPLINT_FLAGS = -I . -I $(srcdir)/lib -I $(srcdir) -DHAVE_CONFIG_H -DPRIx32= -warnposix +weak
diff --git a/development/gcc5/gcc5.SlackBuild b/development/gcc5/gcc5.SlackBuild
new file mode 100644
index 0000000000..791e081d93
--- /dev/null
+++ b/development/gcc5/gcc5.SlackBuild
@@ -0,0 +1,593 @@
+#!/bin/bash
+# GCC package build script (written by volkerdi@slackware.com)
+#
+# Copyright 2003, 2004 Slackware Linux, Inc., Concord, California, USA
+# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+# Modified 2011 by Eric Hameleers <alien at slackware.com> for OpenJDK.
+# Modified 2017, 2018 by Eric Hameleers <alien at slackware.com> for gcc5.
+
+# Some notes, Fri May 16 12:31:32 PDT 2003:
+#
+# Why i486 and not i386? Because the shared C++ libraries in gcc-3.2.x will
+# require 486 opcodes even when a 386 target is used (so we already weren't
+# compatible with the i386 for Slackware 9.0, didn't notice, and nobody
+# complained :-). gcc-3.3 fixes this issue and allows you to build a 386
+# compiler, but the fix is done in a way that produces binaries that are not
+# compatible with gcc-3.2.x compiled binaries. To retain compatibility with
+# Slackware 9.0, we'll have to use i486 (or better) as the compiler target
+# for gcc-3.3.
+#
+# It's time to say goodbye to i386 support in Slackware. I've surveyed 386
+# usage online, and the most common thing I see people say when someone asks
+# about running Linux on a 386 is to "run Slackware", but then they also
+# usually go on to say "be sure to get an OLD version, like 4.0, before glibc,
+# because it'll be more efficient." Now, if that's the general advice, then
+# I see no reason to continue 386 support in the latest Slackware (and indeed
+# it's no longer easily possible).
+
+# Some more notes, Mon Aug 3 19:49:51 UTC 2015:
+#
+# Changing to -march=i586 for 32-bit x86 as several things (Mesa being one of
+# them) no longer work if constrained to -march=i486. We're not going to use
+# -march=i686 since the only additional opcode is CMOV, which is actually less
+# efficient on modern CPUs running in 32-bit mode than the alternate i586
+# instructions. No need to throw i586 CPUs under the bus (yet).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gcc5
+VERSION=${VERSION:-5.5.0}
+MAJVER=$(echo ${VERSION} |cut -d. -f1)
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$(uname -m)" in
+ i?86) ARCH=i586 ;;
+ arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
+ *) ARCH=$(uname -m) ;;
+ esac
+ export ARCH
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ if [ -f /usr/lib/libc.a ]; then
+ # If we find a 32bit C library on 64bit Slackware, assume multilib:
+ GCC_ARCHOPTS="--enable-multilib"
+ MULTILIB="YES"
+ else
+ GCC_ARCHOPTS="--disable-multilib"
+ MULTILIB="NO"
+ fi
+else
+ GCC_ARCHOPTS="--with-arch=$ARCH"
+ MULTILIB="NO"
+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
+ if [ ${MULTILIB} = "YES" ]; then
+ echo "$PRGNAM-${VERSION}_multilib-$ARCH-$BUILD$TAG.$PKGTYPE"
+ else
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ fi
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+###sbolint off
+if [ "$ARCH" = "i386" ]; then
+ SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
+ SLKLDFLAGS=""
+ LIBDIRSUFFIX=""
+ LIB_ARCH=i386
+elif [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKLDFLAGS=""
+ LIBDIRSUFFIX=""
+ LIB_ARCH=i386
+###sbolint on
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ SLKLDFLAGS=""
+ LIBDIRSUFFIX=""
+ LIB_ARCH=i386
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+ SLKLDFLAGS=""
+ LIBDIRSUFFIX=""
+ LIB_ARCH=i386
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ SLKLDFLAGS=""
+ LIBDIRSUFFIX=""
+ LIB_ARCH=s390
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ SLKLDFLAGS="-L/usr/lib64"
+ LIBDIRSUFFIX="64"
+ LIB_ARCH=amd64
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
+ SLKLDFLAGS=""
+ LIBDIRSUFFIX=""
+ LIB_ARCH=armv7hl
+else
+ SLKCFLAGS="-O2"
+ SLKLDFLAGS=""
+ LIBDIRSUFFIX=""
+ LIB_ARCH=$ARCH
+fi
+
+# What do we want to build
+LANGS=${LANGS:-'c,c++,java'}
+
+echo "Building these compilers: $LANGS"
+
+set -e
+
+case "$ARCH" in
+ arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
+ *) TARGET=$ARCH-slackware-linux ;;
+esac
+
+# Clear the build locations:
+rm -fr $TMP/fastjar-* $TMP/gcc-$VERSION $TMP/gcc.build.lnx $TMP/gcc.build.log $TMP/package-$PRGNAM
+
+mkdir -p $PKG/usr/doc/gcc-$VERSION
+
+# Insert package description:
+mkdir -p $PKG/install
+if [ ${MULTILIB} = "YES" ]; then
+ SLDESC=" The compilers support multilib."
+else
+ SLDESC=""
+fi
+cat $CWD/slack-desc | sed -e "s/@MULTILIB@/${SLDESC}/" \
+ > $PKG/install/slack-desc
+
+# Unpack the gcc sources:
+cd $TMP
+tar xvf $CWD/gcc-$VERSION.tar.?z || exit 1
+
+# Patches based inside the gcc directory go here:
+#( cd gcc-$VERSION/gcc
+# #cat $CWD/patches/gcc.66782.diff | patch -p0 --verbose || exit 1
+#) || exit 1
+
+# Copy ecj.jar into the TLD of the source. Needed for java compiler.
+# This can be retrieved from ftp://sourceware.org/pub/java
+cp $CWD/ecj-4.9.jar gcc-$VERSION/ecj.jar
+
+# Use an antlr runtime to compile javadoc.
+# The runtime can be obtained from:
+#https://oss.sonatype.org/content/repositories/releases/org/antlr/antlr-runtime/
+ANTLJAR=$(echo $CWD/antlr-*.jar | tail -1)
+
+# install docs
+( cd gcc-$VERSION
+ # Smite the fixincludes:
+ cat $CWD/patches/gcc-no_fixincludes.diff | patch -p1 --verbose --backup --suffix=.orig || exit 1
+
+ # Add retpoline support:
+ cat $CWD/patches/0001-i386-Move-struct-ix86_frame-to-machine_function.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0003-i386-More-use-reference-of-struct-ix86_frame-to-avoi.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0004-i386-Don-t-use-reference-of-struct-ix86_frame.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0005-x86-Add-mindirect-branch-doc.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0005-x86-Add-mindirect-branch.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0006-x86-Add-mfunction-return-doc.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0006-x86-Add-mfunction-return.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0007-x86-Add-mindirect-branch-register-doc.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0007-x86-Add-mindirect-branch-register.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0008-x86-Add-V-register-operand-modifier-doc.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0008-x86-Add-V-register-operand-modifier.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-.diff | patch -p2 --verbose || exit 1
+ cat $CWD/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-doc.diff | patch -p2 --verbose || exit 1
+
+ # Fix build with glibc 2.28, which no longer makes available header file <sys/ustat.h>
+ cat $CWD/patches/glibc2.28-ustat.diff | patch -p0 --verbose || exit 1
+
+ # Fix build with glibc 2.30
+ cat $CWD/patches/glibc2.30-ipc_perm.diff | patch -p0 --verbose || exit 1
+
+ # Recent linux kernels have romved the Cyclades driver
+ cat $CWD/patches/kernel-5.12.diff | patch -p1 --verbose || exit 1
+
+ # Fix perms/owners
+ chown -R root:root .
+ find . -perm 777 -exec chmod 755 {} \+
+ find . -perm 775 -exec chmod 755 {} \+
+ find . -perm 754 -exec chmod 755 {} \+
+ find . -perm 664 -exec chmod 644 {} \+
+ mkdir -p $PKG/usr/doc/gcc-$VERSION
+ cp -a \
+ COPYING* ChangeLog* INSTALL \
+ LAST_UPDATED MAINTAINERS NEWS \
+ README* \
+ $PKG/usr/doc/gcc-$VERSION
+
+ # We will keep part of these, but they are really big...
+ if [ -r ChangeLog ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/gcc-$VERSION)
+ cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
+ fi
+ if [ -r NEWS ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/gcc-$VERSION)
+ cat NEWS | head -n 1000 > $DOCSDIR/NEWS
+ touch -r NEWS $DOCSDIR/NEWS
+ fi
+
+ mkdir -p $PKG/usr/doc/gcc-${VERSION}/gcc
+ ( cd gcc
+ cp -a \
+ ABOUT* COPYING* DATESTAMP DEV-PHASE LANG* ONEWS README* SERVICE \
+ $PKG/usr/doc/gcc-$VERSION/gcc
+
+ mkdir -p $PKG/usr/doc/gcc-${VERSION}/gcc/java
+ ( cd java
+ cp -a \
+ ChangeLog.tree-ssa \
+ $PKG/usr/doc/gcc-${VERSION}/gcc/java
+ if [ -r ChangeLog ]; then
+ cat ChangeLog | head -n 1000 > $PKG/usr/doc/gcc-${VERSION}/gcc/java/ChangeLog
+ touch -r ChangeLog $PKG/usr/doc/gcc-${VERSION}/gcc/java/ChangeLog
+ fi
+ )
+
+ ) || exit 1
+
+ mkdir -p $PKG/usr/doc/gcc-${VERSION}/libffi
+ ( cd libffi
+ cp -a \
+ ChangeLog.libgcj ChangeLog.v1 \
+ LICENSE* README* \
+ $PKG/usr/doc/gcc-${VERSION}/libffi
+ if [ -r ChangeLog ]; then
+ cat ChangeLog | head -n 1000 > $PKG/usr/doc/gcc-${VERSION}/libffi/ChangeLog
+ touch -r ChangeLog $PKG/usr/doc/gcc-${VERSION}/libffi/ChangeLog
+ fi
+ )
+
+ mkdir -p $PKG/usr/doc/gcc-${VERSION}/libjava
+ ( cd libjava
+ cp -a \
+ COPYING* HACKING LIBGCJ_LICENSE \
+ NEWS README* THANKS \
+ $PKG/usr/doc/gcc-${VERSION}/libjava
+ if [ -r ChangeLog ]; then
+ cat ChangeLog | head -n 1000 > $PKG/usr/doc/gcc-${VERSION}/libjava/ChangeLog
+ touch -r ChangeLog $PKG/usr/doc/gcc-${VERSION}/libjava/ChangeLog
+ fi
+ )
+
+ if [ -d libmudflap ]; then
+ mkdir -p $PKG/usr/doc/gcc-${VERSION}/libmudflap
+ ( cd libmudflap
+ if [ -r ChangeLog ]; then
+ cat ChangeLog | head -n 1000 > $PKG/usr/doc/gcc-${VERSION}/libmudflap/ChangeLog
+ touch -r ChangeLog $PKG/usr/doc/gcc-${VERSION}/libmudflap/ChangeLog
+ fi
+ )
+ fi
+
+ mkdir -p $PKG/usr/doc/gcc-${VERSION}/libgomp
+ ( cd libgomp
+ if [ -r ChangeLog ]; then
+ cat ChangeLog | head -n 1000 > $PKG/usr/doc/gcc-${VERSION}/libgomp/ChangeLog
+ touch -r ChangeLog $PKG/usr/doc/gcc-${VERSION}/libgomp/ChangeLog
+ fi
+ )
+
+ mkdir -p $PKG/usr/doc/gcc-${VERSION}/libstdc++-v3
+ ( cd libstdc++-v3
+ cp -a \
+ README* \
+ doc/html/faq.html \
+ $PKG/usr/doc/gcc-${VERSION}/libstdc++-v3
+ if [ -r ChangeLog ]; then
+ cat ChangeLog | head -n 1000 > $PKG/usr/doc/gcc-${VERSION}/libstdc++-v3/ChangeLog
+ touch -r ChangeLog $PKG/usr/doc/gcc-${VERSION}/libstdc++-v3/ChangeLog
+ fi
+ )
+)
+
+# Add fastjar to the gcc5 package:
+( cd $TMP
+ FASTJARVER=$(echo $CWD/fastjar-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
+ echo
+ echo "Building fastjar-$FASTJARVER first"
+ echo
+ rm -rf fastjar-$FASTJARVER
+ tar xvf $CWD/fastjar-$FASTJARVER.tar.?z* || exit 1
+ cd fastjar-$FASTJARVER || exit 1
+ chown -R root:root .
+ find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+ for patch in $CWD/fastjar-patches/* ; do
+ cat $patch | patch -p1 --verbose || exit 1
+ done
+ LDFLAGS="$SLKLDFLAGS" \
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --build=$TARGET
+ make || exit 1
+ make install DESTDIR=$PKG || exit 1
+ mkdir -p $PKG/usr/doc/fastjar-$FASTJARVER
+ cp -a \
+ AUTHORS CHANGES COPYING* INSTALL NEWS README* TODO \
+ $PKG/usr/doc/fastjar-$FASTJARVER
+ # If there's a ChangeLog, installing at least part of the recent history
+ # is useful, but don't let it get totally out of control:
+ if [ -r ChangeLog ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/fastjar-$FASTJARVER)
+ cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
+ fi
+ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ # Compress and if needed symlink the man pages:
+ if [ -d $PKG/usr/man ]; then
+ ( cd $PKG/usr/man
+ for manpagedir in $(find . -type d -name "man*") ; do
+ ( cd $manpagedir
+ for eachpage in $( find . -type l -maxdepth 1) ; do
+ ln -s $( readlink $eachpage ).gz $eachpage.gz
+ rm $eachpage
+ done
+ gzip -9 *.?
+ )
+ done
+ )
+ fi
+ # Compress info files, if any:
+ if [ -d $PKG/usr/info ]; then
+ ( cd $PKG/usr/info
+ rm -f dir
+ gzip -9 *
+ )
+ fi
+ echo
+) || exit 1
+
+# build gcc
+( mkdir gcc.build.lnx;
+ cd gcc.build.lnx;
+
+ # I think it's incorrect to include this option (as it'll end up set
+ # to i586 on x86 platforms), and we want to tune the binary structure
+ # for i686, as that's where almost all of the optimization speedups
+ # are to be found.
+ # Correct me if my take on this is wrong.
+ # --with-cpu=$ARCH
+
+ # NOTE: For Slackware 15.0, look into removing --with-default-libstdcxx-abi=gcc4-compatible,
+ # which will then require rebuilding all C++ libraries. That is, if there's any benefit.
+
+ LDFLAGS="$SLKLDFLAGS" \
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ ../gcc-$VERSION/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --enable-shared \
+ --enable-bootstrap \
+ --enable-languages=${LANGS} \
+ --enable-threads=posix \
+ --enable-checking=release \
+ --enable-objc-gc \
+ --with-system-zlib \
+ --with-python-dir=/lib$LIBDIRSUFFIX/python2.7/site-packages \
+ --enable-libstdcxx-dual-abi \
+ --with-default-libstdcxx-abi=gcc4-compatible \
+ --disable-libunwind-exceptions \
+ --enable-__cxa_atexit \
+ --enable-libssp \
+ --enable-lto \
+ --disable-install-libiberty \
+ --with-gnu-ld \
+ --without-isl \
+ --verbose \
+ --enable-java-home \
+ --with-java-home=/usr/lib$LIBDIRSUFFIX/jvm/jre \
+ --with-jvm-root-dir=/usr/lib$LIBDIRSUFFIX/jvm \
+ --with-jvm-jar-dir=/usr/lib$LIBDIRSUFFIX/jvm/jvm-exports \
+ --with-arch-directory=$LIB_ARCH \
+ --with-antlr-jar=$ANTLJAR \
+ --program-suffix=-${MAJVER} \
+ --enable-version-specific-runtime-libs \
+ $GCC_ARCHOPTS \
+ --target=${TARGET} \
+ --build=${TARGET} \
+ --host=${TARGET} \
+ CXX='g++ -std=c++14' || exit 1
+ #--enable-java-awt=gtk \
+ #--disable-gtktest \
+
+ # Start the build:
+
+ # Include all debugging info (for now):
+ make bootstrap
+ make info
+ make install DESTDIR=$PKG
+
+# KLUDGE ALERT
+# These *gdb.py files are causing ldconfig to complain, so they are going
+# to be REMOVED for now... at some point, they might be moved somewhere
+# else, in which case things should Just Work(tm). Keep an eye on it.
+rm -f $PKG/usr/lib*/*gdb.py
+
+# Be sure the "specs" file is installed.
+if [ ! -r $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs ]; then
+ cat stage1-gcc/specs > $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs
+fi
+
+if [ ${MULTILIB} = "NO" ]; then
+ # Make our 64bit gcc look for 32bit gcc binaries in ./32 subdirectory:
+ # (only needed if gcc was compiled with disable-multilib)
+ if [ "$ARCH" = "x86_64" ]; then
+ sed -i 's#;.\(:../lib !m64 m32;\)$#;32\1#' \
+ $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs
+ fi
+fi
+
+make -i install-info DESTDIR=$PKG
+
+# Move potentially conflicting stuff to version specific subdirectory:
+if [ -d $PKG/usr/lib${LIBDIRSUFFIX} ]; then
+ mv $PKG/usr/lib${LIBDIRSUFFIX}/lib* $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/
+fi
+if [ -d $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/lib${LIBDIRSUFFIX}/ ]; then
+ mv $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/lib${LIBDIRSUFFIX}/lib* $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/
+fi
+chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/libgcc_s.so.1
+if [ ${MULTILIB} = "YES" ]; then
+ if [ -d $PKG/usr/lib ]; then
+ mv $PKG/usr/lib/lib* $PKG/usr/lib/gcc/${TARGET}/${VERSION}/
+ fi
+ if [ -d $PKG/usr/lib/gcc/${TARGET}/lib/ ]; then
+ mv $PKG/usr/lib/gcc/${TARGET}/lib/lib* $PKG/usr/lib/gcc/${TARGET}/${VERSION}/
+ fi
+ chmod 755 $PKG/usr/lib/gcc/${TARGET}/${VERSION}/libgcc_s.so.1
+fi
+
+# The (huge) static GNU java libraries are not packaged. In nearly all
+# cases one or more dependencies will not be available as static anyway.
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libgcj.a
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libgcj-tools.a
+rm -f $PKG/usr/lib/libgcj.a
+rm -f $PKG/usr/lib/libgcj-tools.a
+
+# Fix stuff up:
+( cd $PKG/usr/info
+ rm dir
+ for eachinfo in *.info ; do
+ mv $eachinfo $(basename $eachinfo .info)-${MAJVER}.info
+ done
+ gzip -9 *
+)
+
+( cd $PKG/usr/bin
+ ln -sf g++-${MAJVER} c++-${MAJVER}
+ ln -sf gcc-${MAJVER} cc-${MAJVER}
+ # Improved versions of the Slackware c?9 scripts,
+ # it is safe to overwrite the originals:
+ cat $CWD/c89.sh > c89
+ cat $CWD/c99.sh > c99
+ chmod 755 c89 c99
+)
+
+( cd $PKG/usr/man
+ rm -r man7 # Part of the system gcc package
+ gzip -9 */*
+ cd man1
+ ln -sf g++-${MAJVER}.1.gz c++-${MAJVER}.1.gz
+ ln -sf gcc-${MAJVER}.1.gz cc-${MAJVER}.1.gz
+)
+
+# keep a log
+) 2>&1 | tee $TMP/gcc.build.log
+
+# Add profile scripts (non-executable by default) to make it easier
+# to set the environment for compiling with gcc5:
+mkdir -p $PKG/etc/profile.d
+cat $CWD/profile.d/gcc5.sh > $PKG/etc/profile.d/gcc5.sh
+cat $CWD/profile.d/gcc5.csh > $PKG/etc/profile.d/gcc5.csh
+chmod 644 $PKG/etc/profile.d/*
+
+# The ecj wrapper script:
+cat $CWD/ecj.sh | sed -e "s,@JAVADIR@,/usr/share/java," > $PKG/usr/bin/ecj
+chmod 755 $PKG/usr/bin/ecj
+# Some compatibility links.
+for JAVAPROG in gcj gcjh gcj-dbtool gjar gjarsigner gjavah ; do
+ ln -s ${JAVAPROG}-${MAJVER} $PKG/usr/bin/${JAVAPROG}
+done
+( cd $PKG
+ for JAVALIB in usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/libgcj* ; do
+ ln -s /${JAVALIB} $PKG/usr/lib${LIBDIRSUFFIX}/
+ done
+)
+# And add the missing javac symlink:
+ln -s ../../../bin/ecj $PKG/usr/lib$LIBDIRSUFFIX/jvm/bin/javac
+# Don't package libffi stuff anymore. GCC will link the internal version
+# statically, and we'll need a newer one elsewhere.
+find . -name "ffi*.h" | xargs rm -f
+find . -name "libffi*" | xargs rm -fR
+rm -f usr/man/man3/ffi* || true
+rm -f usr/info/libffi* || true
+# Install a proper pkgconfig file for libgcj:
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/pkgconfig/libgcj*pc
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/32/pkgconfig/libgcj*pc || true
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+cat $CWD/libgcj-5.pc \
+ | sed -e "s,@LIBDIRSUFFIX@,${LIBDIRSUFFIX}," \
+ | sed -e "s,@TARGET@,${TARGET}," \
+ | sed -e "s,@VERSION@,${VERSION}," \
+ > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libgcj-5.pc
+
+# Filter all .la files (thanks much to Mark Post for the sed script):
+( cd $PKG
+ for file in $(find . -type f -name "*.la") ; do
+ cat $file | sed -e 's%-L'${TMP}'[[:graph:]]* % %g' > $TMP/tmp-la-file
+ cat $TMP/tmp-la-file > $file
+ done
+ rm $TMP/tmp-la-file
+)
+
+## Strip bloated binaries and libraries:
+( cd $PKG
+ find . -name "lib*so*" -exec strip --strip-unneeded "{}" \+
+ find . -name "lib*a" -exec strip -g "{}" \+
+ strip --strip-unneeded usr/bin/* 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+) || true
+
+# Remove localizations overlapping with Slackware's gcc
+rm -rf $PKG/usr/share/locale
+
+if [ ${MULTILIB} = "YES" ]; then
+ PKGVER="${VERSION}_multilib"
+else
+ PKGVER="${VERSION}"
+fi
+
+cd $PKG
+/sbin/makepkg -l y -c n "$OUTPUT/${PRGNAM}-${PKGVER}-$ARCH-$BUILD$TAG.$PKGTYPE"
diff --git a/development/gcc5/gcc5.info b/development/gcc5/gcc5.info
new file mode 100644
index 0000000000..0d3cddcde7
--- /dev/null
+++ b/development/gcc5/gcc5.info
@@ -0,0 +1,16 @@
+PRGNAM="gcc5"
+VERSION="5.5.0"
+HOMEPAGE="https://gcc.gnu.org/"
+DOWNLOAD="https://ftp.gnu.org/gnu/gcc/gcc-5.5.0/gcc-5.5.0.tar.xz \
+ http://www.antlr3.org/download/antlr-runtime-3.4.jar \
+ https://sourceware.org/pub/java/ecj-4.9.jar \
+ https://download.savannah.gnu.org/releases/fastjar/fastjar-0.97.tar.gz"
+MD5SUM="0f70424213b4a1113c04ba66ddda0c1f \
+ 0e0318be407e51fdf7ba6777eabfdf73 \
+ 7339f199ba11c941890031fd9981d7be \
+ 2659f09c2e43ef8b7d4406321753f1b2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Eric Hameleers"
+EMAIL="alien@slackware.com"
diff --git a/development/gcc5/libgcj-5.pc b/development/gcc5/libgcj-5.pc
new file mode 100644
index 0000000000..e2eb293209
--- /dev/null
+++ b/development/gcc5/libgcj-5.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=/usr/lib@LIBDIRSUFFIX@/gcc/@TARGET@/@VERSION@
+includedir=$(libdir)/include/
+
+Name: libgcj
+Description: libgcj
+Version: @VERSION@
+Libs: -L${libdir} -lgcj
+Cflags: -I${includedir}
diff --git a/development/gcc5/patches/0001-i386-Move-struct-ix86_frame-to-machine_function.diff b/development/gcc5/patches/0001-i386-Move-struct-ix86_frame-to-machine_function.diff
new file mode 100644
index 0000000000..413d75697f
--- /dev/null
+++ b/development/gcc5/patches/0001-i386-Move-struct-ix86_frame-to-machine_function.diff
@@ -0,0 +1,239 @@
+From 11a3b9034935080b9996caf07fca6353309006f1 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Mon, 15 Jan 2018 11:27:24 +0000
+Subject: [PATCH 1/9] i386: Move struct ix86_frame to machine_function
+
+Make ix86_frame available to i386 code generation. This is needed to
+backport the patch set of -mindirect-branch= to mitigate variant #2 of
+the speculative execution vulnerabilities on x86 processors identified
+by CVE-2017-5715, aka Spectre.
+
+ Backport from mainline
+ * config/i386/i386.c (ix86_frame): Moved to ...
+ * config/i386/i386.h (ix86_frame): Here.
+ (machine_function): Add frame.
+ * config/i386/i386.c (ix86_compute_frame_layout): Repace the
+ frame argument with &cfun->machine->frame.
+ (ix86_can_use_return_insn_p): Don't pass &frame to
+ ix86_compute_frame_layout. Copy frame from cfun->machine->frame.
+ (ix86_can_eliminate): Likewise.
+ (ix86_expand_prologue): Likewise.
+ (ix86_expand_epilogue): Likewise.
+ (ix86_expand_split_stack_prologue): Likewise.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256691 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ src/gcc/config/i386/i386.c | 68 ++++++++-------------------------------------
+ src/gcc/config/i386/i386.h | 53 ++++++++++++++++++++++++++++++++++-
+ 2 files changed, 65 insertions(+), 56 deletions(-)
+
+Index: b/src/gcc/config/i386/i386.c
+===================================================================
+--- a/src/gcc/config/i386/i386.c
++++ b/src/gcc/config/i386/i386.c
+@@ -2306,53 +2306,6 @@ struct GTY(()) stack_local_entry {
+ struct stack_local_entry *next;
+ };
+
+-/* Structure describing stack frame layout.
+- Stack grows downward:
+-
+- [arguments]
+- <- ARG_POINTER
+- saved pc
+-
+- saved static chain if ix86_static_chain_on_stack
+-
+- saved frame pointer if frame_pointer_needed
+- <- HARD_FRAME_POINTER
+- [saved regs]
+- <- regs_save_offset
+- [padding0]
+-
+- [saved SSE regs]
+- <- sse_regs_save_offset
+- [padding1] |
+- | <- FRAME_POINTER
+- [va_arg registers] |
+- |
+- [frame] |
+- |
+- [padding2] | = to_allocate
+- <- STACK_POINTER
+- */
+-struct ix86_frame
+-{
+- int nsseregs;
+- int nregs;
+- int va_arg_size;
+- int red_zone_size;
+- int outgoing_arguments_size;
+-
+- /* The offsets relative to ARG_POINTER. */
+- HOST_WIDE_INT frame_pointer_offset;
+- HOST_WIDE_INT hard_frame_pointer_offset;
+- HOST_WIDE_INT stack_pointer_offset;
+- HOST_WIDE_INT hfp_save_offset;
+- HOST_WIDE_INT reg_save_offset;
+- HOST_WIDE_INT sse_reg_save_offset;
+-
+- /* When save_regs_using_mov is set, emit prologue using
+- move instead of push instructions. */
+- bool save_regs_using_mov;
+-};
+-
+ /* Which cpu are we scheduling for. */
+ enum attr_cpu ix86_schedule;
+
+@@ -2443,7 +2396,7 @@ static unsigned int ix86_function_arg_bo
+ const_tree);
+ static rtx ix86_static_chain (const_tree, bool);
+ static int ix86_function_regparm (const_tree, const_tree);
+-static void ix86_compute_frame_layout (struct ix86_frame *);
++static void ix86_compute_frame_layout (void);
+ static bool ix86_expand_vector_init_one_nonzero (bool, machine_mode,
+ rtx, rtx, int);
+ static void ix86_add_new_builtins (HOST_WIDE_INT);
+@@ -9664,7 +9617,8 @@ ix86_can_use_return_insn_p (void)
+ if (crtl->args.pops_args && crtl->args.size >= 32768)
+ return 0;
+
+- ix86_compute_frame_layout (&frame);
++ ix86_compute_frame_layout ();
++ frame = cfun->machine->frame;
+ return (frame.stack_pointer_offset == UNITS_PER_WORD
+ && (frame.nregs + frame.nsseregs) == 0);
+ }
+@@ -10073,8 +10027,8 @@ ix86_can_eliminate (const int from, cons
+ HOST_WIDE_INT
+ ix86_initial_elimination_offset (int from, int to)
+ {
+- struct ix86_frame frame;
+- ix86_compute_frame_layout (&frame);
++ ix86_compute_frame_layout ();
++ struct ix86_frame frame = cfun->machine->frame;
+
+ if (from == ARG_POINTER_REGNUM && to == HARD_FRAME_POINTER_REGNUM)
+ return frame.hard_frame_pointer_offset;
+@@ -10113,8 +10067,9 @@ ix86_builtin_setjmp_frame_value (void)
+ /* Fill structure ix86_frame about frame of currently computed function. */
+
+ static void
+-ix86_compute_frame_layout (struct ix86_frame *frame)
++ix86_compute_frame_layout (void)
+ {
++ struct ix86_frame *frame = &cfun->machine->frame;
+ unsigned HOST_WIDE_INT stack_alignment_needed;
+ HOST_WIDE_INT offset;
+ unsigned HOST_WIDE_INT preferred_alignment;
+@@ -11417,7 +11372,8 @@ ix86_expand_prologue (void)
+ m->fs.sp_offset = INCOMING_FRAME_SP_OFFSET;
+ m->fs.sp_valid = true;
+
+- ix86_compute_frame_layout (&frame);
++ ix86_compute_frame_layout ();
++ frame = m->frame;
+
+ if (!TARGET_64BIT && ix86_function_ms_hook_prologue (current_function_decl))
+ {
+@@ -12083,7 +12039,8 @@ ix86_expand_epilogue (int style)
+ bool using_drap;
+
+ ix86_finalize_stack_realign_flags ();
+- ix86_compute_frame_layout (&frame);
++ ix86_compute_frame_layout ();
++ frame = m->frame;
+
+ m->fs.sp_valid = (!frame_pointer_needed
+ || (crtl->sp_is_unchanging
+@@ -12546,7 +12503,8 @@ ix86_expand_split_stack_prologue (void)
+ gcc_assert (flag_split_stack && reload_completed);
+
+ ix86_finalize_stack_realign_flags ();
+- ix86_compute_frame_layout (&frame);
++ ix86_compute_frame_layout ();
++ frame = cfun->machine->frame;
+ allocate = frame.stack_pointer_offset - INCOMING_FRAME_SP_OFFSET;
+
+ /* This is the label we will branch to if we have enough stack
+Index: b/src/gcc/config/i386/i386.h
+===================================================================
+--- a/src/gcc/config/i386/i386.h
++++ b/src/gcc/config/i386/i386.h
+@@ -2409,9 +2409,56 @@ enum avx_u128_state
+
+ #define FASTCALL_PREFIX '@'
+
++#ifndef USED_FOR_TARGET
++/* Structure describing stack frame layout.
++ Stack grows downward:
++
++ [arguments]
++ <- ARG_POINTER
++ saved pc
++
++ saved static chain if ix86_static_chain_on_stack
++
++ saved frame pointer if frame_pointer_needed
++ <- HARD_FRAME_POINTER
++ [saved regs]
++ <- regs_save_offset
++ [padding0]
++
++ [saved SSE regs]
++ <- sse_regs_save_offset
++ [padding1] |
++ | <- FRAME_POINTER
++ [va_arg registers] |
++ |
++ [frame] |
++ |
++ [padding2] | = to_allocate
++ <- STACK_POINTER
++ */
++struct GTY(()) ix86_frame
++{
++ int nsseregs;
++ int nregs;
++ int va_arg_size;
++ int red_zone_size;
++ int outgoing_arguments_size;
++
++ /* The offsets relative to ARG_POINTER. */
++ HOST_WIDE_INT frame_pointer_offset;
++ HOST_WIDE_INT hard_frame_pointer_offset;
++ HOST_WIDE_INT stack_pointer_offset;
++ HOST_WIDE_INT hfp_save_offset;
++ HOST_WIDE_INT reg_save_offset;
++ HOST_WIDE_INT sse_reg_save_offset;
++
++ /* When save_regs_using_mov is set, emit prologue using
++ move instead of push instructions. */
++ bool save_regs_using_mov;
++};
++
+ /* Machine specific frame tracking during prologue/epilogue generation. */
+
+-#ifndef USED_FOR_TARGET
+ struct GTY(()) machine_frame_state
+ {
+ /* This pair tracks the currently active CFA as reg+offset. When reg
+@@ -2457,6 +2504,9 @@ struct GTY(()) machine_function {
+ int varargs_fpr_size;
+ int optimize_mode_switching[MAX_386_ENTITIES];
+
++ /* Cached initial frame layout for the current function. */
++ struct ix86_frame frame;
++
+ /* Number of saved registers USE_FAST_PROLOGUE_EPILOGUE
+ has been computed for. */
+ int use_fast_prologue_epilogue_nregs;
+@@ -2524,6 +2574,7 @@ struct GTY(()) machine_function {
+ #define ix86_current_function_calls_tls_descriptor \
+ (ix86_tls_descriptor_calls_expanded_in_cfun && df_regs_ever_live_p (SP_REG))
+ #define ix86_static_chain_on_stack (cfun->machine->static_chain_on_stack)
++#define ix86_red_zone_size (cfun->machine->frame.red_zone_size)
+
+ /* Control behavior of x86_file_start. */
+ #define X86_FILE_START_VERSION_DIRECTIVE false
diff --git a/development/gcc5/patches/0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.diff b/development/gcc5/patches/0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.diff
new file mode 100644
index 0000000000..7b928df765
--- /dev/null
+++ b/development/gcc5/patches/0002-i386-Use-reference-of-struct-ix86_frame-to-avoid-cop.diff
@@ -0,0 +1,72 @@
+From 18202ba32cb8de22fc43a5839235a751d0f5c4d9 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Mon, 15 Jan 2018 11:28:44 +0000
+Subject: [PATCH 2/9] i386: Use reference of struct ix86_frame to avoid copy
+
+When there is no need to make a copy of ix86_frame, we can use reference
+of struct ix86_frame to avoid copy.
+
+ Backport from mainline
+ * config/i386/i386.c (ix86_can_use_return_insn_p): Use reference
+ of struct ix86_frame.
+ (ix86_initial_elimination_offset): Likewise.
+ (ix86_expand_split_stack_prologue): Likewise.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256692 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/config/i386/i386.c | 9 +++------
+ gcc/testsuite/ChangeLog | 8 ++++++++
+ 2 files changed, 11 insertions(+), 6 deletions(-)
+
+diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
+index 8133372..397ef7c 100644
+--- a/src/gcc/config/i386/i386.c
++++ b/src/gcc/config/i386/i386.c
+@@ -11843,8 +11843,6 @@ symbolic_reference_mentioned_p (rtx op)
+ bool
+ ix86_can_use_return_insn_p (void)
+ {
+- struct ix86_frame frame;
+-
+ if (! reload_completed || frame_pointer_needed)
+ return 0;
+
+@@ -11857,7 +11855,7 @@ ix86_can_use_return_insn_p (void)
+ return 0;
+
+ ix86_compute_frame_layout ();
+- frame = cfun->machine->frame;
++ struct ix86_frame &frame = cfun->machine->frame;
+ return (frame.stack_pointer_offset == UNITS_PER_WORD
+ && (frame.nregs + frame.nsseregs) == 0);
+ }
+@@ -12344,7 +12342,7 @@ HOST_WIDE_INT
+ ix86_initial_elimination_offset (int from, int to)
+ {
+ ix86_compute_frame_layout ();
+- struct ix86_frame frame = cfun->machine->frame;
++ struct ix86_frame &frame = cfun->machine->frame;
+
+ if (from == ARG_POINTER_REGNUM && to == HARD_FRAME_POINTER_REGNUM)
+ return frame.hard_frame_pointer_offset;
+@@ -14860,7 +14858,6 @@ static GTY(()) rtx split_stack_fn_large;
+ void
+ ix86_expand_split_stack_prologue (void)
+ {
+- struct ix86_frame frame;
+ HOST_WIDE_INT allocate;
+ unsigned HOST_WIDE_INT args_size;
+ rtx_code_label *label;
+@@ -14873,7 +14870,7 @@ ix86_expand_split_stack_prologue (void)
+
+ ix86_finalize_stack_realign_flags ();
+ ix86_compute_frame_layout ();
+- frame = cfun->machine->frame;
++ struct ix86_frame &frame = cfun->machine->frame;
+ allocate = frame.stack_pointer_offset - INCOMING_FRAME_SP_OFFSET;
+
+ /* This is the label we will branch to if we have enough stack
+--
+2.7.4
+
diff --git a/development/gcc5/patches/0003-i386-More-use-reference-of-struct-ix86_frame-to-avoi.diff b/development/gcc5/patches/0003-i386-More-use-reference-of-struct-ix86_frame-to-avoi.diff
new file mode 100644
index 0000000000..f6f30d1d22
--- /dev/null
+++ b/development/gcc5/patches/0003-i386-More-use-reference-of-struct-ix86_frame-to-avoi.diff
@@ -0,0 +1,59 @@
+From 839ca2d69157ef03c8df0ab912dacdb991738694 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Mon, 15 Jan 2018 11:33:42 +0000
+Subject: [PATCH 3/9] i386: More use reference of struct ix86_frame to avoid copy
+
+When there is no need to make a copy of ix86_frame, we can use reference
+of struct ix86_frame to avoid copy.
+
+ Backport from mainline
+ * config/i386/i386.c (ix86_expand_prologue): Use reference of
+ struct ix86_frame.
+ (ix86_expand_epilogue): Likewise.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256695 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 7 +++++++
+ gcc/config/i386/i386.c | 6 ++----
+ 2 files changed, 9 insertions(+), 4 deletions(-)
+
+diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
+index 397ef7c..986e6d7 100644
+--- a/src/gcc/config/i386/i386.c
++++ b/src/gcc/config/i386/i386.c
+@@ -13667,7 +13667,6 @@ ix86_expand_prologue (void)
+ {
+ struct machine_function *m = cfun->machine;
+ rtx insn, t;
+- struct ix86_frame frame;
+ HOST_WIDE_INT allocate;
+ bool int_registers_saved;
+ bool sse_registers_saved;
+@@ -13691,7 +13690,7 @@ ix86_expand_prologue (void)
+ m->fs.sp_valid = true;
+
+ ix86_compute_frame_layout ();
+- frame = m->frame;
++ struct ix86_frame &frame = cfun->machine->frame;
+
+ if (!TARGET_64BIT && ix86_function_ms_hook_prologue (current_function_decl))
+ {
+@@ -14354,13 +14353,12 @@ ix86_expand_epilogue (int style)
+ {
+ struct machine_function *m = cfun->machine;
+ struct machine_frame_state frame_state_save = m->fs;
+- struct ix86_frame frame;
+ bool restore_regs_via_mov;
+ bool using_drap;
+
+ ix86_finalize_stack_realign_flags ();
+ ix86_compute_frame_layout ();
+- frame = m->frame;
++ struct ix86_frame &frame = cfun->machine->frame;
+
+ m->fs.sp_valid = (!frame_pointer_needed
+ || (crtl->sp_is_unchanging
+--
+2.7.4
+
diff --git a/development/gcc5/patches/0004-i386-Don-t-use-reference-of-struct-ix86_frame.diff b/development/gcc5/patches/0004-i386-Don-t-use-reference-of-struct-ix86_frame.diff
new file mode 100644
index 0000000000..7678444cd7
--- /dev/null
+++ b/development/gcc5/patches/0004-i386-Don-t-use-reference-of-struct-ix86_frame.diff
@@ -0,0 +1,63 @@
+From c25b81ba01fa9ac0c1baa3aabd64190c47928f03 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 12:49:29 +0000
+Subject: [PATCH 4/9] i386: Don't use reference of struct ix86_frame
+
+Use reference of struct ix86_frame in ix86_expand_prologue and
+ix86_expand_epilogue caused:
+
+raised STORAGE_ERROR : stack overflow or erroneous memory access
+make[5]: *** [/export/gnu/import/git/sources/gcc/gcc/ada/Make-generated.in:45: ada/sinfo.h] Error 1
+
+on trunk when bootstrapping GCC with ada on x86-64.
+
+ * config/i386/i386.c (ix86_expand_prologue): Don't use reference
+ of struct ix86_frame.
+ (ix86_expand_epilogue): Likewise.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256742 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 10 ++++++++++
+ gcc/config/i386/i386.c | 6 ++++--
+ 2 files changed, 14 insertions(+), 2 deletions(-)
+
+diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
+index e758387..ba2abc5 100644
+--- a/src/gcc/config/i386/i386.c
++++ b/src/gcc/config/i386/i386.c
+@@ -14061,6 +14061,7 @@ ix86_expand_prologue (void)
+ {
+ struct machine_function *m = cfun->machine;
+ rtx insn, t;
++ struct ix86_frame frame;
+ HOST_WIDE_INT allocate;
+ bool int_registers_saved;
+ bool sse_registers_saved;
+@@ -14084,7 +14085,7 @@ ix86_expand_prologue (void)
+ m->fs.sp_valid = true;
+
+ ix86_compute_frame_layout ();
+- struct ix86_frame &frame = cfun->machine->frame;
++ frame = m->frame;
+
+ if (!TARGET_64BIT && ix86_function_ms_hook_prologue (current_function_decl))
+ {
+@@ -14747,12 +14748,13 @@ ix86_expand_epilogue (int style)
+ {
+ struct machine_function *m = cfun->machine;
+ struct machine_frame_state frame_state_save = m->fs;
++ struct ix86_frame frame;
+ bool restore_regs_via_mov;
+ bool using_drap;
+
+ ix86_finalize_stack_realign_flags ();
+ ix86_compute_frame_layout ();
+- struct ix86_frame &frame = cfun->machine->frame;
++ frame = m->frame;
+
+ m->fs.sp_valid = (!frame_pointer_needed
+ || (crtl->sp_is_unchanging
+--
+2.7.4
+
diff --git a/development/gcc5/patches/0005-x86-Add-mindirect-branch-doc.diff b/development/gcc5/patches/0005-x86-Add-mindirect-branch-doc.diff
new file mode 100644
index 0000000000..bcaf572b1e
--- /dev/null
+++ b/development/gcc5/patches/0005-x86-Add-mindirect-branch-doc.diff
@@ -0,0 +1,279 @@
+From c6b72be421ded17e0c156070ba6e90aa6c335ed6 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 10:59:42 +0000
+Subject: [PATCH 5/9] x86: Add -mindirect-branch= (documentation)
+
+Add -mindirect-branch= option to convert indirect call and jump to call
+and return thunks. The default is 'keep', which keeps indirect call and
+jump unmodified. 'thunk' converts indirect call and jump to call and
+return thunk. 'thunk-inline' converts indirect call and jump to inlined
+call and return thunk. 'thunk-extern' converts indirect call and jump to
+external call and return thunk provided in a separate object file. You
+can control this behavior for a specific function by using the function
+attribute indirect_branch.
+
+2 kinds of thunks are geneated. Memory thunk where the function address
+is at the top of the stack:
+
+__x86_indirect_thunk:
+ call L2
+L1:
+ pause
+ lfence
+ jmp L1
+L2:
+ lea 8(%rsp), %rsp|lea 4(%esp), %esp
+ ret
+
+Indirect jmp via memory, "jmp mem", is converted to
+
+ push memory
+ jmp __x86_indirect_thunk
+
+Indirect call via memory, "call mem", is converted to
+
+ jmp L2
+L1:
+ push [mem]
+ jmp __x86_indirect_thunk
+L2:
+ call L1
+
+Register thunk where the function address is in a register, reg:
+
+__x86_indirect_thunk_reg:
+ call L2
+L1:
+ pause
+ lfence
+ jmp L1
+L2:
+ movq %reg, (%rsp)|movl %reg, (%esp)
+ ret
+
+where reg is one of (r|e)ax, (r|e)dx, (r|e)cx, (r|e)bx, (r|e)si, (r|e)di,
+(r|e)bp, r8, r9, r10, r11, r12, r13, r14 and r15.
+
+Indirect jmp via register, "jmp reg", is converted to
+
+ jmp __x86_indirect_thunk_reg
+
+Indirect call via register, "call reg", is converted to
+
+ call __x86_indirect_thunk_reg
+
+gcc/
+
+ Backport from mainline
+ * config/i386/i386-opts.h (indirect_branch): New.
+ * config/i386/i386-protos.h (ix86_output_indirect_jmp): Likewise.
+ * config/i386/i386.c (ix86_using_red_zone): Disallow red-zone
+ with local indirect jump when converting indirect call and jump.
+ (ix86_set_indirect_branch_type): New.
+ (ix86_set_current_function): Call ix86_set_indirect_branch_type.
+ (indirectlabelno): New.
+ (indirect_thunk_needed): Likewise.
+ (indirect_thunk_bnd_needed): Likewise.
+ (indirect_thunks_used): Likewise.
+ (indirect_thunks_bnd_used): Likewise.
+ (INDIRECT_LABEL): Likewise.
+ (indirect_thunk_name): Likewise.
+ (output_indirect_thunk): Likewise.
+ (output_indirect_thunk_function): Likewise.
+ (ix86_output_indirect_branch_via_reg): Likewise.
+ (ix86_output_indirect_branch_via_push): Likewise.
+ (ix86_output_indirect_branch): Likewise.
+ (ix86_output_indirect_jmp): Likewise.
+ (ix86_code_end): Call output_indirect_thunk_function if needed.
+ (ix86_output_call_insn): Call ix86_output_indirect_branch if
+ needed.
+ (ix86_handle_fndecl_attribute): Handle indirect_branch.
+ (ix86_attribute_table): Add indirect_branch.
+ * config/i386/i386.h (machine_function): Add indirect_branch_type
+ and has_local_indirect_jump.
+ * config/i386/i386.md (indirect_jump): Set has_local_indirect_jump
+ to true.
+ (tablejump): Likewise.
+ (*indirect_jump): Use ix86_output_indirect_jmp.
+ (*tablejump_1): Likewise.
+ (simple_return_indirect_internal): Likewise.
+ * config/i386/i386.opt (mindirect-branch=): New option.
+ (indirect_branch): New.
+ (keep): Likewise.
+ (thunk): Likewise.
+ (thunk-inline): Likewise.
+ (thunk-extern): Likewise.
+ * doc/extend.texi: Document indirect_branch function attribute.
+ * doc/invoke.texi: Document -mindirect-branch= option.
+
+gcc/testsuite/
+
+ Backport from mainline
+ * gcc.target/i386/indirect-thunk-1.c: New test.
+ * gcc.target/i386/indirect-thunk-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-8.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-7.c: Likewise.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256732 138bc75d-0d04-0410-961f-82ee72b054a4
+
+[UBUNTU NOTES: Updated for gcc-5.4 to include defines for
+ FIRST_INT_REG, LAST_INT_REG, and LEGACY_INT_REGNO_P as defined in
+ https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222269.
+ Dropped indirect-thunk-5.c, indirect-thunk-6.c,
+ indirect-thunk-bnd-3.c, indirect-thunk-bnd-4.c,
+ indirect-thunk-extern-5.c, indirect-thunk-extern-6.c,
+ indirect-thunk-inline-5.c, and indirect-thunk-inline-6.c tests due
+ to gcc 5.4 and earlier not supporting the -fno-plt option.
+ --sbeattie, tyhicks]
+---
+ src/gcc/config/i386/i386-opts.h | 13
+ src/gcc/config/i386/i386-protos.h | 1
+ src/gcc/config/i386/i386.c | 621 +++++++++++-
+ src/gcc/config/i386/i386.h | 12
+ src/gcc/config/i386/i386.md | 26
+ src/gcc/config/i386/i386.opt | 20
+ src/gcc/doc/extend.texi | 10
+ src/gcc/doc/invoke.texi | 14
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c | 44
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c | 23
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c | 23
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c | 22
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c | 22
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c | 44
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c | 42
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c | 19
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c | 19
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c | 43
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c | 44
+ 33 files changed, 1334 insertions(+), 15 deletions(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
+
+Index: b/src/gcc/doc/extend.texi
+===================================================================
+--- a/src/gcc/doc/extend.texi
++++ b/src/gcc/doc/extend.texi
+@@ -4119,6 +4119,16 @@ Specify which floating-point unit to use
+ @code{target("fpmath=sse,387")} option must be specified as
+ @code{target("fpmath=sse+387")} because the comma would separate
+ different options.
++
++@item indirect_branch("@var{choice}")
++@cindex @code{indirect_branch} function attribute, x86
++On x86 targets, the @code{indirect_branch} attribute causes the compiler
++to convert indirect call and jump with @var{choice}. @samp{keep}
++keeps indirect call and jump unmodified. @samp{thunk} converts indirect
++call and jump to call and return thunk. @samp{thunk-inline} converts
++indirect call and jump to inlined call and return thunk.
++@samp{thunk-extern} converts indirect call and jump to external call
++and return thunk provided in a separate object file.
+ @end table
+
+ On the PowerPC, the following options are allowed:
+Index: b/src/gcc/doc/invoke.texi
+===================================================================
+--- a/src/gcc/doc/invoke.texi
++++ b/src/gcc/doc/invoke.texi
+@@ -1090,7 +1090,8 @@ See RS/6000 and PowerPC Options.
+ -m32 -m64 -mx32 -m16 -mlarge-data-threshold=@var{num} @gol
+ -msse2avx -mfentry -mrecord-mcount -mnop-mcount -m8bit-idiv @gol
+ -mavx256-split-unaligned-load -mavx256-split-unaligned-store @gol
+--malign-data=@var{type} -mstack-protector-guard=@var{guard}}
++-malign-data=@var{type} -mstack-protector-guard=@var{guard} @gol
++-mindirect-branch=@var{choice}}
+
+ @emph{x86 Windows Options}
+ @gccoptlist{-mconsole -mcygwin -mno-cygwin -mdll @gol
+@@ -24017,6 +24018,17 @@ The default value of this option is enab
+ of the option is @option{-fno-sync-libcalls}. This option is used in
+ the implementation of the @file{libatomic} runtime library.
+
++@item -mindirect-branch=@var{choice}
++@opindex -mindirect-branch
++Convert indirect call and jump with @var{choice}. The default is
++@samp{keep}, which keeps indirect call and jump unmodified.
++@samp{thunk} converts indirect call and jump to call and return thunk.
++@samp{thunk-inline} converts indirect call and jump to inlined call
++and return thunk. @samp{thunk-extern} converts indirect call and jump
++to external call and return thunk provided in a separate object file.
++You can control this behavior for a specific function by using the
++function attribute @code{indirect_branch}. @xref{Function Attributes}.
++
+ @end table
+
+ @c man end
diff --git a/development/gcc5/patches/0005-x86-Add-mindirect-branch.diff b/development/gcc5/patches/0005-x86-Add-mindirect-branch.diff
new file mode 100644
index 0000000000..db9690ccc1
--- /dev/null
+++ b/development/gcc5/patches/0005-x86-Add-mindirect-branch.diff
@@ -0,0 +1,1870 @@
+From c6b72be421ded17e0c156070ba6e90aa6c335ed6 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 10:59:42 +0000
+Subject: [PATCH 5/9] x86: Add -mindirect-branch=
+
+Add -mindirect-branch= option to convert indirect call and jump to call
+and return thunks. The default is 'keep', which keeps indirect call and
+jump unmodified. 'thunk' converts indirect call and jump to call and
+return thunk. 'thunk-inline' converts indirect call and jump to inlined
+call and return thunk. 'thunk-extern' converts indirect call and jump to
+external call and return thunk provided in a separate object file. You
+can control this behavior for a specific function by using the function
+attribute indirect_branch.
+
+2 kinds of thunks are geneated. Memory thunk where the function address
+is at the top of the stack:
+
+__x86_indirect_thunk:
+ call L2
+L1:
+ pause
+ lfence
+ jmp L1
+L2:
+ lea 8(%rsp), %rsp|lea 4(%esp), %esp
+ ret
+
+Indirect jmp via memory, "jmp mem", is converted to
+
+ push memory
+ jmp __x86_indirect_thunk
+
+Indirect call via memory, "call mem", is converted to
+
+ jmp L2
+L1:
+ push [mem]
+ jmp __x86_indirect_thunk
+L2:
+ call L1
+
+Register thunk where the function address is in a register, reg:
+
+__x86_indirect_thunk_reg:
+ call L2
+L1:
+ pause
+ lfence
+ jmp L1
+L2:
+ movq %reg, (%rsp)|movl %reg, (%esp)
+ ret
+
+where reg is one of (r|e)ax, (r|e)dx, (r|e)cx, (r|e)bx, (r|e)si, (r|e)di,
+(r|e)bp, r8, r9, r10, r11, r12, r13, r14 and r15.
+
+Indirect jmp via register, "jmp reg", is converted to
+
+ jmp __x86_indirect_thunk_reg
+
+Indirect call via register, "call reg", is converted to
+
+ call __x86_indirect_thunk_reg
+
+gcc/
+
+ Backport from mainline
+ * config/i386/i386-opts.h (indirect_branch): New.
+ * config/i386/i386-protos.h (ix86_output_indirect_jmp): Likewise.
+ * config/i386/i386.c (ix86_using_red_zone): Disallow red-zone
+ with local indirect jump when converting indirect call and jump.
+ (ix86_set_indirect_branch_type): New.
+ (ix86_set_current_function): Call ix86_set_indirect_branch_type.
+ (indirectlabelno): New.
+ (indirect_thunk_needed): Likewise.
+ (indirect_thunk_bnd_needed): Likewise.
+ (indirect_thunks_used): Likewise.
+ (indirect_thunks_bnd_used): Likewise.
+ (INDIRECT_LABEL): Likewise.
+ (indirect_thunk_name): Likewise.
+ (output_indirect_thunk): Likewise.
+ (output_indirect_thunk_function): Likewise.
+ (ix86_output_indirect_branch_via_reg): Likewise.
+ (ix86_output_indirect_branch_via_push): Likewise.
+ (ix86_output_indirect_branch): Likewise.
+ (ix86_output_indirect_jmp): Likewise.
+ (ix86_code_end): Call output_indirect_thunk_function if needed.
+ (ix86_output_call_insn): Call ix86_output_indirect_branch if
+ needed.
+ (ix86_handle_fndecl_attribute): Handle indirect_branch.
+ (ix86_attribute_table): Add indirect_branch.
+ * config/i386/i386.h (machine_function): Add indirect_branch_type
+ and has_local_indirect_jump.
+ * config/i386/i386.md (indirect_jump): Set has_local_indirect_jump
+ to true.
+ (tablejump): Likewise.
+ (*indirect_jump): Use ix86_output_indirect_jmp.
+ (*tablejump_1): Likewise.
+ (simple_return_indirect_internal): Likewise.
+ * config/i386/i386.opt (mindirect-branch=): New option.
+ (indirect_branch): New.
+ (keep): Likewise.
+ (thunk): Likewise.
+ (thunk-inline): Likewise.
+ (thunk-extern): Likewise.
+ * doc/extend.texi: Document indirect_branch function attribute.
+ * doc/invoke.texi: Document -mindirect-branch= option.
+
+gcc/testsuite/
+
+ Backport from mainline
+ * gcc.target/i386/indirect-thunk-1.c: New test.
+ * gcc.target/i386/indirect-thunk-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-8.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-7.c: Likewise.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256732 138bc75d-0d04-0410-961f-82ee72b054a4
+
+[UBUNTU NOTES: Updated for gcc-5.4 to include defines for
+ FIRST_INT_REG, LAST_INT_REG, and LEGACY_INT_REGNO_P as defined in
+ https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=222269.
+ Dropped indirect-thunk-5.c, indirect-thunk-6.c,
+ indirect-thunk-bnd-3.c, indirect-thunk-bnd-4.c,
+ indirect-thunk-extern-5.c, indirect-thunk-extern-6.c,
+ indirect-thunk-inline-5.c, and indirect-thunk-inline-6.c tests due
+ to gcc 5.4 and earlier not supporting the -fno-plt option.
+ --sbeattie, tyhicks]
+---
+ src/gcc/config/i386/i386-opts.h | 13
+ src/gcc/config/i386/i386-protos.h | 1
+ src/gcc/config/i386/i386.c | 621 +++++++++++-
+ src/gcc/config/i386/i386.h | 12
+ src/gcc/config/i386/i386.md | 26
+ src/gcc/config/i386/i386.opt | 20
+ src/gcc/doc/extend.texi | 10
+ src/gcc/doc/invoke.texi | 14
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c | 44
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c | 23
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c | 23
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c | 22
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c | 22
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c | 44
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c | 42
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c | 19
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c | 19
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c | 43
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c | 20
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c | 21
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c | 44
+ 33 files changed, 1334 insertions(+), 15 deletions(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
+
+Index: b/src/gcc/config/i386/i386-opts.h
+===================================================================
+--- a/src/gcc/config/i386/i386-opts.h
++++ b/src/gcc/config/i386/i386-opts.h
+@@ -99,4 +99,17 @@ enum stack_protector_guard {
+ SSP_GLOBAL /* global canary */
+ };
+
++/* This is used to mitigate variant #2 of the speculative execution
++ vulnerabilities on x86 processors identified by CVE-2017-5715, aka
++ Spectre. They convert indirect branches and function returns to
++ call and return thunks to avoid speculative execution via indirect
++ call, jmp and ret. */
++enum indirect_branch {
++ indirect_branch_unset = 0,
++ indirect_branch_keep,
++ indirect_branch_thunk,
++ indirect_branch_thunk_inline,
++ indirect_branch_thunk_extern
++};
++
+ #endif
+Index: b/src/gcc/config/i386/i386-protos.h
+===================================================================
+--- a/src/gcc/config/i386/i386-protos.h
++++ b/src/gcc/config/i386/i386-protos.h
+@@ -306,6 +306,7 @@ extern enum attr_cpu ix86_schedule;
+ #endif
+
+ extern const char * ix86_output_call_insn (rtx_insn *insn, rtx call_op);
++extern const char * ix86_output_indirect_jmp (rtx call_op, bool ret_p);
+
+ #ifdef RTX_CODE
+ /* Target data for multipass lookahead scheduling.
+Index: b/src/gcc/config/i386/i386.c
+===================================================================
+--- a/src/gcc/config/i386/i386.c
++++ b/src/gcc/config/i386/i386.c
+@@ -2554,12 +2554,23 @@ make_pass_insert_vzeroupper (gcc::contex
+ return new pass_insert_vzeroupper (ctxt);
+ }
+
+-/* Return true if a red-zone is in use. */
++/* Return true if a red-zone is in use. We can't use red-zone when
++ there are local indirect jumps, like "indirect_jump" or "tablejump",
++ which jumps to another place in the function, since "call" in the
++ indirect thunk pushes the return address onto stack, destroying
++ red-zone.
++
++ TODO: If we can reserve the first 2 WORDs, for PUSH and, another
++ for CALL, in red-zone, we can allow local indirect jumps with
++ indirect thunk. */
+
+ static inline bool
+ ix86_using_red_zone (void)
+ {
+- return TARGET_RED_ZONE && !TARGET_64BIT_MS_ABI;
++ return (TARGET_RED_ZONE
++ && !TARGET_64BIT_MS_ABI
++ && (!cfun->machine->has_local_indirect_jump
++ || cfun->machine->indirect_branch_type == indirect_branch_keep));
+ }
+
+ /* Return a string that documents the current -m options. The caller is
+@@ -5126,6 +5137,37 @@ ix86_reset_previous_fndecl (void)
+ ix86_previous_fndecl = NULL_TREE;
+ }
+
++/* Set the indirect_branch_type field from the function FNDECL. */
++
++static void
++ix86_set_indirect_branch_type (tree fndecl)
++{
++ if (cfun->machine->indirect_branch_type == indirect_branch_unset)
++ {
++ tree attr = lookup_attribute ("indirect_branch",
++ DECL_ATTRIBUTES (fndecl));
++ if (attr != NULL)
++ {
++ tree args = TREE_VALUE (attr);
++ if (args == NULL)
++ gcc_unreachable ();
++ tree cst = TREE_VALUE (args);
++ if (strcmp (TREE_STRING_POINTER (cst), "keep") == 0)
++ cfun->machine->indirect_branch_type = indirect_branch_keep;
++ else if (strcmp (TREE_STRING_POINTER (cst), "thunk") == 0)
++ cfun->machine->indirect_branch_type = indirect_branch_thunk;
++ else if (strcmp (TREE_STRING_POINTER (cst), "thunk-inline") == 0)
++ cfun->machine->indirect_branch_type = indirect_branch_thunk_inline;
++ else if (strcmp (TREE_STRING_POINTER (cst), "thunk-extern") == 0)
++ cfun->machine->indirect_branch_type = indirect_branch_thunk_extern;
++ else
++ gcc_unreachable ();
++ }
++ else
++ cfun->machine->indirect_branch_type = ix86_indirect_branch;
++ }
++}
++
+ /* Establish appropriate back-end context for processing the function
+ FNDECL. The argument might be NULL to indicate processing at top
+ level, outside of any function scope. */
+@@ -5136,7 +5178,11 @@ ix86_set_current_function (tree fndecl)
+ several times in the course of compiling a function, and we don't want to
+ slow things down too much or call target_reinit when it isn't safe. */
+ if (fndecl == ix86_previous_fndecl)
+- return;
++ {
++ if (fndecl != NULL_TREE)
++ ix86_set_indirect_branch_type (fndecl);
++ return;
++ }
+
+ tree old_tree;
+ if (ix86_previous_fndecl == NULL_TREE)
+@@ -5153,6 +5199,8 @@ ix86_set_current_function (tree fndecl)
+ return;
+ }
+
++ ix86_set_indirect_branch_type (fndecl);
++
+ tree new_tree = DECL_FUNCTION_SPECIFIC_TARGET (fndecl);
+ if (new_tree == NULL_TREE)
+ new_tree = target_option_default_node;
+@@ -9681,6 +9729,220 @@ ix86_setup_frame_addresses (void)
+ # endif
+ #endif
+
++/* Label count for call and return thunks. It is used to make unique
++ labels in call and return thunks. */
++static int indirectlabelno;
++
++/* True if call and return thunk functions are needed. */
++static bool indirect_thunk_needed = false;
++/* True if call and return thunk functions with the BND prefix are
++ needed. */
++static bool indirect_thunk_bnd_needed = false;
++
++/* Bit masks of integer registers, which contain branch target, used
++ by call and return thunks functions. */
++static int indirect_thunks_used;
++/* Bit masks of integer registers, which contain branch target, used
++ by call and return thunks functions with the BND prefix. */
++static int indirect_thunks_bnd_used;
++
++#ifndef INDIRECT_LABEL
++# define INDIRECT_LABEL "LIND"
++#endif
++
++/* Fills in the label name that should be used for the indirect thunk. */
++
++static void
++indirect_thunk_name (char name[32], int regno, bool need_bnd_p)
++{
++ if (USE_HIDDEN_LINKONCE)
++ {
++ const char *bnd = need_bnd_p ? "_bnd" : "";
++ if (regno >= 0)
++ {
++ const char *reg_prefix;
++ if (LEGACY_INT_REGNO_P (regno))
++ reg_prefix = TARGET_64BIT ? "r" : "e";
++ else
++ reg_prefix = "";
++ sprintf (name, "__x86_indirect_thunk%s_%s%s",
++ bnd, reg_prefix, reg_names[regno]);
++ }
++ else
++ sprintf (name, "__x86_indirect_thunk%s", bnd);
++ }
++ else
++ {
++ if (regno >= 0)
++ {
++ if (need_bnd_p)
++ ASM_GENERATE_INTERNAL_LABEL (name, "LITBR", regno);
++ else
++ ASM_GENERATE_INTERNAL_LABEL (name, "LITR", regno);
++ }
++ else
++ {
++ if (need_bnd_p)
++ ASM_GENERATE_INTERNAL_LABEL (name, "LITB", 0);
++ else
++ ASM_GENERATE_INTERNAL_LABEL (name, "LIT", 0);
++ }
++ }
++}
++
++/* Output a call and return thunk for indirect branch. If BND_P is
++ true, the BND prefix is needed. If REGNO != -1, the function
++ address is in REGNO and the call and return thunk looks like:
++
++ call L2
++ L1:
++ pause
++ jmp L1
++ L2:
++ mov %REG, (%sp)
++ ret
++
++ Otherwise, the function address is on the top of stack and the
++ call and return thunk looks like:
++
++ call L2
++ L1:
++ pause
++ jmp L1
++ L2:
++ lea WORD_SIZE(%sp), %sp
++ ret
++ */
++
++static void
++output_indirect_thunk (bool need_bnd_p, int regno)
++{
++ char indirectlabel1[32];
++ char indirectlabel2[32];
++
++ ASM_GENERATE_INTERNAL_LABEL (indirectlabel1, INDIRECT_LABEL,
++ indirectlabelno++);
++ ASM_GENERATE_INTERNAL_LABEL (indirectlabel2, INDIRECT_LABEL,
++ indirectlabelno++);
++
++ /* Call */
++ if (need_bnd_p)
++ fputs ("\tbnd call\t", asm_out_file);
++ else
++ fputs ("\tcall\t", asm_out_file);
++ assemble_name_raw (asm_out_file, indirectlabel2);
++ fputc ('\n', asm_out_file);
++
++ ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, indirectlabel1);
++
++ /* Pause + lfence. */
++ fprintf (asm_out_file, "\tpause\n\tlfence\n");
++
++ /* Jump. */
++ fputs ("\tjmp\t", asm_out_file);
++ assemble_name_raw (asm_out_file, indirectlabel1);
++ fputc ('\n', asm_out_file);
++
++ ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, indirectlabel2);
++
++ if (regno >= 0)
++ {
++ /* MOV. */
++ rtx xops[2];
++ xops[0] = gen_rtx_MEM (word_mode, stack_pointer_rtx);
++ xops[1] = gen_rtx_REG (word_mode, regno);
++ output_asm_insn ("mov\t{%1, %0|%0, %1}", xops);
++ }
++ else
++ {
++ /* LEA. */
++ rtx xops[2];
++ xops[0] = stack_pointer_rtx;
++ xops[1] = plus_constant (Pmode, stack_pointer_rtx, UNITS_PER_WORD);
++ output_asm_insn ("lea\t{%E1, %0|%0, %E1}", xops);
++ }
++
++ if (need_bnd_p)
++ fputs ("\tbnd ret\n", asm_out_file);
++ else
++ fputs ("\tret\n", asm_out_file);
++}
++
++/* Output a funtion with a call and return thunk for indirect branch.
++ If BND_P is true, the BND prefix is needed. If REGNO != -1, the
++ function address is in REGNO. Otherwise, the function address is
++ on the top of stack. */
++
++static void
++output_indirect_thunk_function (bool need_bnd_p, int regno)
++{
++ char name[32];
++ tree decl;
++
++ /* Create __x86_indirect_thunk/__x86_indirect_thunk_bnd. */
++ indirect_thunk_name (name, regno, need_bnd_p);
++ decl = build_decl (BUILTINS_LOCATION, FUNCTION_DECL,
++ get_identifier (name),
++ build_function_type_list (void_type_node, NULL_TREE));
++ DECL_RESULT (decl) = build_decl (BUILTINS_LOCATION, RESULT_DECL,
++ NULL_TREE, void_type_node);
++ TREE_PUBLIC (decl) = 1;
++ TREE_STATIC (decl) = 1;
++ DECL_IGNORED_P (decl) = 1;
++
++#if TARGET_MACHO
++ if (TARGET_MACHO)
++ {
++ switch_to_section (darwin_sections[picbase_thunk_section]);
++ fputs ("\t.weak_definition\t", asm_out_file);
++ assemble_name (asm_out_file, name);
++ fputs ("\n\t.private_extern\t", asm_out_file);
++ assemble_name (asm_out_file, name);
++ putc ('\n', asm_out_file);
++ ASM_OUTPUT_LABEL (asm_out_file, name);
++ DECL_WEAK (decl) = 1;
++ }
++ else
++#endif
++ if (USE_HIDDEN_LINKONCE)
++ {
++ cgraph_node::create (decl)->set_comdat_group (DECL_ASSEMBLER_NAME (decl));
++
++ targetm.asm_out.unique_section (decl, 0);
++ switch_to_section (get_named_section (decl, NULL, 0));
++
++ targetm.asm_out.globalize_label (asm_out_file, name);
++ fputs ("\t.hidden\t", asm_out_file);
++ assemble_name (asm_out_file, name);
++ putc ('\n', asm_out_file);
++ ASM_DECLARE_FUNCTION_NAME (asm_out_file, name, decl);
++ }
++ else
++ {
++ switch_to_section (text_section);
++ ASM_OUTPUT_LABEL (asm_out_file, name);
++ }
++
++ DECL_INITIAL (decl) = make_node (BLOCK);
++ current_function_decl = decl;
++ allocate_struct_function (decl, false);
++ init_function_start (decl);
++ /* We're about to hide the function body from callees of final_* by
++ emitting it directly; tell them we're a thunk, if they care. */
++ cfun->is_thunk = true;
++ first_function_block_is_cold = false;
++ /* Make sure unwind info is emitted for the thunk if needed. */
++ final_start_function (emit_barrier (), asm_out_file, 1);
++
++ output_indirect_thunk (need_bnd_p, regno);
++
++ final_end_function ();
++ init_insn_lengths ();
++ free_after_compilation (cfun);
++ set_cfun (NULL);
++ current_function_decl = NULL;
++}
++
+ static int pic_labels_used;
+
+ /* Fills in the label name that should be used for a pc thunk for
+@@ -9707,11 +9969,32 @@ ix86_code_end (void)
+ rtx xops[2];
+ int regno;
+
++ if (indirect_thunk_needed)
++ output_indirect_thunk_function (false, -1);
++ if (indirect_thunk_bnd_needed)
++ output_indirect_thunk_function (true, -1);
++
++ for (regno = FIRST_REX_INT_REG; regno <= LAST_REX_INT_REG; regno++)
++ {
++ int i = regno - FIRST_REX_INT_REG + LAST_INT_REG + 1;
++ if ((indirect_thunks_used & (1 << i)))
++ output_indirect_thunk_function (false, regno);
++
++ if ((indirect_thunks_bnd_used & (1 << i)))
++ output_indirect_thunk_function (true, regno);
++ }
++
+ for (regno = AX_REG; regno <= SP_REG; regno++)
+ {
+ char name[32];
+ tree decl;
+
++ if ((indirect_thunks_used & (1 << regno)))
++ output_indirect_thunk_function (false, regno);
++
++ if ((indirect_thunks_bnd_used & (1 << regno)))
++ output_indirect_thunk_function (true, regno);
++
+ if (!(pic_labels_used & (1 << regno)))
+ continue;
+
+@@ -25805,12 +26088,292 @@ ix86_expand_call (rtx retval, rtx fnaddr
+ return call;
+ }
+
++/* Output indirect branch via a call and return thunk. CALL_OP is a
++ register which contains the branch target. XASM is the assembly
++ template for CALL_OP. Branch is a tail call if SIBCALL_P is true.
++ A normal call is converted to:
++
++ call __x86_indirect_thunk_reg
++
++ and a tail call is converted to:
++
++ jmp __x86_indirect_thunk_reg
++ */
++
++static void
++ix86_output_indirect_branch_via_reg (rtx call_op, bool sibcall_p)
++{
++ char thunk_name_buf[32];
++ char *thunk_name;
++ bool need_bnd_p = ix86_bnd_prefixed_insn_p (current_output_insn);
++ int regno = REGNO (call_op);
++
++ if (cfun->machine->indirect_branch_type
++ != indirect_branch_thunk_inline)
++ {
++ if (cfun->machine->indirect_branch_type == indirect_branch_thunk)
++ {
++ int i = regno;
++ if (i >= FIRST_REX_INT_REG)
++ i -= (FIRST_REX_INT_REG - LAST_INT_REG - 1);
++ if (need_bnd_p)
++ indirect_thunks_bnd_used |= 1 << i;
++ else
++ indirect_thunks_used |= 1 << i;
++ }
++ indirect_thunk_name (thunk_name_buf, regno, need_bnd_p);
++ thunk_name = thunk_name_buf;
++ }
++ else
++ thunk_name = NULL;
++
++ if (sibcall_p)
++ {
++ if (thunk_name != NULL)
++ {
++ if (need_bnd_p)
++ fprintf (asm_out_file, "\tbnd jmp\t%s\n", thunk_name);
++ else
++ fprintf (asm_out_file, "\tjmp\t%s\n", thunk_name);
++ }
++ else
++ output_indirect_thunk (need_bnd_p, regno);
++ }
++ else
++ {
++ if (thunk_name != NULL)
++ {
++ if (need_bnd_p)
++ fprintf (asm_out_file, "\tbnd call\t%s\n", thunk_name);
++ else
++ fprintf (asm_out_file, "\tcall\t%s\n", thunk_name);
++ return;
++ }
++
++ char indirectlabel1[32];
++ char indirectlabel2[32];
++
++ ASM_GENERATE_INTERNAL_LABEL (indirectlabel1,
++ INDIRECT_LABEL,
++ indirectlabelno++);
++ ASM_GENERATE_INTERNAL_LABEL (indirectlabel2,
++ INDIRECT_LABEL,
++ indirectlabelno++);
++
++ /* Jump. */
++ if (need_bnd_p)
++ fputs ("\tbnd jmp\t", asm_out_file);
++ else
++ fputs ("\tjmp\t", asm_out_file);
++ assemble_name_raw (asm_out_file, indirectlabel2);
++ fputc ('\n', asm_out_file);
++
++ ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, indirectlabel1);
++
++ if (thunk_name != NULL)
++ {
++ if (need_bnd_p)
++ fprintf (asm_out_file, "\tbnd jmp\t%s\n", thunk_name);
++ else
++ fprintf (asm_out_file, "\tjmp\t%s\n", thunk_name);
++ }
++ else
++ output_indirect_thunk (need_bnd_p, regno);
++
++ ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, indirectlabel2);
++
++ /* Call. */
++ if (need_bnd_p)
++ fputs ("\tbnd call\t", asm_out_file);
++ else
++ fputs ("\tcall\t", asm_out_file);
++ assemble_name_raw (asm_out_file, indirectlabel1);
++ fputc ('\n', asm_out_file);
++ }
++}
++
++/* Output indirect branch via a call and return thunk. CALL_OP is
++ the branch target. XASM is the assembly template for CALL_OP.
++ Branch is a tail call if SIBCALL_P is true. A normal call is
++ converted to:
++
++ jmp L2
++ L1:
++ push CALL_OP
++ jmp __x86_indirect_thunk
++ L2:
++ call L1
++
++ and a tail call is converted to:
++
++ push CALL_OP
++ jmp __x86_indirect_thunk
++ */
++
++static void
++ix86_output_indirect_branch_via_push (rtx call_op, const char *xasm,
++ bool sibcall_p)
++{
++ char thunk_name_buf[32];
++ char *thunk_name;
++ char push_buf[64];
++ bool need_bnd_p = ix86_bnd_prefixed_insn_p (current_output_insn);
++ int regno = -1;
++
++ if (cfun->machine->indirect_branch_type
++ != indirect_branch_thunk_inline)
++ {
++ if (cfun->machine->indirect_branch_type == indirect_branch_thunk)
++ {
++ if (need_bnd_p)
++ indirect_thunk_bnd_needed = true;
++ else
++ indirect_thunk_needed = true;
++ }
++ indirect_thunk_name (thunk_name_buf, regno, need_bnd_p);
++ thunk_name = thunk_name_buf;
++ }
++ else
++ thunk_name = NULL;
++
++ snprintf (push_buf, sizeof (push_buf), "push{%c}\t%s",
++ TARGET_64BIT ? 'q' : 'l', xasm);
++
++ if (sibcall_p)
++ {
++ output_asm_insn (push_buf, &call_op);
++ if (thunk_name != NULL)
++ {
++ if (need_bnd_p)
++ fprintf (asm_out_file, "\tbnd jmp\t%s\n", thunk_name);
++ else
++ fprintf (asm_out_file, "\tjmp\t%s\n", thunk_name);
++ }
++ else
++ output_indirect_thunk (need_bnd_p, regno);
++ }
++ else
++ {
++ char indirectlabel1[32];
++ char indirectlabel2[32];
++
++ ASM_GENERATE_INTERNAL_LABEL (indirectlabel1,
++ INDIRECT_LABEL,
++ indirectlabelno++);
++ ASM_GENERATE_INTERNAL_LABEL (indirectlabel2,
++ INDIRECT_LABEL,
++ indirectlabelno++);
++
++ /* Jump. */
++ if (need_bnd_p)
++ fputs ("\tbnd jmp\t", asm_out_file);
++ else
++ fputs ("\tjmp\t", asm_out_file);
++ assemble_name_raw (asm_out_file, indirectlabel2);
++ fputc ('\n', asm_out_file);
++
++ ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, indirectlabel1);
++
++ /* An external function may be called via GOT, instead of PLT. */
++ if (MEM_P (call_op))
++ {
++ struct ix86_address parts;
++ rtx addr = XEXP (call_op, 0);
++ if (ix86_decompose_address (addr, &parts)
++ && parts.base == stack_pointer_rtx)
++ {
++ /* Since call will adjust stack by -UNITS_PER_WORD,
++ we must convert "disp(stack, index, scale)" to
++ "disp+UNITS_PER_WORD(stack, index, scale)". */
++ if (parts.index)
++ {
++ addr = gen_rtx_MULT (Pmode, parts.index,
++ GEN_INT (parts.scale));
++ addr = gen_rtx_PLUS (Pmode, stack_pointer_rtx,
++ addr);
++ }
++ else
++ addr = stack_pointer_rtx;
++
++ rtx disp;
++ if (parts.disp != NULL_RTX)
++ disp = plus_constant (Pmode, parts.disp,
++ UNITS_PER_WORD);
++ else
++ disp = GEN_INT (UNITS_PER_WORD);
++
++ addr = gen_rtx_PLUS (Pmode, addr, disp);
++ call_op = gen_rtx_MEM (GET_MODE (call_op), addr);
++ }
++ }
++
++ output_asm_insn (push_buf, &call_op);
++
++ if (thunk_name != NULL)
++ {
++ if (need_bnd_p)
++ fprintf (asm_out_file, "\tbnd jmp\t%s\n", thunk_name);
++ else
++ fprintf (asm_out_file, "\tjmp\t%s\n", thunk_name);
++ }
++ else
++ output_indirect_thunk (need_bnd_p, regno);
++
++ ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, indirectlabel2);
++
++ /* Call. */
++ if (need_bnd_p)
++ fputs ("\tbnd call\t", asm_out_file);
++ else
++ fputs ("\tcall\t", asm_out_file);
++ assemble_name_raw (asm_out_file, indirectlabel1);
++ fputc ('\n', asm_out_file);
++ }
++}
++
++/* Output indirect branch via a call and return thunk. CALL_OP is
++ the branch target. XASM is the assembly template for CALL_OP.
++ Branch is a tail call if SIBCALL_P is true. */
++
++static void
++ix86_output_indirect_branch (rtx call_op, const char *xasm,
++ bool sibcall_p)
++{
++ if (REG_P (call_op))
++ ix86_output_indirect_branch_via_reg (call_op, sibcall_p);
++ else
++ ix86_output_indirect_branch_via_push (call_op, xasm, sibcall_p);
++}
++/* Output indirect jump. CALL_OP is the jump target. Jump is a
++ function return if RET_P is true. */
++
++const char *
++ix86_output_indirect_jmp (rtx call_op, bool ret_p)
++{
++ if (cfun->machine->indirect_branch_type != indirect_branch_keep)
++ {
++ /* We can't have red-zone if this isn't a function return since
++ "call" in the indirect thunk pushes the return address onto
++ stack, destroying red-zone. */
++ if (!ret_p && ix86_red_zone_size != 0)
++ gcc_unreachable ();
++
++ ix86_output_indirect_branch (call_op, "%0", true);
++ return "";
++ }
++ else
++ return "%!jmp\t%A0";
++}
++
+ /* Output the assembly for a call instruction. */
+
+ const char *
+ ix86_output_call_insn (rtx_insn *insn, rtx call_op)
+ {
+ bool direct_p = constant_call_address_operand (call_op, VOIDmode);
++ bool output_indirect_p
++ = (!TARGET_SEH
++ && cfun->machine->indirect_branch_type != indirect_branch_keep);
+ bool seh_nop_p = false;
+ const char *xasm;
+
+@@ -25823,9 +26386,17 @@ ix86_output_call_insn (rtx_insn *insn, r
+ else if (TARGET_SEH)
+ xasm = "%!rex.W jmp %A0";
+ else
+- xasm = "%!jmp\t%A0";
++ {
++ if (output_indirect_p)
++ xasm = "%0";
++ else
++ xasm = "%!jmp\t%A0";
++ }
+
+- output_asm_insn (xasm, &call_op);
++ if (output_indirect_p && !direct_p)
++ ix86_output_indirect_branch (call_op, xasm, true);
++ else
++ output_asm_insn (xasm, &call_op);
+ return "";
+ }
+
+@@ -25862,9 +26433,17 @@ ix86_output_call_insn (rtx_insn *insn, r
+ if (direct_p)
+ xasm = "%!call\t%P0";
+ else
+- xasm = "%!call\t%A0";
++ {
++ if (output_indirect_p)
++ xasm = "%0";
++ else
++ xasm = "%!call\t%A0";
++ }
+
+- output_asm_insn (xasm, &call_op);
++ if (output_indirect_p && !direct_p)
++ ix86_output_indirect_branch (call_op, xasm, false);
++ else
++ output_asm_insn (xasm, &call_op);
+
+ if (seh_nop_p)
+ return "nop";
+@@ -43014,7 +43593,7 @@ ix86_handle_struct_attribute (tree *node
+ }
+
+ static tree
+-ix86_handle_fndecl_attribute (tree *node, tree name, tree, int,
++ix86_handle_fndecl_attribute (tree *node, tree name, tree args, int,
+ bool *no_add_attrs)
+ {
+ if (TREE_CODE (*node) != FUNCTION_DECL)
+@@ -43023,6 +43602,29 @@ ix86_handle_fndecl_attribute (tree *node
+ name);
+ *no_add_attrs = true;
+ }
++
++ if (is_attribute_p ("indirect_branch", name))
++ {
++ tree cst = TREE_VALUE (args);
++ if (TREE_CODE (cst) != STRING_CST)
++ {
++ warning (OPT_Wattributes,
++ "%qE attribute requires a string constant argument",
++ name);
++ *no_add_attrs = true;
++ }
++ else if (strcmp (TREE_STRING_POINTER (cst), "keep") != 0
++ && strcmp (TREE_STRING_POINTER (cst), "thunk") != 0
++ && strcmp (TREE_STRING_POINTER (cst), "thunk-inline") != 0
++ && strcmp (TREE_STRING_POINTER (cst), "thunk-extern") != 0)
++ {
++ warning (OPT_Wattributes,
++ "argument to %qE attribute is not "
++ "(keep|thunk|thunk-inline|thunk-extern)", name);
++ *no_add_attrs = true;
++ }
++ }
++
+ return NULL_TREE;
+ }
+
+@@ -46915,6 +47517,9 @@ static const struct attribute_spec ix86_
+ false },
+ { "callee_pop_aggregate_return", 1, 1, false, true, true,
+ ix86_handle_callee_pop_aggregate_return, true },
++ { "indirect_branch", 1, 1, true, false, false,
++ ix86_handle_fndecl_attribute, false },
++
+ /* End element. */
+ { NULL, 0, 0, false, false, false, NULL, false }
+ };
+Index: b/src/gcc/config/i386/i386.h
+===================================================================
+--- a/src/gcc/config/i386/i386.h
++++ b/src/gcc/config/i386/i386.h
+@@ -1229,6 +1229,9 @@ extern const char *host_detect_local_cpu
+ /* Base register for access to local variables of the function. */
+ #define FRAME_POINTER_REGNUM 20
+
++#define FIRST_INT_REG AX_REG
++#define LAST_INT_REG SP_REG
++
+ /* First floating point reg */
+ #define FIRST_FLOAT_REG 8
+
+@@ -1465,6 +1468,8 @@ enum reg_class
+ registers. */
+ #define TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P hook_bool_mode_true
+
++#define LEGACY_INT_REGNO_P(N) (IN_RANGE ((N), FIRST_INT_REG, LAST_INT_REG))
++
+ #define QI_REG_P(X) (REG_P (X) && QI_REGNO_P (REGNO (X)))
+ #define QI_REGNO_P(N) IN_RANGE ((N), AX_REG, BX_REG)
+
+@@ -2550,6 +2555,13 @@ struct GTY(()) machine_function {
+ /* If true, it is safe to not save/restore DRAP register. */
+ BOOL_BITFIELD no_drap_save_restore : 1;
+
++ /* How to generate indirec branch. */
++ ENUM_BITFIELD(indirect_branch) indirect_branch_type : 3;
++
++ /* If true, the current function has local indirect jumps, like
++ "indirect_jump" or "tablejump". */
++ BOOL_BITFIELD has_local_indirect_jump : 1;
++
+ /* During prologue/epilogue generation, the current frame state.
+ Otherwise, the frame state at the end of the prologue. */
+ struct machine_frame_state fs;
+Index: b/src/gcc/config/i386/i386.md
+===================================================================
+--- a/src/gcc/config/i386/i386.md
++++ b/src/gcc/config/i386/i386.md
+@@ -11556,13 +11556,18 @@
+ {
+ if (TARGET_X32)
+ operands[0] = convert_memory_address (word_mode, operands[0]);
++ cfun->machine->has_local_indirect_jump = true;
+ })
+
+ (define_insn "*indirect_jump"
+ [(set (pc) (match_operand:W 0 "indirect_branch_operand" "rBw"))]
+ ""
+- "%!jmp\t%A0"
+- [(set_attr "type" "ibr")
++ "* return ix86_output_indirect_jmp (operands[0], false);"
++ [(set (attr "type")
++ (if_then_else (match_test "(cfun->machine->indirect_branch_type
++ != indirect_branch_keep)")
++ (const_string "multi")
++ (const_string "ibr")))
+ (set_attr "length_immediate" "0")])
+
+ (define_expand "tablejump"
+@@ -11604,14 +11609,19 @@
+
+ if (TARGET_X32)
+ operands[0] = convert_memory_address (word_mode, operands[0]);
++ cfun->machine->has_local_indirect_jump = true;
+ })
+
+ (define_insn "*tablejump_1"
+ [(set (pc) (match_operand:W 0 "indirect_branch_operand" "rBw"))
+ (use (label_ref (match_operand 1)))]
+ ""
+- "%!jmp\t%A0"
+- [(set_attr "type" "ibr")
++ "* return ix86_output_indirect_jmp (operands[0], false);"
++ [(set (attr "type")
++ (if_then_else (match_test "(cfun->machine->indirect_branch_type
++ != indirect_branch_keep)")
++ (const_string "multi")
++ (const_string "ibr")))
+ (set_attr "length_immediate" "0")])
+
+ ;; Convert setcc + movzbl to xor + setcc if operands don't overlap.
+@@ -12198,8 +12208,12 @@
+ [(simple_return)
+ (use (match_operand:SI 0 "register_operand" "r"))]
+ "reload_completed"
+- "%!jmp\t%A0"
+- [(set_attr "type" "ibr")
++ "* return ix86_output_indirect_jmp (operands[0], true);"
++ [(set (attr "type")
++ (if_then_else (match_test "(cfun->machine->indirect_branch_type
++ != indirect_branch_keep)")
++ (const_string "multi")
++ (const_string "ibr")))
+ (set_attr "length_immediate" "0")])
+
+ (define_insn "nop"
+Index: b/src/gcc/config/i386/i386.opt
+===================================================================
+--- a/src/gcc/config/i386/i386.opt
++++ b/src/gcc/config/i386/i386.opt
+@@ -876,3 +876,23 @@ Enum(stack_protector_guard) String(tls)
+
+ EnumValue
+ Enum(stack_protector_guard) String(global) Value(SSP_GLOBAL)
++
++mindirect-branch=
++Target Report RejectNegative Joined Enum(indirect_branch) Var(ix86_indirect_branch) Init(indirect_branch_keep)
++Convert indirect call and jump to call and return thunks.
++
++Enum
++Name(indirect_branch) Type(enum indirect_branch)
++Known indirect branch choices (for use with the -mindirect-branch= option):
++
++EnumValue
++Enum(indirect_branch) String(keep) Value(indirect_branch_keep)
++
++EnumValue
++Enum(indirect_branch) String(thunk) Value(indirect_branch_thunk)
++
++EnumValue
++Enum(indirect_branch) String(thunk-inline) Value(indirect_branch_thunk_inline)
++
++EnumValue
++Enum(indirect_branch) String(thunk-extern) Value(indirect_branch_thunk_extern)
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
+@@ -0,0 +1,20 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
+@@ -0,0 +1,20 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
+@@ -0,0 +1,21 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++int
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
+@@ -0,0 +1,21 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++int
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
+@@ -0,0 +1,44 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++
++void func0 (void);
++void func1 (void);
++void func2 (void);
++void func3 (void);
++void func4 (void);
++void func4 (void);
++void func5 (void);
++
++void
++bar (int i)
++{
++ switch (i)
++ {
++ default:
++ func0 ();
++ break;
++ case 1:
++ func1 ();
++ break;
++ case 2:
++ func2 ();
++ break;
++ case 3:
++ func3 ();
++ break;
++ case 4:
++ func4 ();
++ break;
++ case 5:
++ func5 ();
++ break;
++ }
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
+@@ -0,0 +1,23 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++extern void male_indirect_jump (long)
++ __attribute__ ((indirect_branch("thunk")));
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
+@@ -0,0 +1,21 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++__attribute__ ((indirect_branch("thunk")))
++void
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
+@@ -0,0 +1,23 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++extern int male_indirect_jump (long)
++ __attribute__ ((indirect_branch("thunk-inline")));
++
++int
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 2 } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 2 } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
+@@ -0,0 +1,22 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++__attribute__ ((indirect_branch("thunk-inline")))
++int
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 2 } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 2 } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
+@@ -0,0 +1,22 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++extern int male_indirect_jump (long)
++ __attribute__ ((indirect_branch("thunk-extern")));
++
++int
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
+@@ -0,0 +1,21 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++__attribute__ ((indirect_branch("thunk-extern")))
++int
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
+@@ -0,0 +1,44 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -fno-pic" } */
++
++void func0 (void);
++void func1 (void);
++void func2 (void);
++void func3 (void);
++void func4 (void);
++void func4 (void);
++void func5 (void);
++
++__attribute__ ((indirect_branch("thunk-extern")))
++void
++bar (int i)
++{
++ switch (i)
++ {
++ default:
++ func0 ();
++ break;
++ case 1:
++ func1 ();
++ break;
++ case 2:
++ func2 ();
++ break;
++ case 3:
++ func3 ();
++ break;
++ case 4:
++ func4 ();
++ break;
++ case 5:
++ func5 ();
++ break;
++ }
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c
+@@ -0,0 +1,42 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++
++void func0 (void);
++void func1 (void);
++void func2 (void);
++void func3 (void);
++void func4 (void);
++void func4 (void);
++void func5 (void);
++
++__attribute__ ((indirect_branch("keep")))
++void
++bar (int i)
++{
++ switch (i)
++ {
++ default:
++ func0 ();
++ break;
++ case 1:
++ func1 ();
++ break;
++ case 2:
++ func2 ();
++ break;
++ case 3:
++ func3 ();
++ break;
++ case 4:
++ func4 ();
++ break;
++ case 5:
++ func5 ();
++ break;
++ }
++}
++
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
+@@ -0,0 +1,20 @@
++/* { dg-do compile { target { ! x32 } } } */
++/* { dg-options "-O2 -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
++
++void (*dispatch) (char *);
++char buf[10];
++
++void
++foo (void)
++{
++ dispatch (buf);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "pushq\[ \t\]%rax" { target x32 } } } */
++/* { dg-final { scan-assembler "bnd jmp\[ \t\]*__x86_indirect_thunk_bnd" } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "bnd call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "bnd ret" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
+@@ -0,0 +1,21 @@
++/* { dg-do compile { target { ! x32 } } } */
++/* { dg-options "-O2 -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
++
++void (*dispatch) (char *);
++char buf[10];
++
++int
++foo (void)
++{
++ dispatch (buf);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "pushq\[ \t\]%rax" { target x32 } } } */
++/* { dg-final { scan-assembler "bnd jmp\[ \t\]*__x86_indirect_thunk_bnd" } } */
++/* { dg-final { scan-assembler "bnd jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "bnd call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "bnd ret" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
+@@ -0,0 +1,19 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
+@@ -0,0 +1,19 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
+@@ -0,0 +1,20 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++int
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
+@@ -0,0 +1,20 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++int
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
+@@ -0,0 +1,43 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++
++void func0 (void);
++void func1 (void);
++void func2 (void);
++void func3 (void);
++void func4 (void);
++void func4 (void);
++void func5 (void);
++
++void
++bar (int i)
++{
++ switch (i)
++ {
++ default:
++ func0 ();
++ break;
++ case 1:
++ func1 ();
++ break;
++ case 2:
++ func2 ();
++ break;
++ case 3:
++ func3 ();
++ break;
++ case 4:
++ func4 ();
++ break;
++ case 5:
++ func5 ();
++ break;
++ }
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
+@@ -0,0 +1,20 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
+@@ -0,0 +1,20 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
+@@ -0,0 +1,21 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++int
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 2 } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 2 } } */
++/* { dg-final { scan-assembler-times {\tpause} 1 } } */
++/* { dg-final { scan-assembler-times {\tlfence} 1 } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
+@@ -0,0 +1,21 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch[256];
++
++int
++male_indirect_jump (long offset)
++{
++ dispatch[offset](offset);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 2 } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 2 } } */
++/* { dg-final { scan-assembler-times {\tpause} 1 } } */
++/* { dg-final { scan-assembler-times {\tlfence} 1 } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
+@@ -0,0 +1,44 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++
++void func0 (void);
++void func1 (void);
++void func2 (void);
++void func3 (void);
++void func4 (void);
++void func4 (void);
++void func5 (void);
++
++void
++bar (int i)
++{
++ switch (i)
++ {
++ default:
++ func0 ();
++ break;
++ case 1:
++ func1 ();
++ break;
++ case 2:
++ func2 ();
++ break;
++ case 3:
++ func3 ();
++ break;
++ case 4:
++ func4 ();
++ break;
++ case 5:
++ func5 ();
++ break;
++ }
++}
++
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
diff --git a/development/gcc5/patches/0006-x86-Add-mfunction-return-doc.diff b/development/gcc5/patches/0006-x86-Add-mfunction-return-doc.diff
new file mode 100644
index 0000000000..b40d524892
--- /dev/null
+++ b/development/gcc5/patches/0006-x86-Add-mfunction-return-doc.diff
@@ -0,0 +1,300 @@
+From 357311dd400f7f72d2132f2f94161ece39bf08c6 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 11:10:44 +0000
+Subject: [PATCH 6/9] x86: Add -mfunction-return=
+
+Add -mfunction-return= option to convert function return to call and
+return thunks. The default is 'keep', which keeps function return
+unmodified. 'thunk' converts function return to call and return thunk.
+'thunk-inline' converts function return to inlined call and return thunk.
+'thunk-extern' converts function return to external call and return
+thunk provided in a separate object file. You can control this behavior
+for a specific function by using the function attribute function_return.
+
+Function return thunk is the same as memory thunk for -mindirect-branch=
+where the return address is at the top of the stack:
+
+__x86_return_thunk:
+ call L2
+L1:
+ pause
+ lfence
+ jmp L1
+L2:
+ lea 8(%rsp), %rsp|lea 4(%esp), %esp
+ ret
+
+and function return becomes
+
+ jmp __x86_return_thunk
+
+-mindirect-branch= tests are updated with -mfunction-return=keep to
+avoid false test failures when -mfunction-return=thunk is added to
+RUNTESTFLAGS for "make check".
+
+gcc/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386-protos.h (ix86_output_function_return): New.
+ * config/i386/i386.c (ix86_set_indirect_branch_type): Also
+ set function_return_type.
+ (indirect_thunk_name): Add ret_p to indicate thunk for function
+ return.
+ (output_indirect_thunk_function): Pass false to
+ indirect_thunk_name.
+ (ix86_output_indirect_branch_via_reg): Likewise.
+ (ix86_output_indirect_branch_via_push): Likewise.
+ (output_indirect_thunk_function): Create alias for function
+ return thunk if regno < 0.
+ (ix86_output_function_return): New function.
+ (ix86_handle_fndecl_attribute): Handle function_return.
+ (ix86_attribute_table): Add function_return.
+ * config/i386/i386.h (machine_function): Add
+ function_return_type.
+ * config/i386/i386.md (simple_return_internal): Use
+ ix86_output_function_return.
+ (simple_return_internal_long): Likewise.
+ * config/i386/i386.opt (mfunction-return=): New option.
+ (indirect_branch): Mention -mfunction-return=.
+ * doc/extend.texi: Document function_return function attribute.
+ * doc/invoke.texi: Document -mfunction-return= option.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/indirect-thunk-1.c (dg-options): Add
+ -mfunction-return=keep.
+ * gcc.target/i386/indirect-thunk-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-8.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-7.c: Likewise.
+ * gcc.target/i386/ret-thunk-1.c: New test.
+ * gcc.target/i386/ret-thunk-10.c: Likewise.
+ * gcc.target/i386/ret-thunk-11.c: Likewise.
+ * gcc.target/i386/ret-thunk-12.c: Likewise.
+ * gcc.target/i386/ret-thunk-13.c: Likewise.
+ * gcc.target/i386/ret-thunk-14.c: Likewise.
+ * gcc.target/i386/ret-thunk-15.c: Likewise.
+ * gcc.target/i386/ret-thunk-16.c: Likewise.
+ * gcc.target/i386/ret-thunk-2.c: Likewise.
+ * gcc.target/i386/ret-thunk-3.c: Likewise.
+ * gcc.target/i386/ret-thunk-4.c: Likewise.
+ * gcc.target/i386/ret-thunk-5.c: Likewise.
+ * gcc.target/i386/ret-thunk-6.c: Likewise.
+ * gcc.target/i386/ret-thunk-7.c: Likewise.
+ * gcc.target/i386/ret-thunk-8.c: Likewise.
+ * gcc.target/i386/ret-thunk-9.c: Likewise.
+
+i386: Don't use ASM_OUTPUT_DEF for TARGET_MACHO
+
+ASM_OUTPUT_DEF isn't defined for TARGET_MACHO. Use ASM_OUTPUT_LABEL to
+generate the __x86_return_thunk label, instead of the set directive.
+Update testcase to remove the __x86_return_thunk label check. Since
+-fno-pic is ignored on Darwin, update testcases to sscan or "push"
+only on Linux.
+
+gcc/
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/83839
+ * config/i386/i386.c (output_indirect_thunk_function): Use
+ ASM_OUTPUT_LABEL, instead of ASM_OUTPUT_DEF, for TARGET_MACHO
+ for __x86.return_thunk.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/83839
+ * gcc.target/i386/indirect-thunk-1.c: Scan for "push" only on
+ Linux.
+ * gcc.target/i386/indirect-thunk-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-4.c: Likewise.
+ * gcc.target/i386/ret-thunk-10.c: Likewise.
+ * gcc.target/i386/ret-thunk-11.c: Likewise.
+ * gcc.target/i386/ret-thunk-12.c: Likewise.
+ * gcc.target/i386/ret-thunk-13.c: Likewise.
+ * gcc.target/i386/ret-thunk-14.c: Likewise.
+ * gcc.target/i386/ret-thunk-15.c: Likewise.
+ * gcc.target/i386/ret-thunk-9.c: Don't check the
+ __x86_return_thunk label.
+ Scan for "push" only for Linux.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256734 138bc75d-0d04-0410-961f-82ee72b054a4
+
+[Ubuntu note: Dropped indirect-thunk-5.c, indirect-thunk-6.c,
+ indirect-thunk-bnd-3.c, indirect-thunk-bnd-4.c,
+ indirect-thunk-extern-5.c, indirect-thunk-extern-6.c,
+ indirect-thunk-inline-5.c, and indirect-thunk-inline-6.c tests due
+ to gcc 5.4 and earlier not supporting the -fno-plt option.
+ --sbeattie,]
+
+---
+ src/gcc/config/i386/i386-protos.h | 1
+ src/gcc/config/i386/i386.c | 152 +++++++++++-
+ src/gcc/config/i386/i386.h | 3
+ src/gcc/config/i386/i386.md | 9
+ src/gcc/config/i386/i386.opt | 6
+ src/gcc/doc/extend.texi | 9
+ src/gcc/doc/invoke.texi | 13 -
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c | 4
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-1.c | 13 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c | 23 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c | 23 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c | 22 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c | 22 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c | 22 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c | 22 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-16.c | 18 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-2.c | 13 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-3.c | 12
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-4.c | 12
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-5.c | 15 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-6.c | 14 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-7.c | 13 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-8.c | 14 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c | 24 +
+ 48 files changed, 507 insertions(+), 66 deletions(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-10.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-11.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-12.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-13.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-14.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-15.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-16.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-7.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-8.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-9.c
+
+Index: b/src/gcc/doc/extend.texi
+===================================================================
+--- a/src/gcc/doc/extend.texi
++++ b/src/gcc/doc/extend.texi
+@@ -4129,6 +4129,15 @@ call and jump to call and return thunk.
+ indirect call and jump to inlined call and return thunk.
+ @samp{thunk-extern} converts indirect call and jump to external call
+ and return thunk provided in a separate object file.
++
++@item function_return("@var{choice}")
++@cindex @code{function_return} function attribute, x86
++On x86 targets, the @code{function_return} attribute causes the compiler
++to convert function return with @var{choice}. @samp{keep} keeps function
++return unmodified. @samp{thunk} converts function return to call and
++return thunk. @samp{thunk-inline} converts function return to inlined
++call and return thunk. @samp{thunk-extern} converts function return to
++external call and return thunk provided in a separate object file.
+ @end table
+
+ On the PowerPC, the following options are allowed:
+Index: b/src/gcc/doc/invoke.texi
+===================================================================
+--- a/src/gcc/doc/invoke.texi
++++ b/src/gcc/doc/invoke.texi
+@@ -1091,7 +1091,7 @@ See RS/6000 and PowerPC Options.
+ -msse2avx -mfentry -mrecord-mcount -mnop-mcount -m8bit-idiv @gol
+ -mavx256-split-unaligned-load -mavx256-split-unaligned-store @gol
+ -malign-data=@var{type} -mstack-protector-guard=@var{guard} @gol
+--mindirect-branch=@var{choice}}
++-mindirect-branch=@var{choice} -mfunction-return=@var{choice}}
+
+ @emph{x86 Windows Options}
+ @gccoptlist{-mconsole -mcygwin -mno-cygwin -mdll @gol
+@@ -24029,6 +24029,17 @@ to external call and return thunk provid
+ You can control this behavior for a specific function by using the
+ function attribute @code{indirect_branch}. @xref{Function Attributes}.
+
++@item -mfunction-return=@var{choice}
++@opindex -mfunction-return
++Convert function return with @var{choice}. The default is @samp{keep},
++which keeps function return unmodified. @samp{thunk} converts function
++return to call and return thunk. @samp{thunk-inline} converts function
++return to inlined call and return thunk. @samp{thunk-extern} converts
++function return to external call and return thunk provided in a separate
++object file. You can control this behavior for a specific function by
++using the function attribute @code{function_return}.
++@xref{Function Attributes}.
++
+ @end table
+
+ @c man end
diff --git a/development/gcc5/patches/0006-x86-Add-mfunction-return.diff b/development/gcc5/patches/0006-x86-Add-mfunction-return.diff
new file mode 100644
index 0000000000..1883cc6a51
--- /dev/null
+++ b/development/gcc5/patches/0006-x86-Add-mfunction-return.diff
@@ -0,0 +1,1409 @@
+From 357311dd400f7f72d2132f2f94161ece39bf08c6 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 11:10:44 +0000
+Subject: [PATCH 6/9] x86: Add -mfunction-return=
+
+Add -mfunction-return= option to convert function return to call and
+return thunks. The default is 'keep', which keeps function return
+unmodified. 'thunk' converts function return to call and return thunk.
+'thunk-inline' converts function return to inlined call and return thunk.
+'thunk-extern' converts function return to external call and return
+thunk provided in a separate object file. You can control this behavior
+for a specific function by using the function attribute function_return.
+
+Function return thunk is the same as memory thunk for -mindirect-branch=
+where the return address is at the top of the stack:
+
+__x86_return_thunk:
+ call L2
+L1:
+ pause
+ lfence
+ jmp L1
+L2:
+ lea 8(%rsp), %rsp|lea 4(%esp), %esp
+ ret
+
+and function return becomes
+
+ jmp __x86_return_thunk
+
+-mindirect-branch= tests are updated with -mfunction-return=keep to
+avoid false test failures when -mfunction-return=thunk is added to
+RUNTESTFLAGS for "make check".
+
+gcc/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386-protos.h (ix86_output_function_return): New.
+ * config/i386/i386.c (ix86_set_indirect_branch_type): Also
+ set function_return_type.
+ (indirect_thunk_name): Add ret_p to indicate thunk for function
+ return.
+ (output_indirect_thunk_function): Pass false to
+ indirect_thunk_name.
+ (ix86_output_indirect_branch_via_reg): Likewise.
+ (ix86_output_indirect_branch_via_push): Likewise.
+ (output_indirect_thunk_function): Create alias for function
+ return thunk if regno < 0.
+ (ix86_output_function_return): New function.
+ (ix86_handle_fndecl_attribute): Handle function_return.
+ (ix86_attribute_table): Add function_return.
+ * config/i386/i386.h (machine_function): Add
+ function_return_type.
+ * config/i386/i386.md (simple_return_internal): Use
+ ix86_output_function_return.
+ (simple_return_internal_long): Likewise.
+ * config/i386/i386.opt (mfunction-return=): New option.
+ (indirect_branch): Mention -mfunction-return=.
+ * doc/extend.texi: Document function_return function attribute.
+ * doc/invoke.texi: Document -mfunction-return= option.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/indirect-thunk-1.c (dg-options): Add
+ -mfunction-return=keep.
+ * gcc.target/i386/indirect-thunk-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-8.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-7.c: Likewise.
+ * gcc.target/i386/ret-thunk-1.c: New test.
+ * gcc.target/i386/ret-thunk-10.c: Likewise.
+ * gcc.target/i386/ret-thunk-11.c: Likewise.
+ * gcc.target/i386/ret-thunk-12.c: Likewise.
+ * gcc.target/i386/ret-thunk-13.c: Likewise.
+ * gcc.target/i386/ret-thunk-14.c: Likewise.
+ * gcc.target/i386/ret-thunk-15.c: Likewise.
+ * gcc.target/i386/ret-thunk-16.c: Likewise.
+ * gcc.target/i386/ret-thunk-2.c: Likewise.
+ * gcc.target/i386/ret-thunk-3.c: Likewise.
+ * gcc.target/i386/ret-thunk-4.c: Likewise.
+ * gcc.target/i386/ret-thunk-5.c: Likewise.
+ * gcc.target/i386/ret-thunk-6.c: Likewise.
+ * gcc.target/i386/ret-thunk-7.c: Likewise.
+ * gcc.target/i386/ret-thunk-8.c: Likewise.
+ * gcc.target/i386/ret-thunk-9.c: Likewise.
+
+i386: Don't use ASM_OUTPUT_DEF for TARGET_MACHO
+
+ASM_OUTPUT_DEF isn't defined for TARGET_MACHO. Use ASM_OUTPUT_LABEL to
+generate the __x86_return_thunk label, instead of the set directive.
+Update testcase to remove the __x86_return_thunk label check. Since
+-fno-pic is ignored on Darwin, update testcases to sscan or "push"
+only on Linux.
+
+gcc/
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/83839
+ * config/i386/i386.c (output_indirect_thunk_function): Use
+ ASM_OUTPUT_LABEL, instead of ASM_OUTPUT_DEF, for TARGET_MACHO
+ for __x86.return_thunk.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/83839
+ * gcc.target/i386/indirect-thunk-1.c: Scan for "push" only on
+ Linux.
+ * gcc.target/i386/indirect-thunk-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-4.c: Likewise.
+ * gcc.target/i386/ret-thunk-10.c: Likewise.
+ * gcc.target/i386/ret-thunk-11.c: Likewise.
+ * gcc.target/i386/ret-thunk-12.c: Likewise.
+ * gcc.target/i386/ret-thunk-13.c: Likewise.
+ * gcc.target/i386/ret-thunk-14.c: Likewise.
+ * gcc.target/i386/ret-thunk-15.c: Likewise.
+ * gcc.target/i386/ret-thunk-9.c: Don't check the
+ __x86_return_thunk label.
+ Scan for "push" only for Linux.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256734 138bc75d-0d04-0410-961f-82ee72b054a4
+
+[Ubuntu note: Dropped indirect-thunk-5.c, indirect-thunk-6.c,
+ indirect-thunk-bnd-3.c, indirect-thunk-bnd-4.c,
+ indirect-thunk-extern-5.c, indirect-thunk-extern-6.c,
+ indirect-thunk-inline-5.c, and indirect-thunk-inline-6.c tests due
+ to gcc 5.4 and earlier not supporting the -fno-plt option.
+ --sbeattie,]
+
+---
+ src/gcc/config/i386/i386-protos.h | 1
+ src/gcc/config/i386/i386.c | 152 +++++++++++-
+ src/gcc/config/i386/i386.h | 3
+ src/gcc/config/i386/i386.md | 9
+ src/gcc/config/i386/i386.opt | 6
+ src/gcc/doc/extend.texi | 9
+ src/gcc/doc/invoke.texi | 13 -
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c | 4
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c | 4
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-1.c | 13 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c | 23 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c | 23 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c | 22 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c | 22 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c | 22 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c | 22 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-16.c | 18 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-2.c | 13 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-3.c | 12
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-4.c | 12
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-5.c | 15 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-6.c | 14 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-7.c | 13 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-8.c | 14 +
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c | 24 +
+ 48 files changed, 507 insertions(+), 66 deletions(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-10.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-11.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-12.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-13.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-14.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-15.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-16.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-3.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-4.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-5.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-6.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-7.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-8.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-9.c
+
+Index: b/src/gcc/config/i386/i386-protos.h
+===================================================================
+--- a/src/gcc/config/i386/i386-protos.h
++++ b/src/gcc/config/i386/i386-protos.h
+@@ -307,6 +307,7 @@ extern enum attr_cpu ix86_schedule;
+
+ extern const char * ix86_output_call_insn (rtx_insn *insn, rtx call_op);
+ extern const char * ix86_output_indirect_jmp (rtx call_op, bool ret_p);
++extern const char * ix86_output_function_return (bool long_p);
+
+ #ifdef RTX_CODE
+ /* Target data for multipass lookahead scheduling.
+Index: b/src/gcc/config/i386/i386.c
+===================================================================
+--- a/src/gcc/config/i386/i386.c
++++ b/src/gcc/config/i386/i386.c
+@@ -5166,6 +5166,31 @@ ix86_set_indirect_branch_type (tree fnde
+ else
+ cfun->machine->indirect_branch_type = ix86_indirect_branch;
+ }
++
++ if (cfun->machine->function_return_type == indirect_branch_unset)
++ {
++ tree attr = lookup_attribute ("function_return",
++ DECL_ATTRIBUTES (fndecl));
++ if (attr != NULL)
++ {
++ tree args = TREE_VALUE (attr);
++ if (args == NULL)
++ gcc_unreachable ();
++ tree cst = TREE_VALUE (args);
++ if (strcmp (TREE_STRING_POINTER (cst), "keep") == 0)
++ cfun->machine->function_return_type = indirect_branch_keep;
++ else if (strcmp (TREE_STRING_POINTER (cst), "thunk") == 0)
++ cfun->machine->function_return_type = indirect_branch_thunk;
++ else if (strcmp (TREE_STRING_POINTER (cst), "thunk-inline") == 0)
++ cfun->machine->function_return_type = indirect_branch_thunk_inline;
++ else if (strcmp (TREE_STRING_POINTER (cst), "thunk-extern") == 0)
++ cfun->machine->function_return_type = indirect_branch_thunk_extern;
++ else
++ gcc_unreachable ();
++ }
++ else
++ cfun->machine->function_return_type = ix86_function_return;
++ }
+ }
+
+ /* Establish appropriate back-end context for processing the function
+@@ -9753,8 +9778,12 @@ static int indirect_thunks_bnd_used;
+ /* Fills in the label name that should be used for the indirect thunk. */
+
+ static void
+-indirect_thunk_name (char name[32], int regno, bool need_bnd_p)
++indirect_thunk_name (char name[32], int regno, bool need_bnd_p,
++ bool ret_p)
+ {
++ if (regno >= 0 && ret_p)
++ gcc_unreachable ();
++
+ if (USE_HIDDEN_LINKONCE)
+ {
+ const char *bnd = need_bnd_p ? "_bnd" : "";
+@@ -9769,7 +9798,10 @@ indirect_thunk_name (char name[32], int
+ bnd, reg_prefix, reg_names[regno]);
+ }
+ else
+- sprintf (name, "__x86_indirect_thunk%s", bnd);
++ {
++ const char *ret = ret_p ? "return" : "indirect";
++ sprintf (name, "__x86_%s_thunk%s", ret, bnd);
++ }
+ }
+ else
+ {
+@@ -9782,10 +9814,20 @@ indirect_thunk_name (char name[32], int
+ }
+ else
+ {
+- if (need_bnd_p)
+- ASM_GENERATE_INTERNAL_LABEL (name, "LITB", 0);
++ if (ret_p)
++ {
++ if (need_bnd_p)
++ ASM_GENERATE_INTERNAL_LABEL (name, "LRTB", 0);
++ else
++ ASM_GENERATE_INTERNAL_LABEL (name, "LRT", 0);
++ }
+ else
+- ASM_GENERATE_INTERNAL_LABEL (name, "LIT", 0);
++ {
++ if (need_bnd_p)
++ ASM_GENERATE_INTERNAL_LABEL (name, "LITB", 0);
++ else
++ ASM_GENERATE_INTERNAL_LABEL (name, "LIT", 0);
++ }
+ }
+ }
+ }
+@@ -9880,7 +9922,7 @@ output_indirect_thunk_function (bool nee
+ tree decl;
+
+ /* Create __x86_indirect_thunk/__x86_indirect_thunk_bnd. */
+- indirect_thunk_name (name, regno, need_bnd_p);
++ indirect_thunk_name (name, regno, need_bnd_p, false);
+ decl = build_decl (BUILTINS_LOCATION, FUNCTION_DECL,
+ get_identifier (name),
+ build_function_type_list (void_type_node, NULL_TREE));
+@@ -9923,6 +9965,36 @@ output_indirect_thunk_function (bool nee
+ ASM_OUTPUT_LABEL (asm_out_file, name);
+ }
+
++ if (regno < 0)
++ {
++ /* Create alias for __x86.return_thunk/__x86.return_thunk_bnd. */
++ char alias[32];
++
++ indirect_thunk_name (alias, regno, need_bnd_p, true);
++#if TARGET_MACHO
++ if (TARGET_MACHO)
++ {
++ fputs ("\t.weak_definition\t", asm_out_file);
++ assemble_name (asm_out_file, alias);
++ fputs ("\n\t.private_extern\t", asm_out_file);
++ assemble_name (asm_out_file, alias);
++ putc ('\n', asm_out_file);
++ ASM_OUTPUT_LABEL (asm_out_file, alias);
++ }
++#else
++ ASM_OUTPUT_DEF (asm_out_file, alias, name);
++ if (USE_HIDDEN_LINKONCE)
++ {
++ fputs ("\t.globl\t", asm_out_file);
++ assemble_name (asm_out_file, alias);
++ putc ('\n', asm_out_file);
++ fputs ("\t.hidden\t", asm_out_file);
++ assemble_name (asm_out_file, alias);
++ putc ('\n', asm_out_file);
++ }
++#endif
++ }
++
+ DECL_INITIAL (decl) = make_node (BLOCK);
+ current_function_decl = decl;
+ allocate_struct_function (decl, false);
+@@ -26121,7 +26193,7 @@ ix86_output_indirect_branch_via_reg (rtx
+ else
+ indirect_thunks_used |= 1 << i;
+ }
+- indirect_thunk_name (thunk_name_buf, regno, need_bnd_p);
++ indirect_thunk_name (thunk_name_buf, regno, need_bnd_p, false);
+ thunk_name = thunk_name_buf;
+ }
+ else
+@@ -26230,7 +26302,7 @@ ix86_output_indirect_branch_via_push (rt
+ else
+ indirect_thunk_needed = true;
+ }
+- indirect_thunk_name (thunk_name_buf, regno, need_bnd_p);
++ indirect_thunk_name (thunk_name_buf, regno, need_bnd_p, false);
+ thunk_name = thunk_name_buf;
+ }
+ else
+@@ -26365,6 +26437,46 @@ ix86_output_indirect_jmp (rtx call_op, b
+ return "%!jmp\t%A0";
+ }
+
++/* Output function return. CALL_OP is the jump target. Add a REP
++ prefix to RET if LONG_P is true and function return is kept. */
++
++const char *
++ix86_output_function_return (bool long_p)
++{
++ if (cfun->machine->function_return_type != indirect_branch_keep)
++ {
++ char thunk_name[32];
++ bool need_bnd_p = ix86_bnd_prefixed_insn_p (current_output_insn);
++
++ if (cfun->machine->function_return_type
++ != indirect_branch_thunk_inline)
++ {
++ bool need_thunk = (cfun->machine->function_return_type
++ == indirect_branch_thunk);
++ indirect_thunk_name (thunk_name, -1, need_bnd_p, true);
++ if (need_bnd_p)
++ {
++ indirect_thunk_bnd_needed |= need_thunk;
++ fprintf (asm_out_file, "\tbnd jmp\t%s\n", thunk_name);
++ }
++ else
++ {
++ indirect_thunk_needed |= need_thunk;
++ fprintf (asm_out_file, "\tjmp\t%s\n", thunk_name);
++ }
++ }
++ else
++ output_indirect_thunk (need_bnd_p, -1);
++
++ return "";
++ }
++
++ if (!long_p || ix86_bnd_prefixed_insn_p (current_output_insn))
++ return "%!ret";
++
++ return "rep%; ret";
++}
++
+ /* Output the assembly for a call instruction. */
+
+ const char *
+@@ -43625,6 +43737,28 @@ ix86_handle_fndecl_attribute (tree *node
+ }
+ }
+
++ if (is_attribute_p ("function_return", name))
++ {
++ tree cst = TREE_VALUE (args);
++ if (TREE_CODE (cst) != STRING_CST)
++ {
++ warning (OPT_Wattributes,
++ "%qE attribute requires a string constant argument",
++ name);
++ *no_add_attrs = true;
++ }
++ else if (strcmp (TREE_STRING_POINTER (cst), "keep") != 0
++ && strcmp (TREE_STRING_POINTER (cst), "thunk") != 0
++ && strcmp (TREE_STRING_POINTER (cst), "thunk-inline") != 0
++ && strcmp (TREE_STRING_POINTER (cst), "thunk-extern") != 0)
++ {
++ warning (OPT_Wattributes,
++ "argument to %qE attribute is not "
++ "(keep|thunk|thunk-inline|thunk-extern)", name);
++ *no_add_attrs = true;
++ }
++ }
++
+ return NULL_TREE;
+ }
+
+@@ -47519,6 +47653,8 @@ static const struct attribute_spec ix86_
+ ix86_handle_callee_pop_aggregate_return, true },
+ { "indirect_branch", 1, 1, true, false, false,
+ ix86_handle_fndecl_attribute, false },
++ { "function_return", 1, 1, true, false, false,
++ ix86_handle_fndecl_attribute, false },
+
+ /* End element. */
+ { NULL, 0, 0, false, false, false, NULL, false }
+Index: b/src/gcc/config/i386/i386.h
+===================================================================
+--- a/src/gcc/config/i386/i386.h
++++ b/src/gcc/config/i386/i386.h
+@@ -2562,6 +2562,9 @@ struct GTY(()) machine_function {
+ "indirect_jump" or "tablejump". */
+ BOOL_BITFIELD has_local_indirect_jump : 1;
+
++ /* How to generate function return. */
++ ENUM_BITFIELD(indirect_branch) function_return_type : 3;
++
+ /* During prologue/epilogue generation, the current frame state.
+ Otherwise, the frame state at the end of the prologue. */
+ struct machine_frame_state fs;
+Index: b/src/gcc/config/i386/i386.md
+===================================================================
+--- a/src/gcc/config/i386/i386.md
++++ b/src/gcc/config/i386/i386.md
+@@ -12169,7 +12169,7 @@
+ (define_insn "simple_return_internal"
+ [(simple_return)]
+ "reload_completed"
+- "%!ret"
++ "* return ix86_output_function_return (false);"
+ [(set_attr "length_nobnd" "1")
+ (set_attr "atom_unit" "jeu")
+ (set_attr "length_immediate" "0")
+@@ -12182,12 +12182,7 @@
+ [(simple_return)
+ (unspec [(const_int 0)] UNSPEC_REP)]
+ "reload_completed"
+-{
+- if (ix86_bnd_prefixed_insn_p (insn))
+- return "%!ret";
+-
+- return "rep%; ret";
+-}
++ "* return ix86_output_function_return (true);"
+ [(set_attr "length" "2")
+ (set_attr "atom_unit" "jeu")
+ (set_attr "length_immediate" "0")
+Index: b/src/gcc/config/i386/i386.opt
+===================================================================
+--- a/src/gcc/config/i386/i386.opt
++++ b/src/gcc/config/i386/i386.opt
+@@ -881,9 +881,13 @@ mindirect-branch=
+ Target Report RejectNegative Joined Enum(indirect_branch) Var(ix86_indirect_branch) Init(indirect_branch_keep)
+ Convert indirect call and jump to call and return thunks.
+
++mfunction-return=
++Target Report RejectNegative Joined Enum(indirect_branch) Var(ix86_function_return) Init(indirect_branch_keep)
++Convert function return to call and return thunk.
++
+ Enum
+ Name(indirect_branch) Type(enum indirect_branch)
+-Known indirect branch choices (for use with the -mindirect-branch= option):
++Known indirect branch choices (for use with the -mindirect-branch=/-mfunction-return= options):
+
+ EnumValue
+ Enum(indirect_branch) String(keep) Value(indirect_branch_keep)
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -11,7 +11,7 @@ male_indirect_jump (long offset)
+ dispatch(offset);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -11,7 +11,7 @@ male_indirect_jump (long offset)
+ dispatch[offset](offset);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -12,7 +12,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -12,7 +12,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+@@ -35,7 +35,7 @@ bar (int i)
+ }
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -14,7 +14,7 @@ male_indirect_jump (long offset)
+ dispatch(offset);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -12,7 +12,7 @@ male_indirect_jump (long offset)
+ dispatch[offset](offset);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -14,7 +14,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 2 } } */
+ /* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 2 } } */
+ /* { dg-final { scan-assembler {\tpause} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -13,7 +13,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 2 } } */
+ /* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 2 } } */
+ /* { dg-final { scan-assembler {\tpause} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -14,7 +14,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -13,7 +13,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+@@ -36,7 +36,7 @@ bar (int i)
+ }
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" } } */
+ /* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile { target { ! x32 } } } */
+-/* { dg-options "-O2 -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
+
+ void (*dispatch) (char *);
+ char buf[10];
+@@ -10,7 +10,7 @@ foo (void)
+ dispatch (buf);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "pushq\[ \t\]%rax" { target x32 } } } */
+ /* { dg-final { scan-assembler "bnd jmp\[ \t\]*__x86_indirect_thunk_bnd" } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile { target { ! x32 } } } */
+-/* { dg-options "-O2 -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
+
+ void (*dispatch) (char *);
+ char buf[10];
+@@ -11,7 +11,7 @@ foo (void)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "pushq\[ \t\]%rax" { target x32 } } } */
+ /* { dg-final { scan-assembler "bnd jmp\[ \t\]*__x86_indirect_thunk_bnd" } } */
+ /* { dg-final { scan-assembler "bnd jmp\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -11,7 +11,7 @@ male_indirect_jump (long offset)
+ dispatch(offset);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -11,7 +11,7 @@ male_indirect_jump (long offset)
+ dispatch[offset](offset);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -12,7 +12,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -12,7 +12,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 1 { target { ! x32 } } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+@@ -35,7 +35,7 @@ bar (int i)
+ }
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
+ /* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -11,7 +11,7 @@ male_indirect_jump (long offset)
+ dispatch(offset);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+ /* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
+ /* { dg-final { scan-assembler {\tpause} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -11,7 +11,7 @@ male_indirect_jump (long offset)
+ dispatch[offset](offset);
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+ /* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
+ /* { dg-final { scan-assembler {\tpause} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -12,7 +12,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 2 } } */
+ /* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 2 } } */
+ /* { dg-final { scan-assembler-times {\tpause} 1 } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+@@ -12,7 +12,7 @@ male_indirect_jump (long offset)
+ return 0;
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?dispatch" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 2 } } */
+ /* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 2 } } */
+ /* { dg-final { scan-assembler-times {\tpause} 1 } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+@@ -35,7 +35,7 @@ bar (int i)
+ }
+ }
+
+-/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*\.L\[0-9\]+\\(,%" { target { { ! x32 } && *-*-linux* } } } } */
+ /* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+ /* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
+ /* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-1.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-1.c
+@@ -0,0 +1,13 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=thunk" } */
++
++void
++foo (void)
++{
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c
+@@ -0,0 +1,23 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=thunk-inline -mindirect-branch=thunk -fno-pic" } */
++
++extern void (*bar) (void);
++
++int
++foo (void)
++{
++ bar ();
++ return 0;
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-times {\tpause} 2 } } */
++/* { dg-final { scan-assembler-times {\tlfence} 2 } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?bar" { target { { ! x32 } && *-*-linux* } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "__x86_indirect_thunk:" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target { x32 } } } } */
++/* { dg-final { scan-assembler "__x86_indirect_thunk_(r|e)ax:" { target { x32 } } } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c
+@@ -0,0 +1,23 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=thunk-extern -mindirect-branch=thunk -fno-pic" } */
++
++extern void (*bar) (void);
++
++int
++foo (void)
++{
++ bar ();
++ return 0;
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-times {\tpause} 1 } } */
++/* { dg-final { scan-assembler-times {\tlfence} 1 } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?bar" { target { { ! x32 } && *-*-linux* } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "__x86_indirect_thunk:" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target { x32 } } } } */
++/* { dg-final { scan-assembler "__x86_indirect_thunk_(r|e)ax:" { target { x32 } } } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c
+@@ -0,0 +1,22 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
++
++extern void (*bar) (void);
++
++int
++foo (void)
++{
++ bar ();
++ return 0;
++}
++
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-times {\tpause} 1 } } */
++/* { dg-final { scan-assembler-times {\tlfence} 1 } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "__x86_indirect_thunk:" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target { x32 } } } } */
++/* { dg-final { scan-assembler "__x86_indirect_thunk_(r|e)ax:" { target { x32 } } } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c
+@@ -0,0 +1,22 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
++
++extern void (*bar) (void);
++extern int foo (void) __attribute__ ((function_return("thunk")));
++
++int
++foo (void)
++{
++ bar ();
++ return 0;
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-times {\tpause} 2 } } */
++/* { dg-final { scan-assembler-times {\tlfence} 2 } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?bar" { target { { ! x32 } && *-*-linux* } } } } */
++/* { dg-final { scan-assembler-times "jmp\[ \t\]*\.LIND" 3 } } */
++/* { dg-final { scan-assembler-times "call\[ \t\]*\.LIND" 3 } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target { x32 } } } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c
+@@ -0,0 +1,22 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
++
++extern void (*bar) (void);
++
++__attribute__ ((function_return("thunk-inline")))
++int
++foo (void)
++{
++ bar ();
++ return 0;
++}
++
++/* { dg-final { scan-assembler-times {\tpause} 1 } } */
++/* { dg-final { scan-assembler-times {\tlfence} 1 } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?bar" { target { { ! x32 } && *-*-linux* } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target { x32 } } } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c
+@@ -0,0 +1,22 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=keep -fno-pic" } */
++
++extern void (*bar) (void);
++
++__attribute__ ((function_return("thunk-extern"), indirect_branch("thunk")))
++int
++foo (void)
++{
++ bar ();
++ return 0;
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-times {\tpause} 1 } } */
++/* { dg-final { scan-assembler-times {\tlfence} 1 } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?bar" { target { { ! x32 } && *-*-linux* } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target x32 } } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-16.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-16.c
+@@ -0,0 +1,18 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=thunk-inline -mindirect-branch=thunk-extern -fno-pic" } */
++
++extern void (*bar) (void);
++
++__attribute__ ((function_return("keep"), indirect_branch("keep")))
++int
++foo (void)
++{
++ bar ();
++ return 0;
++}
++
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
++/* { dg-final { scan-assembler-not "__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-2.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-2.c
+@@ -0,0 +1,13 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=thunk-inline" } */
++
++void
++foo (void)
++{
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*__x86_return_thunk" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-3.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-3.c
+@@ -0,0 +1,12 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=thunk-extern" } */
++
++void
++foo (void)
++{
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-4.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-4.c
+@@ -0,0 +1,12 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=keep" } */
++
++void
++foo (void)
++{
++}
++
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-5.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-5.c
+@@ -0,0 +1,15 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=keep" } */
++
++extern void foo (void) __attribute__ ((function_return("thunk")));
++
++void
++foo (void)
++{
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-6.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-6.c
+@@ -0,0 +1,14 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=keep" } */
++
++__attribute__ ((function_return("thunk-inline")))
++void
++foo (void)
++{
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler {\tlfence} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*__x86_return_thunk" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-7.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-7.c
+@@ -0,0 +1,13 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=keep" } */
++
++__attribute__ ((function_return("thunk-extern")))
++void
++foo (void)
++{
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-8.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-8.c
+@@ -0,0 +1,14 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=thunk-inline" } */
++
++extern void foo (void) __attribute__ ((function_return("keep")));
++
++void
++foo (void)
++{
++}
++
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c
+@@ -0,0 +1,24 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mfunction-return=thunk -mindirect-branch=thunk -fno-pic" } */
++
++extern void (*bar) (void);
++
++int
++foo (void)
++{
++ bar ();
++ return 0;
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_return_thunk" } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "__x86_indirect_thunk:" } } */
++/* { dg-final { scan-assembler-times {\tpause} 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times {\tlfence} 1 { target { ! x32 } } } } */
++/* { dg-final { scan-assembler "push(?:l|q)\[ \t\]*_?bar" { target { { ! x32 } && *-*-linux* } } } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk" { target { ! x32 } } } } */
++/* { dg-final { scan-assembler-times {\tpause} 2 { target { x32 } } } } */
++/* { dg-final { scan-assembler-times {\tlfence} 2 { target { x32 } } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_(r|e)ax" { target { x32 } } } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" { target x32 } } } */
diff --git a/development/gcc5/patches/0007-x86-Add-mindirect-branch-register-doc.diff b/development/gcc5/patches/0007-x86-Add-mindirect-branch-register-doc.diff
new file mode 100644
index 0000000000..9780bfc918
--- /dev/null
+++ b/development/gcc5/patches/0007-x86-Add-mindirect-branch-register-doc.diff
@@ -0,0 +1,231 @@
+From 86118fbdbafe6af54b2da467e1073c49e1742116 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 11:17:49 +0000
+Subject: [PATCH 7/9] x86: Add -mindirect-branch-register (documentation)
+
+Add -mindirect-branch-register to force indirect branch via register.
+This is implemented by disabling patterns of indirect branch via memory,
+similar to TARGET_X32.
+
+-mindirect-branch= and -mfunction-return= tests are updated with
+-mno-indirect-branch-register to avoid false test failures when
+-mindirect-branch-register is added to RUNTESTFLAGS for "make check".
+
+gcc/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/constraints.md (Bs): Disallow memory operand for
+ -mindirect-branch-register.
+ (Bw): Likewise.
+ * config/i386/predicates.md (indirect_branch_operand): Likewise.
+ (GOT_memory_operand): Likewise.
+ (call_insn_operand): Likewise.
+ (sibcall_insn_operand): Likewise.
+ (GOT32_symbol_operand): Likewise.
+ * config/i386/i386.md (indirect_jump): Call convert_memory_address
+ for -mindirect-branch-register.
+ (tablejump): Likewise.
+ (*sibcall_memory): Likewise.
+ (*sibcall_value_memory): Likewise.
+ Disallow peepholes of indirect call and jump via memory for
+ -mindirect-branch-register.
+ (*call_pop): Replace m with Bw.
+ (*call_value_pop): Likewise.
+ (*sibcall_pop_memory): Replace m with Bs.
+ * config/i386/i386.opt (mindirect-branch-register): New option.
+ * doc/invoke.texi: Document -mindirect-branch-register option.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/indirect-thunk-1.c (dg-options): Add
+ -mno-indirect-branch-register.
+ * gcc.target/i386/indirect-thunk-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-7.c: Likewise.
+ * gcc.target/i386/ret-thunk-10.c: Likewise.
+ * gcc.target/i386/ret-thunk-11.c: Likewise.
+ * gcc.target/i386/ret-thunk-12.c: Likewise.
+ * gcc.target/i386/ret-thunk-13.c: Likewise.
+ * gcc.target/i386/ret-thunk-14.c: Likewise.
+ * gcc.target/i386/ret-thunk-15.c: Likewise.
+ * gcc.target/i386/ret-thunk-9.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-1.c: New test.
+ * gcc.target/i386/indirect-thunk-register-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-3.c: Likewise.
+
+i386: Rename to ix86_indirect_branch_register
+
+Rename the variable for -mindirect-branch-register to
+ix86_indirect_branch_register to match the command-line option name.
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/constraints.md (Bs): Replace
+ ix86_indirect_branch_thunk_register with
+ ix86_indirect_branch_register.
+ (Bw): Likewise.
+ * config/i386/i386.md (indirect_jump): Likewise.
+ (tablejump): Likewise.
+ (*sibcall_memory): Likewise.
+ (*sibcall_value_memory): Likewise.
+ Peepholes of indirect call and jump via memory: Likewise.
+ * config/i386/i386.opt: Likewise.
+ * config/i386/predicates.md (indirect_branch_operand): Likewise.
+ (GOT_memory_operand): Likewise.
+ (call_insn_operand): Likewise.
+ (sibcall_insn_operand): Likewise.
+ (GOT32_symbol_operand): Likewise.
+
+x86: Rewrite ix86_indirect_branch_register logic
+
+Rewrite ix86_indirect_branch_register logic with
+
+(and (not (match_test "ix86_indirect_branch_register"))
+ (original condition before r256662))
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/predicates.md (constant_call_address_operand):
+ Rewrite ix86_indirect_branch_register logic.
+ (sibcall_insn_operand): Likewise.
+
+Don't check ix86_indirect_branch_register for GOT operand
+
+Since GOT_memory_operand and GOT32_symbol_operand are simple pattern
+matches, don't check ix86_indirect_branch_register here. If needed,
+-mindirect-branch= will convert indirect branch via GOT slot to a call
+and return thunk.
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/constraints.md (Bs): Update
+ ix86_indirect_branch_register check. Don't check
+ ix86_indirect_branch_register with GOT_memory_operand.
+ (Bw): Likewise.
+ * config/i386/predicates.md (GOT_memory_operand): Don't check
+ ix86_indirect_branch_register here.
+ (GOT32_symbol_operand): Likewise.
+
+i386: Rewrite indirect_branch_operand logic
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/predicates.md (indirect_branch_operand): Rewrite
+ ix86_indirect_branch_register logic.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256735 138bc75d-0d04-0410-961f-82ee72b054a4
+
+[Ubuntu note: Dropped indirect-thunk-5.c, indirect-thunk-6.c,
+ indirect-thunk-bnd-3.c, indirect-thunk-bnd-4.c,
+ indirect-thunk-extern-5.c, indirect-thunk-extern-6.c,
+ indirect-thunk-inline-5.c, and indirect-thunk-inline-6.c tests due
+ to gcc 5.4 and earlier not supporting the -fno-plt option.
+ --sbeattie,]
+---
+ src/gcc/config/i386/constraints.md | 6 +
+ src/gcc/config/i386/i386.md | 34 ++++++----
+ src/gcc/config/i386/i386.opt | 4 +
+ src/gcc/config/i386/predicates.md | 9 +-
+ src/gcc/doc/invoke.texi | 7 +-
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-1.c | 22 ++++++
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-2.c | 20 +++++
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-3.c | 19 +++++
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c | 2
+ 39 files changed, 134 insertions(+), 49 deletions(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-register-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-register-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-register-3.c
+
+Index: b/src/gcc/doc/invoke.texi
+===================================================================
+--- a/src/gcc/doc/invoke.texi
++++ b/src/gcc/doc/invoke.texi
+@@ -1091,7 +1091,8 @@ See RS/6000 and PowerPC Options.
+ -msse2avx -mfentry -mrecord-mcount -mnop-mcount -m8bit-idiv @gol
+ -mavx256-split-unaligned-load -mavx256-split-unaligned-store @gol
+ -malign-data=@var{type} -mstack-protector-guard=@var{guard} @gol
+--mindirect-branch=@var{choice} -mfunction-return=@var{choice}}
++-mindirect-branch=@var{choice} -mfunction-return=@var{choice} @gol
++-mindirect-branch-register}
+
+ @emph{x86 Windows Options}
+ @gccoptlist{-mconsole -mcygwin -mno-cygwin -mdll @gol
+@@ -24040,6 +24041,10 @@ object file. You can control this behav
+ using the function attribute @code{function_return}.
+ @xref{Function Attributes}.
+
++@item -mindirect-branch-register
++@opindex -mindirect-branch-register
++Force indirect call and jump via register.
++
+ @end table
+
+ @c man end
diff --git a/development/gcc5/patches/0007-x86-Add-mindirect-branch-register.diff b/development/gcc5/patches/0007-x86-Add-mindirect-branch-register.diff
new file mode 100644
index 0000000000..211368991f
--- /dev/null
+++ b/development/gcc5/patches/0007-x86-Add-mindirect-branch-register.diff
@@ -0,0 +1,812 @@
+From 86118fbdbafe6af54b2da467e1073c49e1742116 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 11:17:49 +0000
+Subject: [PATCH 7/9] x86: Add -mindirect-branch-register
+
+Add -mindirect-branch-register to force indirect branch via register.
+This is implemented by disabling patterns of indirect branch via memory,
+similar to TARGET_X32.
+
+-mindirect-branch= and -mfunction-return= tests are updated with
+-mno-indirect-branch-register to avoid false test failures when
+-mindirect-branch-register is added to RUNTESTFLAGS for "make check".
+
+gcc/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/constraints.md (Bs): Disallow memory operand for
+ -mindirect-branch-register.
+ (Bw): Likewise.
+ * config/i386/predicates.md (indirect_branch_operand): Likewise.
+ (GOT_memory_operand): Likewise.
+ (call_insn_operand): Likewise.
+ (sibcall_insn_operand): Likewise.
+ (GOT32_symbol_operand): Likewise.
+ * config/i386/i386.md (indirect_jump): Call convert_memory_address
+ for -mindirect-branch-register.
+ (tablejump): Likewise.
+ (*sibcall_memory): Likewise.
+ (*sibcall_value_memory): Likewise.
+ Disallow peepholes of indirect call and jump via memory for
+ -mindirect-branch-register.
+ (*call_pop): Replace m with Bw.
+ (*call_value_pop): Likewise.
+ (*sibcall_pop_memory): Replace m with Bs.
+ * config/i386/i386.opt (mindirect-branch-register): New option.
+ * doc/invoke.texi: Document -mindirect-branch-register option.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/indirect-thunk-1.c (dg-options): Add
+ -mno-indirect-branch-register.
+ * gcc.target/i386/indirect-thunk-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-bnd-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-7.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-1.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-3.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-4.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-5.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-6.c: Likewise.
+ * gcc.target/i386/indirect-thunk-inline-7.c: Likewise.
+ * gcc.target/i386/ret-thunk-10.c: Likewise.
+ * gcc.target/i386/ret-thunk-11.c: Likewise.
+ * gcc.target/i386/ret-thunk-12.c: Likewise.
+ * gcc.target/i386/ret-thunk-13.c: Likewise.
+ * gcc.target/i386/ret-thunk-14.c: Likewise.
+ * gcc.target/i386/ret-thunk-15.c: Likewise.
+ * gcc.target/i386/ret-thunk-9.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-1.c: New test.
+ * gcc.target/i386/indirect-thunk-register-2.c: Likewise.
+ * gcc.target/i386/indirect-thunk-register-3.c: Likewise.
+
+i386: Rename to ix86_indirect_branch_register
+
+Rename the variable for -mindirect-branch-register to
+ix86_indirect_branch_register to match the command-line option name.
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/constraints.md (Bs): Replace
+ ix86_indirect_branch_thunk_register with
+ ix86_indirect_branch_register.
+ (Bw): Likewise.
+ * config/i386/i386.md (indirect_jump): Likewise.
+ (tablejump): Likewise.
+ (*sibcall_memory): Likewise.
+ (*sibcall_value_memory): Likewise.
+ Peepholes of indirect call and jump via memory: Likewise.
+ * config/i386/i386.opt: Likewise.
+ * config/i386/predicates.md (indirect_branch_operand): Likewise.
+ (GOT_memory_operand): Likewise.
+ (call_insn_operand): Likewise.
+ (sibcall_insn_operand): Likewise.
+ (GOT32_symbol_operand): Likewise.
+
+x86: Rewrite ix86_indirect_branch_register logic
+
+Rewrite ix86_indirect_branch_register logic with
+
+(and (not (match_test "ix86_indirect_branch_register"))
+ (original condition before r256662))
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/predicates.md (constant_call_address_operand):
+ Rewrite ix86_indirect_branch_register logic.
+ (sibcall_insn_operand): Likewise.
+
+Don't check ix86_indirect_branch_register for GOT operand
+
+Since GOT_memory_operand and GOT32_symbol_operand are simple pattern
+matches, don't check ix86_indirect_branch_register here. If needed,
+-mindirect-branch= will convert indirect branch via GOT slot to a call
+and return thunk.
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/constraints.md (Bs): Update
+ ix86_indirect_branch_register check. Don't check
+ ix86_indirect_branch_register with GOT_memory_operand.
+ (Bw): Likewise.
+ * config/i386/predicates.md (GOT_memory_operand): Don't check
+ ix86_indirect_branch_register here.
+ (GOT32_symbol_operand): Likewise.
+
+i386: Rewrite indirect_branch_operand logic
+
+ Backport from mainline
+ 2018-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/predicates.md (indirect_branch_operand): Rewrite
+ ix86_indirect_branch_register logic.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256735 138bc75d-0d04-0410-961f-82ee72b054a4
+
+[Ubuntu note: Dropped indirect-thunk-5.c, indirect-thunk-6.c,
+ indirect-thunk-bnd-3.c, indirect-thunk-bnd-4.c,
+ indirect-thunk-extern-5.c, indirect-thunk-extern-6.c,
+ indirect-thunk-inline-5.c, and indirect-thunk-inline-6.c tests due
+ to gcc 5.4 and earlier not supporting the -fno-plt option.
+ --sbeattie,]
+---
+ src/gcc/config/i386/constraints.md | 6 +
+ src/gcc/config/i386/i386.md | 34 ++++++----
+ src/gcc/config/i386/i386.opt | 4 +
+ src/gcc/config/i386/predicates.md | 9 +-
+ src/gcc/doc/invoke.texi | 7 +-
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c | 2
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-1.c | 22 ++++++
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-2.c | 20 +++++
+ src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-3.c | 19 +++++
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c | 2
+ src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c | 2
+ 39 files changed, 134 insertions(+), 49 deletions(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-register-1.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-register-2.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-register-3.c
+
+Index: b/src/gcc/config/i386/constraints.md
+===================================================================
+--- a/src/gcc/config/i386/constraints.md
++++ b/src/gcc/config/i386/constraints.md
+@@ -157,12 +157,14 @@
+
+ (define_constraint "Bs"
+ "@internal Sibcall memory operand."
+- (and (not (match_test "TARGET_X32"))
++ (and (not (match_test "ix86_indirect_branch_register"))
++ (not (match_test "TARGET_X32"))
+ (match_operand 0 "sibcall_memory_operand")))
+
+ (define_constraint "Bw"
+ "@internal Call memory operand."
+- (and (not (match_test "TARGET_X32"))
++ (and (not (match_test "ix86_indirect_branch_register"))
++ (not (match_test "TARGET_X32"))
+ (match_operand 0 "memory_operand")))
+
+ (define_constraint "Bz"
+Index: b/src/gcc/config/i386/i386.md
+===================================================================
+--- a/src/gcc/config/i386/i386.md
++++ b/src/gcc/config/i386/i386.md
+@@ -11554,7 +11554,7 @@
+ [(set (pc) (match_operand 0 "indirect_branch_operand"))]
+ ""
+ {
+- if (TARGET_X32)
++ if (TARGET_X32 || ix86_indirect_branch_register)
+ operands[0] = convert_memory_address (word_mode, operands[0]);
+ cfun->machine->has_local_indirect_jump = true;
+ })
+@@ -11607,7 +11607,7 @@
+ OPTAB_DIRECT);
+ }
+
+- if (TARGET_X32)
++ if (TARGET_X32 || ix86_indirect_branch_register)
+ operands[0] = convert_memory_address (word_mode, operands[0]);
+ cfun->machine->has_local_indirect_jump = true;
+ })
+@@ -11764,7 +11764,7 @@
+ [(call (mem:QI (match_operand:W 0 "memory_operand" "m"))
+ (match_operand 1))
+ (unspec [(const_int 0)] UNSPEC_PEEPSIB)]
+- "!TARGET_X32"
++ "!TARGET_X32 && !ix86_indirect_branch_register"
+ "* return ix86_output_call_insn (insn, operands[0]);"
+ [(set_attr "type" "call")])
+
+@@ -11773,7 +11773,9 @@
+ (match_operand:W 1 "memory_operand"))
+ (call (mem:QI (match_dup 0))
+ (match_operand 3))]
+- "!TARGET_X32 && SIBLING_CALL_P (peep2_next_insn (1))
++ "!TARGET_X32
++ && !ix86_indirect_branch_register
++ && SIBLING_CALL_P (peep2_next_insn (1))
+ && peep2_reg_dead_p (2, operands[0])"
+ [(parallel [(call (mem:QI (match_dup 1))
+ (match_dup 3))
+@@ -11785,7 +11787,9 @@
+ (unspec_volatile [(const_int 0)] UNSPECV_BLOCKAGE)
+ (call (mem:QI (match_dup 0))
+ (match_operand 3))]
+- "!TARGET_X32 && SIBLING_CALL_P (peep2_next_insn (2))
++ "!TARGET_X32
++ && !ix86_indirect_branch_register
++ && SIBLING_CALL_P (peep2_next_insn (2))
+ && peep2_reg_dead_p (3, operands[0])"
+ [(unspec_volatile [(const_int 0)] UNSPECV_BLOCKAGE)
+ (parallel [(call (mem:QI (match_dup 1))
+@@ -11806,7 +11810,7 @@
+ })
+
+ (define_insn "*call_pop"
+- [(call (mem:QI (match_operand:SI 0 "call_insn_operand" "lmBz"))
++ [(call (mem:QI (match_operand:SI 0 "call_insn_operand" "lBwBz"))
+ (match_operand 1))
+ (set (reg:SI SP_REG)
+ (plus:SI (reg:SI SP_REG)
+@@ -11826,7 +11830,7 @@
+ [(set_attr "type" "call")])
+
+ (define_insn "*sibcall_pop_memory"
+- [(call (mem:QI (match_operand:SI 0 "memory_operand" "m"))
++ [(call (mem:QI (match_operand:SI 0 "memory_operand" "Bs"))
+ (match_operand 1))
+ (set (reg:SI SP_REG)
+ (plus:SI (reg:SI SP_REG)
+@@ -11878,7 +11882,9 @@
+ [(set (match_operand:W 0 "register_operand")
+ (match_operand:W 1 "memory_operand"))
+ (set (pc) (match_dup 0))]
+- "!TARGET_X32 && peep2_reg_dead_p (2, operands[0])"
++ "!TARGET_X32
++ && !ix86_indirect_branch_register
++ && peep2_reg_dead_p (2, operands[0])"
+ [(set (pc) (match_dup 1))])
+
+ ;; Call subroutine, returning value in operand 0
+@@ -11928,7 +11934,7 @@
+ (call (mem:QI (match_operand:W 1 "memory_operand" "m"))
+ (match_operand 2)))
+ (unspec [(const_int 0)] UNSPEC_PEEPSIB)]
+- "!TARGET_X32"
++ "!TARGET_X32 && !ix86_indirect_branch_register"
+ "* return ix86_output_call_insn (insn, operands[1]);"
+ [(set_attr "type" "callv")])
+
+@@ -11938,7 +11944,9 @@
+ (set (match_operand 2)
+ (call (mem:QI (match_dup 0))
+ (match_operand 3)))]
+- "!TARGET_X32 && SIBLING_CALL_P (peep2_next_insn (1))
++ "!TARGET_X32
++ && !ix86_indirect_branch_register
++ && SIBLING_CALL_P (peep2_next_insn (1))
+ && peep2_reg_dead_p (2, operands[0])"
+ [(parallel [(set (match_dup 2)
+ (call (mem:QI (match_dup 1))
+@@ -11952,7 +11960,9 @@
+ (set (match_operand 2)
+ (call (mem:QI (match_dup 0))
+ (match_operand 3)))]
+- "!TARGET_X32 && SIBLING_CALL_P (peep2_next_insn (2))
++ "!TARGET_X32
++ && !ix86_indirect_branch_register
++ && SIBLING_CALL_P (peep2_next_insn (2))
+ && peep2_reg_dead_p (3, operands[0])"
+ [(unspec_volatile [(const_int 0)] UNSPECV_BLOCKAGE)
+ (parallel [(set (match_dup 2)
+@@ -11976,7 +11986,7 @@
+
+ (define_insn "*call_value_pop"
+ [(set (match_operand 0)
+- (call (mem:QI (match_operand:SI 1 "call_insn_operand" "lmBz"))
++ (call (mem:QI (match_operand:SI 1 "call_insn_operand" "lBwBz"))
+ (match_operand 2)))
+ (set (reg:SI SP_REG)
+ (plus:SI (reg:SI SP_REG)
+Index: b/src/gcc/config/i386/i386.opt
+===================================================================
+--- a/src/gcc/config/i386/i386.opt
++++ b/src/gcc/config/i386/i386.opt
+@@ -900,3 +900,7 @@ Enum(indirect_branch) String(thunk-inlin
+
+ EnumValue
+ Enum(indirect_branch) String(thunk-extern) Value(indirect_branch_thunk_extern)
++
++mindirect-branch-register
++Target Report Var(ix86_indirect_branch_register) Init(0)
++Force indirect call and jump via register.
+Index: b/src/gcc/config/i386/predicates.md
+===================================================================
+--- a/src/gcc/config/i386/predicates.md
++++ b/src/gcc/config/i386/predicates.md
+@@ -607,7 +607,8 @@
+ ;; Test for a valid operand for indirect branch.
+ (define_predicate "indirect_branch_operand"
+ (ior (match_operand 0 "register_operand")
+- (and (not (match_test "TARGET_X32"))
++ (and (not (match_test "ix86_indirect_branch_register"))
++ (not (match_test "TARGET_X32"))
+ (match_operand 0 "memory_operand"))))
+
+ ;; Test for a valid operand for a call instruction.
+@@ -616,7 +617,8 @@
+ (ior (match_test "constant_call_address_operand
+ (op, mode == VOIDmode ? mode : Pmode)")
+ (match_operand 0 "call_register_no_elim_operand")
+- (and (not (match_test "TARGET_X32"))
++ (and (not (match_test "ix86_indirect_branch_register"))
++ (not (match_test "TARGET_X32"))
+ (match_operand 0 "memory_operand"))))
+
+ ;; Similarly, but for tail calls, in which we cannot allow memory references.
+@@ -624,7 +626,8 @@
+ (ior (match_test "constant_call_address_operand
+ (op, mode == VOIDmode ? mode : Pmode)")
+ (match_operand 0 "register_no_elim_operand")
+- (and (not (match_test "TARGET_X32"))
++ (and (not (match_test "ix86_indirect_branch_register"))
++ (not (match_test "TARGET_X32"))
+ (match_operand 0 "sibcall_memory_operand"))))
+
+ ;; Match exactly zero.
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mno-indirect-branch-register -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mno-indirect-branch-register -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile { target { ! x32 } } } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
+
+ void (*dispatch) (char *);
+ char buf[10];
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile { target { ! x32 } } } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk -fcheck-pointer-bounds -mmpx -fno-pic" } */
+
+ void (*dispatch) (char *);
+ char buf[10];
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ typedef void (*dispatch_t)(long offset);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ void func0 (void);
+ void func1 (void);
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-1.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-1.c
+@@ -0,0 +1,22 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk -mindirect-branch-register -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" } } */
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "mov\[ \t\](%eax|%rax), \\((%esp|%rsp)\\)" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler-not "push(?:l|q)\[ \t\]*_?dispatch" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk\n" } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk_bnd\n" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-2.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-2.c
+@@ -0,0 +1,20 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-inline -mindirect-branch-register -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "call\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler "mov\[ \t\](%eax|%rax), \\((%esp|%rsp)\\)" } } */
++/* { dg-final { scan-assembler {\tpause} } } */
++/* { dg-final { scan-assembler-not "push(?:l|q)\[ \t\]*_?dispatch" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" } } */
++/* { dg-final { scan-assembler-not "__x86_indirect_thunk" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-3.c
+===================================================================
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-3.c
+@@ -0,0 +1,19 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=thunk-extern -mindirect-branch-register -fno-pic" } */
++
++typedef void (*dispatch_t)(long offset);
++
++dispatch_t dispatch;
++
++void
++male_indirect_jump (long offset)
++{
++ dispatch(offset);
++}
++
++/* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_(r|e)ax" } } */
++/* { dg-final { scan-assembler-not "push(?:l|q)\[ \t\]*_?dispatch" } } */
++/* { dg-final { scan-assembler-not "pushq\[ \t\]%rax" } } */
++/* { dg-final { scan-assembler-not {\t(pause|pause|nop)} } } */
++/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
++/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-10.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=thunk-inline -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mno-indirect-branch-register -mfunction-return=thunk-inline -mindirect-branch=thunk -fno-pic" } */
+
+ extern void (*bar) (void);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-11.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=thunk-extern -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mno-indirect-branch-register -mno-indirect-branch-register -mno-indirect-branch-register -mfunction-return=thunk-extern -mindirect-branch=thunk -fno-pic" } */
+
+ extern void (*bar) (void);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-12.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mno-indirect-branch-register -mno-indirect-branch-register -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk -fno-pic" } */
+
+ extern void (*bar) (void);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-13.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-inline -fno-pic" } */
+
+ extern void (*bar) (void);
+ extern int foo (void) __attribute__ ((function_return("thunk")));
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-14.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=thunk-extern -fno-pic" } */
+
+ extern void (*bar) (void);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-15.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=keep -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mno-indirect-branch-register -mno-indirect-branch-register -mno-indirect-branch-register -mfunction-return=keep -mindirect-branch=keep -fno-pic" } */
+
+ extern void (*bar) (void);
+
+Index: b/src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-9.c
+@@ -1,5 +1,5 @@
+ /* { dg-do compile } */
+-/* { dg-options "-O2 -mfunction-return=thunk -mindirect-branch=thunk -fno-pic" } */
++/* { dg-options "-O2 -mno-indirect-branch-register -mno-indirect-branch-register -mfunction-return=thunk -mindirect-branch=thunk -fno-pic" } */
+
+ extern void (*bar) (void);
+
diff --git a/development/gcc5/patches/0008-x86-Add-V-register-operand-modifier-doc.diff b/development/gcc5/patches/0008-x86-Add-V-register-operand-modifier-doc.diff
new file mode 100644
index 0000000000..b3bd93a218
--- /dev/null
+++ b/development/gcc5/patches/0008-x86-Add-V-register-operand-modifier-doc.diff
@@ -0,0 +1,65 @@
+From 8a47615dd04a02fdae9691f5ad73fd5a5530c156 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 11:19:51 +0000
+Subject: [PATCH 8/9] x86: Add 'V' register operand modifier (documentation)
+
+Add 'V', a special modifier which prints the name of the full integer
+register without '%'. For
+
+extern void (*func_p) (void);
+
+void
+foo (void)
+{
+ asm ("call __x86_indirect_thunk_%V0" : : "a" (func_p));
+}
+
+it generates:
+
+foo:
+ movq func_p(%rip), %rax
+ call __x86_indirect_thunk_rax
+ ret
+
+gcc/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386.c (print_reg): Print the name of the full
+ integer register without '%'.
+ (ix86_print_operand): Handle 'V'.
+ * doc/extend.texi: Document 'V' modifier.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/indirect-thunk-register-4.c: New test.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256736 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 10 ++++++++++
+ gcc/config/i386/i386.c | 13 ++++++++++++-
+ gcc/doc/extend.texi | 3 +++
+ gcc/testsuite/ChangeLog | 7 +++++++
+ gcc/testsuite/gcc.target/i386/indirect-thunk-register-4.c | 13 +++++++++++++
+ 5 files changed, 45 insertions(+), 1 deletion(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-register-4.c
+
+diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
+index 46e0a36..9db9e0e 100644
+--- a/src/gcc/doc/extend.texi
++++ b/src/gcc/doc/extend.texi
+@@ -8778,6 +8778,9 @@ The table below shows the list of supported modifiers and their effects.
+ @tab @code{2}
+ @end multitable
+
++@code{V} is a special modifier which prints the name of the full integer
++register without @code{%}.
++
+ @anchor{x86floatingpointasmoperands}
+ @subsubsection x86 Floating-Point @code{asm} Operands
+
diff --git a/development/gcc5/patches/0008-x86-Add-V-register-operand-modifier.diff b/development/gcc5/patches/0008-x86-Add-V-register-operand-modifier.diff
new file mode 100644
index 0000000000..fb1ccd9883
--- /dev/null
+++ b/development/gcc5/patches/0008-x86-Add-V-register-operand-modifier.diff
@@ -0,0 +1,125 @@
+From 8a47615dd04a02fdae9691f5ad73fd5a5530c156 Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 11:19:51 +0000
+Subject: [PATCH 8/9] x86: Add 'V' register operand modifier
+
+Add 'V', a special modifier which prints the name of the full integer
+register without '%'. For
+
+extern void (*func_p) (void);
+
+void
+foo (void)
+{
+ asm ("call __x86_indirect_thunk_%V0" : : "a" (func_p));
+}
+
+it generates:
+
+foo:
+ movq func_p(%rip), %rax
+ call __x86_indirect_thunk_rax
+ ret
+
+gcc/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386.c (print_reg): Print the name of the full
+ integer register without '%'.
+ (ix86_print_operand): Handle 'V'.
+ * doc/extend.texi: Document 'V' modifier.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/indirect-thunk-register-4.c: New test.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256736 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 10 ++++++++++
+ gcc/config/i386/i386.c | 13 ++++++++++++-
+ gcc/doc/extend.texi | 3 +++
+ gcc/testsuite/ChangeLog | 7 +++++++
+ gcc/testsuite/gcc.target/i386/indirect-thunk-register-4.c | 13 +++++++++++++
+ 5 files changed, 45 insertions(+), 1 deletion(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-register-4.c
+
+diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
+index 8fb8902..1bbdd0c 100644
+--- a/src/gcc/config/i386/i386.c
++++ b/src/gcc/config/i386/i386.c
+@@ -17941,6 +17941,7 @@ put_condition_code (enum rtx_code code, machine_mode mode, bool reverse,
+ If CODE is 'h', pretend the reg is the 'high' byte register.
+ If CODE is 'y', print "st(0)" instead of "st", if the reg is stack op.
+ If CODE is 'd', duplicate the operand for AVX instruction.
++ If CODE is 'V', print naked full integer register name without %.
+ */
+
+ void
+@@ -17951,7 +17952,7 @@ print_reg (rtx x, int code, FILE *file)
+ unsigned int regno;
+ bool duplicated = code == 'd' && TARGET_AVX;
+
+- if (ASSEMBLER_DIALECT == ASM_ATT)
++ if (ASSEMBLER_DIALECT == ASM_ATT && code != 'V')
+ putc ('%', file);
+
+ if (x == pc_rtx)
+@@ -17999,6 +18000,14 @@ print_reg (rtx x, int code, FILE *file)
+ else
+ code = GET_MODE_SIZE (GET_MODE (x));
+
++ if (code == 'V')
++ {
++ if (GENERAL_REGNO_P (regno))
++ code = GET_MODE_SIZE (word_mode);
++ else
++ error ("'V' modifier on non-integer register");
++ }
++
+ /* Irritatingly, AMD extended registers use different naming convention
+ from the normal registers: "r%d[bwd]" */
+ if (REX_INT_REGNO_P (regno))
+@@ -18118,6 +18127,7 @@ print_reg (rtx x, int code, FILE *file)
+ & -- print some in-use local-dynamic symbol name.
+ H -- print a memory address offset by 8; used for sse high-parts
+ Y -- print condition for XOP pcom* instruction.
++ V -- print naked full integer register name without %.
+ + -- print a branch hint as 'cs' or 'ds' prefix
+ ; -- print a semicolon (after prefixes due to bug in older gas).
+ ~ -- print "i" if TARGET_AVX2, "f" otherwise.
+@@ -18342,6 +18352,7 @@ ix86_print_operand (FILE *file, rtx x, int code)
+ case 'X':
+ case 'P':
+ case 'p':
++ case 'V':
+ break;
+
+ case 's':
+diff --git a/gcc/testsuite/gcc.target/i386/indirect-thunk-register-4.c b/gcc/testsuite/gcc.target/i386/indirect-thunk-register-4.c
+new file mode 100644
+index 0000000..f0cd9b7
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-register-4.c
+@@ -0,0 +1,13 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -mindirect-branch=keep -fno-pic" } */
++
++extern void (*func_p) (void);
++
++void
++foo (void)
++{
++ asm("call __x86_indirect_thunk_%V0" : : "a" (func_p));
++}
++
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_eax" { target ia32 } } } */
++/* { dg-final { scan-assembler "call\[ \t\]*__x86_indirect_thunk_rax" { target { ! ia32 } } } } */
+--
+2.7.4
+
diff --git a/development/gcc5/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-.diff b/development/gcc5/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-.diff
new file mode 100644
index 0000000000..fdaab625ab
--- /dev/null
+++ b/development/gcc5/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-.diff
@@ -0,0 +1,275 @@
+From 5d1c53c6fd593de2360c1a2ae44ebf5fa3c5263b Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 11:22:01 +0000
+Subject: [PATCH 9/9] x86: Disallow -mindirect-branch=/-mfunction-return= with
+ -mcmodel=large
+
+Since the thunk function may not be reachable in large code model,
+-mcmodel=large is incompatible with -mindirect-branch=thunk,
+-mindirect-branch=thunk-extern, -mfunction-return=thunk and
+-mfunction-return=thunk-extern. Issue an error when they are used with
+-mcmodel=large.
+
+gcc/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386.c (ix86_set_indirect_branch_type): Disallow
+ -mcmodel=large with -mindirect-branch=thunk,
+ -mindirect-branch=thunk-extern, -mfunction-return=thunk and
+ -mfunction-return=thunk-extern.
+ * doc/invoke.texi: Document -mcmodel=large is incompatible with
+ -mindirect-branch=thunk, -mindirect-branch=thunk-extern,
+ -mfunction-return=thunk and -mfunction-return=thunk-extern.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/indirect-thunk-10.c: New test.
+ * gcc.target/i386/indirect-thunk-8.c: Likewise.
+ * gcc.target/i386/indirect-thunk-9.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-10.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-11.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-9.c: Likewise.
+ * gcc.target/i386/ret-thunk-17.c: Likewise.
+ * gcc.target/i386/ret-thunk-18.c: Likewise.
+ * gcc.target/i386/ret-thunk-19.c: Likewise.
+ * gcc.target/i386/ret-thunk-20.c: Likewise.
+ * gcc.target/i386/ret-thunk-21.c: Likewise.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256737 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 13 +++++++++++
+ gcc/config/i386/i386.c | 26 ++++++++++++++++++++++
+ gcc/doc/invoke.texi | 11 +++++++++
+ gcc/testsuite/ChangeLog | 17 ++++++++++++++
+ gcc/testsuite/gcc.target/i386/indirect-thunk-10.c | 7 ++++++
+ gcc/testsuite/gcc.target/i386/indirect-thunk-8.c | 7 ++++++
+ gcc/testsuite/gcc.target/i386/indirect-thunk-9.c | 7 ++++++
+ .../gcc.target/i386/indirect-thunk-attr-10.c | 9 ++++++++
+ .../gcc.target/i386/indirect-thunk-attr-11.c | 9 ++++++++
+ .../gcc.target/i386/indirect-thunk-attr-9.c | 9 ++++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-17.c | 7 ++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-18.c | 8 +++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-19.c | 8 +++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-20.c | 9 ++++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-21.c | 9 ++++++++
+ 15 files changed, 156 insertions(+)
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-10.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-8.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-9.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-10.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-11.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-9.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-17.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-18.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-19.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-20.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-21.c
+
+diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
+index 1bbdd0c..e758387 100644
+--- a/src/gcc/config/i386/i386.c
++++ b/src/gcc/config/i386/i386.c
+@@ -7187,6 +7187,19 @@ ix86_set_indirect_branch_type (tree fndecl)
+ }
+ else
+ cfun->machine->indirect_branch_type = ix86_indirect_branch;
++
++ /* -mcmodel=large is not compatible with -mindirect-branch=thunk
++ nor -mindirect-branch=thunk-extern. */
++ if ((ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC)
++ && ((cfun->machine->indirect_branch_type
++ == indirect_branch_thunk_extern)
++ || (cfun->machine->indirect_branch_type
++ == indirect_branch_thunk)))
++ error ("%<-mindirect-branch=%s%> and %<-mcmodel=large%> are not "
++ "compatible",
++ ((cfun->machine->indirect_branch_type
++ == indirect_branch_thunk_extern)
++ ? "thunk-extern" : "thunk"));
+ }
+
+ if (cfun->machine->function_return_type == indirect_branch_unset)
+@@ -7212,6 +7225,19 @@ ix86_set_indirect_branch_type (tree fndecl)
+ }
+ else
+ cfun->machine->function_return_type = ix86_function_return;
++
++ /* -mcmodel=large is not compatible with -mfunction-return=thunk
++ nor -mfunction-return=thunk-extern. */
++ if ((ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC)
++ && ((cfun->machine->function_return_type
++ == indirect_branch_thunk_extern)
++ || (cfun->machine->function_return_type
++ == indirect_branch_thunk)))
++ error ("%<-mfunction-return=%s%> and %<-mcmodel=large%> are not "
++ "compatible",
++ ((cfun->machine->function_return_type
++ == indirect_branch_thunk_extern)
++ ? "thunk-extern" : "thunk"));
+ }
+ }
+
+diff --git a/gcc/testsuite/gcc.target/i386/indirect-thunk-10.c b/gcc/testsuite/gcc.target/i386/indirect-thunk-10.c
+new file mode 100644
+index 0000000..a0674bd
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-10.c
+@@ -0,0 +1,7 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mindirect-branch=thunk-inline -mfunction-return=keep -mcmodel=large" } */
++
++void
++bar (void)
++{
++}
+diff --git a/gcc/testsuite/gcc.target/i386/indirect-thunk-8.c b/gcc/testsuite/gcc.target/i386/indirect-thunk-8.c
+new file mode 100644
+index 0000000..7a80a89
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-8.c
+@@ -0,0 +1,7 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mindirect-branch=thunk -mfunction-return=keep -mcmodel=large" } */
++
++void
++bar (void)
++{ /* { dg-error "'-mindirect-branch=thunk' and '-mcmodel=large' are not compatible" } */
++}
+diff --git a/gcc/testsuite/gcc.target/i386/indirect-thunk-9.c b/gcc/testsuite/gcc.target/i386/indirect-thunk-9.c
+new file mode 100644
+index 0000000..d4d45c5
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-9.c
+@@ -0,0 +1,7 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mindirect-branch=thunk-extern -mfunction-return=keep -mcmodel=large" } */
++
++void
++bar (void)
++{ /* { dg-error "'-mindirect-branch=thunk-extern' and '-mcmodel=large' are not compatible" } */
++}
+diff --git a/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-10.c b/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-10.c
+new file mode 100644
+index 0000000..3a2aead
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-10.c
+@@ -0,0 +1,9 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mindirect-branch=keep -mfunction-return=keep -mcmodel=large" } */
++/* { dg-additional-options "-fPIC" { target fpic } } */
++
++__attribute__ ((indirect_branch("thunk-extern")))
++void
++bar (void)
++{ /* { dg-error "'-mindirect-branch=thunk-extern' and '-mcmodel=large' are not compatible" } */
++}
+diff --git a/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-11.c b/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-11.c
+new file mode 100644
+index 0000000..8e52f03
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-11.c
+@@ -0,0 +1,9 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mindirect-branch=keep -mfunction-return=keep -mcmodel=large" } */
++/* { dg-additional-options "-fPIC" { target fpic } } */
++
++__attribute__ ((indirect_branch("thunk-inline")))
++void
++bar (void)
++{
++}
+diff --git a/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-9.c b/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-9.c
+new file mode 100644
+index 0000000..bdaa4f6
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-9.c
+@@ -0,0 +1,9 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mindirect-branch=keep -mfunction-return=keep -mcmodel=large" } */
++/* { dg-additional-options "-fPIC" { target fpic } } */
++
++__attribute__ ((indirect_branch("thunk")))
++void
++bar (void)
++{ /* { dg-error "'-mindirect-branch=thunk' and '-mcmodel=large' are not compatible" } */
++}
+diff --git a/gcc/testsuite/gcc.target/i386/ret-thunk-17.c b/gcc/testsuite/gcc.target/i386/ret-thunk-17.c
+new file mode 100644
+index 0000000..0605e2c
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-17.c
+@@ -0,0 +1,7 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mfunction-return=thunk -mindirect-branch=keep -mcmodel=large" } */
++
++void
++bar (void)
++{ /* { dg-error "'-mfunction-return=thunk' and '-mcmodel=large' are not compatible" } */
++}
+diff --git a/gcc/testsuite/gcc.target/i386/ret-thunk-18.c b/gcc/testsuite/gcc.target/i386/ret-thunk-18.c
+new file mode 100644
+index 0000000..307019d
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-18.c
+@@ -0,0 +1,8 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mfunction-return=thunk-extern -mindirect-branch=keep -mcmodel=large" } */
++/* { dg-additional-options "-fPIC" { target fpic } } */
++
++void
++bar (void)
++{ /* { dg-error "'-mfunction-return=thunk-extern' and '-mcmodel=large' are not compatible" } */
++}
+diff --git a/gcc/testsuite/gcc.target/i386/ret-thunk-19.c b/gcc/testsuite/gcc.target/i386/ret-thunk-19.c
+new file mode 100644
+index 0000000..772617f
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-19.c
+@@ -0,0 +1,8 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=keep -mcmodel=large" } */
++
++__attribute__ ((function_return("thunk")))
++void
++bar (void)
++{ /* { dg-error "'-mfunction-return=thunk' and '-mcmodel=large' are not compatible" } */
++}
+diff --git a/gcc/testsuite/gcc.target/i386/ret-thunk-20.c b/gcc/testsuite/gcc.target/i386/ret-thunk-20.c
+new file mode 100644
+index 0000000..1e9f9bd
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-20.c
+@@ -0,0 +1,9 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=keep -mcmodel=large" } */
++/* { dg-additional-options "-fPIC" { target fpic } } */
++
++__attribute__ ((function_return("thunk-extern")))
++void
++bar (void)
++{ /* { dg-error "'-mfunction-return=thunk-extern' and '-mcmodel=large' are not compatible" } */
++}
+diff --git a/gcc/testsuite/gcc.target/i386/ret-thunk-21.c b/gcc/testsuite/gcc.target/i386/ret-thunk-21.c
+new file mode 100644
+index 0000000..eea07f7
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/i386/ret-thunk-21.c
+@@ -0,0 +1,9 @@
++/* { dg-do compile { target { lp64 } } } */
++/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=keep -mcmodel=large" } */
++/* { dg-additional-options "-fPIC" { target fpic } } */
++
++__attribute__ ((function_return("thunk-inline")))
++void
++bar (void)
++{
++}
+--
+2.7.4
+
diff --git a/development/gcc5/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-doc.diff b/development/gcc5/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-doc.diff
new file mode 100644
index 0000000000..c107900552
--- /dev/null
+++ b/development/gcc5/patches/0009-x86-Disallow-mindirect-branch-mfunction-return-with-doc.diff
@@ -0,0 +1,102 @@
+From 5d1c53c6fd593de2360c1a2ae44ebf5fa3c5263b Mon Sep 17 00:00:00 2001
+From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 16 Jan 2018 11:22:01 +0000
+Subject: [PATCH 9/9] x86: Disallow -mindirect-branch=/-mfunction-return= with
+ -mcmodel=large
+
+Since the thunk function may not be reachable in large code model,
+-mcmodel=large is incompatible with -mindirect-branch=thunk,
+-mindirect-branch=thunk-extern, -mfunction-return=thunk and
+-mfunction-return=thunk-extern. Issue an error when they are used with
+-mcmodel=large.
+
+gcc/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386.c (ix86_set_indirect_branch_type): Disallow
+ -mcmodel=large with -mindirect-branch=thunk,
+ -mindirect-branch=thunk-extern, -mfunction-return=thunk and
+ -mfunction-return=thunk-extern.
+ * doc/invoke.texi: Document -mcmodel=large is incompatible with
+ -mindirect-branch=thunk, -mindirect-branch=thunk-extern,
+ -mfunction-return=thunk and -mfunction-return=thunk-extern.
+
+gcc/testsuite/
+
+ Backport from mainline
+ 2018-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/indirect-thunk-10.c: New test.
+ * gcc.target/i386/indirect-thunk-8.c: Likewise.
+ * gcc.target/i386/indirect-thunk-9.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-10.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-11.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-9.c: Likewise.
+ * gcc.target/i386/ret-thunk-17.c: Likewise.
+ * gcc.target/i386/ret-thunk-18.c: Likewise.
+ * gcc.target/i386/ret-thunk-19.c: Likewise.
+ * gcc.target/i386/ret-thunk-20.c: Likewise.
+ * gcc.target/i386/ret-thunk-21.c: Likewise.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@256737 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 13 +++++++++++
+ gcc/config/i386/i386.c | 26 ++++++++++++++++++++++
+ gcc/doc/invoke.texi | 11 +++++++++
+ gcc/testsuite/ChangeLog | 17 ++++++++++++++
+ gcc/testsuite/gcc.target/i386/indirect-thunk-10.c | 7 ++++++
+ gcc/testsuite/gcc.target/i386/indirect-thunk-8.c | 7 ++++++
+ gcc/testsuite/gcc.target/i386/indirect-thunk-9.c | 7 ++++++
+ .../gcc.target/i386/indirect-thunk-attr-10.c | 9 ++++++++
+ .../gcc.target/i386/indirect-thunk-attr-11.c | 9 ++++++++
+ .../gcc.target/i386/indirect-thunk-attr-9.c | 9 ++++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-17.c | 7 ++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-18.c | 8 +++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-19.c | 8 +++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-20.c | 9 ++++++++
+ gcc/testsuite/gcc.target/i386/ret-thunk-21.c | 9 ++++++++
+ 15 files changed, 156 insertions(+)
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-10.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-8.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-9.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-10.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-11.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/indirect-thunk-attr-9.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-17.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-18.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-19.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-20.c
+ create mode 100644 gcc/testsuite/gcc.target/i386/ret-thunk-21.c
+
+diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
+index 1e572b1..6f3c344 100644
+--- a/src/gcc/doc/invoke.texi
++++ b/src/gcc/doc/invoke.texi
+@@ -25699,6 +25699,11 @@ to external call and return thunk provided in a separate object file.
+ You can control this behavior for a specific function by using the
+ function attribute @code{indirect_branch}. @xref{Function Attributes}.
+
++Note that @option{-mcmodel=large} is incompatible with
++@option{-mindirect-branch=thunk} nor
++@option{-mindirect-branch=thunk-extern} since the thunk function may
++not be reachable in large code model.
++
+ @item -mfunction-return=@var{choice}
+ @opindex -mfunction-return
+ Convert function return with @var{choice}. The default is @samp{keep},
+@@ -25710,6 +25715,12 @@ object file. You can control this behavior for a specific function by
+ using the function attribute @code{function_return}.
+ @xref{Function Attributes}.
+
++Note that @option{-mcmodel=large} is incompatible with
++@option{-mfunction-return=thunk} nor
++@option{-mfunction-return=thunk-extern} since the thunk function may
++not be reachable in large code model.
++
++
+ @item -mindirect-branch-register
+ @opindex -mindirect-branch-register
+ Force indirect call and jump via register.
diff --git a/development/gcc5/patches/gcc-no_fixincludes.diff b/development/gcc5/patches/gcc-no_fixincludes.diff
new file mode 100644
index 0000000000..52b661613d
--- /dev/null
+++ b/development/gcc5/patches/gcc-no_fixincludes.diff
@@ -0,0 +1,27 @@
+--- ./gcc/Makefile.in.orig 2010-04-02 02:49:06.000000000 -0500
++++ ./gcc/Makefile.in 2010-08-01 16:55:30.088318841 -0500
+@@ -3864,9 +3864,9 @@
+ chmod a+r $${fix_dir}/limits.h; \
+ done
+ # Install the README
+- rm -f include-fixed/README
+- cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
+- chmod a+r include-fixed/README
++# rm -f include-fixed/README
++# cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
++# chmod a+r include-fixed/README
+ $(STAMP) $@
+
+ .PHONY: install-gcc-tooldir
+@@ -3947,10 +3947,7 @@
+ (TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
+ SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
+ gcc_dir=`${PWD_COMMAND}` ; \
+- export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
+- cd $(build_objdir)/fixincludes && \
+- $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
+- $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
++ export TARGET_MACHINE srcdir SHELL MACRO_LIST ); \
+ rm -f $${fix_dir}/syslimits.h; \
+ if [ -f $${fix_dir}/limits.h ]; then \
+ mv $${fix_dir}/limits.h $${fix_dir}/syslimits.h; \
diff --git a/development/gcc5/patches/gcc.66782.diff b/development/gcc5/patches/gcc.66782.diff
new file mode 100644
index 0000000000..0743f8853b
--- /dev/null
+++ b/development/gcc5/patches/gcc.66782.diff
@@ -0,0 +1,124 @@
+Index: config/i386/i386.md
+===================================================================
+--- config/i386/i386.md (revision 225539)
++++ config/i386/i386.md (working copy)
+@@ -108,6 +108,7 @@
+ UNSPEC_LD_MPIC ; load_macho_picbase
+ UNSPEC_TRUNC_NOOP
+ UNSPEC_DIV_ALREADY_SPLIT
++ UNSPEC_MS_TO_SYSV_CALL
+ UNSPEC_PAUSE
+ UNSPEC_LEA_ADDR
+ UNSPEC_XBEGIN_ABORT
+@@ -11584,6 +11585,15 @@
+ "* return ix86_output_call_insn (insn, operands[0]);"
+ [(set_attr "type" "call")])
+
++(define_insn "*call_rex64_ms_sysv"
++ [(match_parallel 2 "call_rex64_ms_sysv_operation"
++ [(call (mem:QI (match_operand:DI 0 "call_insn_operand" "rBwBz"))
++ (match_operand 1))
++ (unspec [(const_int 0)] UNSPEC_MS_TO_SYSV_CALL)])]
++ "TARGET_64BIT && !SIBLING_CALL_P (insn)"
++ "* return ix86_output_call_insn (insn, operands[0]);"
++ [(set_attr "type" "call")])
++
+ (define_insn "*sibcall"
+ [(call (mem:QI (match_operand:W 0 "sibcall_insn_operand" "UBsBz"))
+ (match_operand 1))]
+@@ -11808,6 +11818,16 @@
+ (match_dup 3)))
+ (unspec [(const_int 0)] UNSPEC_PEEPSIB)])])
+
++(define_insn "*call_value_rex64_ms_sysv"
++ [(match_parallel 3 "call_rex64_ms_sysv_operation"
++ [(set (match_operand 0)
++ (call (mem:QI (match_operand:DI 1 "call_insn_operand" "rBwBz"))
++ (match_operand 2)))
++ (unspec [(const_int 0)] UNSPEC_MS_TO_SYSV_CALL)])]
++ "TARGET_64BIT && !SIBLING_CALL_P (insn)"
++ "* return ix86_output_call_insn (insn, operands[1]);"
++ [(set_attr "type" "callv")])
++
+ (define_expand "call_value_pop"
+ [(parallel [(set (match_operand 0)
+ (call (match_operand:QI 1)
+Index: config/i386/predicates.md
+===================================================================
+--- config/i386/predicates.md (revision 225533)
++++ config/i386/predicates.md (working copy)
+@@ -616,6 +616,36 @@
+ && XINT (XEXP (op, 0), 1) == UNSPEC_GOTPCREL);
+ })
+
++;; Return true if OP is a call from MS ABI to SYSV ABI function.
++(define_predicate "call_rex64_ms_sysv_operation"
++ (match_code "parallel")
++{
++ unsigned creg_size = ARRAY_SIZE (x86_64_ms_sysv_extra_clobbered_registers);
++ unsigned i;
++
++ if ((unsigned) XVECLEN (op, 0) != creg_size + 2)
++ return false;
++
++ for (i = 0; i < creg_size; i++)
++ {
++ rtx elt = XVECEXP (op, 0, i+2);
++ enum machine_mode mode;
++ unsigned regno;
++
++ if (GET_CODE (elt) != CLOBBER
++ || GET_CODE (SET_DEST (elt)) != REG)
++ return false;
++
++ regno = x86_64_ms_sysv_extra_clobbered_registers[i];
++ mode = SSE_REGNO_P (regno) ? TImode : DImode;
++
++ if (GET_MODE (SET_DEST (elt)) != mode
++ || REGNO (SET_DEST (elt)) != regno)
++ return false;
++ }
++ return true;
++})
++
+ ;; Match exactly zero.
+ (define_predicate "const0_operand"
+ (match_code "const_int,const_wide_int,const_double,const_vector")
+Index: config/i386/i386.c
+===================================================================
+--- config/i386/i386.c (revision 225533)
++++ config/i386/i386.c (working copy)
+@@ -25639,7 +25639,9 @@
+ rtx callarg2,
+ rtx pop, bool sibcall)
+ {
+- rtx vec[3];
++ unsigned int const cregs_size
++ = ARRAY_SIZE (x86_64_ms_sysv_extra_clobbered_registers);
++ rtx vec[3 + cregs_size];
+ rtx use = NULL, call;
+ unsigned int vec_len = 0;
+
+@@ -25742,16 +25744,18 @@
+ if (TARGET_64BIT_MS_ABI
+ && (!callarg2 || INTVAL (callarg2) != -2))
+ {
+- int const cregs_size
+- = ARRAY_SIZE (x86_64_ms_sysv_extra_clobbered_registers);
+- int i;
++ unsigned i;
+
++ vec[vec_len++] = gen_rtx_UNSPEC (VOIDmode, gen_rtvec (1, const0_rtx),
++ UNSPEC_MS_TO_SYSV_CALL);
++
+ for (i = 0; i < cregs_size; i++)
+ {
+ int regno = x86_64_ms_sysv_extra_clobbered_registers[i];
+ machine_mode mode = SSE_REGNO_P (regno) ? TImode : DImode;
+
+- clobber_reg (&use, gen_rtx_REG (mode, regno));
++ vec[vec_len++]
++ = gen_rtx_CLOBBER (VOIDmode, gen_rtx_REG (mode, regno));
+ }
+ }
+
diff --git a/development/gcc5/patches/gcc.69140.diff b/development/gcc5/patches/gcc.69140.diff
new file mode 100644
index 0000000000..ace60ebdd0
--- /dev/null
+++ b/development/gcc5/patches/gcc.69140.diff
@@ -0,0 +1,13 @@
+--- ./gcc/config/i386/i386.c.orig 2015-11-18 09:45:26.000000000 -0600
++++ ./gcc/config/i386/i386.c 2016-02-05 13:50:07.202981920 -0600
+@@ -9677,6 +9677,10 @@
+ if (TARGET_64BIT_MS_ABI && get_frame_size () > SEH_MAX_FRAME_SIZE)
+ return true;
+
++ /* SSE saves require frame-pointer when stack is misaligned. */
++ if (TARGET_64BIT_MS_ABI && ix86_incoming_stack_boundary < 128)
++ return true;
++
+ /* In ix86_option_override_internal, TARGET_OMIT_LEAF_FRAME_POINTER
+ turns off the frame pointer by default. Turn it back on now if
+ we've not got a leaf function. */
diff --git a/development/gcc5/patches/glibc2.28-ustat.diff b/development/gcc5/patches/glibc2.28-ustat.diff
new file mode 100644
index 0000000000..c7d71d0677
--- /dev/null
+++ b/development/gcc5/patches/glibc2.28-ustat.diff
@@ -0,0 +1,31 @@
+--- libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2018/04/25 07:39:32 259630
++++ libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2018/05/24 20:07:25 260687
+@@ -138,7 +138,6 @@
+ # include <sys/procfs.h>
+ #endif
+ #include <sys/user.h>
+-#include <sys/ustat.h>
+ #include <linux/cyclades.h>
+ #include <linux/if_eql.h>
+ #include <linux/if_plip.h>
+@@ -231,7 +230,19 @@
+ #endif // SANITIZER_LINUX || SANITIZER_FREEBSD
+
+ #if SANITIZER_LINUX && !SANITIZER_ANDROID
+- unsigned struct_ustat_sz = sizeof(struct ustat);
++ // Use pre-computed size of struct ustat to avoid <sys/ustat.h> which
++ // has been removed from glibc 2.28.
++#if defined(__aarch64__) || defined(__s390x__) || defined (__mips64) \
++ || defined(__powerpc64__) || defined(__arch64__) || defined(__sparcv9) \
++ || defined(__x86_64__)
++#define SIZEOF_STRUCT_USTAT 32
++#elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
++ || defined(__powerpc__) || defined(__s390__)
++#define SIZEOF_STRUCT_USTAT 20
++#else
++#error Unknown size of struct ustat
++#endif
++ unsigned struct_ustat_sz = SIZEOF_STRUCT_USTAT;
+ unsigned struct_rlimit64_sz = sizeof(struct rlimit64);
+ unsigned struct_statvfs64_sz = sizeof(struct statvfs64);
+ #endif // SANITIZER_LINUX && !SANITIZER_ANDROID
diff --git a/development/gcc5/patches/glibc2.30-ipc_perm.diff b/development/gcc5/patches/glibc2.30-ipc_perm.diff
new file mode 100644
index 0000000000..d1a75dd56e
--- /dev/null
+++ b/development/gcc5/patches/glibc2.30-ipc_perm.diff
@@ -0,0 +1,12 @@
+--- libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h 2020-02-28 11:49:29.763277856 +0000
++++ libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h 2020-02-28 11:49:45.092909823 +0000
+@@ -198,8 +198,7 @@
+ unsigned long long __unused1;
+ unsigned long long __unused2;
+ #else
+- unsigned short mode;
+- unsigned short __pad1;
++ unsigned int mode;
+ unsigned short __seq;
+ unsigned short __pad2;
+ #if defined(__x86_64__) && !defined(_LP64) \ No newline at end of file
diff --git a/development/gcc5/patches/kernel-5.12.diff b/development/gcc5/patches/kernel-5.12.diff
new file mode 100644
index 0000000000..fb2c7e597c
--- /dev/null
+++ b/development/gcc5/patches/kernel-5.12.diff
@@ -0,0 +1,37 @@
+(this patch has to be applied after the glibc-2.28 one)
+
+diff -Naur gcc-5.5.0.orig/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc gcc-5.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+--- gcc-5.5.0.orig/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2021-08-19 12:21:14.786000000 +0200
++++ gcc-5.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2021-08-19 12:22:30.135000000 +0200
+@@ -138,7 +138,6 @@
+ #include <sys/statvfs.h>
+ #include <sys/timex.h>
+ #include <sys/user.h>
+-#include <linux/cyclades.h>
+ #include <linux/if_eql.h>
+ #include <linux/if_plip.h>
+ #include <linux/lp.h>
+@@ -387,7 +386,6 @@
+
+ #if SANITIZER_LINUX && !SANITIZER_ANDROID
+ unsigned struct_ax25_parms_struct_sz = sizeof(struct ax25_parms_struct);
+- unsigned struct_cyclades_monitor_sz = sizeof(struct cyclades_monitor);
+ #if EV_VERSION > (0x010000)
+ unsigned struct_input_keymap_entry_sz = sizeof(struct input_keymap_entry);
+ #else
+@@ -754,15 +752,6 @@
+ #endif // SANITIZER_LINUX || SANITIZER_FREEBSD
+
+ #if SANITIZER_LINUX && !SANITIZER_ANDROID
+- unsigned IOCTL_CYGETDEFTHRESH = CYGETDEFTHRESH;
+- unsigned IOCTL_CYGETDEFTIMEOUT = CYGETDEFTIMEOUT;
+- unsigned IOCTL_CYGETMON = CYGETMON;
+- unsigned IOCTL_CYGETTHRESH = CYGETTHRESH;
+- unsigned IOCTL_CYGETTIMEOUT = CYGETTIMEOUT;
+- unsigned IOCTL_CYSETDEFTHRESH = CYSETDEFTHRESH;
+- unsigned IOCTL_CYSETDEFTIMEOUT = CYSETDEFTIMEOUT;
+- unsigned IOCTL_CYSETTHRESH = CYSETTHRESH;
+- unsigned IOCTL_CYSETTIMEOUT = CYSETTIMEOUT;
+ unsigned IOCTL_EQL_EMANCIPATE = EQL_EMANCIPATE;
+ unsigned IOCTL_EQL_ENSLAVE = EQL_ENSLAVE;
+ unsigned IOCTL_EQL_GETMASTRCFG = EQL_GETMASTRCFG;
diff --git a/development/gcc5/profile.d/gcc5.csh b/development/gcc5/profile.d/gcc5.csh
new file mode 100644
index 0000000000..25f9dc1342
--- /dev/null
+++ b/development/gcc5/profile.d/gcc5.csh
@@ -0,0 +1,7 @@
+setenv CC gcc-5
+setenv CPP cpp-5
+setenv CXX g++-5
+setenv AR gcc-ar-5
+setenv NM gcc-nm-5
+setenv RANLIB gcc-ranlib-5
+
diff --git a/development/gcc5/profile.d/gcc5.sh b/development/gcc5/profile.d/gcc5.sh
new file mode 100644
index 0000000000..7143b5d0e9
--- /dev/null
+++ b/development/gcc5/profile.d/gcc5.sh
@@ -0,0 +1,7 @@
+export CC=gcc-5
+export CPP=cpp-5
+export CXX=g++-5
+export AR=gcc-ar-5
+export NM=gcc-nm-5
+export RANLIB=gcc-ranlib-5
+
diff --git a/development/gcc5/slack-desc b/development/gcc5/slack-desc
new file mode 100644
index 0000000000..dbf48277bb
--- /dev/null
+++ b/development/gcc5/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------------------------------------------------------|
+gcc5: gcc5 (Co-installable GCC-5 package with C, C++ and Java support)
+gcc5:
+gcc5: GCC is the GNU Compiler Collection.
+gcc5:
+gcc5: This package contains those parts of the compiler collection needed to
+gcc5: compile C and C++ code and programs written in the Java programming
+gcc5: language.@MULTILIB@
+gcc5:
+gcc5: This gcc5 package must be co-installed with Slackware's gcc11 compiler
+gcc5:
+gcc5:
diff --git a/development/gcclegacy494/942-asan-fix-missing-include-signal-h.patch b/development/gcclegacy494/942-asan-fix-missing-include-signal-h.patch
deleted file mode 100644
index 5f00c04d2b..0000000000
--- a/development/gcclegacy494/942-asan-fix-missing-include-signal-h.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 205aa8e97bab553e5e6fe45896325e97962de704 Mon Sep 17 00:00:00 2001
-From: Rolf Eike Beer <eb@emlix.com>
-Date: Wed, 8 Feb 2017 11:42:52 +0100
-Subject: [PATCH] asan: fix missing include of signal.h
-
-This breaks when building gcc 4.9.4 / 5.4.0 with
-target_platform=powerpc-unknown-linux-gnu with glibc 2.25:
-
-../../../../gcc-host/libsanitizer/asan/asan_linux.cc: In function 'bool __asan::AsanInterceptsSignal(int)':
-../../../../gcc-host/libsanitizer/asan/asan_linux.cc:222:20: error: 'SIGSEGV' was not declared in this scope
- return signum == SIGSEGV && common_flags()->handle_segv;
-
-This has been verified to apply to at least 4.9.4 and up to 5.4,
-the code has been reworked for gcc 6.
-
-Resolves (Buildroot) Bug: https://bugs.busybox.net/show_bug.cgi?id=10061
-
-Upstream: https://patchwork.ozlabs.org/patch/725596/
-
-Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
----
- libsanitizer/asan/asan_linux.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/libsanitizer/asan/asan_linux.cc b/libsanitizer/asan/asan_linux.cc
-index c504168..59087b9 100644
---- a/libsanitizer/asan/asan_linux.cc
-+++ b/libsanitizer/asan/asan_linux.cc
-@@ -29,6 +29,7 @@
- #include <dlfcn.h>
- #include <fcntl.h>
- #include <pthread.h>
-+#include <signal.h>
- #include <stdio.h>
- #include <unistd.h>
- #include <unwind.h>
diff --git a/development/gcclegacy494/943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch b/development/gcclegacy494/943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch
deleted file mode 100644
index 526346c6f8..0000000000
--- a/development/gcclegacy494/943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch
+++ /dev/null
@@ -1,190 +0,0 @@
-From b7e85069238c40eae54d0ca03ab6d5470d1815f9 Mon Sep 17 00:00:00 2001
-From: jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Tue, 4 Jul 2017 10:25:10 +0000
-Subject: [PATCH] Use ucontext_t not struct ucontext in linux-unwind.h files.
-
-Current glibc no longer gives the ucontext_t type the tag struct
-ucontext, to conform with POSIX namespace rules. This requires
-various linux-unwind.h files in libgcc, that were previously using
-struct ucontext, to be fixed to use ucontext_t instead. This is
-similar to the removal of the struct siginfo tag from siginfo_t some
-years ago.
-
-This patch changes those files to use ucontext_t instead. As the
-standard name that should be unconditionally safe, so this is not
-restricted to architectures supported by glibc, or conditioned on the
-glibc version.
-
-Tested compilation together with current glibc with glibc's
-build-many-glibcs.py.
-
- * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
- config/alpha/linux-unwind.h (alpha_fallback_frame_state),
- config/bfin/linux-unwind.h (bfin_fallback_frame_state),
- config/i386/linux-unwind.h (x86_64_fallback_frame_state,
- x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
- uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
- config/pa/linux-unwind.h (pa32_fallback_frame_state),
- config/sh/linux-unwind.h (sh_fallback_frame_state),
- config/tilepro/linux-unwind.h (tile_fallback_frame_state),
- config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
- ucontext_t instead of struct ucontext.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@249958 138bc75d-0d04-0410-961f-82ee72b054a4
-[Romain backport from gcc-5-branch]
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
----
- libgcc/config/aarch64/linux-unwind.h | 2 +-
- libgcc/config/alpha/linux-unwind.h | 2 +-
- libgcc/config/bfin/linux-unwind.h | 2 +-
- libgcc/config/i386/linux-unwind.h | 4 ++--
- libgcc/config/m68k/linux-unwind.h | 2 +-
- libgcc/config/nios2/linux-unwind.h | 2 +-
- libgcc/config/pa/linux-unwind.h | 2 +-
- libgcc/config/sh/linux-unwind.h | 2 +-
- libgcc/config/tilepro/linux-unwind.h | 2 +-
- libgcc/config/xtensa/linux-unwind.h | 2 +-
- 10 files changed, 11 insertions(+), 11 deletions(-)
-
-diff --git a/libgcc/config/aarch64/linux-unwind.h b/libgcc/config/aarch64/linux-unwind.h
-index 6b5b3cd..d13dc34 100644
---- a/libgcc/config/aarch64/linux-unwind.h
-+++ b/libgcc/config/aarch64/linux-unwind.h
-@@ -52,7 +52,7 @@ aarch64_fallback_frame_state (struct _Unwind_Context *context,
- struct rt_sigframe
- {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- };
-
- struct rt_sigframe *rt_;
-diff --git a/libgcc/config/alpha/linux-unwind.h b/libgcc/config/alpha/linux-unwind.h
-index b5bfd1c..166d3d2 100644
---- a/libgcc/config/alpha/linux-unwind.h
-+++ b/libgcc/config/alpha/linux-unwind.h
-@@ -51,7 +51,7 @@ alpha_fallback_frame_state (struct _Unwind_Context *context,
- {
- struct rt_sigframe {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *rt_ = context->cfa;
- sc = &rt_->uc.uc_mcontext;
- }
-diff --git a/libgcc/config/bfin/linux-unwind.h b/libgcc/config/bfin/linux-unwind.h
-index dc58f0a..8b94568 100644
---- a/libgcc/config/bfin/linux-unwind.h
-+++ b/libgcc/config/bfin/linux-unwind.h
-@@ -52,7 +52,7 @@ bfin_fallback_frame_state (struct _Unwind_Context *context,
- void *puc;
- char retcode[8];
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *rt_ = context->cfa;
-
- /* The void * cast is necessary to avoid an aliasing warning.
-diff --git a/libgcc/config/i386/linux-unwind.h b/libgcc/config/i386/linux-unwind.h
-index 7986928..a9d621c 100644
---- a/libgcc/config/i386/linux-unwind.h
-+++ b/libgcc/config/i386/linux-unwind.h
-@@ -58,7 +58,7 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context,
- if (*(unsigned char *)(pc+0) == 0x48
- && *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL)
- {
-- struct ucontext *uc_ = context->cfa;
-+ ucontext_t *uc_ = context->cfa;
- /* The void * cast is necessary to avoid an aliasing warning.
- The aliasing warning is correct, but should not be a problem
- because it does not alias anything. */
-@@ -138,7 +138,7 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
- siginfo_t *pinfo;
- void *puc;
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *rt_ = context->cfa;
- /* The void * cast is necessary to avoid an aliasing warning.
- The aliasing warning is correct, but should not be a problem
-diff --git a/libgcc/config/m68k/linux-unwind.h b/libgcc/config/m68k/linux-unwind.h
-index 1ba2a0c4..d67767e 100644
---- a/libgcc/config/m68k/linux-unwind.h
-+++ b/libgcc/config/m68k/linux-unwind.h
-@@ -33,7 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
- /* <sys/ucontext.h> is unfortunately broken right now. */
- struct uw_ucontext {
- unsigned long uc_flags;
-- struct ucontext *uc_link;
-+ ucontext_t *uc_link;
- stack_t uc_stack;
- mcontext_t uc_mcontext;
- unsigned long uc_filler[80];
-diff --git a/libgcc/config/nios2/linux-unwind.h b/libgcc/config/nios2/linux-unwind.h
-index ba4bd80..8978868 100644
---- a/libgcc/config/nios2/linux-unwind.h
-+++ b/libgcc/config/nios2/linux-unwind.h
-@@ -38,7 +38,7 @@ struct nios2_mcontext {
-
- struct nios2_ucontext {
- unsigned long uc_flags;
-- struct ucontext *uc_link;
-+ ucontext_t *uc_link;
- stack_t uc_stack;
- struct nios2_mcontext uc_mcontext;
- sigset_t uc_sigmask; /* mask last for extensibility */
-diff --git a/libgcc/config/pa/linux-unwind.h b/libgcc/config/pa/linux-unwind.h
-index 4a3cfff..d2ac437 100644
---- a/libgcc/config/pa/linux-unwind.h
-+++ b/libgcc/config/pa/linux-unwind.h
-@@ -80,7 +80,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context,
- struct sigcontext *sc;
- struct rt_sigframe {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *frame;
-
- /* rt_sigreturn trampoline:
-diff --git a/libgcc/config/sh/linux-unwind.h b/libgcc/config/sh/linux-unwind.h
-index 4875706..671bde7 100644
---- a/libgcc/config/sh/linux-unwind.h
-+++ b/libgcc/config/sh/linux-unwind.h
-@@ -180,7 +180,7 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
- {
- struct rt_sigframe {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *rt_ = context->cfa;
- /* The void * cast is necessary to avoid an aliasing warning.
- The aliasing warning is correct, but should not be a problem
-diff --git a/libgcc/config/tilepro/linux-unwind.h b/libgcc/config/tilepro/linux-unwind.h
-index 27481cf..c24d58c 100644
---- a/libgcc/config/tilepro/linux-unwind.h
-+++ b/libgcc/config/tilepro/linux-unwind.h
-@@ -61,7 +61,7 @@ tile_fallback_frame_state (struct _Unwind_Context *context,
- struct rt_sigframe {
- unsigned char save_area[C_ABI_SAVE_AREA_SIZE];
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *rt_;
-
- /* Return if this is not a signal handler. */
-diff --git a/libgcc/config/xtensa/linux-unwind.h b/libgcc/config/xtensa/linux-unwind.h
-index 6832d0b..cb15b4c 100644
---- a/libgcc/config/xtensa/linux-unwind.h
-+++ b/libgcc/config/xtensa/linux-unwind.h
-@@ -63,7 +63,7 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context,
-
- struct rt_sigframe {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *rt_;
-
- /* movi a2, __NR_rt_sigreturn; syscall */
---
-2.9.5
-
diff --git a/development/gcclegacy494/944-sanitizer-linux.patch b/development/gcclegacy494/944-sanitizer-linux.patch
deleted file mode 100644
index caadf2de7b..0000000000
--- a/development/gcclegacy494/944-sanitizer-linux.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-From f9a35ba5c150da2e381c4cab01f8f12bcd6af5d2 Mon Sep 17 00:00:00 2001
-From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Mon, 17 Jul 2017 19:41:08 +0000
-Subject: [PATCH] Backported from mainline 2017-07-14 Jakub
- Jelinek <jakub@redhat.com>
-
- PR sanitizer/81066
- * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969.
- * sanitizer_common/sanitizer_linux.cc: Likewise.
- * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise.
- * tsan/tsan_platform_linux.cc: Likewise.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@250287 138bc75d-0d04-0410-961f-82ee72b054a4
-(cherry picked from commit 72edc2c02f8b4768ad660f46a1c7e2400c0a8e06)
-[Romain backport to 4.9.4]
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
----
- libsanitizer/sanitizer_common/sanitizer_linux.cc | 3 +--
- libsanitizer/sanitizer_common/sanitizer_linux.h | 4 +---
- libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc | 2 +-
- libsanitizer/tsan/tsan_platform_linux.cc | 2 +-
- 4 files changed, 4 insertions(+), 7 deletions(-)
-
-diff --git a/libsanitizer/sanitizer_common/sanitizer_linux.cc b/libsanitizer/sanitizer_common/sanitizer_linux.cc
-index 69c9c10..8e53673 100644
---- a/libsanitizer/sanitizer_common/sanitizer_linux.cc
-+++ b/libsanitizer/sanitizer_common/sanitizer_linux.cc
-@@ -599,8 +599,7 @@ uptr internal_prctl(int option, uptr arg2, uptr arg3, uptr arg4, uptr arg5) {
- return internal_syscall(__NR_prctl, option, arg2, arg3, arg4, arg5);
- }
-
--uptr internal_sigaltstack(const struct sigaltstack *ss,
-- struct sigaltstack *oss) {
-+uptr internal_sigaltstack(const void *ss, void *oss) {
- return internal_syscall(__NR_sigaltstack, (uptr)ss, (uptr)oss);
- }
-
-diff --git a/libsanitizer/sanitizer_common/sanitizer_linux.h b/libsanitizer/sanitizer_common/sanitizer_linux.h
-index 6422df1..8e111d1 100644
---- a/libsanitizer/sanitizer_common/sanitizer_linux.h
-+++ b/libsanitizer/sanitizer_common/sanitizer_linux.h
-@@ -18,7 +18,6 @@
- #include "sanitizer_platform_limits_posix.h"
-
- struct link_map; // Opaque type returned by dlopen().
--struct sigaltstack;
-
- namespace __sanitizer {
- // Dirent structure for getdents(). Note that this structure is different from
-@@ -28,8 +27,7 @@ struct linux_dirent;
- // Syscall wrappers.
- uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
- uptr internal_prctl(int option, uptr arg2, uptr arg3, uptr arg4, uptr arg5);
--uptr internal_sigaltstack(const struct sigaltstack* ss,
-- struct sigaltstack* oss);
-+uptr internal_sigaltstack(const void* ss, void* oss);
- uptr internal_sigaction(int signum, const __sanitizer_kernel_sigaction_t *act,
- __sanitizer_kernel_sigaction_t *oldact);
- uptr internal_sigprocmask(int how, __sanitizer_kernel_sigset_t *set,
-diff --git a/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc b/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
-index 6ee63ec..50c21a3 100644
---- a/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
-+++ b/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
-@@ -238,7 +238,7 @@ static int TracerThread(void* argument) {
-
- // Alternate stack for signal handling.
- InternalScopedBuffer<char> handler_stack_memory(kHandlerStackSize);
-- struct sigaltstack handler_stack;
-+ stack_t handler_stack;
- internal_memset(&handler_stack, 0, sizeof(handler_stack));
- handler_stack.ss_sp = handler_stack_memory.data();
- handler_stack.ss_size = kHandlerStackSize;
-diff --git a/libsanitizer/tsan/tsan_platform_linux.cc b/libsanitizer/tsan/tsan_platform_linux.cc
-index fe69430..49f5270 100644
---- a/libsanitizer/tsan/tsan_platform_linux.cc
-+++ b/libsanitizer/tsan/tsan_platform_linux.cc
-@@ -351,7 +351,7 @@ bool IsGlobalVar(uptr addr) {
- // closes within glibc. The code is a pure hack.
- int ExtractResolvFDs(void *state, int *fds, int nfd) {
- int cnt = 0;
-- __res_state *statp = (__res_state*)state;
-+ struct __res_state *statp = (struct __res_state*)state;
- for (int i = 0; i < MAXNS && cnt < nfd; i++) {
- if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1)
- fds[cnt++] = statp->_u._ext.nssocks[i];
---
-2.9.5
-
diff --git a/development/gcclegacy494/README b/development/gcclegacy494/README
deleted file mode 100644
index df52926ff9..0000000000
--- a/development/gcclegacy494/README
+++ /dev/null
@@ -1,8 +0,0 @@
-The GNU Compiler Collection includes front ends for C, C++,
-Objective-C, Fortran, Ada, and Go, as well as libraries for these
-languages (libstdc++,...). GCC was originally written as the compiler
-for the GNU operating system. The GNU system was developed to be 100%
-free software, free in the sense that it respects the user's freedom.
-
-This script only compiles the GNU C, and C++ front ends. This script
-was written with the intention to compile a better PaleMoon.
diff --git a/development/gcclegacy494/gcclegacy494.SlackBuild b/development/gcclegacy494/gcclegacy494.SlackBuild
deleted file mode 100644
index 1c1fb412a8..0000000000
--- a/development/gcclegacy494/gcclegacy494.SlackBuild
+++ /dev/null
@@ -1,197 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gcc-4.9.4
-
-# Copyright 2017 Vasily Sora 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.
-
-PRGNAM=gcclegacy494
-VERSION=${VERSION:-4.9.4}
-BUILD=${BUILD:-5}
-TAG=${TAG:-_SBo}
-
-INSTLOC=${INSTLOC:-/opt/$PRGNAM}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
- LIBDIRSUFFIX=""
- LIB_ARCH=i386
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
- LIB_ARCH=i386
-elif [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- LIB_ARCH=i386
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686"
- LIBDIRSUFFIX=""
- LIB_ARCH=i386
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
- LIB_ARCH=s390
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- LIB_ARCH=amd64
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
- LIBDIRSUFFIX=""
- LIB_ARCH=armv7hl
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
- LIB_ARCH=$ARCH
-fi
-
-case "$ARCH" in
- arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
- *) TARGET=$ARCH-slackware-linux ;;
-esac
-
-if [ "$ARCH" = "x86_64" ]; then
- GCC_ARCHOPTS="--disable-multilib"
-else
- GCC_ARCHOPTS="--with-arch=$ARCH"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf gcc-$VERSION
-tar xvf $CWD/gcc-$VERSION.tar.gz
-cd gcc-$VERSION
-
-tar xjf $CWD/mpfr-2.4.2.tar.bz2
-ln -sf mpfr-2.4.2 mpfr
-tar xjf $CWD/gmp-4.3.2.tar.bz2
-ln -sf gmp-4.3.2 gmp
-tar xzf $CWD/mpc-0.8.1.tar.gz
-ln -sf mpc-0.8.1 mpc
-tar xjf $CWD/isl-0.12.2.tar.bz2
-ln -sf isl-0.12.2 isl
-tar xzf $CWD/cloog-0.18.1.tar.gz
-ln -sf cloog-0.18.1 cloog
-
-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 {} \;
-
-# Do not run fixincludes
-cp -v gcc/Makefile.in{,.orig}
-sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in
-
-# Apply patches if we are compiling against glibc version greater than 2.23
-minor="$(ldd --version | head -1 | sed -e 's/.*2\.//')"
-if [ "$minor" -gt "23" ]; then
- patch -p1 -i "$CWD/942-asan-fix-missing-include-signal-h.patch"
- patch -p1 -i "$CWD/943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch"
- patch -p1 -i "$CWD/944-sanitizer-linux.patch"
- patch -p1 -i "$CWD/ustat.h.patch"
- if [ "$minor" = "26" ]; then
- export glibcxx_cv_c99_math=yes
- fi
-fi
-
-rm -rf $TMP/objdir
-mkdir $TMP/objdir
-cd $TMP/objdir
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-../gcc-$VERSION/configure --prefix=$INSTLOC \
- --program-suffix=-$VERSION \
- --enable-languages=c,c++ \
- --with-system-zlib \
- --libdir=$INSTLOC/lib$LIBDIRSUFFIX \
- --enable-threads=posix \
- --disable-gtktest \
- --target=${TARGET} \
- --build=${TARGET} \
- --host=${TARGET} \
- $GCC_ARCHOPTS \
- --with-arch-directory=$LIB_ARCH \
- --enable-clocale=gnu \
- --with-gnu-ld \
- --enable-shared \
- --enable-__cxa_atexit
-make
-make DESTDIR=$PKG install-strip
-
-# Thank you to 'idlemoor'
-mkdir -p $PKG/usr/bin
-cd $PKG/usr/bin
-for COMPILER in gcc g++ ; do
- sed \
- -e "s~%LIBDIRSUFFIX%~$LIBDIRSUFFIX~" \
- -e "s~%COMPILER%~$COMPILER~" \
- -e "s~%INSTLOC%~$INSTLOC~" \
- < $CWD/wrapper.sh \
- > $PKG/usr/bin/$ARCH-slackware-linux-$COMPILER-$VERSION
- chmod ugo+x $PKG/usr/bin/$ARCH-slackware-linux-$COMPILER-$VERSION
-done
-ln -s $ARCH-slackware-linux-gcc-$VERSION $PKG/usr/bin/gcc-$VERSION
-ln -s $ARCH-slackware-linux-g++-$VERSION $PKG/usr/bin/g++-gcc-$VERSION
-
-mv -f $PKG$INSTLOC/share/man $PKG/usr/man
-cd $PKG/usr/man/man7
-# we do not need these; according to "diff" there is no difference between these files
-# and the ones Slackware ships with; except this man page named "gfdl.7"; which shall be
-# saved; and renamed so that it does not conflict with Slackware's.
-find . ! -name 'gfdl.7' -exec rm -rf {} \;
-mv gfdl.7 gfdl494.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
-
-mv -f $PKG$INSTLOC/share/info $PKG/usr/info
-rm -f $PKG/usr/info/dir
-cd $PKG/usr/info
-#rename the .info files so they do not conflict with Slackware's own .info files.
-for info in *.info; do mv "$info" "${info%.*}-$VERSION.info"; done
-gzip -9 $PKG/usr/info/*.info*
-
-mkdir -p $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:-tgz}
diff --git a/development/gcclegacy494/gcclegacy494.info b/development/gcclegacy494/gcclegacy494.info
deleted file mode 100644
index 64786e47f2..0000000000
--- a/development/gcclegacy494/gcclegacy494.info
+++ /dev/null
@@ -1,20 +0,0 @@
-PRGNAM="gcclegacy494"
-VERSION="4.9.4"
-HOMEPAGE="https://gcc.gnu.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/gcclegacy494/gcc-4.9.4.tar.gz \
- http://ponce.cc/slackware/sources/repo/gcclegacy494/cloog-0.18.1.tar.gz \
- http://ponce.cc/slackware/sources/repo/gcclegacy494/isl-0.12.2.tar.bz2 \
- http://ponce.cc/slackware/sources/repo/gcclegacy494/mpc-0.8.1.tar.gz \
- http://ponce.cc/slackware/sources/repo/gcclegacy494/gmp-4.3.2.tar.bz2 \
- http://ponce.cc/slackware/sources/repo/gcclegacy494/mpfr-2.4.2.tar.bz2"
-MD5SUM="b92b423b2f8f517c909fda2621ff2d7c \
- e34fca0540d840e5d0f6427e98c92252 \
- e039bfcfb6c2ab039b8ee69bf883e824 \
- 5b34aa804d514cc295414a963aedb6bf \
- dd60683d7057917e34630b4a787932e8 \
- 89e59fe665e2b3ad44a6789f40b059a0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="khronosschoty"
-EMAIL="khronosschoty@posteo.org"
diff --git a/development/gcclegacy494/slack-desc b/development/gcclegacy494/slack-desc
deleted file mode 100644
index 8648e399dd..0000000000
--- a/development/gcclegacy494/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------------------------------------------------------|
-gcclegacy494: gcclegacy494 (GNU gcc-4.9.4 and GNU g++-4.9.4 compilers)
-gcclegacy494:
-gcclegacy494: The GNU Compiler Collection includes front ends for C, C++,
-gcclegacy494: Objective-C, Fortran, Ada and Go, as well as libraries for these
-gcclegacy494: (libstdc++,...)
-gcclegacy494:
-gcclegacy494:
-gcclegacy494:
-gcclegacy494: https://gcc.gnu.org/
-gcclegacy494:
-gcclegacy494:
diff --git a/development/gcclegacy494/ustat.h.patch b/development/gcclegacy494/ustat.h.patch
deleted file mode 100644
index e22c33ef9f..0000000000
--- a/development/gcclegacy494/ustat.h.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-*** a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2018-10-31 11:20:33.419203838 -0700
---- b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2018-10-31 12:18:50.202725160 -0700
-***************
-*** 81,87 ****
- #include <sys/statvfs.h>
- #include <sys/timex.h>
- #include <sys/user.h>
-- #include <sys/ustat.h>
- #include <linux/cyclades.h>
- #include <linux/if_eql.h>
- #include <linux/if_plip.h>
---- 81,86 ----
-***************
-*** 163,172 ****
- unsigned struct_old_utsname_sz = sizeof(struct old_utsname);
- unsigned struct_oldold_utsname_sz = sizeof(struct oldold_utsname);
- unsigned struct_itimerspec_sz = sizeof(struct itimerspec);
-- unsigned struct_ustat_sz = sizeof(struct ustat);
- #endif // SANITIZER_LINUX
-
- #if SANITIZER_LINUX && !SANITIZER_ANDROID
- unsigned struct_rlimit64_sz = sizeof(struct rlimit64);
- unsigned struct_timex_sz = sizeof(struct timex);
- unsigned struct_msqid_ds_sz = sizeof(struct msqid_ds);
---- 162,183 ----
- unsigned struct_old_utsname_sz = sizeof(struct old_utsname);
- unsigned struct_oldold_utsname_sz = sizeof(struct oldold_utsname);
- unsigned struct_itimerspec_sz = sizeof(struct itimerspec);
- #endif // SANITIZER_LINUX
-
- #if SANITIZER_LINUX && !SANITIZER_ANDROID
-+ // Use pre-computed size of struct ustat to avoid <sys/ustat.h> which
-+ // has been removed from glibc 2.28.
-+ #if defined(__aarch64__) || defined(__s390x__) || defined (__mips64) \
-+ || defined(__powerpc64__) || defined(__arch64__) || defined(__sparcv9) \
-+ || defined(__x86_64__)
-+ #define SIZEOF_STRUCT_USTAT 32
-+ #elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
-+ || defined(__powerpc__) || defined(__s390__)
-+ #define SIZEOF_STRUCT_USTAT 20
-+ #else
-+ #error Unknown size of struct ustat
-+ #endif
-+ unsigned struct_ustat_sz = SIZEOF_STRUCT_USTAT;
- unsigned struct_rlimit64_sz = sizeof(struct rlimit64);
- unsigned struct_timex_sz = sizeof(struct timex);
- unsigned struct_msqid_ds_sz = sizeof(struct msqid_ds);
diff --git a/development/gcclegacy494/wrapper.sh b/development/gcclegacy494/wrapper.sh
deleted file mode 100644
index d664f74edf..0000000000
--- a/development/gcclegacy494/wrapper.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-export LD_LIBRARY_PATH=%INSTLOC%/lib%LIBDIRSUFFIX%
-exec %INSTLOC%/bin/%COMPILER%-4.9.4 "$@"
diff --git a/development/gdb-dashboard/README b/development/gdb-dashboard/README
new file mode 100644
index 0000000000..702c676e3f
--- /dev/null
+++ b/development/gdb-dashboard/README
@@ -0,0 +1,32 @@
+GDB dashboard is a standalone .gdbinit file written using the Python API
+that enables a modular interface showing relevant information about the
+program being debugged. Its main goal is to reduce the number of GDB
+commands needed to inspect the status of current program thus allowing
+the developer to primarily focus on the control flow.
+
+There are a few ways to enable the dashboard:
+
+* Add the following line to the end of ~/.gdbinit:
+
+ source /etc/gdbinit.d/dashboard
+
+* Enable in the GDB command using the -x flag:
+
+ gdb -q -x /etc/gdbinit.d/dashboard ...
+
+or if using cgdb too:
+
+ cgdb -- -q -x /etc/gdbinit.d/dashboard ...
+
+You may find that using cgdb and dashboard together works best with a
+vertical split.
+
+ Press:
+
+ <Esc> to enter cgdb CLI.
+ <Ctrl-W> to toggle split orientation.
+ i to return to GDB insert mode.
+
+Or add to ~/.cgdb/cdgbrc:
+
+ set wso=vertical
diff --git a/development/gdb-dashboard/doinst.sh b/development/gdb-dashboard/doinst.sh
new file mode 100644
index 0000000000..cec075ce53
--- /dev/null
+++ b/development/gdb-dashboard/doinst.sh
@@ -0,0 +1,14 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/gdbinit.d/dashboard.new
diff --git a/development/gdb-dashboard/gdb-dashboard.SlackBuild b/development/gdb-dashboard/gdb-dashboard.SlackBuild
new file mode 100644
index 0000000000..e174c14715
--- /dev/null
+++ b/development/gdb-dashboard/gdb-dashboard.SlackBuild
@@ -0,0 +1,51 @@
+#!/bin/bash
+
+# Slackware build script for gdb-dashboard.
+# by D Woodfall <dave@slackbuilds.org>
+# Licensed under the WTFPL.
+# See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gdb-dashboard
+VERSION=${VERSION:-0.17.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+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-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-wiki.tar.gz
+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 {} \+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PRGNAM-wiki $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+install -D -m 644 .gdbinit $PKG/etc/gdbinit.d/dashboard.new
+
+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/development/gdb-dashboard/gdb-dashboard.info b/development/gdb-dashboard/gdb-dashboard.info
new file mode 100644
index 0000000000..443d64c56c
--- /dev/null
+++ b/development/gdb-dashboard/gdb-dashboard.info
@@ -0,0 +1,10 @@
+PRGNAM="gdb-dashboard"
+VERSION="0.17.2"
+HOMEPAGE="https://github.com/cyrus-and/gdb-dashboard"
+DOWNLOAD="https://github.com/cyrus-and/gdb-dashboard/archive/v0.17.2/gdb-dashboard-0.17.2.tar.gz"
+MD5SUM="15ba39e7349282964454fa34ab621806"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/development/gdb-dashboard/slack-desc b/development/gdb-dashboard/slack-desc
new file mode 100644
index 0000000000..7ece9b2bcd
--- /dev/null
+++ b/development/gdb-dashboard/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------------------------------------------------------|
+gdb-dashboard: gdb-dashboard (An advanced gdb python interface)
+gdb-dashboard:
+gdb-dashboard: GDB dashboard is a standalone .gdbinit file written using the Python
+gdb-dashboard: API that enables a modular interface showing relevant information
+gdb-dashboard: about the program being debugged. Its main goal is to reduce the
+gdb-dashboard: number of GDB commands needed to inspect the status of current
+gdb-dashboard: program thus allowing the developer to primarily focus on the control
+gdb-dashboard: flow.
+gdb-dashboard:
+gdb-dashboard: https://github.com/cyrus-and/gdb-dashboard/
+gdb-dashboard:
diff --git a/development/geany-plugins/README b/development/geany-plugins/README
index 5ea7b76f61..abd3e562a1 100644
--- a/development/geany-plugins/README
+++ b/development/geany-plugins/README
@@ -4,5 +4,4 @@ plugins were developed by various developers on SourceForge.net.
Optional dependencies:
DevHelp: devhelp, webkitgtk
-MultiTerm: vala
WebHelper: webkitgtk
diff --git a/development/geany-plugins/geany-plugins.SlackBuild b/development/geany-plugins/geany-plugins.SlackBuild
index f83d24874f..9f49ddf4ea 100644
--- a/development/geany-plugins/geany-plugins.SlackBuild
+++ b/development/geany-plugins/geany-plugins.SlackBuild
@@ -1,7 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Geany Plugins
+# Copyright 2022-2024 ilmich < ardutu at gmail dot com >
+
+# Previous maintainer(s):
+# Ryan S. Northrup | Reno, NV | northrup@yellowapple.us
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
# Copyright 2010-2013 James Geboski <jgeboski@gmail.com>
@@ -25,10 +29,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220308 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - disable the 2 plugins that require libgit2. they won't build
+# with our libgit2.
+# - get rid of 0-byte placeholders in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geany-plugins
-VERSION=${VERSION:-1.34.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +50,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -63,16 +79,15 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -86,18 +101,21 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a NEWS README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
-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
+# 20220308 bkw: bunch of placeholder NEWS and ChangeLog files:
+find $PKGDOC -type f -a -empty -delete
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a HACKING MAINTAINERS NEWS README $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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/geany-plugins/geany-plugins.info b/development/geany-plugins/geany-plugins.info
index 06c67e8dd8..dc20df3a23 100644
--- a/development/geany-plugins/geany-plugins.info
+++ b/development/geany-plugins/geany-plugins.info
@@ -1,10 +1,10 @@
PRGNAM="geany-plugins"
-VERSION="1.34.0"
+VERSION="2.0"
HOMEPAGE="https://plugins.geany.org/"
-DOWNLOAD="https://github.com/geany/geany-plugins/archive/1.34.0/geany-plugins-1.34.0.tar.gz"
-MD5SUM="64a0bfa6d44b4996cf9d33b01e13c6e4"
+DOWNLOAD="https://plugins.geany.org/geany-plugins/geany-plugins-2.0.tar.gz"
+MD5SUM="87b17a7f3ea2402f2bbd5ca68771aafb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geany"
-MAINTAINER="Ryan S. Northrup"
-EMAIL="northrup@yellowapple.us"
+MAINTAINER="ilmich"
+EMAIL="ardutu@gmail.com"
diff --git a/development/geany/geany.SlackBuild b/development/geany/geany.SlackBuild
index a2e1deee07..6c03692b1c 100644
--- a/development/geany/geany.SlackBuild
+++ b/development/geany/geany.SlackBuild
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Geany
-# Ryan S. Northrup | Reno, NV | northrup@yellowapple.us
+# Copyright 2022-2024 ilmich < ardutu at gmail dot com >
# Previous maintainer(s):
+# Ryan S. Northrup | Reno, NV | northrup@yellowapple.us
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
# Written by Evan Hisey <ehisey@gmail.com>
@@ -30,10 +31,13 @@
# (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=geany
-VERSION=${VERSION:-1.34.1}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +47,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -82,7 +93,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
+./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -90,7 +101,6 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
- --disable-html-docs \
--build=$ARCH-slackware-linux
make
@@ -111,13 +121,15 @@ if [ "$TAGS" = "yes" ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COMMITTERS COPYING ChangeLog* HACKING INSTALL NEWS README* THANKS TODO \
+cp -a AUTHORS INSTALL COPYING ChangeLog* HACKING NEWS README* THANKS TODO \
$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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/geany/geany.info b/development/geany/geany.info
index ec46e04d62..17b14bbada 100644
--- a/development/geany/geany.info
+++ b/development/geany/geany.info
@@ -1,10 +1,10 @@
PRGNAM="geany"
-VERSION="1.34.1"
+VERSION="2.0"
HOMEPAGE="https://www.geany.org/"
-DOWNLOAD="https://github.com/geany/geany/archive/1.34.1/geany-1.34.1.tar.gz"
-MD5SUM="d36ad44844c8721f2ef9b5398260de3b"
+DOWNLOAD="https://download.geany.org/geany-2.0.tar.gz"
+MD5SUM="ab3f45cc4588c61cc1f107789137b532"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Ryan S. Northrup"
-EMAIL="northrup@yellowapple.us"
+MAINTAINER="ilmich"
+EMAIL="ardutu@gmail.com"
diff --git a/development/gecode/gecode.SlackBuild b/development/gecode/gecode.SlackBuild
index 15dfdaceab..6311a9fc42 100644
--- a/development/gecode/gecode.SlackBuild
+++ b/development/gecode/gecode.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gecode
@@ -22,26 +22,36 @@
# 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=gecode
VERSION=${VERSION:-4.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,4 +120,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gede/gede.SlackBuild b/development/gede/gede.SlackBuild
index 5d657e6b84..207d81985b 100644
--- a/development/gede/gede.SlackBuild
+++ b/development/gede/gede.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gede
@@ -22,10 +22,13 @@
# 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=gede
-VERSION=${VERSION:-2.16.2}
+VERSION=${VERSION:-2.19.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +38,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -83,4 +79,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gede/gede.info b/development/gede/gede.info
index 190608948c..656c09d595 100644
--- a/development/gede/gede.info
+++ b/development/gede/gede.info
@@ -1,8 +1,8 @@
PRGNAM="gede"
-VERSION="2.16.2"
-HOMEPAGE="http://acidron.com/gede/"
-DOWNLOAD="http://gede.acidron.com/uploads/source/gede-2.16.2.tar.xz"
-MD5SUM="679e014c88c7502f0ef196a3f31eaa45"
+VERSION="2.19.3"
+HOMEPAGE="http://gede.dexar.se/"
+DOWNLOAD="http://gede.dexar.se/uploads/source/gede-2.19.3.tar.xz"
+MD5SUM="f1eb1e2d2a97ce5d231bf5cf78580761"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/gedit-plugins/doinst.sh b/development/gedit-plugins/doinst.sh
index 83629a9190..2ac84955cc 100644
--- a/development/gedit-plugins/doinst.sh
+++ b/development/gedit-plugins/doinst.sh
@@ -1,11 +1,7 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-schema_install gedit-show-tabbar-plugin.schemas
-schema_install gedit-drawspaces.schemas
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/development/gedit-plugins/gedit-plugins.SlackBuild b/development/gedit-plugins/gedit-plugins.SlackBuild
index a813cb594f..49d1b1f49e 100644
--- a/development/gedit-plugins/gedit-plugins.SlackBuild
+++ b/development/gedit-plugins/gedit-plugins.SlackBuild
@@ -1,9 +1,11 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for gedit
+# Slackware build script for gedit-plugins
# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA
# Copyright 2011 byteframe
+# Maintained 2020, 2021, 2022 by Donald Cooley <chytraeu@sdf.org>
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -12,21 +14,26 @@
# 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.
+# 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.
+
+# Special thanks to Brandon Pribula, who kindly handed over maintenance to me.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gedit-plugins
-VERSION=${VERSION:-2.32.0}
+VERSION=${VERSION:-46.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -61,33 +72,35 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ \( -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 $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING NEWS README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -95,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gedit-plugins/gedit-plugins.info b/development/gedit-plugins/gedit-plugins.info
index dcc8ae446c..eeaf2263c1 100644
--- a/development/gedit-plugins/gedit-plugins.info
+++ b/development/gedit-plugins/gedit-plugins.info
@@ -1,10 +1,10 @@
PRGNAM="gedit-plugins"
-VERSION="2.32.0"
+VERSION="46.0"
HOMEPAGE="http://projects.gnome.org/gedit/"
-DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/2.32/gedit-plugins-2.32.0.tar.bz2"
-MD5SUM="b5123846fa41f2d94992ae67e96ff79b"
+DOWNLOAD="https://download.gnome.org/sources/gedit-plugins/46/gedit-plugins-46.0.tar.xz"
+MD5SUM="c5701ed546aceb6ebceac8749948c8f5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gedit"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/gedit/README b/development/gedit/README
index d3d0133d5d..970ef4c28e 100644
--- a/development/gedit/README
+++ b/development/gedit/README
@@ -1,3 +1,11 @@
gedit is the official text editor of the GNOME desktop
environment. While aiming at simplicity and ease of use, gedit is a
powerful general purpose text editor.
+
+gspell is an optional (autodetected) dependency. If it's already
+installed, but you don't want to build gedit with spell-checking
+support, set the environment variable WITH_GSPELL to "no", e.g.
+ WITH_GSPELL="no" ./gedit.SlackBuild
+
+
+
diff --git a/development/gedit/doinst.sh b/development/gedit/doinst.sh
index f6bc99f8b3..2d36e69d79 100644
--- a/development/gedit/doinst.sh
+++ b/development/gedit/doinst.sh
@@ -2,19 +2,15 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
+
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-
-schema_install gedit.schemas
-schema_install gedit-file-browser.schemas
diff --git a/development/gedit/gedit.SlackBuild b/development/gedit/gedit.SlackBuild
index 9ed2ab95c6..44f2c358eb 100644
--- a/development/gedit/gedit.SlackBuild
+++ b/development/gedit/gedit.SlackBuild
@@ -1,9 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gedit
# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA
# Copyright 2011 byteframe
+# Maintained 2020, 2021, 2022 by Donald Cooley <chytraeu@sdf.org>
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -12,21 +14,31 @@
# 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.
+# 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.
+
+# Special thanks to Brandon Pribula, who kindly handed over maintenance to me.
+
+# 20231207 bkw: modified by SlackBuilds.org: remove gspell
+# autodetection (redundant; gspell is a required dep, plus it was
+# breaking the build on -current). Thanks to UrbanMusic on Libera IRC
+# for pointing this out.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gedit
-VERSION=${VERSION:-2.30.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-46.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +48,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -61,38 +77,47 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-scrollkeeper \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ \( -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 {} \;
+
+
+# circunvent meson version mismtach (fs.copyfile not available)
+# avoid gtk_doc, which uses fs.copyfile
+# replace unnecesary version bump of gio-2.0
+sed -i "s/meson_version: '>= 0.64'/meson_version: '>= 0.59'/;
+ s/'gio-2.0', version: '>= 2.74'/'gio-2.0', version: '>= 2.70'/" meson.build
+
+
+cd build
+ CFLAGS="$SLKCFLAGS -DG_CONNECT_DEFAULT=0" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dgtk_doc=false \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
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 NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CONTRIBUTING.md README.md COPYING NEWS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -100,4 +125,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gedit/gedit.info b/development/gedit/gedit.info
index d86a704442..00cfc14544 100644
--- a/development/gedit/gedit.info
+++ b/development/gedit/gedit.info
@@ -1,10 +1,10 @@
PRGNAM="gedit"
-VERSION="2.30.4"
+VERSION="46.1"
HOMEPAGE="http://projects.gnome.org/gedit/"
-DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/gedit/2.30/gedit-2.30.4.tar.bz2"
-MD5SUM="e1eecb0a92a1a363b3d375ec5ac0fb3b"
+DOWNLOAD="https://download.gnome.org/sources/gedit/46/gedit-46.1.tar.xz"
+MD5SUM="74cc927f8c41e7ccd2352c90d1086974"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pygtksourceview"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+REQUIRES="libpeas tepl gspell"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/generatorrunner/generatorrunner.SlackBuild b/development/generatorrunner/generatorrunner.SlackBuild
index a901358af2..39a6c16fff 100644
--- a/development/generatorrunner/generatorrunner.SlackBuild
+++ b/development/generatorrunner/generatorrunner.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for generatorrunner
# Written by Grissiom <chaos.proton@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=generatorrunner
VERSION=${VERSION:-0.6.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -86,4 +96,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gengetopt/gengetopt.SlackBuild b/development/gengetopt/gengetopt.SlackBuild
index e35744f05d..6426298c5f 100644
--- a/development/gengetopt/gengetopt.SlackBuild
+++ b/development/gengetopt/gengetopt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gengetopt
@@ -22,10 +22,13 @@
# 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=gengetopt
VERSION=${VERSION:-2.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -100,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gforth/gforth.SlackBuild b/development/gforth/gforth.SlackBuild
index ff5c4cdaba..69c1283522 100644
--- a/development/gforth/gforth.SlackBuild
+++ b/development/gforth/gforth.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gforth
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gforth
VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -54,8 +64,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 {} \;
+# Disable parallel building otherwise build fails
+MAKEFLAGS=-j1
+
# Fix old-style flag
-sed -i "s/-m486/-mtune=i486/g" configure.in
+sed -i "s/-m486/-mtune=i586/g" configure.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -86,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ghex/README b/development/ghex/README
index 0bb79b17b4..2426843295 100644
--- a/development/ghex/README
+++ b/development/ghex/README
@@ -1,17 +1,21 @@
-ghex (hex editor with GTK+3 GUI)
+ghex (hex editor with GTK4 GUI)
GHex allows the user to load data from any file, view and edit it in
either hex or ASCII. Useful for debugging problems with object code
or encodings. Also used by kids who cheat at computer games, by adding
score or lives to saved games.
-Optional dependency: yelp. Required for viewing the built-in help
-(Help->Contents, or F1 key). Alternatively, an HTML version of the
-help is included in /usr/doc/ghex-$VERSION/html/index.html for your
-perusal (in English only, though).
+Optional dependency: yelp. Enable by setting the SlackBuild option
+YELP=true if desired. This allows for the built-in help to be viewed
+natively with the standard GNOME help tool.
-Note: Trying to copy/paste arbitrary binary data into or out of
-ghex isn't going to work very well, because modern GTK+ insists the
-copy buffer has to be UTF-8 encoded Unicode. The result is lots
-of "\Uffffffff" (meaning "Invalid UTF-8") rather than the binary
-data. There's nothing we can do to fix this without major surgery.
+If this option is not enabled, the build will enable static HTML help by
+default, which will allow the built-in help to be viewed with other help
+viewers, such as KDE's help viewer, or by manually navigating to
+/usr/doc/HTML/{lang}/ghex, where "{lang}" is the applicable ISO language
+code.
+
+Buliding the libgtkhex API documentation requires `gi-docgen`, which is
+not presently in the slackbuilds.org repositories at the of writing. If
+you choose to install this manually and wish to build the API
+documentation, you can set the SlackBuild option GTK_DOC=true
diff --git a/development/ghex/doinst.sh b/development/ghex/doinst.sh
index 9b26fbab9d..8f75dac35d 100644
--- a/development/ghex/doinst.sh
+++ b/development/ghex/doinst.sh
@@ -4,8 +4,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ if [ -x /usr/bin/gtk4-update-icon-cache ]; then
+ /usr/bin/gtk4-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
diff --git a/development/ghex/ghex.1 b/development/ghex/ghex.1
deleted file mode 100644
index c30b0d8c13..0000000000
--- a/development/ghex/ghex.1
+++ /dev/null
@@ -1,85 +0,0 @@
-.\" Hey, EMACS: -*- nroff -*-
-.\"
-.\" $Id: ghex.1,v 1.1 2001/04/14 19:41:50 epg Exp $
-.\"
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH GHEX 1 "April 14, 2001"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh disable hyphenation
-.\" .hy enable hyphenation
-.\" .ad l left justify
-.\" .ad b justify to both left and right margins
-.\" .nf disable filling
-.\" .fi enable filling
-.\" .br insert line break
-.\" .sp <n> insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-ghex \- A GNOME Hex Editor
-.SH SYNOPSIS
-.B ghex
-.RI [ options ] " files" ...
-.SH DESCRIPTION
-This manual page documents briefly the
-.B ghex
-command.
-This manual page was written for the Debian GNU/Linux distribution
-because the original program does not have a manual page.
-Instead, it has documentation in the GNOME help system.
-.PP
-.\" TeX users may be more comfortable with the \fB<whatever>\fP and
-.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
-.\" respectively.
-\fBghex\fP allows the user to load data from any file, view and
-edit it in either hex or ascii. A must for anyone playing games
-that use non-ascii format for saving.
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-
-Usage: ghex [OPTION...]
-
-GNOME options
- --disable-sound Disable sound server usage
- --enable-sound Enable sound server usage
- --espeaker=HOSTNAME:PORT Host:port on which the sound server to use is
- running
- --version
-
-Help options
- -?, --help Show this help message
- --usage Display brief usage message
-
-GTK options
- --gdk-debug=FLAGS Gdk debugging flags to set
- --gdk-no-debug=FLAGS Gdk debugging flags to unset
- --display=DISPLAY X display to use
- --sync Make X calls synchronous
- --no-xshm Don't use X shared memory extension
- --name=NAME Program name as used by the window manager
- --class=CLASS Program class as used by the window manager
- --gxid_host=HOST
- --gxid_port=PORT
- --xim-preedit=STYLE
- --xim-status=STYLE
- --gtk-debug=FLAGS Gtk+ debugging flags to set
- --gtk-no-debug=FLAGS Gtk+ debugging flags to unset
- --g-fatal-warnings Make all warnings fatal
- --gtk-module=MODULE Load an additional Gtk module
-
-GNOME GUI options
- --disable-crash-dialog
-
-Session management options
- --sm-client-id=ID Specify session management ID
- --sm-config-prefix=PREFIX Specify prefix of saved configuration
- --sm-disable Disable connection to session manager
-
-.SH AUTHOR
-This manual page was written by Eric Gillespie, Jr. <epg@debian.org>,
-for the Debian GNU/Linux system (but may be used by others).
diff --git a/development/ghex/ghex.SlackBuild b/development/ghex/ghex.SlackBuild
index 5dbc89696d..927714fb2a 100644
--- a/development/ghex/ghex.SlackBuild
+++ b/development/ghex/ghex.SlackBuild
@@ -1,19 +1,23 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ghex
-
-# Written by B. Watson (yalhcru@gmail.com)
-
+#
+# Originally written by B. Watson (urchlay@slackware.uk), Copyright © 2020-2021
+#
+# Updated for GHex 4.x by Logan Rathbone <poprocks@gmail.com>
+# Copyright ©2022-2023
+#
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+#
+# For ChangeLog, see SBo git log history.
-# Although upstream describes this as "a hex editor for GNOME", it has
-# no gnome dependencies (just GTK3). Previous versions (2.x) did depend
-# on gnome so I never wanted to package them...
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ghex
-VERSION=${VERSION:-3.18.4}
+VERSION=${VERSION:-45.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -23,7 +27,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -50,49 +58,45 @@ cd $TMP
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 {} \+
-# Fix the .docbook help files so they work with 14.2's docbook,
-# and so they don't cause docbook2html to connect to a remote site.
-# DTD may have to change for some future Slackware release.
-DTD="/usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd"
-sed -i \
- -e '/<xi:include.*legal/s,.*,\&legal;,' \
- -e '/docbookx.dtd/a <!ENTITY legal SYSTEM "legal.xml">' \
- -e 's,"http://www\.oasis.*dtd","'$DTD'",' \
- help/*/index.docbook
+# Process optional yelp dependency option
+if [ "$YELP" = "true" ]; then
+ STATIC_HELP="false"
+else
+ STATIC_HELP="true"
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-meson \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --strip \
+meson setup \
+ -Dbuildtype=plain \
+ -Dprefix=/usr \
+ -Dlibdir=/usr/lib${LIBDIRSUFFIX} \
+ -Dsysconfdir=/etc \
+ -Dlocalstatedir=/var \
+ -Ddocdir=/usr/doc \
+ -Dstrip=true \
+ -Dgtk_doc=${GTK_DOC:-false} \
+ -Dstatic-html-help=${STATIC_HELP} \
build
-DESTDIR="$PKG" ninja -C build install
+DESTDIR="$PKG" ${NINJA:-ninja} -v -C build install
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
-cp -a AUTHORS COPYING* HACKING NEWS README $PKGDOC
+cp -a COPYING* HACKING NEWS README* $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
-# Generate the HTML help, for those who don't want to install yelp.
-docbook2html -u -o $PKGDOC/html/ $PKG/usr/share/help/C/$PRGNAM/index.docbook
-ln -s ../../../share/help/C/$PRGNAM/figures $PKGDOC/html/
-
-# Man page is fairly useless, include it anyway (from Debian).
-mkdir -p $PKG/usr/man/man1
-gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ghex/ghex.info b/development/ghex/ghex.info
index c9d8b0daaa..928ed3954d 100644
--- a/development/ghex/ghex.info
+++ b/development/ghex/ghex.info
@@ -1,10 +1,10 @@
PRGNAM="ghex"
-VERSION="3.18.4"
-HOMEPAGE="https://wiki.gnome.org/Apps/Ghex"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/ghex/3.18/ghex-3.18.4.tar.xz"
-MD5SUM="7e6ed808766bc18285bdc6999bdf0f15"
+VERSION="45.1"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/ghex"
+DOWNLOAD="https://download.gnome.org/sources/ghex/45/ghex-45.1.tar.xz"
+MD5SUM="54eafa6969a6593e9e3e94def171bd86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson"
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+REQUIRES="libadwaita"
+MAINTAINER="Logan Rathbone"
+EMAIL="poprocks@gmail.com"
diff --git a/development/ghex/slack-desc b/development/ghex/slack-desc
index b22591eec1..f591cd57cc 100644
--- a/development/ghex/slack-desc
+++ b/development/ghex/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ghex: ghex (hex editor with GTK+3 GUI)
+ghex: ghex (hex editor with GTK4 GUI)
ghex:
ghex: GHex allows the user to load data from any file, view and edit it
ghex: in either hex or ASCII. Useful for debugging problems with object
diff --git a/development/ghi/ghi.SlackBuild b/development/ghi/ghi.SlackBuild
index 3cea5c1fc6..d75984d8c4 100644
--- a/development/ghi/ghi.SlackBuild
+++ b/development/ghi/ghi.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ghi
-# Copyright 2017 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=ghi
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=ghi
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -110,4 +120,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ghi/ghi.info b/development/ghi/ghi.info
index a64f777b67..a6104b33e9 100644
--- a/development/ghi/ghi.info
+++ b/development/ghi/ghi.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-pygments"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/development/ghidra/README b/development/ghidra/README
new file mode 100644
index 0000000000..db029b1400
--- /dev/null
+++ b/development/ghidra/README
@@ -0,0 +1,12 @@
+ghidra (Software Reverse Engineering Tools developed by NSA)
+
+Ghidra is a software reverse engineering (SRE) framework created and
+maintained by the National Security Agency Research Directorate.
+Capabilities include disassembly, assembly, decompilation, graphing,
+and scripting, along with hundreds of other features. Ghidra supports
+a wide variety of processor instruction sets and executable formats
+and can be run in both user-interactive and automated modes.
+
+NOTE: On first run, ghidra will prompt you for your path to the JDK 11+
+home directory. This is usually /usr/lib64/jdk19-<version> if
+installed from slackbuilds.
diff --git a/development/ghidra/doinst.sh b/development/ghidra/doinst.sh
new file mode 100644
index 0000000000..8bb9b43c77
--- /dev/null
+++ b/development/ghidra/doinst.sh
@@ -0,0 +1,17 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
diff --git a/development/ghidra/ghidra.SlackBuild b/development/ghidra/ghidra.SlackBuild
new file mode 100644
index 0000000000..588e26bdd3
--- /dev/null
+++ b/development/ghidra/ghidra.SlackBuild
@@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Slackware build script for Ghidra
+
+# Copyright (c) 2021-2024, Ebben Aries <slackbuilds@dscp.org>
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+# 1.- Redistributions of source code 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=ghidra
+VERSION=${VERSION:-11.0.3}
+VERDATE=${VERDATE:-20240410}
+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 ${PRGNAM}_${VERSION}_PUBLIC
+unzip $CWD/${PRGNAM}_${VERSION}_PUBLIC_${VERDATE}.zip
+cd ${PRGNAM}_${VERSION}_PUBLIC
+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
+cp -ar Extensions GPL Ghidra docs ghidraRun server support $PKG/opt/$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
+
+# Add a wrapper to run ghidra in /usr/bin
+mkdir -p $PKG/usr/bin
+cat << EOF > $PKG/usr/bin/$PRGNAM
+#!/bin/sh
+cd \$HOME
+/opt/$PRGNAM/ghidraRun \$@
+EOF
+chmod 0755 $PKG/usr/bin/$PRGNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar LICENSE licenses $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
+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/development/ghidra/ghidra.info b/development/ghidra/ghidra.info
new file mode 100644
index 0000000000..9a82e03a93
--- /dev/null
+++ b/development/ghidra/ghidra.info
@@ -0,0 +1,10 @@
+PRGNAM="ghidra"
+VERSION="11.0.3"
+HOMEPAGE="https://ghidra-sre.org"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.0.3_build/ghidra_11.0.3_PUBLIC_20240410.zip"
+MD5SUM_x86_64="e8122e6ae7eacd7bfb9842c6dad13a32"
+REQUIRES="jdk19"
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/development/ghidra/slack-desc b/development/ghidra/slack-desc
new file mode 100644
index 0000000000..1992ea2aa7
--- /dev/null
+++ b/development/ghidra/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------------------------------------------------------|
+ghidra: ghidra (Software Reverse Engineering Tools developed by NSA)
+ghidra:
+ghidra: Ghidra is a software reverse engineering (SRE) framework created and
+ghidra: maintained by the National Security Agency Research Directorate.
+ghidra: Capabilities include disassembly, assembly, decompilation, graphing,
+ghidra: and scripting, along with hundreds of other features. Ghidra supports
+ghidra: a wide variety of processor instruction sets and executable formats
+ghidra: and can be run in both user-interactive and automated modes.
+ghidra:
+ghidra: Homepage: https://ghidra-sre.org/
+ghidra:
diff --git a/development/gisto/gisto.SlackBuild b/development/gisto/gisto.SlackBuild
index 091b0aca47..e7183d7d79 100644
--- a/development/gisto/gisto.SlackBuild
+++ b/development/gisto/gisto.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gisto
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
# 2017 | Dhaby Xiloj | slack.dhabyx@gmail.com
@@ -21,11 +21,14 @@
# along with this program (most likely, a file named COPYING). If
# not, see <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gisto
SRCNAM=Gisto
VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -88,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/git-cola/README b/development/git-cola/README
index 92af1c4bc1..f904c66829 100644
--- a/development/git-cola/README
+++ b/development/git-cola/README
@@ -3,12 +3,7 @@ git-cola is free software and written in Python (v2 + v3).
git-cola uses QtPy (included), so you can choose between PyQt4, PyQt5,
and PySide by setting the QT_API environment variable to pyqt4, pyqt5 or
-pyside as desired. qtpy defaults to pyqt5 and falls back to pyqt4 if
-pyqt5 is not installed.
+pyside as desired.
-Set QT_API=pyqt4 in your environment if you have both versions of PyQt
-installed and want to ensure that PyQt4 is used.
-
-PyQt5 is an optional dependency if you want a more "modern" interface.
pyside is an optional (untested by me) dependency.
send2trash is an optional (untested by me) dependency.
diff --git a/development/git-cola/git-cola.SlackBuild b/development/git-cola/git-cola.SlackBuild
index 8a536f7c64..49a82aa309 100644
--- a/development/git-cola/git-cola.SlackBuild
+++ b/development/git-cola/git-cola.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for git-cola
@@ -6,10 +6,13 @@
# Copyright (c) 2017-2019, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=git-cola
VERSION=${VERSION:-3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -82,4 +92,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/git-cola/git-cola.info b/development/git-cola/git-cola.info
index f3d1051657..fce55b9fd7 100644
--- a/development/git-cola/git-cola.info
+++ b/development/git-cola/git-cola.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/git-cola/git-cola/archive/v3.6/git-cola-3.6.tar.gz"
MD5SUM="ba4e64d82a27ee5452afbbc16a28717e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-attrs python3-certifi Sphinx"
+REQUIRES="python3-attrs Sphinx"
MAINTAINER="Ricardo J. Barberis"
EMAIL="ricardo.barberis@gmail.com"
diff --git a/development/git-crypt/README b/development/git-crypt/README
new file mode 100644
index 0000000000..6363c7b888
--- /dev/null
+++ b/development/git-crypt/README
@@ -0,0 +1,11 @@
+git-crypt - transparent file encryption in git
+
+git-crypt enables transparent encryption and decryption of files in a
+git repository. Files which you choose to protect are encrypted when
+committed, and decrypted when checked out. git-crypt lets you freely
+share a repository containing a mix of public and private content.
+git-crypt gracefully degrades, so developers without the secret key
+can still clone and commit to a repository with encrypted files. This
+lets you store your secret material (such as keys or passwords) in the
+same repository as your code, without requiring you to lock down your
+entire repository.
diff --git a/development/git-crypt/git-crypt.SlackBuild b/development/git-crypt/git-crypt.SlackBuild
new file mode 100644
index 0000000000..2b8016e342
--- /dev/null
+++ b/development/git-crypt/git-crypt.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for git-crypt
+
+# Copyright 2021 Nicolas Piatto <nico@lodpp.net> FRANCE
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 02/Mar/2021 * First version
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=git-crypt
+VERSION=${VERSION:-0.6.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make
+make install ENABLE_MAN=yes 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 \
+ doc AUTHORS CONTRIBUTING.md COPYING NEWS README \
+ RELEASE_NOTES-0.4.1.md RELEASE_NOTES-0.4.md THANKS.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/git-crypt/git-crypt.info b/development/git-crypt/git-crypt.info
new file mode 100644
index 0000000000..a6a3260538
--- /dev/null
+++ b/development/git-crypt/git-crypt.info
@@ -0,0 +1,10 @@
+PRGNAM="git-crypt"
+VERSION="0.6.0"
+HOMEPAGE="https://www.agwa.name/projects/git-crypt/"
+DOWNLOAD="https://github.com/AGWA/git-crypt/archive/0.6.0/git-crypt-0.6.0.tar.gz"
+MD5SUM="0667274390a7e90313c443b70df4e5f9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Nicolas Piatto"
+EMAIL="nico@lodpp.net"
diff --git a/development/git-crypt/slack-desc b/development/git-crypt/slack-desc
new file mode 100644
index 0000000000..c7b4bd94f6
--- /dev/null
+++ b/development/git-crypt/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------------------------------------------------------|
+git-crypt: git-crypt (transparent file encryption in git)
+git-crypt:
+git-crypt: git-crypt enables transparent encryption and decryption of files in a
+git-crypt: a git repository. Files which you choose to protect are encrypted
+git-crypt: when committed, and decrypted when checked out. git-crypt lets you
+git-crypt: freely share a repository containing a mix of public and private
+git-crypt: content. git-crypt gracefully degrades, so developers without the
+git-crypt: secret key can still clone and commit to a repository with encrypted
+git-crypt: files. This lets you store your secret material (such as keys or
+git-crypt: passwords) in the same repository as your code, without requiring you
+git-crypt: to lock down your entire repository
diff --git a/development/git-extras/README b/development/git-extras/README
new file mode 100644
index 0000000000..194ca76b23
--- /dev/null
+++ b/development/git-extras/README
@@ -0,0 +1,7 @@
+GIT utilities
+
+Repo summary, repl, changelog population, author commit percentages,
+and more.
+
+For more information go to Commands.md page for basic usage and
+examples.
diff --git a/development/git-extras/git-extras.SlackBuild b/development/git-extras/git-extras.SlackBuild
new file mode 100644
index 0000000000..9015ccf605
--- /dev/null
+++ b/development/git-extras/git-extras.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for git-extras
+
+# Copyright 2020-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=git-extras
+VERSION=${VERSION:-6.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+# 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-$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 {} \;
+
+make install PREFIX=$PKG/usr SYSCONFDIR=$PKG/etc
+
+mv $PKG/usr/share/man $PKG/usr
+rm -rf $PKG/usr/share
+
+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 \
+ Readme.md CONTRIBUTING.md LICENSE AUTHORS Commands.md History.md Installation.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/git-extras/git-extras.info b/development/git-extras/git-extras.info
new file mode 100644
index 0000000000..7bab5b391f
--- /dev/null
+++ b/development/git-extras/git-extras.info
@@ -0,0 +1,10 @@
+PRGNAM="git-extras"
+VERSION="6.2.0"
+HOMEPAGE="https://github.com/tj/git-extras"
+DOWNLOAD="https://github.com/tj/git-extras/archive/6.2.0/git-extras-6.2.0.tar.gz"
+MD5SUM="aa96e6516b53e0ff63a06f910986f263"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Giuseppe Di Terlizzi"
+EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/development/git-extras/slack-desc b/development/git-extras/slack-desc
new file mode 100644
index 0000000000..eb1886f9de
--- /dev/null
+++ b/development/git-extras/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------------------------------------------------------|
+git-extras: git-extras (repo summary, repl, changelog population and more )
+git-extras:
+git-extras: GIT utilities -- repo summary, repl, changelog population, author
+git-extras: commit percentages and more
+git-extras:
+git-extras:
+git-extras:
+git-extras:
+git-extras:
+git-extras: Home-Page : https://github.com/tj/git-extras
+git-extras:
diff --git a/development/git-lfs/git-lfs.SlackBuild b/development/git-lfs/git-lfs.SlackBuild
index 58e25a6789..44294b3432 100644
--- a/development/git-lfs/git-lfs.SlackBuild
+++ b/development/git-lfs/git-lfs.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for git-lfs
-# Copyright 2015-2020 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
@@ -22,10 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230627 bkw: BUILD=3
+# - Fix man page permissions (missing chown and find/chmod from template).
+# - Get rid of /usr/man/html. Our man-db doesn't know how to display HTML,
+# and it's redundant anyway (we have the same docs as regular man pages).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=git-lfs
-VERSION=${VERSION:-2.12.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.5.1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,26 +43,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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=""
- SRCARCH=386
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- SRCARCH=386
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+if [ "$ARCH" = "x86_64" ]; then
SRCARCH=amd64
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
SRCARCH=386
fi
@@ -65,17 +65,26 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-linux-$SRCARCH-v$VERSION.tar.gz
+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 {} +
mkdir -p $PKG/usr/bin
install -m0755 $PRGNAM $PKG/usr/bin
rm -f install.sh
+mkdir -p $PKG/usr/man/
+rm -rf man/html
+mv man/* $PKG/usr/man/
+gzip -9 $PKG/usr/man/man*/*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/git-lfs/git-lfs.info b/development/git-lfs/git-lfs.info
index 98c82ec938..0432c00548 100644
--- a/development/git-lfs/git-lfs.info
+++ b/development/git-lfs/git-lfs.info
@@ -1,10 +1,10 @@
PRGNAM="git-lfs"
-VERSION="2.12.0"
+VERSION="3.5.1"
HOMEPAGE="https://git-lfs.github.com/"
-DOWNLOAD="https://github.com/git-lfs/git-lfs/releases/download/v2.12.0/git-lfs-linux-386-v2.12.0.tar.gz"
-MD5SUM="1a67b17b79a3cb630b684a2286617fe4"
-DOWNLOAD_x86_64="https://github.com/git-lfs/git-lfs/releases/download/v2.12.0/git-lfs-linux-amd64-v2.12.0.tar.gz"
-MD5SUM_x86_64="2d4472e3328f3aed84feb48069060f85"
+DOWNLOAD="https://github.com/git-lfs/git-lfs/releases/download/v3.5.1/git-lfs-linux-386-v3.5.1.tar.gz"
+MD5SUM="8b515e27ccc38742487547cd646900a9"
+DOWNLOAD_x86_64="https://github.com/git-lfs/git-lfs/releases/download/v3.5.1/git-lfs-linux-amd64-v3.5.1.tar.gz"
+MD5SUM_x86_64="b36a13f2d6be99ea0213aabf2554e0d9"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/github-cli/github-cli.SlackBuild b/development/github-cli/github-cli.SlackBuild
index 9c6cde17e3..2049193371 100644
--- a/development/github-cli/github-cli.SlackBuild
+++ b/development/github-cli/github-cli.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GitHub CLI
-# Copyright 2020 Ebben Aries
+# Copyright 2020-2024 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,15 @@
# 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=github-cli
DEBNAM=gh
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-2.48.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -43,6 +45,11 @@ else
DEBARCH="386"
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
set -e
rm -rf $PKG
@@ -68,4 +75,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/github-cli/github-cli.info b/development/github-cli/github-cli.info
index b3623f57f4..e2d9bb5726 100644
--- a/development/github-cli/github-cli.info
+++ b/development/github-cli/github-cli.info
@@ -1,10 +1,10 @@
PRGNAM="github-cli"
-VERSION="1.2.1"
+VERSION="2.48.0"
HOMEPAGE="https://cli.github.com/"
-DOWNLOAD="https://github.com/cli/cli/releases/download/v1.2.1/gh_1.2.1_linux_386.deb"
-MD5SUM="2714c4f926fa28e7c2c86ef56e82a219"
-DOWNLOAD_x86_64="https://github.com/cli/cli/releases/download/v1.2.1/gh_1.2.1_linux_amd64.deb"
-MD5SUM_x86_64="2557669bca6c7ba7a1c49d2df1490f5b"
+DOWNLOAD="https://github.com/cli/cli/releases/download/v2.48.0/gh_2.48.0_linux_386.deb"
+MD5SUM="5183ca269bb9b242055871c7483a5426"
+DOWNLOAD_x86_64="https://github.com/cli/cli/releases/download/v2.48.0/gh_2.48.0_linux_amd64.deb"
+MD5SUM_x86_64="bd56f8bd78c1762e8f6d0a31a02a617f"
REQUIRES=""
MAINTAINER="Ebben Aries"
-EMAIL="e@dscp.org"
+EMAIL="slackbuilds@dscp.org"
diff --git a/development/github-desktop/README b/development/github-desktop/README
new file mode 100644
index 0000000000..3c7d957987
--- /dev/null
+++ b/development/github-desktop/README
@@ -0,0 +1,8 @@
+
+github-desktop (Desktop client for GitHub)
+
+This is a re-pack of the official DEB package.
+
+Fork of GitHub Desktop to support various Linux distributions.
+
+For x86_64 or aarch64 only, no 32-bit support.
diff --git a/development/github-desktop/doinst.sh b/development/github-desktop/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/github-desktop/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/github-desktop/github-desktop.SlackBuild b/development/github-desktop/github-desktop.SlackBuild
new file mode 100644
index 0000000000..fbc8119be0
--- /dev/null
+++ b/development/github-desktop/github-desktop.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for github-desktop
+#
+# Copyright 2023-2024 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=github-desktop
+SRCNAM=GitHubDesktop
+VERSION=${VERSION:-3.3.12}
+BUILD=${BUILD:-1}
+DEBBUILD=${DEBBUILD:-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
+ DEBARCH="i386"
+ LIBDIRSUFFIX=""
+ echo "This package is currently only available for 64bit."
+ exit 1
+elif [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="amd64"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ DEBARCH="arm64"
+ LIBDIRSUFFIX="64"
+else
+ echo "Package for $(uname -m) architecture is not available."
+ exit 1
+fi
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar x $CWD/${SRCNAM}-linux-$DEBARCH-${VERSION}-linux${DEBBUILD}.deb data.tar.xz
+tar xvf $PKG/data.tar.xz
+rm $PKG/data.tar.xz
+
+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 $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
+
+# fix the symlink
+mkdir -p $PKG/usr/bin
+rm -rf $PKG/usr/bin/github-desktop
+ln -sf ../lib64/github-desktop/github-desktop $PKG/usr/bin/github-desktop
+
+# fix libs location
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
+mv $PKG/usr/lib/* $PKG/usr/lib${LIBDIRSUFFIX}
+rm -rf $PKG/usr/lib
+
+# make these files exec so sbopkglint don't complain
+chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/resources/app/{keytar,desktop-notifications,fs_admin}.node
+
+# move docs and remove lintian dir:
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc $PKG/usr/share/lintian
+
+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/development/github-desktop/github-desktop.info b/development/github-desktop/github-desktop.info
new file mode 100644
index 0000000000..ce376c9b79
--- /dev/null
+++ b/development/github-desktop/github-desktop.info
@@ -0,0 +1,12 @@
+PRGNAM="github-desktop"
+VERSION="3.3.12"
+HOMEPAGE="https://github.com/shiftkey/desktop/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/shiftkey/desktop/releases/download/release-3.3.12-linux2/GitHubDesktop-linux-amd64-3.3.12-linux2.deb \
+ https://github.com/shiftkey/desktop/releases/download/release-3.3.12-linux2/GitHubDesktop-linux-arm64-3.3.12-linux2.deb"
+MD5SUM_x86_64="0259c75f2b0756e94279e1035f5b1dd9 \
+ 358b3e487ab2ceebb16ca851d89d9c53"
+REQUIRES=""
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/development/github-desktop/slack-desc b/development/github-desktop/slack-desc
new file mode 100644
index 0000000000..c6a0ea05ab
--- /dev/null
+++ b/development/github-desktop/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------------------------------------------------------|
+github-desktop: github-desktop (GitHub Desktop client)
+github-desktop:
+github-desktop: Fork of GitHub Desktop to support various Linux distributions.
+github-desktop:
+github-desktop: Homepage: https://github.com/shiftkey/desktop
+github-desktop:
+github-desktop:
+github-desktop:
+github-desktop:
+github-desktop:
+github-desktop:
diff --git a/development/gitlab-cli/README b/development/gitlab-cli/README
new file mode 100644
index 0000000000..2dc377f541
--- /dev/null
+++ b/development/gitlab-cli/README
@@ -0,0 +1,13 @@
+gitlab-cli (GitLab CLI tool)
+
+GLab is an open source GitLab CLI tool bringing GitLab to your terminal
+next to where you are already working with git and your code without
+switching between windows and browser tabs.
+
+Work with issues, merge requests, watch running pipelines directly from
+your CLI among other features.
+
+glab is available for repositories hosted on GitLab.com and
+self-managed GitLab instances. glab supports multiple authenticated
+GitLab instances and automatically detects the authenticated hostname
+from the remotes available in the working Git directory.
diff --git a/development/gitlab-cli/gitlab-cli.SlackBuild b/development/gitlab-cli/gitlab-cli.SlackBuild
new file mode 100644
index 0000000000..53406543b5
--- /dev/null
+++ b/development/gitlab-cli/gitlab-cli.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for gitlab-cli
+
+# Copyright 2024 Diniz Bortolotto <diniz.bortolotto@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gitlab-cli
+DEBNAM=glab
+VERSION=${VERSION:-1.37.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 [ "$ARCH" = "arm" ] && [ -z "$DEBARCH" ]; then
+ echo "Download .deb package at:"
+ echo -n "https://gitlab.com/gitlab-org/cli/-/releases/"
+ echo "v"$VERSION"/downloads/glab_"$VERSION"_Linux_"$( uname -m )".deb"
+ echo "and call SlackBuild doing: DEBARCH="$( uname -m )" $0"
+elif [ "$ARCH" = "i586" ]; then
+ DEBARCH="i386"
+elif [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="x86_64"
+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 $PKG
+ar p $CWD/${DEBNAM}_${VERSION}_Linux_${DEBARCH}.deb data.tar.gz | tar xzv
+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 {} \;
+
+mv $PKG/usr/share/man $PKG/usr/ && rmdir $PKG/usr/share
+
+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
+
+cd $TMP
+rm -rf cli-v$VERSION
+tar xvf $CWD/cli-v$VERSION.tar.gz
+cd cli-v$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gitlab-cli/gitlab-cli.info b/development/gitlab-cli/gitlab-cli.info
new file mode 100644
index 0000000000..26f732fcff
--- /dev/null
+++ b/development/gitlab-cli/gitlab-cli.info
@@ -0,0 +1,14 @@
+PRGNAM="gitlab-cli"
+VERSION="1.37.0"
+HOMEPAGE="https://gitlab.com/gitlab-org/cli"
+DOWNLOAD="https://gitlab.com/gitlab-org/cli/-/archive/v1.37.0/cli-v1.37.0.tar.gz \
+ https://gitlab.com/gitlab-org/cli/-/releases/v1.37.0/downloads/glab_1.37.0_Linux_i386.deb"
+MD5SUM="83e99040535ee1b6b3222ca4751913ba \
+ ecee73526ca604c4702064fda4955b6a"
+DOWNLOAD_x86_64="https://gitlab.com/gitlab-org/cli/-/archive/v1.37.0/cli-v1.37.0.tar.gz \
+ https://gitlab.com/gitlab-org/cli/-/releases/v1.37.0/downloads/glab_1.37.0_Linux_x86_64.deb"
+MD5SUM_x86_64="83e99040535ee1b6b3222ca4751913ba \
+ 176a122cf49a586f817c54b52822319a"
+REQUIRES=""
+MAINTAINER="Diniz Bortolotto"
+EMAIL="diniz.bortolotto@gmail.com"
diff --git a/development/gitlab-cli/slack-desc b/development/gitlab-cli/slack-desc
new file mode 100644
index 0000000000..41efb3209b
--- /dev/null
+++ b/development/gitlab-cli/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------------------------------------------------------|
+gitlab-cli: gitlab-cli (GitLab CLI tool)
+gitlab-cli:
+gitlab-cli: GLab is an open source GitLab CLI tool bringing GitLab to your
+gitlab-cli: terminal next to where you are already working with git and
+gitlab-cli: your code without switching between windows and browser tabs.
+gitlab-cli: Work with issues, merge requests, watch running pipelines
+gitlab-cli: directly from your CLI among other features.
+gitlab-cli:
+gitlab-cli: Homepage: https://gitlab.com/gitlab-org/cli
+gitlab-cli:
+gitlab-cli:
diff --git a/development/gitstats/gitstats.SlackBuild b/development/gitstats/gitstats.SlackBuild
index 72be657fae..6493d4ecb3 100644
--- a/development/gitstats/gitstats.SlackBuild
+++ b/development/gitstats/gitstats.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gitstats
@@ -22,10 +22,13 @@
# 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=gitstats
VERSION=${VERSION:-20160102}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -92,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/glade/README b/development/glade/README
deleted file mode 100644
index 5706603919..0000000000
--- a/development/glade/README
+++ /dev/null
@@ -1,12 +0,0 @@
-Glade (GTK+3 User Interface Builder)
-
-Glade is a RAD tool to enable quick & easy development of user
-interfaces for the Gtk+ toolkit and the GNOME desktop environment.
-The user interfaces designed in Glade are stored in XML format,
-enabling easy integration with external tools.
-
-This version of Glade (Glade-3) is a complete rewrite of the original
-Glade codebase.
-
-Please note that this version is different than glade3 provided by
-Slackware, which is glade3-3.8.3 for GTK+2; this package is for GTK+3.
diff --git a/development/glade/doinst.sh b/development/glade/doinst.sh
deleted file mode 100644
index 19400050fd..0000000000
--- a/development/glade/doinst.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/development/glade/glade.SlackBuild b/development/glade/glade.SlackBuild
deleted file mode 100644
index 1741b2a9cb..0000000000
--- a/development/glade/glade.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for glade
-
-# Copyright 2013 Bart van der Hall
-# 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.
-
-PRGNAM=glade
-VERSION=${VERSION:-3.18.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* INSTALL NEWS README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
-
-# If there's a ChangeLog, installing at least part of the recent history
-# is useful, but don't let it get totally out of control:
-if [ -r ChangeLog ]; then
- DOCSDIR=$(echo $PKG/usr/doc/${PRGNAM}-$VERSION)
- cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
- touch -r ChangeLog $DOCSDIR/ChangeLog
-fi
-
-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:-tgz}
diff --git a/development/glade/glade.info b/development/glade/glade.info
deleted file mode 100644
index fff72106e7..0000000000
--- a/development/glade/glade.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="glade"
-VERSION="3.18.3"
-HOMEPAGE="https://glade.gnome.org"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/glade/3.18/glade-3.18.3.tar.xz"
-MD5SUM="6852d6286683728e0ea40ca9b5d2416f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Bart van der Hall"
-EMAIL="bart@omgwtfroflol.com"
diff --git a/development/glade/slack-desc b/development/glade/slack-desc
deleted file mode 100644
index ceaf2099c9..0000000000
--- a/development/glade/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------------------------------------------------------|
-glade: glade (GTK+ User Interface Builder)
-glade:
-glade: Glade is a RAD tool to enable quick & easy development of user
-glade: interfaces for the Gtk+ toolkit and the GNOME desktop environment.
-glade: The user interfaces designed in Glade are stored in XML format,
-glade: enabling easy integration with external tools.
-glade:
-glade: This version of Glade (Glade-3) is a complete rewrite of the original
-glade: Glade codebase.
-glade:
-glade:
diff --git a/development/glm/glm.SlackBuild b/development/glm/glm.SlackBuild
index 3bfd956611..576e6451cf 100644
--- a/development/glm/glm.SlackBuild
+++ b/development/glm/glm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for glm
@@ -22,10 +22,13 @@
# 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=glm
VERSION=${VERSION:-0.9.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -73,4 +83,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/global/global.SlackBuild b/development/global/global.SlackBuild
index ae898c300f..7d7bf8865d 100644
--- a/development/global/global.SlackBuild
+++ b/development/global/global.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for global
@@ -23,10 +23,13 @@
# 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=global
-VERSION=${VERSION:-6.6.5}
+VERSION=${VERSION:-6.6.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -104,4 +114,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/global/global.info b/development/global/global.info
index b68f43fff7..66cfa69f62 100644
--- a/development/global/global.info
+++ b/development/global/global.info
@@ -1,8 +1,8 @@
PRGNAM="global"
-VERSION="6.6.5"
+VERSION="6.6.7"
HOMEPAGE="http://www.gnu.org/software/global/"
-DOWNLOAD="http://tamacom.com/global/global-6.6.5.tar.gz"
-MD5SUM="b2322035783fd4499dfa80ddd2d36763"
+DOWNLOAD="http://tamacom.com/global/global-6.6.7.tar.gz"
+MD5SUM="b55bee959c826dc3cb844144e4d56ef4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/gn/README b/development/gn/README
index d72f2e9c83..2766344ee1 100644
--- a/development/gn/README
+++ b/development/gn/README
@@ -1,6 +1,3 @@
GN is a meta-build system that generates build files for Ninja.
-The dependency on ninja can be avoided by installing samu from SBo
-instead. To build with samu instead of ninja use:
-
- NINJA=samu ./gn.SlackBuild
+To build with samu instead of ninja, do: NINJA=samu ./gn.SlackBuild
diff --git a/development/gn/gn.SlackBuild b/development/gn/gn.SlackBuild
index 9795b6ccad..43122adcaa 100644
--- a/development/gn/gn.SlackBuild
+++ b/development/gn/gn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gn
@@ -22,10 +22,13 @@
# 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=gn
VERSION=${VERSION:-0.1616}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -98,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gn/gn.info b/development/gn/gn.info
index b139648d92..da02e56a5a 100644
--- a/development/gn/gn.info
+++ b/development/gn/gn.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://dev.gentoo.org/~floppym/dist/gn-0.1616.tar.xz"
MD5SUM="46910008292788151243c169e7c2e2d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ninja"
+REQUIRES=""
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
diff --git a/development/gnats/gnats.SlackBuild b/development/gnats/gnats.SlackBuild
index da9575aaa1..3a3e7ed6be 100644
--- a/development/gnats/gnats.SlackBuild
+++ b/development/gnats/gnats.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnats
-# Copyright 2012, 2015 Ebben Aries, Denver, CO, USA
+# Copyright 2012, 2015 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# 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=gnats
VERSION=${VERSION:-4.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,7 +79,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 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -79,6 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --disable-static \
--build=$ARCH-slackware-linux
make
@@ -104,4 +116,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gnats/gnats.info b/development/gnats/gnats.info
index 8451acc1df..d17e342394 100644
--- a/development/gnats/gnats.info
+++ b/development/gnats/gnats.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Ebben Aries"
-EMAIL="e@dscp.org"
+EMAIL="slackbuilds@dscp.org"
diff --git a/development/gnome-builder/README b/development/gnome-builder/README
new file mode 100644
index 0000000000..b5eb402fb3
--- /dev/null
+++ b/development/gnome-builder/README
@@ -0,0 +1,5 @@
+This tool is designed and optimized for creating applications with
+the GNOME platform. It combines integrated support for GNOME
+technologies (such as GTK and GLib), with features that any developer
+will appreciate, like syntax highlighting and snippets.
+
diff --git a/development/anjuta/doinst.sh b/development/gnome-builder/doinst.sh
index f25bed6fb6..f25bed6fb6 100644
--- a/development/anjuta/doinst.sh
+++ b/development/gnome-builder/doinst.sh
diff --git a/development/gnome-builder/gnome-builder.SlackBuild b/development/gnome-builder/gnome-builder.SlackBuild
new file mode 100644
index 0000000000..480acc39a8
--- /dev/null
+++ b/development/gnome-builder/gnome-builder.SlackBuild
@@ -0,0 +1,126 @@
+#!/bin/bash
+
+# Slackware build script for gnome-builder
+
+# Copyright 2023 Charadon US
+# All rights reserved.
+#
+# Enabled libportal build targets, simplified build option list to use
+# defaults where possible, and took over SlackBuild maintenance. Bumped
+# build number. Bob Funk, Aug 29, 2023.
+#
+# 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=gnome-builder
+VERSION=${VERSION:-42.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.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 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Ddocs=true \
+ -Dhelp=true \
+ -Dplugin_clangd=true \
+ -Dplugin_devhelp=false \
+ -Dplugin_flatpak=false \
+ -Dplugin_gvls=true \
+ -Dplugin_rls=true \
+ -Dplugin_update_manager=false \
+ -Dplugin_vagrant=true
+ "${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 COPYING AUTHORS NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/html
+rm -rf $PKG/usr/share/doc
+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/development/gnome-builder/gnome-builder.info b/development/gnome-builder/gnome-builder.info
new file mode 100644
index 0000000000..075d7e7d12
--- /dev/null
+++ b/development/gnome-builder/gnome-builder.info
@@ -0,0 +1,10 @@
+PRGNAM="gnome-builder"
+VERSION="42.1"
+HOMEPAGE="https://wiki.gnome.org/Apps/Builder"
+DOWNLOAD="https://download.gnome.org/sources/gnome-builder/42/gnome-builder-42.1.tar.xz"
+MD5SUM="eb1fdeb9ecefdebb242834ab332d8e69"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gtksourceview4 libhandy jsonrpc-glib libpeas template-glib webkit2gtk cmark libgit2-glib gspell Sphinx sphinx-rtd-theme sysprof libportal"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/development/gnome-builder/slack-desc b/development/gnome-builder/slack-desc
new file mode 100644
index 0000000000..d890c33d1e
--- /dev/null
+++ b/development/gnome-builder/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------------------------------------------------------|
+gnome-builder: gnome-builder (GNOME's integrated development environment)
+gnome-builder:
+gnome-builder: This tool is designed and optimized for creating applications with
+gnome-builder: the GNOME platform. It combines integrated support for GNOME
+gnome-builder: technologies (such as GTK and GLib), with features that any developer
+gnome-builder: will appreciate, like syntax highlighting and snippets.
+gnome-builder:
+gnome-builder:
+gnome-builder:
+gnome-builder: https://wiki.gnome.org/Apps/Builder
+gnome-builder:
diff --git a/development/gnome-common/gnome-common.SlackBuild b/development/gnome-common/gnome-common.SlackBuild
index 7d299e50e1..ec48306027 100644
--- a/development/gnome-common/gnome-common.SlackBuild
+++ b/development/gnome-common/gnome-common.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for gnome-common
#
@@ -22,18 +22,24 @@
# 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=gnome-common
VERSION=${VERSION:-3.18.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
-
set -eu
rm -rf $PKG
@@ -63,4 +69,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gnome-inform7/README b/development/gnome-inform7/README
deleted file mode 100644
index 1b54d0dc92..0000000000
--- a/development/gnome-inform7/README
+++ /dev/null
@@ -1,10 +0,0 @@
-Inform is a design system for interactive fiction based on natural
-language. It is a radical reinvention of the way interactive fiction
-is designed, guided by contemporary work in semantics and by the
-practical experience of some of the world's best known writers of IF.
-
-This includes both the "gnome-inform7" IDE and the "i7" command-line
-shell.
-
-For the dependencies, gst-plugins-bad needs to be built with libmodplug
-support.
diff --git a/development/gnome-inform7/doinst.sh b/development/gnome-inform7/doinst.sh
deleted file mode 100644
index d13dcaa004..0000000000
--- a/development/gnome-inform7/doinst.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-
-schema_install gnome-inform7.schemas
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/development/gnome-inform7/gnome-inform7.SlackBuild b/development/gnome-inform7/gnome-inform7.SlackBuild
deleted file mode 100644
index ec1e0c68ef..0000000000
--- a/development/gnome-inform7/gnome-inform7.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gnome-inform
-
-# Written by Dugan Chen (thedoogster@gmail.com)
-
-PRGNAM=gnome-inform7
-VERSION=${VERSION:-6L38}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
-
-# Install the command-line tools first.
-
-rm -rf inform7-$VERSION
-tar xfv $CWD/I7_${VERSION}_Linux_all.tar.gz
-cd inform7-$VERSION
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-sh install-inform7.sh -p $PKG/usr
-mv $PKG/usr/share/doc $PKG/usr
-
-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
-
-# Then install the GUI.
-
-rm -rf $PRGNAM-$VERSION
-tar xfv $CWD/$PRGNAM-${VERSION}.tar.gz
-cp $PKG/usr/share/inform7/Compilers/ni $PRGNAM-$VERSION/src/ni/
-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-sh autogen.sh
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --datarootdir=/usr/share \
- --docdir=/usr/doc/$PRGNAM-$VERSION/gnome-inform7 \
- --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
-
-# Move the docs from usr/share/doc to usr/doc
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/doc/inform7 $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share/doc
-
-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:-tgz}
diff --git a/development/gnome-inform7/gnome-inform7.info b/development/gnome-inform7/gnome-inform7.info
deleted file mode 100644
index 0cd6daf578..0000000000
--- a/development/gnome-inform7/gnome-inform7.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="gnome-inform7"
-VERSION="6L38"
-HOMEPAGE="http://inform7.com"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/gnome-inform7-6L38.tar.gz \
- http://inform7.com/download/content/6L38/I7_6L38_Linux_all.tar.gz"
-MD5SUM="de31f900ee9f056a4b35d8b83782315f \
- 4f956c36b30dd0f6588cc21e076c72a0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="gtksourceview goocanvas libmodplug webkitgtk gst-plugins-ugly gst-plugins-bad"
-MAINTAINER="Dugan Chen"
-EMAIL="thedoogster@gmail.com"
diff --git a/development/gnome-inform7/slack-desc b/development/gnome-inform7/slack-desc
deleted file mode 100644
index a690ab4f38..0000000000
--- a/development/gnome-inform7/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------------------------------------------------------|
-gnome-inform7: gnome-inform7 (interactive fiction authoring platform)
-gnome-inform7:
-gnome-inform7: Inform is a design system for interactive fiction based on natural
-gnome-inform7: language. It is a radical reinvention of the way interactive fiction
-gnome-inform7: is designed, guided by contemporary work in semantics and by the
-gnome-inform7: practical experience of some of the world's best known writers of SF.
-gnome-inform7:
-gnome-inform7: http://inform7.com/
-gnome-inform7:
-gnome-inform7:
-gnome-inform7:
diff --git a/development/gnome-system-monitor/README b/development/gnome-system-monitor/README
new file mode 100644
index 0000000000..f85696828e
--- /dev/null
+++ b/development/gnome-system-monitor/README
@@ -0,0 +1,7 @@
+GNOME System Monitor is a GNOME process viewer and system monitor with
+an attractive, easy-to-use interface, It has features, such as a tree
+view for process dependencies, icons for processes, the ability to hide
+processes that you don't want to see, graphical time histories of
+CPU/memory/swap usage, the ability to kill/renice processes needing
+root access, as well as the standard features that you might expect
+from a process viewer.
diff --git a/development/gnome-system-monitor/doinst.sh b/development/gnome-system-monitor/doinst.sh
new file mode 100644
index 0000000000..401d987795
--- /dev/null
+++ b/development/gnome-system-monitor/doinst.sh
@@ -0,0 +1,15 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/development/gnome-system-monitor/gnome-system-monitor.SlackBuild b/development/gnome-system-monitor/gnome-system-monitor.SlackBuild
new file mode 100644
index 0000000000..d729031136
--- /dev/null
+++ b/development/gnome-system-monitor/gnome-system-monitor.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for gnome-system-monitor
+
+# Copyright 2022 Bob Funk Winnipeg, Canada
+# 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=gnome-system-monitor
+VERSION=${VERSION:-42.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.?z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dsystemd=false
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING HACKING MAINTAINERS NEWS 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
+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/development/gnome-system-monitor/gnome-system-monitor.info b/development/gnome-system-monitor/gnome-system-monitor.info
new file mode 100644
index 0000000000..cea0b591c3
--- /dev/null
+++ b/development/gnome-system-monitor/gnome-system-monitor.info
@@ -0,0 +1,10 @@
+PRGNAM="gnome-system-monitor"
+VERSION="42.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-system-monitor"
+DOWNLOAD="https://download.gnome.org/sources/gnome-system-monitor/42/gnome-system-monitor-42.0.tar.xz"
+MD5SUM="2d9678bb4ea86b40177ac6b28152666f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libhandy"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/development/gnome-system-monitor/slack-desc b/development/gnome-system-monitor/slack-desc
new file mode 100644
index 0000000000..b1536984dc
--- /dev/null
+++ b/development/gnome-system-monitor/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------------------------------------------------------|
+gnome-system-monitor: gnome-system-monitor (GNOME System Monitor)
+gnome-system-monitor:
+gnome-system-monitor: GNOME System Monitor is a GNOME process viewer and system monitor.
+gnome-system-monitor:
+gnome-system-monitor:
+gnome-system-monitor:
+gnome-system-monitor:
+gnome-system-monitor:
+gnome-system-monitor:
+gnome-system-monitor: https://gitlab.gnome.org/GNOME/gnome-system-monitor
+gnome-system-monitor:
diff --git a/development/gnulib/gnulib.SlackBuild b/development/gnulib/gnulib.SlackBuild
index fa218fdaea..7510095d85 100644
--- a/development/gnulib/gnulib.SlackBuild
+++ b/development/gnulib/gnulib.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnulib
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -17,38 +17,26 @@
# reasons, I'm going to package this. Hopefully this saves someone else
# some work in the future.
+# 20230214 bkw: BUILD=2, make this noarch, no other changes.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnulib
VERSION=${VERSION:-20140202}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
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
@@ -99,4 +87,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gnulib/gnulib.info b/development/gnulib/gnulib.info
index 8d9a12c6a1..89c43daae4 100644
--- a/development/gnulib/gnulib.info
+++ b/development/gnulib/gnulib.info
@@ -1,10 +1,10 @@
PRGNAM="gnulib"
VERSION="20140202"
HOMEPAGE="https://www.gnu.org/software/gnulib/"
-DOWNLOAD="http://http.debian.net/debian/pool/main/g/gnulib/gnulib_20140202+stable.orig.tar.gz"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/g/gnulib/gnulib_20140202+stable.orig.tar.gz"
MD5SUM="5fc03f07046c2349449db963602b9522"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/gnuradio/README b/development/gnuradio/README
index 01547382b5..f263aa7289 100644
--- a/development/gnuradio/README
+++ b/development/gnuradio/README
@@ -9,7 +9,7 @@ research and real-world radio systems.
If you want to enable gnuradio-companion (GNU Radio Companion *GRC*
is a graphical tool for creating signal flow graphs and generating
flow-graph source code), you must install at least:
-lxml and numpy and then qwt for qtgui or wxPython for wxgui.
+python3-lxml and numpy and then qwt for qtgui or wxPython for wxgui.
Optional dependencies: uhd, cppunit, gsl, orc, jack, portaudio, SDL2,
and Sphinx (the last is to generate additional docs).
diff --git a/development/gnuradio/doinst.sh b/development/gnuradio/doinst.sh
index 19a6ff6ac8..65c7e2eeb9 100644
--- a/development/gnuradio/doinst.sh
+++ b/development/gnuradio/doinst.sh
@@ -1,13 +1,9 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/gnuradio/gnuradio.SlackBuild b/development/gnuradio/gnuradio.SlackBuild
index 0c395d8a07..619f7387f5 100644
--- a/development/gnuradio/gnuradio.SlackBuild
+++ b/development/gnuradio/gnuradio.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnuradio
# Copyright 2013 Georgi Kolev, Bulgaria
# Copyright 2015-2018 Panagiotis Nikolaou, Culver City, CA
+# Copyright 2021 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,13 @@
# 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=gnuradio
-VERSION=${VERSION:-3.7.13.2}
+VERSION=${VERSION:-3.9.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -61,7 +69,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -77,12 +85,13 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DLIB_SUFFIX=$LIBDIRSUFFIX \
-DCMAKE_MODULES_DIR=lib$LIBDIRSUFFIX/cmake/$PRGNAM \
-Wno-dev \
+ -DGR_MAN_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -92,9 +101,13 @@ 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 COPYING README.md README.hacking CHANGELOG.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING DCO.txt README.md VERSIONING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
@@ -107,4 +120,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
done )
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gnuradio/gnuradio.info b/development/gnuradio/gnuradio.info
index 0ad250abb3..e410c3340c 100644
--- a/development/gnuradio/gnuradio.info
+++ b/development/gnuradio/gnuradio.info
@@ -1,10 +1,10 @@
PRGNAM="gnuradio"
-VERSION="3.7.13.2"
+VERSION="3.9.4.0"
HOMEPAGE="https://gnuradio.org"
-DOWNLOAD="https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/gnuradio/v3.7.13.2.tar.gz"
-MD5SUM="34a81827c589823d1a0de8a45b7fd22f"
+DOWNLOAD="https://github.com/gnuradio/gnuradio/archive/v3.9.4.0/gnuradio-3.9.4.0.tar.gz"
+MD5SUM="645f402ca4a99f89466b479e45b444db"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Mako six python-cheetah"
+REQUIRES="cheetah3 pybind11 volk log4cpp python3-numpy"
MAINTAINER="Panagiotis Nikolaou"
EMAIL="hostmaster@slackonly.com"
diff --git a/development/gnustep-base/gnustep-base.SlackBuild b/development/gnustep-base/gnustep-base.SlackBuild
index e94f944f05..6947e299df 100644
--- a/development/gnustep-base/gnustep-base.SlackBuild
+++ b/development/gnustep-base/gnustep-base.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnustep-base
#
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220301 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binaries and library.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnustep-base
-VERSION=${VERSION:-1.25.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.27.0}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -65,9 +76,12 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+patch -p1 <$CWD/icu68.patch
+patch -p1 <$CWD/libxml2-2.11.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,13 +96,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
+strip $PKG/usr/bin/* $PKG/usr/lib*/*.so.*.*.*
chown -R root:root $PKG/usr/lib${LIBDIRSUFFIX}/GNUstep/Libraries
chmod -R go-w $PKG/usr/lib${LIBDIRSUFFIX}/GNUstep/Libraries
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ANNOUNCE COPYING COPYING.LIB COPYINGv3 ChangeLog INSTALL NEWS README \
+ ANNOUNCE COPYING COPYING.LIB COPYINGv3 ChangeLog NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gnustep-base/gnustep-base.info b/development/gnustep-base/gnustep-base.info
index 7858c5c43c..2025df0b15 100644
--- a/development/gnustep-base/gnustep-base.info
+++ b/development/gnustep-base/gnustep-base.info
@@ -1,8 +1,8 @@
PRGNAM="gnustep-base"
-VERSION="1.25.1"
+VERSION="1.27.0"
HOMEPAGE="http://www.gnustep.org"
-DOWNLOAD="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-1.25.1.tar.gz"
-MD5SUM="757130f80a31e9ee30d8c2b83b0c226a"
+DOWNLOAD="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-1.27.0.tar.gz"
+MD5SUM="6f1876a867d1862267a562d4cbb9ede3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gnustep-make"
diff --git a/development/gnustep-base/icu68.patch b/development/gnustep-base/icu68.patch
new file mode 100644
index 0000000000..2374d8e249
--- /dev/null
+++ b/development/gnustep-base/icu68.patch
@@ -0,0 +1,31 @@
+From 06fa7792a51cb970e5d010a393cb88eb127830d7 Mon Sep 17 00:00:00 2001
+From: Frederik Seiffert <frederik@algoriddim.com>
+Date: Thu, 12 Nov 2020 17:18:09 +0100
+Subject: [PATCH] Fix compilation with ICU 68.
+
+---
+ Source/GSICUString.h | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/Source/GSICUString.h b/Source/GSICUString.h
+index a82447a51..15c21491d 100644
+--- a/Source/GSICUString.h
++++ b/Source/GSICUString.h
+@@ -2,6 +2,17 @@
+ #import <Foundation/NSException.h>
+ #include <unicode/utext.h>
+
++/*
++ * Define TRUE/FALSE to be used with UBool parameters, as these are no longer
++ * defined in ICU as of ICU 68.
++ */
++#ifndef TRUE
++#define TRUE 1
++#endif
++#ifndef FALSE
++#define FALSE 0
++#endif
++
+ /**
+ * Initialises a UText structure with an NSString. If txt is NULL, then this
+ * allocates a new structure on the heap, otherwise it fills in the existing
diff --git a/development/gnustep-base/libxml2-2.11.patch b/development/gnustep-base/libxml2-2.11.patch
new file mode 100644
index 0000000000..519b0cf288
--- /dev/null
+++ b/development/gnustep-base/libxml2-2.11.patch
@@ -0,0 +1,27 @@
+From 37913d006d96a6bdcb963f4ca4889888dcce6094 Mon Sep 17 00:00:00 2001
+From: Frederik Seiffert <frederik@algoriddim.com>
+Date: Wed, 3 May 2023 13:49:09 +0200
+Subject: [PATCH] Fix GSXML compatibility with libxml2 v2.11.0
+
+Fixes #294.
+---
+ Source/Additions/GSXML.m | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Source/Additions/GSXML.m b/Source/Additions/GSXML.m
+index 37f509564a..01a24c5aa1 100644
+--- a/Source/Additions/GSXML.m
++++ b/Source/Additions/GSXML.m
+@@ -2671,10 +2671,12 @@ + (void) initialize
+ return NULL;
+ }
+ ret->owner = 1;
++#if LIBXML_VERSION < 21100
+ if (ret->checked == 0)
+ {
+ ret->checked = 1;
+ }
++#endif
+ }
+ }
+ }
diff --git a/development/gnustep-make/gnustep-make.SlackBuild b/development/gnustep-make/gnustep-make.SlackBuild
index 480187bc01..b6c32c237c 100644
--- a/development/gnustep-make/gnustep-make.SlackBuild
+++ b/development/gnustep-make/gnustep-make.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnustep-make
#
@@ -22,10 +22,13 @@
# 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=gnustep-make
-VERSION=${VERSION:-2.7.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.8.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -112,4 +122,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gnustep-make/gnustep-make.info b/development/gnustep-make/gnustep-make.info
index 192054bdc9..0ac041de84 100644
--- a/development/gnustep-make/gnustep-make.info
+++ b/development/gnustep-make/gnustep-make.info
@@ -1,8 +1,8 @@
PRGNAM="gnustep-make"
-VERSION="2.7.0"
+VERSION="2.8.0"
HOMEPAGE="http://www.gnustep.org"
-DOWNLOAD="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.7.0.tar.gz"
-MD5SUM="bd3981da51667df1d011f807895db65d"
+DOWNLOAD="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.8.0.tar.gz"
+MD5SUM="90f96edf0fa536c32e9155e48698317b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/gnustep-startup/README b/development/gnustep-startup/README
deleted file mode 100644
index 71077859cf..0000000000
--- a/development/gnustep-startup/README
+++ /dev/null
@@ -1,34 +0,0 @@
-GNUstep is a free, object-oriented, cross-platform development
-environment that strives for simplicity and elegance. GNUstep is
-based on and completely compatible with the OpenStep specification
-developed by NeXT (now Apple Computer Inc.) as well as implementing
-the extensions added by Apple in the form of Cocoa.
-
-The GNUstep Startup package combines all four core packages (Make, Base,
-GUI and Backend), plus ffcall.
-
-This is the message after compiling from source, because the files
-are then put in a package you will miss it:
-
----------------------------------------------------------
-
-Installation Finished
-
----------------------------------------------------------
-
-Now run the GNUstep initialization script (put this in your
-.bashrc or other type of startup script). Note the '.' at the
-beginning of the line.
-. /opt/gnustep/System/Library/Makefiles/GNUstep.sh
-
-Now you can install some applications and start using GNUstep
-Look for a few applications in the AppSources directory. The
-typical way to install an application is:
- tar -zxf MyApplication.tar.gz
- cd MyApplication
- make
- make install (as root, unless GNUstep is in your home dir)
-
-Then start the application:
- openapp MyApplication.app
----------------------------------------------------------
diff --git a/development/gnustep-startup/gnustep-startup.SlackBuild b/development/gnustep-startup/gnustep-startup.SlackBuild
deleted file mode 100644
index 0a147271ab..0000000000
--- a/development/gnustep-startup/gnustep-startup.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gnustep-startup
-
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <http://www.gnu.org/licenses/>.
-
-PRGNAM=gnustep-startup
-VERSION=${VERSION:-0.32.0}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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 {} \;
-
-# We need to patch gnustep-gui to work with giflib 5.1
-cd sources
-tar xvf gnustep-gui-0.24.0.tar.gz
-sed -i "s|DGifCloseFile(file|DGifCloseFile(file, NULL|" gnustep-gui-0.24.0/Source/NSBitmapImageRep+GIF.m
-tar czvf gnustep-gui-0.24.0.tar.gz gnustep-gui-0.24.0
-rm -rf gnustep-gui-0.24.0
-cd ..
-
-./InstallGNUstep \
- --prefix=/opt/gnustep/ \
- --batch \
- --config-options \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- --with-layout=fhs-system \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-library-combo=gnu-gnu-gnu \
- --build=$ARCH-slackware-linux
-
-mkdir -pv $PKG/opt/
-mv /opt/gnustep/ $PKG/opt/
-
-chown -R root:root $PKG/opt/gnustep/System/Library
-chmod -R go-w $PKG/opt/gnustep/System/Library
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ANNOUNCE AUTHORS COPYING ChangeLog INSTALL NEWS 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:-tgz}
diff --git a/development/gnustep-startup/gnustep-startup.info b/development/gnustep-startup/gnustep-startup.info
deleted file mode 100644
index 5dbad07442..0000000000
--- a/development/gnustep-startup/gnustep-startup.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gnustep-startup"
-VERSION="0.32.0"
-HOMEPAGE="http://www.gnustep.org"
-DOWNLOAD="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-startup-0.32.0.tar.gz"
-MD5SUM="a37a167b04a33e796aa5a9836cb7a234"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/gnustep-startup/slack-desc b/development/gnustep-startup/slack-desc
deleted file mode 100644
index 515fdd33f6..0000000000
--- a/development/gnustep-startup/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------------------------------------------------------|
-gnustep-startup: gnustep-startup (GNUstep core packages)
-gnustep-startup:
-gnustep-startup: GNUstep is a free, object-oriented, cross-platform development
-gnustep-startup: environment that strives for simplicity and elegance. GNUstep is
-gnustep-startup: based on and completely compatible with the OpenStep specification
-gnustep-startup: developed by NeXT (now Apple Computer Inc.) as well as implementing
-gnustep-startup: the extensions added by Apple in the form of Cocoa.
-gnustep-startup:
-gnustep-startup: The GNUstep Startup package, combines all four core packages
-gnustep-startup: (Make, Base, GUI and Backend).
-gnustep-startup:
diff --git a/development/gob2/gob2.SlackBuild b/development/gob2/gob2.SlackBuild
index 4ab9affcc8..952595b4d6 100644
--- a/development/gob2/gob2.SlackBuild
+++ b/development/gob2/gob2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for GOB-2
#
@@ -22,10 +22,13 @@
# 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=gob2
VERSION=${VERSION:-2.0.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/godot/README b/development/godot/README
new file mode 100644
index 0000000000..924083552c
--- /dev/null
+++ b/development/godot/README
@@ -0,0 +1,45 @@
+Godot Engine – Multi-platform 2D and 3D game engine
+
+2D and 3D cross-platform game engine
+ Godot Engine is a feature-packed, cross-platform game engine to
+create 2D and 3D games from a unified interface. It provides a
+comprehensive set of common tools, so that users can focus on making
+games without having to reinvent the wheel. Games can be exported with
+one click to a number of platforms, including the major desktop
+platforms (Linux, macOS, Windows), mobile platforms (Android, iOS), as
+well as Web-based platforms and consoles.
+
+Free, open source and community-driven
+ Godot is completely free and open source under the very permissive
+MIT license. No strings attached, no royalties, nothing. The users'
+games are theirs, down to the last line of engine code. Godot's
+development is fully independent and community-driven, empowering users
+to help shape their engine to match their expectations. It is supported
+by the Godot Foundation not-for-profit.
+ Before being open sourced in February 2014, Godot had been developed
+by Juan Linietsky and Ariel Manzur (both still maintaining the project)
+for several years as an in-house engine, used to publish several
+work-for-hire titles.
+
+Community and contributing
+ Godot is not only an engine but an ever-growing community of users
+and engine developers. The main community channels are listed on the
+homepage.
+ The best way to get in touch with the core engine developers is to
+join the Godot Contributors Chat.
+ To get started contributing to the project, see the contributing
+guide. This document also includes guidelines for reporting bugs.
+
+Documentation and demos
+ The official documentation is hosted on Read the Docs. It is
+maintained by the Godot community in its own GitHub repository.
+ The class reference is also accessible from the Godot editor.
+ We also maintain official demos in their own GitHub repository as
+well as a list of awesome Godot community resources.
+ There are also a number of other learning resources provided by the
+community, such as text and video tutorials, demos, etc. Consult the
+community channels for more information.
+
+By default, the scons build system will probe your system and use all
+available cores less one. To get around this, you may set the number of
+jobs in the MAKEFLAGS variable.
diff --git a/development/godot/doinst.sh b/development/godot/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/godot/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/godot/godot.SlackBuild b/development/godot/godot.SlackBuild
new file mode 100644
index 0000000000..9e16eeb63d
--- /dev/null
+++ b/development/godot/godot.SlackBuild
@@ -0,0 +1,212 @@
+#!/bin/bash
+
+# Slackware build script for godot
+
+# Copyright 2023-2024 Steven Voges <Oregon, USA>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=godot
+VERSION=${VERSION:-4.2.2}
+SRCVER=${SRCVERSION:-$VERSION-stable}
+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=""
+ GARCH="x86_32"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ GARCH="x86_32"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ GARCH="x86_64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+ GARCH="x86_32"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
+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 {} \;
+
+# scons can use multiple jobs. For convenience, read MAKEFLAGS from the environment, if set
+JOBS="$( echo $MAKEFLAGS | sed 's,.*-j *\([0-9][0-9]*\)*.*,\1,' )"
+# or if no MAKEFLAGS, use the number of cores minus 1
+JOBS="${JOBS:-$(( $( nproc ) - 1 ))}"
+# or 1, if we really have one core
+[ "$JOBS" = "0" ] && JOBS=1
+
+export BUILD_NAME=SBo
+# Configuration options taken from:
+# https://github.com/godotengine/godot/blob/master/SConstruct
+scons -j$JOBS \
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+
+ platform=linuxbsd \
+ target=editor \
+ arch=$GARCH \
+ dev_build=no \
+ optimize=none \
+ debug_symbols=no \
+ separate_debug_symbols=no \
+ lto=none \
+ production=yes \
+ generate_apk=no \
+
+ depreciated=yes \
+ precision=single \
+ minizip=yes \
+ brotli=yes \
+ xaudio2=no \
+ vulkan=yes \
+ opengl3=yes \
+ d3d12=no \
+ openxr=yes \
+ use_volk=yes \
+ disable_exceptions=yes \
+ custom_modules="" \
+ custom_madules_recursive=yes \
+
+ dev_mode=no \
+ tests=no \
+ fast_unsafe=no \
+ compiledb=no \
+ verbose=no \
+ progress=yes \
+ warnings=all \
+ werror=no \
+ extra_suffix="" \
+ object_prefix="" \
+ vsproj=no \
+ vsproj_name=godot \
+ import_env_vars="" \
+ disable_3d=no \
+ disable_advanced_gui=no \
+ build_profile="" \
+ modules_enabled_by_default=yes \
+ no_editor_splash=yes \
+ system_certs_path=/etc/ssl/certs/ca-certificates.crt \
+ use_precise_math_checks=no \
+ scu_build=no \
+ scu_limit=0 \
+
+ builtin_brotli=no \
+ builtin_certs=no \
+ builtin_clipper2=yes \
+ builtin_embree=yes \
+ builtin_enet=yes \
+ builtin_freetype=no \
+ builtin_msdfgen=yes \
+ builtin_glslang=no \
+ builtin_graphite=no \
+ builtin_harfbuzz=no \
+ builtin_icu4c=no \
+ builtin_libogg=no \
+ builtin_libpng=no \
+ builtin_libtheora=no \
+ builtin_libvorbis=no \
+ builtin_libwebp=no \
+ builtin_wslay=yes \
+ builtin_mbedtls=yes \
+ builtin_miniupnpc=yes \
+ builtin_openxr=yes \
+ builtin_pcre2=no \
+ builtin_pcre2_with_jit=no \
+ builtin_recastnavigation=yes \
+ builtin_rvo2_2d=yes \
+ builtin_rvo2_3d=yes \
+ builtin_squish=yes \
+ builtin_xatlas=yes \
+ builtin_zlib=no \
+ builtin_zstd=no \
+
+ use_llvm=no \
+ colored=yes \
+ pulseaudio=yes
+
+install -Dvm0755 bin/${PRGNAM}.linuxbsd.editor.$GARCH $PKG/usr/bin/$PRGNAM
+install -Dvm0644 misc/dist/linux/${PRGNAM}.6 $PKG/usr/man/man6/${PRGNAM}.6
+install -Dvm0644 misc/dist/linux/org.godotengine.Godot.desktop $PKG/usr/share/applications/org.godotengine.godot.desktop
+install -Dvm0644 misc/dist/linux/org.godotengine.Godot.xml $PKG/usr/share/mime/application/org.godotengine.godot.xml
+install -Dvm0644 misc/dist/linux/org.godotengine.Godot.appdata.xml $PKG/usr/share/appdata/org.godotengine.godot.appdata.xml
+install -Dvm0644 icon.svg $PKG/usr/share/icons/hicolor/scalable/apps/${PRGNAM}.svg
+install -Dvm0644 icon_outlined.svg $PKG/usr/share/icons/hicolor/scalable/apps/${PRGNAM}_outlined.svg
+install -Dvm0644 logo.svg $PKG/usr/share/icons/hicolor/scalable/apps/${PRGNAM}_logo.svg
+install -Dvm0644 logo_outlined.svg $PKG/usr/share/icons/hicolor/scalable/apps/${PRGNAM}_logo_outlined.svg
+install -Dvm0644 misc/dist/document_icons/gdscript.svg $PKG/usr/share/icons/hicolor/scalable/mimetypes/x-godot-gdscript.svg
+install -Dvm0644 misc/dist/document_icons/project.svg $PKG/usr/share/icons/hicolor/scalable/mimetypes/x-godot-project.svg
+install -Dvm0644 misc/dist/document_icons/resource.svg $PKG/usr/share/icons/hicolor/scalable/mimetypes/x-godot-resource.svg
+install -Dvm0644 misc/dist/document_icons/scene.svg $PKG/usr/share/icons/hicolor/scalable/mimetypes/x-godot-scene.svg
+install -Dvm0644 misc/dist/document_icons/shader.svg $PKG/usr/share/icons/hicolor/scalable/mimetypes/x-godot-shader.svg
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.md *.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
+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/development/godot/godot.info b/development/godot/godot.info
new file mode 100644
index 0000000000..153139498e
--- /dev/null
+++ b/development/godot/godot.info
@@ -0,0 +1,10 @@
+PRGNAM="godot"
+VERSION="4.2.2"
+HOMEPAGE="https://godotengine.org"
+DOWNLOAD="https://github.com/godotengine/godot/archive/4.2.2-stable/godot-4.2.2-stable.tar.gz"
+MD5SUM="6ab0937dd74b468cab3c3ec5db3a4eb0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/development/godot/slack-desc b/development/godot/slack-desc
new file mode 100644
index 0000000000..c4214fb84c
--- /dev/null
+++ b/development/godot/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------------------------------------------------------|
+godot: godot (2D and 3D game engine)
+godot:
+godot: Godot Engine is a feature-packed, cross-platform game engine to
+godot: create 2D and 3D games from a unified interface.
+godot:
+godot: Homepage: https://godotengine.org
+godot:
+godot:
+godot:
+godot:
+godot:
diff --git a/development/goland/README b/development/goland/README
new file mode 100644
index 0000000000..1cabc39a3c
--- /dev/null
+++ b/development/goland/README
@@ -0,0 +1,4 @@
+GoLand is an IDE by JetBrains aimed at providing an ergonomic
+environment for Go development.
+
+GoLand is a cross-platform IDE built specially for Go developers
diff --git a/development/atom/doinst.sh b/development/goland/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/development/atom/doinst.sh
+++ b/development/goland/doinst.sh
diff --git a/development/goland/goland.SlackBuild b/development/goland/goland.SlackBuild
new file mode 100644
index 0000000000..3a7f5acf3d
--- /dev/null
+++ b/development/goland/goland.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+#
+# Slackware build script for GoLand
+# Written by Joielechong (juansspy@gmail.com)
+# This script is just a binary repackaging.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=goland
+ARCNAM=goland
+VERSION=${VERSION:-2023.1.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=${ARCH:-x86_64}
+
+# 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/opt/ $OUTPUT
+cd $PKG/opt/
+tar xvf $CWD/$ARCNAM-$VERSION.tar.*z
+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 {} \;
+
+mv * $PRGNAM
+
+mkdir -p $PKG/usr/share/applications
+cat << EOF > $PKG/usr/share/applications/$PRGNAM.desktop
+[Desktop Entry]
+Version=1.0
+Type=Application
+Path=/opt/$PRGNAM
+Exec=/opt/$PRGNAM/bin/$PRGNAM.sh %f
+Name=GoLand: A Clever IDE to Go by JetBrains
+GenericName=GoLand
+Comment=
+Icon=$PRGNAM
+StartupNotify=true
+Categories=Development;IDE;
+Terminal=false
+EOF
+
+install -D -m 0644 $PKG/opt/$PRGNAM/bin/$PRGNAM.png \
+ $PKG/usr/share/pixmaps/$PRGNAM.png
+
+mkdir -p $PKG/usr/bin
+cat << EOF > $PKG/usr/bin/$PRGNAM
+#!/bin/sh
+cd \$HOME
+/opt/$PRGNAM/bin/$PRGNAM.sh \$@
+EOF
+chmod 0755 $PKG/usr/bin/$PRGNAM
+
+mkdir -p $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
+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/development/goland/goland.info b/development/goland/goland.info
new file mode 100644
index 0000000000..597519f1ef
--- /dev/null
+++ b/development/goland/goland.info
@@ -0,0 +1,10 @@
+PRGNAM="goland"
+VERSION="2023.1.3"
+HOMEPAGE="https://www.jetbrains.com/go/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download-cdn.jetbrains.com/go/goland-2023.1.3.tar.gz"
+MD5SUM_x86_64="d510fc0586b28fc3c4d3a9179910415e"
+REQUIRES=""
+MAINTAINER="Joielechong"
+EMAIL="juansspy@gmail.com"
diff --git a/development/goland/slack-desc b/development/goland/slack-desc
new file mode 100644
index 0000000000..a51ffd942d
--- /dev/null
+++ b/development/goland/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------------------------------------------------------|
+goland: goland (Development IDE)
+goland:
+goland: A Go IDE with extended support for JavaScript, TypeScript, and
+goland: databases.
+goland: GoLand is a cross-platform IDE built specially for Go developers
+goland: GoLand is an IDE by JetBrains aimed at providing an ergonomic
+goland: environment for Go development.
+goland:
+goland:
+goland:
+goland:
diff --git a/development/golang-googlecode-gonet/golang-googlecode-gonet.SlackBuild b/development/golang-googlecode-gonet/golang-googlecode-gonet.SlackBuild
index 7964e4345b..429064cd8a 100644
--- a/development/golang-googlecode-gonet/golang-googlecode-gonet.SlackBuild
+++ b/development/golang-googlecode-gonet/golang-googlecode-gonet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for golang-googlecode-gonet
@@ -22,26 +22,36 @@
# 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=golang-googlecode-gonet
VERSION=${VERSION:-98}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -88,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/golang-googlecode-gotools/README b/development/golang-googlecode-gotools/README
index 555d3340ec..b7bc04efde 100644
--- a/development/golang-googlecode-gotools/README
+++ b/development/golang-googlecode-gotools/README
@@ -6,3 +6,16 @@ language. Like godoc, a code vetting analysis utility and others.
This also provides the import path of code.google.com/p/go.tools for
the Go programming language. These libraries are source only. To
compile using the libraries, include "/usr/share/gocode" in your GOPATH
+
+This package currently builds a historic version of tools from when
+they were removed from the core golang repo.
+
+Users may wish to install updated commands, like:
+```
+go get -u golang.org/x/tools/godoc
+```
+
+or in future golang versions (>= go1.17):
+```
+go install golang.org/x/tools/gopls@latest
+```
diff --git a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
index 980b62a604..6bde6ae5a1 100644
--- a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
+++ b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for golang-googlecode-gotools
@@ -22,26 +22,36 @@
# 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=golang-googlecode-gotools
VERSION=${VERSION:-588451}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,6 +90,7 @@ cp -a . ${PKG}/usr/share/gocode/src/${IMPORT_PATH}
export GOPATH=${PKG}/usr/share/gocode:/usr/share/gocode
export GOBIN=${PKG}/usr/bin
+export GO111MODULE="off"
for cmd in godoc cover vet oracle gotype html2article ; do
cd ./cmd/${cmd}/
go build -a -x -o ${GOBIN}/${cmd} .
@@ -97,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/golang-googlecode-gotools/golang-googlecode-gotools.info b/development/golang-googlecode-gotools/golang-googlecode-gotools.info
index 077078b1cc..3ec42e3d5c 100644
--- a/development/golang-googlecode-gotools/golang-googlecode-gotools.info
+++ b/development/golang-googlecode-gotools/golang-googlecode-gotools.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://www.hashbangbash.com/downloads/src/go.tools-588451.tar.gz"
MD5SUM="ea081c8c0f786c9110e94514556ed931"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="google-go-lang golang-googlecode-gonet"
+REQUIRES="golang-googlecode-gonet"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
diff --git a/development/google-appengine-gosdk/README b/development/google-appengine-gosdk/README
deleted file mode 100644
index 205d62aa80..0000000000
--- a/development/google-appengine-gosdk/README
+++ /dev/null
@@ -1,52 +0,0 @@
-Google App Engine Go Language SDK
-
-The Go SDK's includes a web server application that simulates the
-AppEngine environment, including a local version of the datastore,
-Google Accounts, and the ability to fetch URLs and send email directly
-from your computer using the App Engine APIs. The Go SDK uses slightly
-modified versions of the development tools from the Python SDK, and
-will run on any Intel-based Mac OS X or Linux computer with Python
-2.5.
-
-Homepage: http://code.google.com/appengine
-
-Alternate download site: http://code.google.com/p/googleappengine
-
-NOTE: There are some minor limitations to the Go SDK for
-App Engine vs the full blown Go Language SDK, but for
-most part this package can be used to develop and compile
-stand-alone Go programs as well. See The Go Programming
-Language Blog, Tuesday, May 10, 2011, Go and Google Appengine at
-http://blog.golang.org/2011/05/go-and-google-app-engine.html for more
-details.
-
-WARNING: This SlackBuild puts the Google Appengine Go SDK tools onto
-your PATH using the script gae.sh (or gae.csh) in /etc/profile.d that
-is sourced by /etc/profile (or /etc/csh.login). If you also install
-the Google Appengine Python SDK then the gae.sh (and gae.csh) scripts
-will clash and you'll be left with a gae.sh.new (and gae.csh.new) file
-in /etc/profile.d.
-
-THIS IS INTENTIONAL!!!
-
-This is because Google's Go and Python SDK's for Appengine contain
-Python scripts with the same names that are different: you cannot use,
-for example, the appcfg.py or dev_appserver.py from one SDK on apps
-written with the other SDK!
-
-It is up to you to sort out this mess and decide which - if any -
-SDK's tools you want on the PATH and which you'll call with the
-full path. I had written some wrapper scripts (inspired by Google's
-own gomake script) that work around this issue; but I felt this
-solution was more appropriate for Slackware and absolved me of the
-responsability of untangling Google's mess!
-
-AND ANOTHER WARNING: If you also install the Google Go language
-SlackBuild you'll have another clash since the Appengine Go SDK
-contains a subset of the Go language SDK; it has some of the same
-tools and relies on the same environment variables (in particular
-GOROOT). So you need decide if you want to keep the Go Appengine
-on your PATH or the Go Language (via /etc/profile.d/go.sh and
-/etc/profile.d/go.csh).
-
-Sorry, but I don't write 'em - I just build 'em!
diff --git a/development/google-appengine-gosdk/doinst.sh b/development/google-appengine-gosdk/doinst.sh
deleted file mode 100644
index 9535a57a0f..0000000000
--- a/development/google-appengine-gosdk/doinst.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/profile.d/gae.csh.new
-config etc/profile.d/gae.sh.new
-config etc/profile.d/go.csh.new
-config etc/profile.d/go.sh.new
diff --git a/development/google-appengine-gosdk/gae.csh b/development/google-appengine-gosdk/gae.csh
deleted file mode 100644
index fda9ecddcc..0000000000
--- a/development/google-appengine-gosdk/gae.csh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/csh
-setenv GAEBIN /opt/google/appengine-gosdk
-setenv PATH ${PATH}:${GAEROOT}
diff --git a/development/google-appengine-gosdk/gae.sh b/development/google-appengine-gosdk/gae.sh
deleted file mode 100644
index 6f06a45bdc..0000000000
--- a/development/google-appengine-gosdk/gae.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/csh
-export GAEBIN=/opt/google/appengine-gosdk
-export PATH=${PATH}:${GAEROOT}
diff --git a/development/google-appengine-gosdk/go.csh b/development/google-appengine-gosdk/go.csh
deleted file mode 100644
index 42de433748..0000000000
--- a/development/google-appengine-gosdk/go.csh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/csh
-setenv GOROOT /opt/google/appengine-gosdk/goroot
-setenv PATH ${PATH}:${GOROOT}/bin
diff --git a/development/google-appengine-gosdk/go.sh b/development/google-appengine-gosdk/go.sh
deleted file mode 100644
index fb5fc62cd4..0000000000
--- a/development/google-appengine-gosdk/go.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-export GOROOT=/opt/google/appengine-gosdk/goroot
-export PATH="${PATH}:${GOROOT}/bin"
diff --git a/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild b/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild
deleted file mode 100644
index 546fc867b1..0000000000
--- a/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-# Slackware build script for google-appengine-gosdk
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-#
-# Copyright (c) 2011 Eric Schultz
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of
-# this software and associated documentation files (the "Software"), to deal in
-# the Software without restriction, including without limitation the rights to
-# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-# the Software, and to permit persons to whom the Software is furnished to do so,
-# subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-# SOFTWARE.
-
-# Written by Eric Schultz eric at schultzter dot ca
-
-PRGNAM=google-appengine-gosdk
-VERSION=${VERSION:-1.9.27}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-case "$( uname -m )" in
- i?86) ARCH="i386" ; GARCH="386" ;;
- x86_64) ARCH="x86_64"; GARCH="amd64" ;;
- *) echo "Package for $(uname -m) architecture is not available." ; exit 1;;
-esac
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG/opt/google $OUTPUT
-cd $PKG/opt/google
-unzip $CWD/go_appengine_sdk_linux_$GARCH-$VERSION.zip
-mv go_appengine appengine-gosdk
-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 {} \;
-
-# Put the profile scripts for setting PATH and env variables
-mkdir -p $PKG/etc/profile.d
-install -m0755 -oroot $CWD/gae.csh $PKG/etc/profile.d/gae.csh.new
-install -m0755 -oroot $CWD/gae.sh $PKG/etc/profile.d/gae.sh.new
-install -m0755 -oroot $CWD/go.csh $PKG/etc/profile.d/go.csh.new
-install -m0755 -oroot $CWD/go.sh $PKG/etc/profile.d/go.sh.new
-
-cd appengine-gosdk
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- BUGS LICENSE RELEASE_NOTES VERSION \
- $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
-cp $CWD/doinst.sh $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/google-appengine-gosdk/google-appengine-gosdk.info b/development/google-appengine-gosdk/google-appengine-gosdk.info
deleted file mode 100644
index c977d394b8..0000000000
--- a/development/google-appengine-gosdk/google-appengine-gosdk.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="google-appengine-gosdk"
-VERSION="1.9.27"
-HOMEPAGE="https://cloud.google.com/appengine/docs"
-DOWNLOAD="https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_386-1.9.27.zip"
-MD5SUM="3b99f5e77f037702a6f84b7499b40500"
-DOWNLOAD_x86_64="https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.27.zip"
-MD5SUM_x86_64="302c712f403f2e00b7d6ff2d6ed6b2cf"
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/google-appengine-gosdk/slack-desc b/development/google-appengine-gosdk/slack-desc
deleted file mode 100644
index 5bdaa46af0..0000000000
--- a/development/google-appengine-gosdk/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------------------------------------------------------|
-google-appengine-gosdk: google-appengine-gosdk (Google Appengine Go SDK)
-google-appengine-gosdk:
-google-appengine-gosdk: The Go SDK's includes a web server application that simulates
-google-appengine-gosdk: the AppEngine environment, including a local version of the
-google-appengine-gosdk: datastore, Google Accounts, and the ability to fetch URLs and
-google-appengine-gosdk: send email directly from your computer using the App Engine APIs.
-google-appengine-gosdk: The Go SDK uses slightly modified versions of the development tools
-google-appengine-gosdk: from the Python SDK, and will run on any Intel-based Mac OS X or
-google-appengine-gosdk: Linux computer with Python 2.5.
-google-appengine-gosdk:
-google-appengine-gosdk: https://cloud.google.com/appengine/docs
diff --git a/development/google-appengine-pysdk/README b/development/google-appengine-pysdk/README
deleted file mode 100644
index 846052cbd4..0000000000
--- a/development/google-appengine-pysdk/README
+++ /dev/null
@@ -1,9 +0,0 @@
-google-appengine-pysdk (Google Appengine Python SDK)
-
-The Python SDK includes a web server application that simulates the
-App Engine environment, including a local version of the datastore,
-Google Accounts, and the ability to fetch URLs and send email directly
-from your computer using the App Engine APIs. The Python SDK runs on
-any computer with Python 2.5 or 2.7, and versions are available for
-Windows, Mac OS X and Linux. (The Python SDK is not compatible with
-Python 3).
diff --git a/development/google-appengine-pysdk/doinst.sh b/development/google-appengine-pysdk/doinst.sh
deleted file mode 100644
index 9b88bcf5bc..0000000000
--- a/development/google-appengine-pysdk/doinst.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/profile.d/gae.csh.new
-config etc/profile.d/gae.sh.new
diff --git a/development/google-appengine-pysdk/gae.csh b/development/google-appengine-pysdk/gae.csh
deleted file mode 100644
index b020ae36cb..0000000000
--- a/development/google-appengine-pysdk/gae.csh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/csh
-setenv GAEBIN /opt/google/appengine-pysdk
-setenv PATH ${PATH}:${GAEROOT}
diff --git a/development/google-appengine-pysdk/gae.sh b/development/google-appengine-pysdk/gae.sh
deleted file mode 100644
index 09ec2601cc..0000000000
--- a/development/google-appengine-pysdk/gae.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-export GAEROOT=/opt/google/appengine-pysdk
-export PATH="${PATH}:${GAEROOT}"
diff --git a/development/google-appengine-pysdk/google-appengine-pysdk.SlackBuild b/development/google-appengine-pysdk/google-appengine-pysdk.SlackBuild
deleted file mode 100644
index 7a33121b07..0000000000
--- a/development/google-appengine-pysdk/google-appengine-pysdk.SlackBuild
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-# Slackware build script for google-appengine-gosdk
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-#
-# Copyright (c) 2011 Eric Schultz
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of
-# this software and associated documentation files (the "Software"), to deal in
-# the Software without restriction, including without limitation the rights to
-# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-# the Software, and to permit persons to whom the Software is furnished to do so,
-# subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-# SOFTWARE.
-
-# Written by Eric Schultz eric at schultzter dot ca
-
-PRGNAM=google-appengine-pysdk
-VERSION=${VERSION:-1.9.27}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG/opt/google $OUTPUT
-cd $PKG/opt/google
-unzip $CWD/google_appengine_$VERSION.zip
-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 {} \;
-
-# Rename to remove redundancy
-mv google_appengine appengine-pysdk
-
-# Put the profile scripts for setting PATH and env variables
-mkdir -p $PKG/etc/profile.d
-install -m0755 -oroot $CWD/gae.csh $PKG/etc/profile.d/gae.csh.new
-install -m0755 -oroot $CWD/gae.sh $PKG/etc/profile.d/gae.sh.new
-
-cd appengine-pysdk
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- BUGS LICENSE README RELEASE_NOTES VERSION \
- $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
-cp $CWD/doinst.sh $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/google-appengine-pysdk/google-appengine-pysdk.info b/development/google-appengine-pysdk/google-appengine-pysdk.info
deleted file mode 100644
index 9db1d84702..0000000000
--- a/development/google-appengine-pysdk/google-appengine-pysdk.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="google-appengine-pysdk"
-VERSION="1.9.27"
-HOMEPAGE="https://cloud.google.com/appengine/"
-DOWNLOAD="https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.27.zip"
-MD5SUM="9f32e5485d5254d5dc36c0f3bf16bd95"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/google-appengine-pysdk/slack-desc b/development/google-appengine-pysdk/slack-desc
deleted file mode 100644
index f122ae2e36..0000000000
--- a/development/google-appengine-pysdk/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------------------------------------------------------|
-google-appengine-pysdk: google-appengine-pysdk (Google Appengine Python SDK)
-google-appengine-pysdk:
-google-appengine-pysdk: The Python SDK includes a web server application that simulates the
-google-appengine-pysdk: App Engine environment, including a local version of the datastore,
-google-appengine-pysdk: Google Accounts, and the ability to fetch URLs and send email
-google-appengine-pysdk: directly from your computer using the App Engine APIs. The Python
-google-appengine-pysdk: SDK runs on any computer with Python 2.5 or 2.7, and versions are
-google-appengine-pysdk: available for Windows, Mac OS X and Linux. (The Python SDK is not
-google-appengine-pysdk: compatible with Python 3).
-google-appengine-pysdk:
-google-appengine-pysdk: https://cloud.google.com/appengine/
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild
index 53303f2a53..9c9cf6a5d9 100644
--- a/development/google-go-lang/google-go-lang.SlackBuild
+++ b/development/google-go-lang/google-go-lang.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for google-go-lang
@@ -26,10 +26,15 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=google-go-lang
-VERSION=${VERSION:-1.13.10}
+VERSION=${VERSION:-1.22.1}
+BOOTSTRAP_VERSION=${BOOTSTRAP_VERSION:-1.19.13}
+BOOTSTRAP_VERSION2=${BOOTSTRAP_VERSION2:-1.21.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
RELEASE=${RELEASE:-linux}
@@ -52,13 +57,20 @@ elif [ "$ARCH" = "x86_64" ]; then
elif [ "$ARCH" = "arm" ]; then
LIBDIRSUFFIX=""
GOARCH="arm"
- export GOARM="6" # can be '5' as well, to use soft float instead of hardware
+ export GOARM="7" # can be '5' as well, to use soft float instead of hard float
+elif [ "$ARCH" = "aarch64" ]; then
+ LIBDIRSUFFIX="64"
+ GOARCH="arm64"
else
LIBDIRSUFFIX=""
GOARCH=386
fi
-CWD=$(pwd)
+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}
@@ -66,7 +78,138 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/lib${LIBDIRSUFFIX}/go${VERSION} $OUTPUT
+
+CGO_MINOR_VERSION="$(/usr/bin/go version | awk '{ print $3 }' | sed 's/go//' | awk -F. '{ print $2 }')"
+if [[ $CGO_MINOR_VERSION -lt 18 ]] ; then
+ mkdir -p $TMP $PKG/usr/lib${LIBDIRSUFFIX}/go${BOOTSTRAP_VERSION} $OUTPUT
+ cd $PKG/usr/lib${LIBDIRSUFFIX}/go${BOOTSTRAP_VERSION}
+ tar xvf $CWD/go${BOOTSTRAP_VERSION}.src.tar.gz
+ cd go
+ 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 {} \;
+
+ # as of >= go1.5, the cross-compiler does not need to be bootstrap, so the
+ # compiler need only be compiled for the host OS, which it detects
+ unset GOBIN GOPATH GOOS GOARCH
+
+ # Not sure why, but this causes run.bash to fail --rworkman
+ unset BASH_ENV
+
+ # gcc 5+ is go1.4 API, so we'll bootstrap with it
+ export GOROOT_BOOTSTRAP="/usr"
+
+ # Default GOROOT is the parent directory of all.bash,
+ # which is the current directory we're in.
+ # Defining it here means we can use it below when building
+ # shared libraries
+ GOROOT="$(pwd)"
+ export GOROOT
+
+ # The value of GOROOT once the package is installed
+ export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go${BOOTSTRAP_VERSION}/go"
+
+ case "$ARCH" in
+ arm|i?86) export GOMAXPROCS=1 ;;
+ esac
+
+ cd src
+
+ if [[ "${RUN_TEST}" = "true" ]] ; then
+ LC_ALL=C \
+ ./all.bash
+ else
+ LC_ALL=C \
+ ./make.bash
+ fi
+
+ # As of go1.5, golang supports shared libraries, so generate them for use.
+ $GOROOT/bin/go install -buildmode=shared std
+
+ cd ..
+
+ # remove Go build cache
+ rm -rf pkg/obj/go-build/*
+
+ # remove the doc Makefile
+ rm -f doc/Makefile
+
+ mkdir -p $PKG$GOROOT_FINAL
+fi
+
+if [[ $CGO_MINOR_VERSION -lt 20 ]] ; then
+ mkdir -p $TMP $PKG/usr/lib${LIBDIRSUFFIX}/go${BOOTSTRAP_VERSION2} $OUTPUT
+ cd $PKG/usr/lib${LIBDIRSUFFIX}/go${BOOTSTRAP_VERSION2}
+ tar xvf $CWD/go${BOOTSTRAP_VERSION2}.src.tar.gz
+ cd go
+ 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 {} \;
+
+ # as of >= go1.5, the cross-compiler does not need to be bootstrap, so the
+ # compiler need only be compiled for the host OS, which it detects
+ unset GOBIN GOPATH GOOS GOARCH
+
+ # Not sure why, but this causes run.bash to fail --rworkman
+ unset BASH_ENV
+
+ # gcc 5+ is go1.4 API, so we'll bootstrap with it
+ if [[ $CGO_MINOR_VERSION -lt 18 ]] ; then
+ export GOROOT_BOOTSTRAP="$PKG/usr/lib${LIBDIRSUFFIX}/go${BOOTSTRAP_VERSION}/go"
+ else
+ export GOROOT_BOOTSTRAP="/usr"
+ fi
+
+ # Default GOROOT is the parent directory of all.bash,
+ # which is the current directory we're in.
+ # Defining it here means we can use it below when building
+ # shared libraries
+ GOROOT="$(pwd)"
+ export GOROOT
+
+ # The value of GOROOT once the package is installed
+ export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go${BOOTSTRAP_VERSION2}/go"
+
+ case "$ARCH" in
+ arm|i?86) export GOMAXPROCS=1 ;;
+ esac
+
+ cd src
+
+ if [[ "${RUN_TEST}" = "true" ]] ; then
+ LC_ALL=C \
+ ./all.bash
+ else
+ LC_ALL=C \
+ ./make.bash
+ fi
+
+ # As of go1.5, golang supports shared libraries, so generate them for use.
+ $GOROOT/bin/go install -buildmode=shared std
+
+ cd ..
+
+ # remove Go build cache
+ rm -rf pkg/obj/go-build/*
+
+ # remove the doc Makefile
+ rm -f doc/Makefile
+
+ mkdir -p $PKG$GOROOT_FINAL
+fi
+
+# remove bootstrap
+if [[ $CGO_MINOR_VERSION -lt 18 ]] ; then
+ rm -rf $PKG/usr/lib$LIBDIRSUFFIX/go$BOOTSTRAP_VERSION
+fi
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/go${VERSION} $OUTPUT
cd $PKG/usr/lib${LIBDIRSUFFIX}/go${VERSION}
tar xvf $CWD/go${VERSION}.src.tar.gz
cd go
@@ -80,27 +223,67 @@ find -L . \
# as of >= go1.5, the cross-compiler does not need to be bootstrap, so the
# compiler need only be compiled for the host OS, which it detects
unset GOBIN GOPATH GOOS GOARCH
-unset BASH_ENV # Not sure why, but this causes run.bash to fail --rworkman
-export GOROOT_BOOTSTRAP="/usr" # gcc 5+ is go1.4 API, so we'll bootstrap with it
-export GOROOT="$(pwd)"
+# Not sure why, but this causes run.bash to fail --rworkman
+unset BASH_ENV
+
+# gcc 5+ is go1.4 API, so we'll bootstrap with it
+if [[ $CGO_MINOR_VERSION -lt 20 ]] ; then
+ export GOROOT_BOOTSTRAP="$PKG/usr/lib${LIBDIRSUFFIX}/go${BOOTSTRAP_VERSION2}/go"
+else
+ export GOROOT_BOOTSTRAP="/usr"
+fi
+
+# Default GOROOT is the parent directory of all.bash,
+# which is the current directory we're in.
+# Defining it here means we can use it below when building
+# shared libraries
+GOROOT="$(pwd)"
+export GOROOT
+
+# The value of GOROOT once the package is installed
export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go${VERSION}/go"
+case "$ARCH" in
+ arm|i?86) export GOMAXPROCS=1 ;;
+esac
+
cd src
-if [ "x${RUN_TEST}" = "xtrue" ] ; then
- LC_ALL=C \
- ./all.bash
+if [[ "${RUN_TEST}" = "true" ]] ; then
+ LC_ALL=C \
+ ./all.bash
else
- LC_ALL=C \
- ./make.bash
+ LC_ALL=C \
+ ./make.bash
fi
# As of go1.5, golang supports shared libraries, so generate them for use.
$GOROOT/bin/go install -buildmode=shared std
+find $PKG/$GOROOT_FINAL -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/$GOROOT_FINAL -type f -name "*.so" -exec chmod +x {} \; 2> /dev/null || true
+
cd ..
+# remove Go build cache
+rm -rf pkg/obj/go-build/*
+
+# remove the doc Makefile
+rm -f doc/Makefile
+
+# remove tests, nothing needs these at runtime
+find $PKG/$GOROOT_FINAL/src -type d -name "testdata" -exec rm -rf {} +
+find $PKG/$GOROOT_FINAL/src -type f -name "*_test.go" -exec rm -rf {} +
+
+mkdir -p $PKG$GOROOT_FINAL
+
+# remove bootstrap
+if [[ $CGO_MINOR_VERSION -lt 20 ]] ; then
+ rm -rf $PKG/usr/lib$LIBDIRSUFFIX/go$BOOTSTRAP_VERSION2
+fi
+
# Put the profile scripts for setting PATH and env variables
mkdir -p $PKG/etc/profile.d
cat > $PKG/etc/profile.d/go.csh << EOF
@@ -119,7 +302,7 @@ chmod 0755 $PKG/etc/profile.d/go.sh
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS README.md VERSION \
+ CONTRIBUTING.md LICENSE PATENTS README.md SECURITY.md VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -127,4 +310,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/google-go-lang/google-go-lang.info b/development/google-go-lang/google-go-lang.info
index 624ace179a..b66c52bb27 100644
--- a/development/google-go-lang/google-go-lang.info
+++ b/development/google-go-lang/google-go-lang.info
@@ -1,8 +1,12 @@
PRGNAM="google-go-lang"
-VERSION="1.13.10"
+VERSION="1.22.1"
HOMEPAGE="http://golang.org"
-DOWNLOAD="https://storage.googleapis.com/golang/go1.13.10.src.tar.gz"
-MD5SUM="a46b8e0f749dccd262cc5c309eb6eacf"
+DOWNLOAD="https://storage.googleapis.com/golang/go1.22.1.src.tar.gz \
+ https://storage.googleapis.com/golang/go1.21.8.src.tar.gz \
+ https://storage.googleapis.com/golang/go1.19.13.src.tar.gz"
+MD5SUM="da1a44807b86836323ed475d81ddee8a \
+ 02711c04f9fbe4087ab54805458a2a9d \
+ 6d3625cac26503932002b98eae2d0001"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/google-webdesigner/README b/development/google-webdesigner/README
deleted file mode 100644
index ea2e700790..0000000000
--- a/development/google-webdesigner/README
+++ /dev/null
@@ -1,16 +0,0 @@
-Google Web Designer is an advanced web application built with HTML5
-which lets you design and build HTML5 advertisements and other web
-content using an integrated visual and code interface.
-
-Google Web Designer requires an internet connection to run
-the first time after installation.
-
-Note:
-Google updates the package without changing the download
-link location and they don't use version numbering in the filename
-(the version is more an internal numbering).
-
-Therefore, this script is subject to failing (and a different MD5SUM)
-at any time due to the fact that you might get a newer version
-of Google Web Designer than what the script is designed to use.
-Please notify the maintainer if this is the case.
diff --git a/development/google-webdesigner/doinst.sh b/development/google-webdesigner/doinst.sh
deleted file mode 100644
index dd240ff2ae..0000000000
--- a/development/google-webdesigner/doinst.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
-fi
diff --git a/development/google-webdesigner/google-webdesigner.SlackBuild b/development/google-webdesigner/google-webdesigner.SlackBuild
deleted file mode 100644
index f60f6d228a..0000000000
--- a/development/google-webdesigner/google-webdesigner.SlackBuild
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for google-webdesigner
-
-# Copyright 2014-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# 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.
-
-PRGNAM=google-webdesigner
-VERSION=${VERSION:-8.0.3.0603}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-ARCH=x86_64
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# No flags/configure needed as it is just a binary repackaging.
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-ar p $CWD/google-webdesigner_current_amd64.deb data.tar.xz | tar xJv
-cd $PKG
-chown -R root:root .
-find . -type d -exec chmod 0755 {} \;
-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/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/google-webdesigner/* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -rf $PKG/usr/share/doc
-
-# Clean up cruft/unneeded directories.The cron job in /etc is for Debian/Ubuntu only:
-rm -rf $PKG/etc
-
-chmod 644 $PKG/usr/share/applications/$PRGNAM.desktop
-chmod 4755 $PKG/opt/google/webdesigner/chrome-sandbox
-
-mkdir -p $PKG/usr/share/pixmaps
-cp $PKG/opt/google/webdesigner/resources/product_logo_128.png $PKG/usr/share/pixmaps/$PRGNAM.png
-
-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:-tgz}
diff --git a/development/google-webdesigner/google-webdesigner.info b/development/google-webdesigner/google-webdesigner.info
deleted file mode 100644
index 5d59e2ece4..0000000000
--- a/development/google-webdesigner/google-webdesigner.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="google-webdesigner"
-VERSION="8.0.3.0603"
-HOMEPAGE="https://www.google.com/webdesigner/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://dl.google.com/linux/direct/google-webdesigner_current_amd64.deb"
-MD5SUM_x86_64="774edc94d2999f95bdeaf7dbf6ee0ae6"
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/development/google-webdesigner/slack-desc b/development/google-webdesigner/slack-desc
deleted file mode 100644
index 09ae37afbf..0000000000
--- a/development/google-webdesigner/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------------------------------------------------------|
-google-webdesigner: google-webdesigner (Web Designer Tool)
-google-webdesigner:
-google-webdesigner: Google Web Designer is an advanced web application built with HTML5
-google-webdesigner: which lets you design and build HTML5 advertisements and other web
-google-webdesigner: content using an integrated visual and code interface.
-google-webdesigner:
-google-webdesigner:
-google-webdesigner: Project URL: https://www.google.com/webdesigner/
-google-webdesigner:
-google-webdesigner:
-google-webdesigner:
diff --git a/development/gplcver/gplcver.SlackBuild b/development/gplcver/gplcver.SlackBuild
index fd050e6f71..632f153460 100644
--- a/development/gplcver/gplcver.SlackBuild
+++ b/development/gplcver/gplcver.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GPL CVER
@@ -22,26 +22,36 @@
# 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=gplcver
VERSION=${VERSION:-2.12a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,4 +104,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gprolog/gprolog.SlackBuild b/development/gprolog/gprolog.SlackBuild
index 1cdd7d829f..e4e52d4ed0 100644
--- a/development/gprolog/gprolog.SlackBuild
+++ b/development/gprolog/gprolog.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gprolog
# Written by Eugene Suter (easuter@gmail.com)
# Updated by Erik Falor (ewfalor@gmail.com) for version 1.4.5
# Copyright 2020
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gprolog
-VERSION=${VERSION:-1.4.5}
+VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -70,6 +80,7 @@ make install DESTDIR=$PKG
rm -rf $PKG/usr/bin # Only symlinks in here
mv $PKG/usr/$PRGNAM-$VERSION/bin $PKG/usr/
mv $PKG/usr/$PRGNAM-$VERSION/lib $PKG/usr/lib$LIBDIRSUFFIX
+rm $PKG/usr/lib$LIBDIRSUFFIX/*.o
mkdir $PKG/usr/doc
mv $PKG/usr/$PRGNAM-$VERSION/doc $PKG/usr/doc/$PRGNAM-$VERSION/
mv $PKG/usr/$PRGNAM-$VERSION/examples* $PKG/usr/doc/$PRGNAM-$VERSION/
@@ -87,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gprolog/gprolog.info b/development/gprolog/gprolog.info
index 81b7fc9ce8..516febf742 100644
--- a/development/gprolog/gprolog.info
+++ b/development/gprolog/gprolog.info
@@ -1,8 +1,8 @@
PRGNAM="gprolog"
-VERSION="1.4.5"
+VERSION="1.5.0"
HOMEPAGE="http://www.gprolog.org/"
-DOWNLOAD="http://gprolog.org/gprolog-1.4.5.tar.gz"
-MD5SUM="7757de718e47e284544be96994300408"
+DOWNLOAD="http://gprolog.org/gprolog-1.5.0.tar.gz"
+MD5SUM="d656545898e20297a7f7bf672c0da437"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/gpsim/gpsim.SlackBuild b/development/gpsim/gpsim.SlackBuild
index 787ddc0e29..3006ef0185 100644
--- a/development/gpsim/gpsim.SlackBuild
+++ b/development/gpsim/gpsim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gpsim
@@ -22,10 +22,13 @@
# 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=gpsim
-VERSION=${VERSION:-0.29.0}
+VERSION=${VERSION:-0.32.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -70,7 +77,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -88,13 +95,15 @@ 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 HISTORY README* NEWS TODO AUTHORS COPYING INSTALL PROCESSORS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a HISTORY README* NEWS TODO AUTHORS COPYING PROCESSORS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp $CWD/$PRGNAM.pdf $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gpsim/gpsim.info b/development/gpsim/gpsim.info
index c94de5c10b..2017231311 100644
--- a/development/gpsim/gpsim.info
+++ b/development/gpsim/gpsim.info
@@ -1,10 +1,10 @@
PRGNAM="gpsim"
-VERSION="0.29.0"
+VERSION="0.32.1"
HOMEPAGE="http://gpsim.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/gpsim/gpsim/0.29.0/gpsim-0.29.0.tar.gz \
- http://gpsim.sourceforge.net/gpsim.pdf"
-MD5SUM="9cad6ddfa8c2842a7a9139238b36a8b2 \
- b2d8b81c0c060437f781d6576735cb4b"
+DOWNLOAD="https://sourceforge.net/projects/gpsim/files/gpsim/0.32.0/gpsim-0.32.1.tar.gz \
+ https://gpsim.sourceforge.net/gpsim.pdf"
+MD5SUM="62ed8ef50a13f29d1b740b8af6ac8286 \
+ 2fbf1451263c81cdb1e5a1025efac4e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtkextra gputils"
diff --git a/development/gputils/gputils.SlackBuild b/development/gputils/gputils.SlackBuild
index ceff94babd..b244eee707 100644
--- a/development/gputils/gputils.SlackBuild
+++ b/development/gputils/gputils.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gputils
# Written by GPLeo <gpleomail@gmail.com>
# Now maintained by: R. S. Ananda Murthy <rsamurti@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gputils
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,12 +20,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
+DOCS="AUTHORS COPYING ChangeLog NEWS README TODO"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -38,7 +45,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-1.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -68,9 +75,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/share/doc/$PRGNAM-$VERSION/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gputils/gputils.info b/development/gputils/gputils.info
index 2c40107e34..51e32cfe6c 100644
--- a/development/gputils/gputils.info
+++ b/development/gputils/gputils.info
@@ -1,8 +1,8 @@
PRGNAM="gputils"
-VERSION="1.5.0"
+VERSION="1.5.2"
HOMEPAGE="http://gputils.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/project/gputils/gputils/1.5.0/gputils-1.5.0-1.tar.bz2"
-MD5SUM="1fddfcba61c442d1e51bb0823dd6c34a"
+DOWNLOAD="https://sourceforge.net/projects/gputils/files/gputils/1.5.0/gputils-1.5.2.tar.bz2"
+MD5SUM="6b27bea5f67b2bc6f1c7b91c75ddc462"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/gr-osmosdr/gr-osmosdr.SlackBuild b/development/gr-osmosdr/gr-osmosdr.SlackBuild
index 8ec9fc13df..6d4d116fd9 100644
--- a/development/gr-osmosdr/gr-osmosdr.SlackBuild
+++ b/development/gr-osmosdr/gr-osmosdr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gr-osmosdr
@@ -22,10 +22,13 @@
# 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=gr-osmosdr
-VERSION=${VERSION:-20170612}
+VERSION=${VERSION:-20210128_a100eb0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -94,4 +104,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gr-osmosdr/gr-osmosdr.info b/development/gr-osmosdr/gr-osmosdr.info
index f9a951e99f..3b55cdc71a 100644
--- a/development/gr-osmosdr/gr-osmosdr.info
+++ b/development/gr-osmosdr/gr-osmosdr.info
@@ -1,10 +1,10 @@
PRGNAM="gr-osmosdr"
-VERSION="20170612"
+VERSION="20210128_a100eb0"
HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR"
-DOWNLOAD="https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/gr-osmosdr/gr-osmosdr-20170612.tar.bz2"
-MD5SUM="802f65fc6bbe975f4ddaabb7dcf9bfd8"
+DOWNLOAD="http://mirror.slackware.hr/sources/gr-osmosdr/gr-osmosdr-20210128_a100eb0.tar.bz2"
+MD5SUM="635037afeb620e61ae200d491f9df580"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gnuradio python-cheetah"
+REQUIRES="gnuradio"
MAINTAINER="Panagiotis Nikolaou"
EMAIL="hostmaster@slackonly.com"
diff --git a/development/gradle/gradle.SlackBuild b/development/gradle/gradle.SlackBuild
index 91e3cb3610..ef43517de6 100644
--- a/development/gradle/gradle.SlackBuild
+++ b/development/gradle/gradle.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gradle
+# Copyright 2024 Riza Dindir, rdindir[at]yahoo[dot]com
# Copyright 2019 Sukma Wardana, sukma.wardana[at]mail[dot]com
# Copyright 2014 Arun Mascarenhas, arunmascarenhas[at]yahoo[dot]com
# Copyright 2014 Arun Mascarenhas, Kansas City, MO, USA
@@ -26,15 +27,25 @@
# Started by Arun Mascarenhas (arunmascarenhas[at]yahoo[dot]com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gradle
-VERSION=${VERSION:-5.5.1}
+VERSION=${VERSION:-8.5}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
GRADLE_HOME=/usr/share/gradle
-CWD=$(pwd)
+# 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}
@@ -49,7 +60,7 @@ unzip $CWD/${PRGNAM}-$VERSION-all.zip
cd ${PRGNAM}-$VERSION
chown -R root:root .
-cp -a bin lib init.d media $PKG/$GRADLE_HOME/
+cp -a bin lib init.d $PKG/$GRADLE_HOME/
mkdir -p $PKG/etc/profile.d/
install -m755 $CWD/$PRGNAM.csh $PKG/etc/profile.d/$PRGNAM.csh
@@ -69,4 +80,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gradle/gradle.info b/development/gradle/gradle.info
index 3e5f346013..385a662aeb 100644
--- a/development/gradle/gradle.info
+++ b/development/gradle/gradle.info
@@ -1,10 +1,10 @@
PRGNAM="gradle"
-VERSION="5.5.1"
+VERSION="8.5"
HOMEPAGE="http://www.gradle.org/"
-DOWNLOAD="https://services.gradle.org/distributions/gradle-5.5.1-all.zip"
-MD5SUM="b624d6dd514dad79e477c8931a76875a"
+DOWNLOAD="https://services.gradle.org/distributions/gradle-8.5-all.zip"
+MD5SUM="32d68c2bc0d9a71750b9da34115c2e08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="adoptopenjdk"
-MAINTAINER="Sukma Wardana"
-EMAIL="sukma.wardana@mail.com"
+REQUIRES="zulu-openjdk11"
+MAINTAINER="Riza Dindir"
+EMAIL="rdindir@yahoo.com"
diff --git a/development/grails/grails.SlackBuild b/development/grails/grails.SlackBuild
index d46566a6f2..090fd66782 100644
--- a/development/grails/grails.SlackBuild
+++ b/development/grails/grails.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for grails
@@ -23,20 +23,30 @@
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=grails
VERSION=${VERSION:-3.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -97,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/grails/grails.info b/development/grails/grails.info
index 8037664ef1..c0613abb64 100644
--- a/development/grails/grails.info
+++ b/development/grails/grails.info
@@ -7,6 +7,6 @@ MD5SUM="8286dad8b1307b7a11fe039161835112 \
ce1e6f6b582de8b64b62ff9d4d3225a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"
diff --git a/development/groovy/groovy.SlackBuild b/development/groovy/groovy.SlackBuild
index da23219a07..fa260b698a 100644
--- a/development/groovy/groovy.SlackBuild
+++ b/development/groovy/groovy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for groovy
@@ -25,10 +25,13 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=groovy
VERSION=${VERSION:-2.4.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -94,4 +104,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/groovy/groovy.info b/development/groovy/groovy.info
index 0243d7079e..d74411c35b 100644
--- a/development/groovy/groovy.info
+++ b/development/groovy/groovy.info
@@ -7,6 +7,6 @@ MD5SUM="d73b320c568e5b937ea66bf0b09201ad \
4ff68245bf1689aa8515778efca09eb2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"
diff --git a/development/gsoap/gsoap-libtool.patch b/development/gsoap/gsoap-libtool.patch
deleted file mode 100644
index 87a9fcefdf..0000000000
--- a/development/gsoap/gsoap-libtool.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-diff -ur gsoap-2.8.orig/configure.ac gsoap-2.8/configure.ac
---- gsoap-2.8.orig/configure.ac 2015-11-10 18:52:20.000000000 +0100
-+++ gsoap-2.8/configure.ac 2015-11-22 09:28:38.711054796 +0100
-@@ -16,8 +16,7 @@
- AM_PROG_LEX
- AC_PROG_YACC
- AC_PROG_CPP
--AC_PROG_RANLIB
--#AM_PROG_LIBTOOL
-+AM_PROG_LIBTOOL
- AC_PROG_LN_S
- AC_PROG_AWK
- AC_PROG_INSTALL
-@@ -236,16 +235,16 @@
- WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lgnutls -lgcrypt -lgpg-error -lz"
- SAMPLE_INCLUDES=
- SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lgpg-error -lz"
-- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
-+ WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la"
- else
- AC_MSG_RESULT(no)
- WSDL2H_EXTRA_FLAGS="-DWITH_OPENSSL -DWITH_GZIP"
- # an ugly hack to get httpda and smdevp plugins to conditionally
- # compile with wsdl2h when OPENSSL is available
-- WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} ../plugin/httpda.c ../plugin/smdevp.c ../plugin/threads.c -lssl -lcrypto -lz"
-+ WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} ../plugin/httpda.c ../plugin/smdevp.c ../plugin/threads.c -lcrypto"
- SAMPLE_INCLUDES=
- SAMPLE_SSL_LIBS="-lssl -lcrypto -lz"
-- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
-+ WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la"
- fi
- if test -n "$OPENSSL"; then
- WSDL2H_EXTRA_FLAGS="-I${OPENSSL}/include ${WSDL2H_EXTRA_FLAGS}"
-@@ -258,7 +257,7 @@
- WSDL2H_EXTRA_FLAGS=
- SAMPLE_SSL_LIBS=
- SAMPLE_INCLUDES=
-- WSDL2H_SOAP_CPP_LIB="libgsoap++.a"
-+ WSDL2H_SOAP_CPP_LIB="libgsoap++.la"
- fi
- AC_SUBST(WSDL2H_EXTRA_FLAGS)
- AC_SUBST(WSDL2H_EXTRA_LIBS)
-diff -ur gsoap-2.8.orig/gsoap/Makefile.am gsoap-2.8/gsoap/Makefile.am
---- gsoap-2.8.orig/gsoap/Makefile.am 2015-11-10 18:52:22.000000000 +0100
-+++ gsoap-2.8/gsoap/Makefile.am 2015-11-22 09:24:43.198046409 +0100
-@@ -34,20 +34,30 @@
- dom_cpp.cpp: dom.cpp
- $(LN_S) -f $(srcdir)/dom.cpp dom_cpp.cpp
-
--lib_LIBRARIES = libgsoap.a libgsoap++.a libgsoapck.a libgsoapck++.a libgsoapssl.a libgsoapssl++.a
-+lib_LTLIBRARIES = libgsoap.la libgsoap++.la libgsoapck.la libgsoapck++.la libgsoapssl.la libgsoapssl++.la
-
--libgsoap_a_SOURCES = stdsoap2.c dom.c
--libgsoap_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
--libgsoap___a_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
--libgsoap___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
--libgsoapck_a_SOURCES = stdsoap2_ck.c dom.c
--libgsoapck_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
--libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
--libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
--libgsoapssl_a_SOURCES = stdsoap2_ssl.c dom.c
--libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
--libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
--libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
-+SOVERSION = 0
-+
-+libgsoap_la_SOURCES = stdsoap2.c dom.c
-+libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
-+libgsoap_la_LDFLAGS = -version-info $(SOVERSION)
-+libgsoap___la_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
-+libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
-+libgsoap___la_LDFLAGS = -version-info $(SOVERSION)
-+libgsoapck_la_SOURCES = stdsoap2_ck.c dom.c
-+libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
-+libgsoapck_la_LDFLAGS = -version-info $(SOVERSION)
-+libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
-+libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
-+libgsoapck___la_LDFLAGS = -version-info $(SOVERSION)
-+libgsoapssl_la_SOURCES = stdsoap2_ssl.c dom.c
-+libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
-+libgsoapssl_la_LDFLAGS = -version-info $(SOVERSION)
-+libgsoapssl_la_LIBADD = -lssl -lcrypto -lz
-+libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
-+libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
-+libgsoapssl___la_LDFLAGS = -version-info $(SOVERSION)
-+libgsoapssl___la_LIBADD = -lssl -lcrypto -lz
-
- BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp $(lib_LIBRARIES)
-
-diff -ur gsoap-2.8.orig/gsoap/samples/Makefile.defines gsoap-2.8/gsoap/samples/Makefile.defines
---- gsoap-2.8.orig/gsoap/samples/Makefile.defines 2015-11-10 18:52:26.000000000 +0100
-+++ gsoap-2.8/gsoap/samples/Makefile.defines 2015-11-22 09:22:54.369042534 +0100
-@@ -13,13 +13,13 @@
- SOAP_C_CORE=soapC.c
- SOAP_C_CLIENT=soapClient.c $(SOAP_C_CORE)
- SOAP_C_SERVER=soapServer.c $(SOAP_C_CORE)
--SOAP_C_LIB=$(top_builddir)/gsoap/libgsoap.a
--SOAP_C_LIB_CK=$(top_builddir)/gsoap/libgsoapck.a
--SOAP_C_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl.a
-+SOAP_C_LIB=$(top_builddir)/gsoap/libgsoap.la
-+SOAP_C_LIB_CK=$(top_builddir)/gsoap/libgsoapck.la
-+SOAP_C_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl.la
-
- SOAP_CPP_CORE=soapC.cpp
- SOAP_CPP_CLIENT=soapClient.cpp $(SOAP_CPP_CORE)
- SOAP_CPP_SERVER=soapServer.cpp $(SOAP_CPP_CORE)
--SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a
--SOAP_CPP_LIB_CK=$(top_builddir)/gsoap/libgsoapck++.a
--SOAP_CPP_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl++.a
-+SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la
-+SOAP_CPP_LIB_CK=$(top_builddir)/gsoap/libgsoapck++.la
-+SOAP_CPP_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl++.la
-diff -ur gsoap-2.8.orig/gsoap/samples/autotest/Makefile.am gsoap-2.8/gsoap/samples/autotest/Makefile.am
---- gsoap-2.8.orig/gsoap/samples/autotest/Makefile.am 2015-11-10 18:52:26.000000000 +0100
-+++ gsoap-2.8/gsoap/samples/autotest/Makefile.am 2015-11-22 09:22:54.368042534 +0100
-@@ -14,7 +14,7 @@
- WSDLINPUT=$(srcdir)/examples.wsdl
- SOAPHEADER=$(srcdir)/examples.h
- SOAP_CPP_SRC=soapC.cpp soapServer.cpp
--SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a
-+SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la
-
- $(SOAP_CPP_SRC) : $(WSDLINPUT)
- $(WSDL) $(WSDL_FLAGS) $(WSDLINPUT)
-diff -ur gsoap-2.8.orig/gsoap/samples/databinding/Makefile.am gsoap-2.8/gsoap/samples/databinding/Makefile.am
---- gsoap-2.8.orig/gsoap/samples/databinding/Makefile.am 2015-11-10 18:52:26.000000000 +0100
-+++ gsoap-2.8/gsoap/samples/databinding/Makefile.am 2015-11-22 09:22:54.368042534 +0100
-@@ -14,7 +14,7 @@
- WSDLINPUT=$(srcdir)/address.xsd
- SOAPHEADER=$(srcdir)/address.h
- SOAP_CPP_SRC=addressC.cpp
--SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a
-+SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la
-
- $(SOAP_CPP_SRC) : $(WSDLINPUT)
- $(WSDL) $(WSDL_FLAGS) $(WSDLINPUT)
diff --git a/development/gsoap/gsoap.SlackBuild b/development/gsoap/gsoap.SlackBuild
index a92cd16d6a..197e63dfe2 100644
--- a/development/gsoap/gsoap.SlackBuild
+++ b/development/gsoap/gsoap.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gsoap
-# Copyright 2009-2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2023 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,37 +11,47 @@
# 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.
+# 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=gsoap
-VERSION=${VERSION:-2.8.46}
+VERSION=${VERSION:-2.8.127}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,8 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patches from Gentoo
# Build shared libraries
-patch -p1 -i $CWD/gsoap-libtool.patch
+patch -p1 -i $CWD/patches/gsoap-2.8.126-shared_libs.patch
autoreconf -vif
@@ -82,13 +93,19 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
+ --disable-xlocale \
--build=$ARCH-slackware-linux
-make -j1
+make
make install-strip DESTDIR=$PKG
+# Don't ship .la/.a files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a changelog.md LICENSE.txt NOTES.txt README.txt \
+cp -a changelog.md GPLv2_license.txt INSTALL.txt LICENSE.txt \
+ NOTES.txt README.txt factsheet.pdf license.pdf \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gsoap/gsoap.info b/development/gsoap/gsoap.info
index 1f3e52d4cd..15b5c90320 100644
--- a/development/gsoap/gsoap.info
+++ b/development/gsoap/gsoap.info
@@ -1,10 +1,10 @@
PRGNAM="gsoap"
-VERSION="2.8.46"
+VERSION="2.8.127"
HOMEPAGE="http://gsoap2.sourceforge.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/gsoap_2.8.46.zip"
-MD5SUM="e7ff6c940730371dcb90079ca56a8551"
+DOWNLOAD="https://sources.liwjatan.org/gsoap/gsoap_2.8.127.zip"
+MD5SUM="572272c38ce259c0c38afb4634fdddb1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/development/gsoap/patches/gsoap-2.8.126-shared_libs.patch b/development/gsoap/patches/gsoap-2.8.126-shared_libs.patch
new file mode 100644
index 0000000000..86b0a56b3c
--- /dev/null
+++ b/development/gsoap/patches/gsoap-2.8.126-shared_libs.patch
@@ -0,0 +1,156 @@
+diff -ur gsoap-2.8.126.orig/configure.ac gsoap-2.8.126/configure.ac
+--- gsoap-2.8.126.orig/configure.ac 2023-03-09 21:56:09.000000000 +0100
++++ gsoap-2.8.126/configure.ac 2023-03-11 15:47:48.672933043 +0100
+@@ -16,7 +16,7 @@
+ AC_PROG_YACC
+ AC_PROG_CPP
+ AC_PROG_RANLIB
+-#AM_PROG_LIBTOOL
++AM_PROG_LIBTOOL
+ AC_PROG_LN_S
+ AC_PROG_AWK
+ AC_PROG_INSTALL
+@@ -310,7 +310,8 @@
+ WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lgnutls -lgcrypt -lgpg-error -lz"
+ SAMPLE_INCLUDES=
+ SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lgpg-error -lz"
+- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
++ WSDL2H_SOAP_CPP_STATIC_LIB="libgsoapssl++.a"
++ WSDL2H_SOAP_CPP_SHARED_LIB="libgsoapssl++.la"
+ else
+ if test "x$with_wolfssl" = "xyes"; then
+ AC_MSG_RESULT(yes)
+@@ -318,7 +319,8 @@
+ WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lwolfssl -lz"
+ SAMPLE_INCLUDES=
+ SAMPLE_SSL_LIBS="-lwolfssl -lz"
+- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
++ WSDL2H_SOAP_CPP_STATIC_LIB="libgsoapssl++.a"
++ WSDL2H_SOAP_CPP_SHARED_LIB="libgsoapssl++.la"
+ else
+ AC_MSG_RESULT(no)
+ WSDL2H_EXTRA_FLAGS="-DWITH_OPENSSL -DWITH_GZIP"
+@@ -326,7 +328,8 @@
+ WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lssl -lcrypto -lz"
+ SAMPLE_INCLUDES=
+ SAMPLE_SSL_LIBS="-lssl -lcrypto -lz"
+- WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
++ WSDL2H_SOAP_CPP_STATIC_LIB="libgsoapssl++.a"
++ WSDL2H_SOAP_CPP_SHARED_LIB="libgsoapssl++.la"
+ fi
+ fi
+ if test -n "$ZLIB"; then
+@@ -346,14 +349,16 @@
+ WSDL2H_EXTRA_FLAGS=
+ SAMPLE_SSL_LIBS=
+ SAMPLE_INCLUDES=
+- WSDL2H_SOAP_CPP_LIB="libgsoap++.a"
++ WSDL2H_SOAP_CPP_STATIC_LIB="libgsoap++.a"
++ WSDL2H_SOAP_CPP_SHARED_LIB="libgsoapssl++.la"
+ fi
+ AM_CONDITIONAL([WITH_OPENSSL], [test "x$with_openssl" = "xyes" -a "x$with_gnutls" != "xyes" -a "x$with_wolfssl" != "xyes"])
+ AC_SUBST(WSDL2H_EXTRA_FLAGS)
+ AC_SUBST(WSDL2H_EXTRA_LIBS)
+ AC_SUBST(SAMPLE_INCLUDES)
+ AC_SUBST(SAMPLE_SSL_LIBS)
+-AC_SUBST(WSDL2H_SOAP_CPP_LIB)
++AC_SUBST(WSDL2H_SOAP_CPP_SHARED_LIB)
++AC_SUBST(WSDL2H_SOAP_CPP_STATIC_LIB)
+
+ # enable the compile of the samples
+ AC_ARG_ENABLE(samples,
+Only in gsoap-2.8.126: configure.ac.orig
+diff -ur gsoap-2.8.126.orig/gsoap/Makefile.am gsoap-2.8.126/gsoap/Makefile.am
+--- gsoap-2.8.126.orig/gsoap/Makefile.am 2023-03-09 21:56:09.000000000 +0100
++++ gsoap-2.8.126/gsoap/Makefile.am 2023-03-11 15:46:24.412936978 +0100
+@@ -49,6 +49,29 @@
+ libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
+ libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
+
++lib_LTLIBRARIES = libgsoap.la libgsoap++.la libgsoapck.la libgsoapck++.la libgsoapssl.la libgsoapssl++.la
++SOVERSION = 0
++libgsoap_la_SOURCES = stdsoap2.c dom.c
++libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
++libgsoap_la_LDFLAGS = -version-info $(SOVERSION)
++libgsoap___la_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
++libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
++libgsoap___la_LDFLAGS = -version-info $(SOVERSION)
++libgsoapck_la_SOURCES = stdsoap2_ck.c dom.c
++libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
++libgsoapck_la_LDFLAGS = -version-info $(SOVERSION)
++libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
++libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
++libgsoapck___la_LDFLAGS = -version-info $(SOVERSION)
++libgsoapssl_la_SOURCES = stdsoap2_ssl.c dom.c
++libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
++libgsoapssl_la_LDFLAGS = -version-info $(SOVERSION)
++libgsoapssl_la_LIBADD = -lssl -lcrypto -lz
++libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
++libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
++libgsoapssl___la_LDFLAGS = -version-info $(SOVERSION)
++libgsoapssl___la_LIBADD = -lssl -lcrypto -lz
++
+ BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp stdsoap2_ck.c stdsoap2_ck_cpp.cpp stdsoap2_ssl.c stdsoap2_ssl_cpp.cpp
+
+ include_HEADERS = stdsoap2.h
+diff -ur gsoap-2.8.126.orig/gsoap/samples/autotest/Makefile.am gsoap-2.8.126/gsoap/samples/autotest/Makefile.am
+--- gsoap-2.8.126.orig/gsoap/samples/autotest/Makefile.am 2023-03-09 21:56:09.000000000 +0100
++++ gsoap-2.8.126/gsoap/samples/autotest/Makefile.am 2023-03-11 15:46:24.412936978 +0100
+@@ -14,7 +14,7 @@
+ WSDLINPUT=$(top_srcdir)/gsoap/samples/autotest/examples.wsdl
+ SOAPHEADER=$(top_srcdir)/gsoap/samples/autotest/examples.h
+ SOAP_CPP_SRC=soapC.cpp soapServer.cpp
+-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a
++SOAP_CPP_SHARED_LIB=$(top_builddir)/gsoap/libgsoap++.a
+
+ $(SOAP_CPP_SRC) : $(WSDLINPUT)
+ $(WSDL) $(WSDL_FLAGS) $(WSDLINPUT)
+@@ -40,6 +40,6 @@
+ autotest_CPPFLAGS=$(C_DEBUG_FLAGS) -D$(platform)
+ autotest_CXXFLAGS=$(WSDL2H_EXTRA_FLAGS)
+ autotest_SOURCES=$(SOAP_CPP_SRC) soapTester.cpp duration.cpp long_time.cpp struct_tm.cpp struct_tm_date.cpp
+-autotest_LDADD=$(SOAP_CPP_LIB) $(SAMPLE_EXTRA_LIBS)
++autotest_LDADD=$(SOAP_CPP_SHARED_LIB) $(SAMPLE_EXTRA_LIBS)
+
+ CLEANFILES= *~ *.h *.cpp *.xml *.log *.nsmap
+diff -ur gsoap-2.8.126.orig/gsoap/samples/databinding/Makefile.am gsoap-2.8.126/gsoap/samples/databinding/Makefile.am
+--- gsoap-2.8.126.orig/gsoap/samples/databinding/Makefile.am 2023-03-09 21:56:10.000000000 +0100
++++ gsoap-2.8.126/gsoap/samples/databinding/Makefile.am 2023-03-11 15:46:24.412936978 +0100
+@@ -14,7 +14,7 @@
+ WSDLINPUT=$(top_srcdir)/gsoap/samples/databinding/address.xsd
+ SOAPHEADER=$(top_srcdir)/gsoap/samples/databinding/address.h
+ SOAP_CPP_SRC=addressC.cpp
+-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a
++SOAP_CPP_SHARED_LIB=$(top_builddir)/gsoap/libgsoap++.a
+
+ $(SOAP_CPP_SRC) : $(WSDLINPUT)
+ $(WSDL) $(WSDL_FLAGS) $(WSDLINPUT)
+@@ -28,6 +28,6 @@
+ address_CPPFLAGS=$(C_DEBUG_FLAGS) -D$(platform)
+ address_CXXFLAGS=$(WSDL2H_EXTRA_FLAGS)
+ address_SOURCES=$(SOAP_CPP_SRC) address.cpp
+-address_LDADD=$(SOAP_CPP_LIB)
++address_LDADD=$(SOAP_CPP_SHARED_LIB)
+
+ CLEANFILES= *~ address.h *C.cpp *H.h *Stub.h *.nsmap
+diff -ur gsoap-2.8.126.orig/gsoap/wsdl/Makefile.am gsoap-2.8.126/gsoap/wsdl/Makefile.am
+--- gsoap-2.8.126.orig/gsoap/wsdl/Makefile.am 2023-03-09 21:56:11.000000000 +0100
++++ gsoap-2.8.126/gsoap/wsdl/Makefile.am 2023-03-11 15:46:24.412936978 +0100
+@@ -10,7 +10,7 @@
+ AM_LDFLAGS=-L$(top_srcdir)/gsoap/wsdl -I$(top_srcdir)/gsoap -I$(top_srcdir)/gsoap/plugin
+ AM_CPPFLAGS=-I$(top_srcdir)/gsoap -I$(top_srcdir)/gsoap/plugin
+ SOAP=$(top_builddir)/gsoap/src/soapcpp2$(EXEEXT)
+-SOAP_CPP_LIB=$(top_builddir)/gsoap/$(WSDL2H_SOAP_CPP_LIB)
++SOAP_CPP_SHARED_LIB=$(top_builddir)/gsoap/$(WSDL2H_SOAP_CPP_SHARED_LIB)
+ SOAP_CPP_SRC=wsdlC.cpp
+ SOAPHEADER=$(top_srcdir)/gsoap/wsdl/wsdl.h
+ SOAP_FLAGS=-SC -pwsdl -I$(top_srcdir)/gsoap/wsdl -I$(top_srcdir)/gsoap/import
+@@ -29,7 +29,7 @@
+ wsdl2h_CXXFLAGS=$(C_DEBUG_FLAGS) $(SOAPCPP2_INCLUDE_XLOCALE) $(SOAPCPP2_NO_C_LOCALE) $(WSDL2H_EXTRA_FLAGS) $(WSDL2H_IMPORTPATH)
+ wsdl2h_CPPFLAGS=$(AM_CPPFLAGS) $(SOAPCPP2_NONAMESPACES) -D$(platform)
+ wsdl2h_SOURCES=wsdl2h.cpp wsdl.cpp wadl.cpp schema.cpp types.cpp service.cpp soap.cpp mime.cpp wsp.cpp bpel.cpp $(SOAP_CPP_SRC)
+-wsdl2h_LDADD=$(SOAP_CPP_LIB) $(WSDL2H_EXTRA_LIBS)
++wsdl2h_LDADD=$(SOAP_CPP_SHARED_LIB) $(WSDL2H_EXTRA_LIBS)
+ if WITH_OPENSSL
+ wsdl2h_SOURCES+=$(top_srcdir)/gsoap/plugin/httpda.c $(top_srcdir)/gsoap/plugin/smdevp.c
+ wsdl2h_LDADD+=-lpthread
diff --git a/development/gtest/gtest.SlackBuild b/development/gtest/gtest.SlackBuild
index a90c02d5ab..867de2d6e9 100644
--- a/development/gtest/gtest.SlackBuild
+++ b/development/gtest/gtest.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtest
# 2013-02-12 Bernski Comadizo <bcomadizo@gmail.com> Cebu
-# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-2024 Dimitris Zlatanidis Orestiada, Greece
#
# All rights reserved.
#
@@ -24,11 +24,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220415 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - install (or actually symlink) docs to /usr/doc/$PRGNAM-$VERSION,
+# to follow Slackware standards.
+# - install shared libraries with +x permission.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtest
SRCNAM=googletest
-VERSION=${VERSION:-1.8.0}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.12.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -68,9 +80,9 @@ cd $SRCNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p build
cd build
@@ -78,6 +90,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_BUILD_TYPE=Release ..
@@ -87,29 +100,45 @@ cd ..
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX $PKG/usr/include/$PRGNAM/internal/custom \
$PKG/usr/include/gmock/internal/custom
-install -m 0644 build/googlemock/*.so $PKG/usr/lib$LIBDIRSUFFIX
install -m 0644 googlemock/include/gmock/*.h $PKG/usr/include/gmock
install -m 0644 googlemock/include/gmock/internal/*.h $PKG/usr/include/gmock/internal/
install -m 0644 googlemock/include/gmock/internal/custom/*.h \
$PKG/usr/include/gmock/internal/custom
-install -m 0644 build/googlemock/$PRGNAM/*.so $PKG/usr/lib$LIBDIRSUFFIX
install -m 0644 googletest/include/$PRGNAM/*.h $PKG/usr/include/$PRGNAM/
install -m 0644 googletest/include/$PRGNAM/internal/*.h $PKG/usr/include/$PRGNAM/internal/
install -m 0644 googletest/include/$PRGNAM/internal/custom/*.h \
$PKG/usr/include/$PRGNAM/internal/custom
+# install the libs and the pkgconfig files!
+install -s -m 0755 build/lib/*.so $PKG/usr/lib$LIBDIRSUFFIX
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig
+for i in gmock gmock_main gtest gtest_main ; do
+ sed "s| -lpthread||g" build/googletest/generated/${i}.pc \
+ > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/${i}.pc
+done
+
mkdir -p $PKG/usr/src
cp -R googlemock $PKG/usr/src
-cp -R googletest /$PKG/usr/src
+cp -R googletest $PKG/usr/src
# Create symlinks as some programs look for the shorter names
(cd $PKG/usr/src ; ln -svf googlemock gmock ; ln -svf googletest gtest)
-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
+# 20220415 bkw: the docs get installed in /usr/src along with
+# everything else. symlink them to a place that slackware users
+# expect to see them.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+for dir in googlemock googletest; do
+ mkdir -p $PKGDOC/$dir
+ for file in CONTRIBUTORS LICENSE README.md docs samples; do
+ [ -e $PKG/usr/src/$dir/$file ] && ln -s ../../../src/$dir/$file $PKGDOC/$dir
+ done
+done
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gtest/gtest.info b/development/gtest/gtest.info
index 9a2e734260..413fdc2f98 100644
--- a/development/gtest/gtest.info
+++ b/development/gtest/gtest.info
@@ -1,10 +1,10 @@
PRGNAM="gtest"
-VERSION="1.8.0"
+VERSION="1.12.1"
HOMEPAGE="https://github.com/google/googletest"
-DOWNLOAD="https://github.com/google/googletest/archive/release-1.8.0/googletest-release-1.8.0.tar.gz"
-MD5SUM="16877098823401d1bf2ed7891d7dce36"
+DOWNLOAD="https://github.com/google/googletest/archive/release-1.12.1/googletest-release-1.12.1.tar.gz"
+MD5SUM="e82199374acdfda3f425331028eb4e2a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/development/gtkdialog/gtkdialog-0.8.3-fno-common.patch b/development/gtkdialog/gtkdialog-0.8.3-fno-common.patch
new file mode 100644
index 0000000000..86fa6a9700
--- /dev/null
+++ b/development/gtkdialog/gtkdialog-0.8.3-fno-common.patch
@@ -0,0 +1,51 @@
+--- a/src/gtkdialog.h
++++ b/src/gtkdialog.h
+@@ -40,24 +40,24 @@
+ #define GTKD_FUNCTION_SIGNALS_BLOCK (function_signals_block++)
+ #define GTKD_FUNCTION_SIGNALS_UNBLOCK (function_signals_block--)
+ #define GTKD_FUNCTION_SIGNALS_RESET (function_signals_block = FALSE)
+-gint function_signals_block;
++extern gint function_signals_block;
+
+ /* Thunor: Used to control/override the widget packing expand and fill
+ * states at the project level */
+-gint project_space_expand;
+-gint project_space_fill;
++extern gint project_space_expand;
++extern gint project_space_fill;
+
+ /* The most recently created radiobutton widget (used for grouping) */
+-GtkWidget *lastradiowidget;
++extern GtkWidget *lastradiowidget;
+
+ /* An accumulated list of menu accelerator groups to be added to the window */
+-GList *accel_groups;
++extern GList *accel_groups;
+
+ /* A list of widgets to hide and to show */
+-GList *widget_hide_list, *widget_show_list;
++extern GList *widget_hide_list, *widget_show_list;
+
+ /* An auto-incremented unique id for each window created */
+-gint window_id;
++extern gint window_id;
+
+ void reset_program_source(void);
+ //Redundant: gint set_program_source(gchar *name);
+--- a/src/gtkdialog.c
++++ b/src/gtkdialog.c
+@@ -82,6 +82,14 @@
+ gint geometry_x = 0;
+ gint geometry_y = 0;
+
++gint function_signals_block;
++gint project_space_expand;
++gint project_space_fill;
++GtkWidget *lastradiowidget;
++GList *accel_groups;
++GList *widget_hide_list, *widget_show_list;
++gint window_id;
++
+ static gboolean
+ get_geometry(const char *argument)
+ {
diff --git a/development/gtkdialog/gtkdialog.SlackBuild b/development/gtkdialog/gtkdialog.SlackBuild
index 55594102ae..a178b20cae 100644
--- a/development/gtkdialog/gtkdialog.SlackBuild
+++ b/development/gtkdialog/gtkdialog.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtkdialog
# Written by slakmagik <slakmagik@gmail.com>
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtkdialog
VERSION=${VERSION:-0.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -51,6 +61,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
+# Thanks Gentoo!
+patch -p1 < $CWD/gtkdialog-0.8.3-fno-common.patch
+
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr --infodir=/usr/info
make
@@ -69,4 +82,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gtkextra/gtkextra.SlackBuild b/development/gtkextra/gtkextra.SlackBuild
index a0ed709615..ae458dd475 100644
--- a/development/gtkextra/gtkextra.SlackBuild
+++ b/development/gtkextra/gtkextra.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtkextra
# A set of extra widgets for GTK+
@@ -28,26 +28,33 @@
# 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=gtkextra
-VERSION=${VERSION:-3.3.3}
+VERSION=${VERSION:-3.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -97,11 +104,13 @@ 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 AUTHORS COPYING ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/gtkextra/gtkextra.info b/development/gtkextra/gtkextra.info
index c42d4e1850..3785b87576 100644
--- a/development/gtkextra/gtkextra.info
+++ b/development/gtkextra/gtkextra.info
@@ -1,8 +1,8 @@
PRGNAM="gtkextra"
-VERSION="3.3.3"
+VERSION="3.3.4"
HOMEPAGE="http://gtkextra.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/gtkextra/files/3.3/gtkextra-3.3.3.tar.gz"
-MD5SUM="2ae8bef2ce2daae1073399daae0ff5c0"
+DOWNLOAD="https://sourceforge.net/projects/gtkextra/files/3.3/gtkextra-3.3.4.tar.gz"
+MD5SUM="9462123bbccc5391be055a287b6bb6e7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/guile-colorized/README b/development/guile-colorized/README
new file mode 100644
index 0000000000..650950923c
--- /dev/null
+++ b/development/guile-colorized/README
@@ -0,0 +1,11 @@
+Colorized REPL for GNU Guile.
+
+NOTE: Now guile-colorized only support Guile-2.0.9 or higher!
+Drop your Guile-1.8.x from now on ;-)
+
+Add those lines to $HOME/.guile
+(use-modules (ice-9 readline)
+ (ice-9 colorized))
+
+(activate-readline)
+(activate-colorized)
diff --git a/development/guile-colorized/guile-colorized.SlackBuild b/development/guile-colorized/guile-colorized.SlackBuild
new file mode 100644
index 0000000000..da7e245ac3
--- /dev/null
+++ b/development/guile-colorized/guile-colorized.SlackBuild
@@ -0,0 +1,73 @@
+#!/bin/bash
+
+# Slackware build script for guile-colorized
+
+# Copyright 2022 Frederic Galusik Bordeaux, France
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=guile-colorized
+VERSION=${VERSION:-0.1.git1625a79f}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+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-$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 {} \;
+
+# install
+# TARGET = `guile -c "(display (string-append (car %load-path) \"/ice-9\"))"`
+mkdir -p $PKG/usr/share/guile/3.0/ice-9
+cp -a ice-9/colorized.scm $PKG/usr/share/guile/3.0/ice-9
+
+# Copy program documentation & SlackBuild script in the documentation directory
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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/development/guile-colorized/guile-colorized.info b/development/guile-colorized/guile-colorized.info
new file mode 100644
index 0000000000..b863d98f36
--- /dev/null
+++ b/development/guile-colorized/guile-colorized.info
@@ -0,0 +1,10 @@
+PRGNAM="guile-colorized"
+VERSION="0.1.git1625a79f"
+HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized"
+DOWNLOAD="https://git.sr.ht/~fredg/slackbuilds/blob/master/src/guile-colorized-0.1.git1625a79f.tar.gz"
+MD5SUM="2bcf817ba0f808c39f2819e230e74716"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Frederic Galusik"
+EMAIL="f@galusik.fr"
diff --git a/development/guile-colorized/slack-desc b/development/guile-colorized/slack-desc
new file mode 100644
index 0000000000..1704a626f3
--- /dev/null
+++ b/development/guile-colorized/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------------------------------------------------------|
+guile-colorized: guile-colorized (colorized REPL for GNU Guile)
+guile-colorized:
+guile-colorized: colorized REPL for GNU Guile to make it sexiest.
+guile-colorized:
+guile-colorized:
+guile-colorized:
+guile-colorized:
+guile-colorized:
+guile-colorized:
+guile-colorized:
+guile-colorized:
diff --git a/development/guile-json/README b/development/guile-json/README
deleted file mode 100644
index a0d2a77bbf..0000000000
--- a/development/guile-json/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Guile-json is a JSON module for Guile. It supports parsing and
-building JSON documents according to the http://json.org
-specification. These are the main features:
-
-- Strictly complies to http://json.org specification.
-
-- Build JSON documents programmatically via macros.
-
-- Basic unicode support for strings.
-
-- Allows JSON pretty printing.
diff --git a/development/guile-json/guile-json.SlackBuild b/development/guile-json/guile-json.SlackBuild
deleted file mode 100644
index d5f39b2040..0000000000
--- a/development/guile-json/guile-json.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for guile-json
-
-# Copyright 2015 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.
-
-PRGNAM=guile-json
-VERSION=${VERSION:-0.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS 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:-tgz}
diff --git a/development/guile-json/guile-json.info b/development/guile-json/guile-json.info
deleted file mode 100644
index 14d82b7908..0000000000
--- a/development/guile-json/guile-json.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="guile-json"
-VERSION="0.4.0"
-HOMEPAGE="https://savannah.nongnu.org/projects/guile-json/"
-DOWNLOAD="http://download.savannah.gnu.org/releases-redirect/guile-json/guile-json-0.4.0.tar.gz"
-MD5SUM="57eeb7901354fbab9795671fdace1618"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
diff --git a/development/guile-json/slack-desc b/development/guile-json/slack-desc
deleted file mode 100644
index 55977ab100..0000000000
--- a/development/guile-json/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------------------------------------------------------|
-guile-json: guile-json (JSON module for Guile)
-guile-json:
-guile-json: Guile-json is a JSON module for Guile. It supports parsing and
-guile-json: building JSON documents according to the http://json.org
-guile-json: specification.
-guile-json:
-guile-json: Homepage: https://savannah.nongnu.org/projects/guile-json/
-guile-json:
-guile-json:
-guile-json:
-guile-json:
diff --git a/development/guile1.8/README b/development/guile1.8/README
index 360f53e5b7..771792f1e1 100644
--- a/development/guile1.8/README
+++ b/development/guile1.8/README
@@ -8,3 +8,6 @@ giving users of Guile-based applications a choice of languages.
This is Guile 1.8 (legacy version) needed by some packages in SBo.
This package can be installed alongside with Slackware's Guile
+
+This SlackBuild accepts the NO_DOCS=true option, in case
+documentation is not needed, and/or if the build fails.
diff --git a/development/guile1.8/doinst.sh b/development/guile1.8/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/development/guile1.8/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/development/guile1.8/guile-1.8.8-gcc46.patch b/development/guile1.8/guile-1.8.8-gcc46.patch
new file mode 100644
index 0000000000..b06a0e59eb
--- /dev/null
+++ b/development/guile1.8/guile-1.8.8-gcc46.patch
@@ -0,0 +1,39 @@
+Backported upstream patch to fix SIGSEGV with gcc-4.6
+
+http://git.savannah.gnu.org/cgit/guile.git/commit/?h=branch_release-1-8&id=62bc1072c19e81bb0f9e42a5034e7ab8c27d3b94
+https://bugs.gentoo.org/show_bug.cgi?id=424475
+--- a/configure.in
++++ b/configure.in
+@@ -1199,23 +1199,20 @@
+ AC_RUN_IFELSE([AC_LANG_SOURCE(
+ [AC_INCLUDES_DEFAULT
+ int
+-find_stack_direction ()
++find_stack_direction (int *addr, int depth)
+ {
+- static char *addr = 0;
+- auto char dummy;
+- if (addr == 0)
+- {
+- addr = &dummy;
+- return find_stack_direction ();
+- }
+- else
+- return (&dummy > addr) ? 1 : -1;
++ int dir, dummy = 0;
++ if (! addr)
++ addr = &dummy;
++ *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
++ dir = depth ? find_stack_direction (addr, depth - 1) : 0;
++ return dir + dummy;
+ }
+
+ int
+-main ()
++main (int argc, char **argv)
+ {
+- return find_stack_direction () < 0;
++ return find_stack_direction (0, argc + !argv + 20) < 0;
+ }])],
+ [SCM_I_GSC_STACK_GROWS_UP=1],
+ [],
diff --git a/development/guile1.8/guile1.8.SlackBuild b/development/guile1.8/guile1.8.SlackBuild
index fda900024b..1ac12609e3 100644
--- a/development/guile1.8/guile1.8.SlackBuild
+++ b/development/guile1.8/guile1.8.SlackBuild
@@ -1,6 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Updated 2023, Lockywolf
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,11 +21,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230629 bkw: Modified by SlackBuilds.org, BUILD=5:
+# - fix the info files so the info command can actually display them.
+# - add doinst.sh to handle /usr/info/dir
+# - rm generic INSTALL from doc dir.
+
+# 20230716 Lockywolf: BUILD=6
+# - Add NO_DOCS option.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=guile1.8
SRCNAM=guile
VERSION=${VERSION:-1.8.8}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-6}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -61,12 +77,19 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
+# fix segfault - thanks gentoo maintainers.
+patch -p1 -i $CWD/guile-1.8.8-gcc46.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 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+if [[ "$NO_DOCS" == true ]] ; then
+ sed -i 's/scripts srfi doc examples test-suite benchmark-suite lang am/scripts srfi examples test-suite benchmark-suite lang am/g' Makefile.am ;
+ autoreconf -i
+fi
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,24 +106,50 @@ CFLAGS="$SLKCFLAGS" \
make -j1 LDFLAGS+="-lpthread"
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-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
-
-# Compress info files
-if [ -d $PKG/usr/info ]; then
- ( cd $PKG/usr/info
- rm -f dir
- gzip -9 *
- # rename it so that it will not overwrite Slackware's guile 2.0 package
- for i in {1..7}
- do
- mv guile.info-$i.gz guile1.8.info-$i.gz
+
+# 20230629 bkw:
+#
+# Fix the info files. This is required for them to work with the info
+# command; simply renaming them doesn't work. If you try it, you won't
+# see the guile 1.8 stuff in the info directory... and if you try
+# "info guile1.8" or even "info /usr/info/guile1.8.info.gz" with the
+# previous BUILD (4), it will show you the guile 3.0 documentation
+# instead (seriously). Surgery is required.
+#
+# goops.info.gz and guile-tut.info.gz can stay as-is, they are not
+# included in Slackware's guile. r5rs.info is almost identical to
+# the one in Slackware, so leave it out of this package.
+#
+# This is a lot of work to do, but it results in proper info files:
+# they show up in the index (if you just type "info"), without
+# conflicting with Slackware's guile info files. And you can also run
+# "info guile1.8" to display them.
+#
+# The alternative to this messy solution would be to rm -rf $PKG/usr/info
+# and just not ship the .info files. But I kinda hate to do that.
+#
+rm -f $PKG/usr/info/{guile.*,r5rs*,dir}
+if [[ "$NO_DOCS" != true ]] ; then
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+ gzip -9 $PKG/usr/info/*.info
+ GV="$( echo $VERSION | cut -d. -f1,2 )"
+ ( cd doc/ref
+ sed -i '/^guile\.info-/s,guile,guile'$GV, guile.info
+ sed -i \
+ -e '/\* Guile Ref/s,.*,* Guile '$GV' Reference: (guile'$GV'). The Guile '$GV' reference manual.,' \
+ -e '/^File: guile\.info/s,guile,guile'$GV, \
+ guile.info*
+ rename guile. guile$GV. guile.info*
+ for i in guile$GV.info*; do
+ gzip -9c < $i > $PKG/usr/info/$( basename $i ).gz
done
- mv guile.info.gz guile1.8.info.gz
- mv r5rs.info.gz r5rs1.8.info.gz
)
fi
@@ -109,7 +158,7 @@ fi
mv $PKG/usr/share/aclocal/guile.m4 $PKG/usr/share/aclocal/guile18.m4
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* GUILE-VERSION HACKING INSTALL LICENSE NEWS README* THANKS \
+cp -a AUTHORS COPYING* GUILE-VERSION HACKING LICENSE NEWS README* THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -118,7 +167,8 @@ sed -i '1s/guile/guile1.8/' -i $PKG/usr/bin/guile-config1.8
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/guile1.8/guile1.8.info b/development/guile1.8/guile1.8.info
index 69193f57cf..0e8596eb3b 100644
--- a/development/guile1.8/guile1.8.info
+++ b/development/guile1.8/guile1.8.info
@@ -6,5 +6,5 @@ MD5SUM="18661a8fdfef13e2fcb7651720aa53f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.guile1.8_2023-07-16@lockywolf.net"
diff --git a/development/guile2.0/README b/development/guile2.0/README
new file mode 100644
index 0000000000..f7b811dfdb
--- /dev/null
+++ b/development/guile2.0/README
@@ -0,0 +1,11 @@
+Guile is the GNU Ubiquitous Intelligent Language for Extensions.
+
+Guile is an interpreter for Scheme, packaged as a library that you
+can link into your applications to give them their own scripting
+language. Guile will eventually support other languages as well,
+giving users of Guile-based applications a choice of languages.
+
+This is Guile 2.0 (legacy version) needed by some packages in SBo.
+Heavily based on Guile 1.8 and 2.2 SlackBuilds, also found on SBo.
+
+This package can be installed alongside with Slackware's Guile
diff --git a/development/guile2.0/doinst.sh b/development/guile2.0/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/development/guile2.0/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/development/guile2.0/guile2.0.SlackBuild b/development/guile2.0/guile2.0.SlackBuild
new file mode 100644
index 0000000000..543d5a9f57
--- /dev/null
+++ b/development/guile2.0/guile2.0.SlackBuild
@@ -0,0 +1,173 @@
+#!/bin/bash
+
+# Slackware build script for guile2.0
+
+# Copyright 2022 Mario Preksavec, Zagreb, Croatia
+# 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.
+
+# 20230630 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix the info files so the info command can actually display them.
+# - add doinst.sh to handle /usr/info/dir
+# - rm generic INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=guile2.0
+SRCNAM=guile
+VERSION=${VERSION:-2.0.14}
+BUILD=${BUILD:-3}
+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 $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
+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 {} +
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --program-suffix=2.0 \
+ --with-threads \
+ --disable-error-on-warning \
+ --disable-static \
+ --disable-rpath \
+ --build=$ARCH-slackware-linux
+
+make -j1
+make install DESTDIR=$PKG
+
+# Move libguile*-gdb.scm to GDB's autoload directory to avoid
+# getting "not an ELF file" errors from ldconfig:
+mkdir -p $PKG/usr/share/gdb/auto-load/usr/lib${LIBDIRSUFFIX}
+mv $PKG/usr/lib${LIBDIRSUFFIX}/libguile*-gdb.scm $PKG/usr/share/gdb/auto-load/usr/lib${LIBDIRSUFFIX} || exit 1
+
+# Change timestamps on *.go and *.scm files, otherwise on multilib systems
+# the compiled (go) files may be detected as older than the source (scm)
+# files, causing guile to attempt to recompile itself with every use:
+find $PKG/usr/lib${LIBDIRSUFFIX} -name "*.go" -exec touch -r $CWD/$PRGNAM.SlackBuild "{}" \;
+find $PKG/usr/share -name "*.scm" -exec touch -r $CWD/$PRGNAM.SlackBuild "{}" \;
+
+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
+
+# 20230629 bkw:
+#
+# Fix the info files. This is required for them to work with the info
+# command; simply renaming them doesn't work. If you try it, you won't
+# see the guile 2.0 stuff in the info directory... and if you try
+# "info guile2.0" or even "info /usr/info/guile2.0.info.gz" with the
+# previous BUILD (4), it will show you the guile 3.0 documentation
+# instead (seriously). Surgery is required.
+#
+# r5rs.info is almost identical to the one in Slackware, so leave it
+# out of this package.
+#
+# This is a lot of work to do, but it results in proper info files:
+# they show up in the index (if you just type "info"), without
+# conflicting with Slackware's guile info files. And you can also run
+# "info guile2.0" to display them.
+#
+# The alternative to this messy solution would be to rm -rf $PKG/usr/info
+# and just not ship the .info files. But I kinda hate to do that.
+#
+rm -f $PKG/usr/info/*
+GV="$( echo $VERSION | cut -d. -f1,2 )"
+( cd doc/ref
+ sed -i '/^guile\.info-/s,guile,guile'$GV, guile.info
+ sed -i \
+ -e '/\* Guile Ref/s,.*,* Guile '$GV' Reference: (guile'$GV'). The Guile '$GV' reference manual.,' \
+ -e '/^File: guile\.info/s,guile,guile'$GV, \
+ guile.info*
+ rename guile. guile$GV. guile.info*
+ for i in guile$GV.info*; do
+ gzip -9c < $i > $PKG/usr/info/$( basename $i ).gz
+ done
+)
+
+# Avoid duplicate with Slackware's guile.m4
+# It can detect newer and older versions of guile installed on system
+mv $PKG/usr/share/aclocal/guile.m4 $PKG/usr/share/aclocal/guile20.m4
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING* GUILE-VERSION HACKING LICENSE NEWS README* THANKS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Fix guile-config2.0 info
+sed -i '1s/guile/guile2.0/' -i $PKG/usr/bin/guile-config2.0
+
+rm -f $PKG/usr/lib*/*.la
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/development/guile2.0/guile2.0.info b/development/guile2.0/guile2.0.info
new file mode 100644
index 0000000000..2dce570cd4
--- /dev/null
+++ b/development/guile2.0/guile2.0.info
@@ -0,0 +1,10 @@
+PRGNAM="guile2.0"
+VERSION="2.0.14"
+HOMEPAGE="https://www.gnu.org/software/guile"
+DOWNLOAD="https://ftp.gnu.org/gnu/guile/guile-2.0.14.tar.xz"
+MD5SUM="c64977c775effd19393364b3018fd8cd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Mario Preksavec"
+EMAIL="mario at slackware dot hr"
diff --git a/development/guile2.0/slack-desc b/development/guile2.0/slack-desc
new file mode 100644
index 0000000000..ad5340f3e1
--- /dev/null
+++ b/development/guile2.0/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------------------------------------------------------|
+guile2.0: guile2.0 (GNU's extension language library)
+guile2.0:
+guile2.0: Guile is the GNU Ubiquitous Intelligent Language for Extensions.
+guile2.0: Guile is an interpreter for Scheme, packaged as a library that you
+guile2.0: can link into your applications to give them their own scripting
+guile2.0: language. Guile will eventually support other languages as well,
+guile2.0: giving users of Guile-based applications a choice of languages.
+guile2.0:
+guile2.0: This is Guile 2.0 (legacy version) needed by some packages in SBo.
+guile2.0:
+guile2.0:
diff --git a/development/guile2.2/README b/development/guile2.2/README
new file mode 100644
index 0000000000..51a9d3e5b0
--- /dev/null
+++ b/development/guile2.2/README
@@ -0,0 +1,10 @@
+Guile is the GNU Ubiquitous Intelligent Language for Extensions.
+
+Guile is an interpreter for Scheme, packaged as a library that you
+can link into your applications to give them their own scripting
+language. Guile will eventually support other languages as well,
+giving users of Guile-based applications a choice of languages.
+
+This is Guile 2.2 (legacy version) needed by some packages in SBo.
+
+This package can be installed alongside with Slackware's Guile
diff --git a/development/guile2.2/doinst.sh b/development/guile2.2/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/development/guile2.2/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/development/guile2.2/guile2.2.SlackBuild b/development/guile2.2/guile2.2.SlackBuild
new file mode 100644
index 0000000000..d9ec12d721
--- /dev/null
+++ b/development/guile2.2/guile2.2.SlackBuild
@@ -0,0 +1,173 @@
+#!/bin/bash
+
+# Slackware build script for guile2.2
+
+# Copyright 2020-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# 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.
+
+# 20230630 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix the info files so the info command can actually display them.
+# - add doinst.sh to handle /usr/info/dir.
+# - rm generic INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=guile2.2
+SRCNAM=guile
+VERSION=${VERSION:-2.2.7}
+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 $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
+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 {} +
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --program-suffix=2.2 \
+ --with-threads \
+ --disable-error-on-warning \
+ --disable-static \
+ --disable-rpath \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# Move libguile*-gdb.scm to GDB's autoload directory to avoid
+# getting "not an ELF file" errors from ldconfig:
+mkdir -p $PKG/usr/share/gdb/auto-load/usr/lib${LIBDIRSUFFIX}
+mv $PKG/usr/lib${LIBDIRSUFFIX}/libguile*-gdb.scm $PKG/usr/share/gdb/auto-load/usr/lib${LIBDIRSUFFIX} || exit 1
+
+# Change timestamps on *.go and *.scm files, otherwise on multilib systems
+# the compiled (go) files may be detected as older than the source (scm)
+# files, causing guile to attempt to recompile itself with every use:
+find $PKG/usr/lib${LIBDIRSUFFIX} -name "*.go" -exec touch -r $CWD/$PRGNAM.SlackBuild "{}" \;
+find $PKG/usr/share -name "*.scm" -exec touch -r $CWD/$PRGNAM.SlackBuild "{}" \;
+
+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
+
+# 20230629 bkw:
+#
+# Fix the info files. This is required for them to work with the info
+# command; simply renaming them doesn't work. If you try it, you won't
+# see the guile 2.2 stuff in the info directory... and if you try
+# "info guile2.2" or even "info /usr/info/guile2.2.info.gz" with the
+# previous BUILD (4), it will show you the guile 3.0 documentation
+# instead (seriously). Surgery is required.
+#
+# r5rs.info is almost identical to the one in Slackware, so leave it
+# out of this package.
+#
+# This is a lot of work to do, but it results in proper info files:
+# they show up in the index (if you just type "info"), without
+# conflicting with Slackware's guile info files. And you can also run
+# "info guile2.2" to display them.
+#
+# The alternative to this messy solution would be to rm -rf $PKG/usr/info
+# and just not ship the .info files. But I kinda hate to do that.
+#
+rm -f $PKG/usr/info/*
+GV="$( echo $VERSION | cut -d. -f1,2 )"
+( cd doc/ref
+ sed -i '/^guile\.info-/s,guile,guile'$GV, guile.info
+ sed -i \
+ -e '/\* Guile Ref/s,.*,* Guile '$GV' Reference: (guile'$GV'). The Guile '$GV' reference manual.,' \
+ -e '/^File: guile\.info/s,guile,guile'$GV, \
+ guile.info*
+ rename guile. guile$GV. guile.info*
+ for i in guile$GV.info*; do
+ gzip -9c < $i > $PKG/usr/info/$( basename $i ).gz
+ done
+)
+
+# Avoid duplicate with Slackware's guile.m4
+# It can detect newer and older versions of guile installed on system
+mv $PKG/usr/share/aclocal/guile.m4 $PKG/usr/share/aclocal/guile22.m4
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING* GUILE-VERSION HACKING LICENSE NEWS README* THANKS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Fix guile-config2.2 info
+sed -i '1s/guile/guile2.2/' -i $PKG/usr/bin/guile-config2.2
+
+rm -f $PKG/usr/lib*/*.la
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/development/guile2.2/guile2.2.info b/development/guile2.2/guile2.2.info
new file mode 100644
index 0000000000..953f4f7e74
--- /dev/null
+++ b/development/guile2.2/guile2.2.info
@@ -0,0 +1,10 @@
+PRGNAM="guile2.2"
+VERSION="2.2.7"
+HOMEPAGE="https://www.gnu.org/software/guile"
+DOWNLOAD="https://ftp.gnu.org/gnu/guile/guile-2.2.7.tar.xz"
+MD5SUM="7a7e8def41678c567148c26a8a0a0873"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/development/guile2.2/slack-desc b/development/guile2.2/slack-desc
new file mode 100644
index 0000000000..5a799c15c1
--- /dev/null
+++ b/development/guile2.2/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------------------------------------------------------|
+guile2.2: guile2.2 (GNU's extension language library)
+guile2.2:
+guile2.2: Guile is the GNU Ubiquitous Intelligent Language for Extensions.
+guile2.2: Guile is an interpreter for Scheme, packaged as a library that you
+guile2.2: can link into your applications to give them their own scripting
+guile2.2: language. Guile will eventually support other languages as well,
+guile2.2: giving users of Guile-based applications a choice of languages.
+guile2.2:
+guile2.2: This is Guile 2.2 (legacy version) needed by some packages in SBo.
+guile2.2:
+guile2.2:
diff --git a/development/guitar/README b/development/guitar/README
new file mode 100644
index 0000000000..4a9d673204
--- /dev/null
+++ b/development/guitar/README
@@ -0,0 +1,7 @@
+Git GUI Client
+
+Open Source, Free Software (GPL v2)
+Written in C++
+Powered by Qt 5
+guitar:
+https://github.com/soramimi/Guitar
diff --git a/development/guitar/doinst.sh b/development/guitar/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/guitar/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/guitar/guitar.SlackBuild b/development/guitar/guitar.SlackBuild
new file mode 100644
index 0000000000..343f7569a8
--- /dev/null
+++ b/development/guitar/guitar.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for Guitar
+
+# Copyright 2023 wainamoinen@gmail.com Liege, Belgium
+# 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=guitar
+VERSION=${VERSION:-1.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+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
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf Guitar-$VERSION
+tar xvf $CWD/Guitar-$VERSION.tar.gz
+cd Guitar-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ strip Guitar
+ mkdir -p $PKG/usr/bin
+ cp -a Guitar $PKG/usr/bin/guitar
+cd ..
+
+mkdir -p $PKG/usr/share/applications
+cp -a $CWD/guitar.desktop $PKG/usr/share/applications/.
+
+mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps
+cp -a LinuxDesktop/Guitar.svg $PKG/usr/share/icons/hicolor/scalable/apps/guitar.svg
+
+mkdir -p $PKG/usr/share/metainfo
+cp -a LinuxDesktop/guitar.appdata.xml $PKG/usr/share/metainfo/.
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYRIGHT.txt \
+ LICENSE.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
+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/development/guitar/guitar.desktop b/development/guitar/guitar.desktop
new file mode 100644
index 0000000000..d687289363
--- /dev/null
+++ b/development/guitar/guitar.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Guitar
+Comment=Graphical git client
+Categories=Development;
+Exec=/usr/bin/guitar
+Icon=/usr/share/icons/hicolor/scalable/apps/guitar.svg
+Terminal=false
diff --git a/development/guitar/guitar.info b/development/guitar/guitar.info
new file mode 100644
index 0000000000..72d8505743
--- /dev/null
+++ b/development/guitar/guitar.info
@@ -0,0 +1,10 @@
+PRGNAM="guitar"
+VERSION="1.2.0"
+HOMEPAGE="https://github.com/soramimi/Guitar"
+DOWNLOAD="https://github.com/soramimi/Guitar/archive/v1.2.0/Guitar-1.2.0.tar.gz"
+MD5SUM="052f0369f993ce7aee111bc7941a36fc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="wainamoinen"
+EMAIL="wainamoinen@gmail.com"
diff --git a/development/guitar/slack-desc b/development/guitar/slack-desc
new file mode 100644
index 0000000000..641ec8ea6c
--- /dev/null
+++ b/development/guitar/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------------------------------------------------------|
+guitar: guitar (Git GUI Client)
+guitar:
+guitar: Git GUI Client
+guitar:
+guitar: Open Source, Free Software (GPL v2)
+guitar: Written in C++
+guitar: Powered by Qt 5
+guitar:
+guitar: https://github.com/soramimi/Guitar
+guitar:
+guitar:
diff --git a/development/guzzle_sphinx_theme/README b/development/guzzle_sphinx_theme/README
index 4af6fef137..8f4b48298b 100644
--- a/development/guzzle_sphinx_theme/README
+++ b/development/guzzle_sphinx_theme/README
@@ -1,3 +1 @@
Sphinx theme used by Guzzle.
-
-Python3 module will be built if python3 is installed.
diff --git a/development/guzzle_sphinx_theme/guzzle_sphinx_theme.SlackBuild b/development/guzzle_sphinx_theme/guzzle_sphinx_theme.SlackBuild
index 068fec1987..34658467b1 100644
--- a/development/guzzle_sphinx_theme/guzzle_sphinx_theme.SlackBuild
+++ b/development/guzzle_sphinx_theme/guzzle_sphinx_theme.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for guzzle_sphinx_theme
@@ -22,10 +22,13 @@
# 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=guzzle_sphinx_theme
VERSION=${VERSION:-0.7.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hackrf/README b/development/hackrf/README
deleted file mode 100644
index 6f721559b1..0000000000
--- a/development/hackrf/README
+++ /dev/null
@@ -1,9 +0,0 @@
-This is the host software for hackrf, a project to produce
-a low cost, open source software radio platform.
-
-Below are some paramaters that can be passed to the slackbuild
-to turn on some optional components.
-
-RULES=yes|no (Default is no) In order to be able to use the
-dongle as a non-root user, you may install the appropriate
-udev rules
diff --git a/development/hackrf/hackrf.SlackBuild b/development/hackrf/hackrf.SlackBuild
deleted file mode 100644
index 341174393f..0000000000
--- a/development/hackrf/hackrf.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for hackrf
-
-# Copyright 2015-2018 Panagiotis Nikolaou, Culver City, CA
-# 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.
-
-PRGNAM=hackrf
-VERSION=${VERSION:-20180430}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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
-
-# Use the dongle as a non-root user.
-if [ "${RULES:-no}" == "yes" ]; then
- OPT1="$OPT -DINSTALL_UDEV_RULES=ON"
-fi
-
-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 {} \;
-
-cd host
-sed -i "s|lib/pkgconfig|lib${LIBDIRSUFFIX}/pkgconfig|" libhackrf/CMakeLists.txt
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- $OPT1 \
- -DCMAKE_BUILD_TYPE=Release \
- -DLIB_SUFFIX=$LIBDIRSUFFIX ..
- 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 TRADEMARK COPYING $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:-tgz}
diff --git a/development/hackrf/hackrf.info b/development/hackrf/hackrf.info
deleted file mode 100644
index 6dea81c261..0000000000
--- a/development/hackrf/hackrf.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="hackrf"
-VERSION="20180430"
-HOMEPAGE="https://github.com/mossmann/hackrf"
-DOWNLOAD="https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/hackrf/hackrf-20180430.tar.bz2"
-MD5SUM="dac360dca7f0e6896aaa4b7ba34af3a6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Panagiotis Nikolaou"
-EMAIL="hostmaster@slackonly.com"
diff --git a/development/hackrf/slack-desc b/development/hackrf/slack-desc
deleted file mode 100644
index b34786fed0..0000000000
--- a/development/hackrf/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------------------------------------------------------|
-hackrf: hackrf (radio platform)
-hackrf:
-hackrf: HackRF, a project to produce a low cost, open source software
-hackrf: radio platform.
-hackrf:
-hackrf: homepage: https://github.com/mossmann/hackrf
-hackrf:
-hackrf:
-hackrf:
-hackrf:
-hackrf:
diff --git a/development/halibut/README b/development/halibut/README
new file mode 100644
index 0000000000..f6d2a72fae
--- /dev/null
+++ b/development/halibut/README
@@ -0,0 +1,14 @@
+Halibut is a documentation production system, with elements similar to
+TeX, debiandoc-sgml, TeXinfo, and others. It is primarily targeted at
+people producing software manuals.
+
+Supported output formats are:
+- Plain ASCII text
+- HTML
+- PDF
+- PostScript
+- Unix man pages
+- Unix info, generated directly as .info files rather than .texi sources
+- Windows HTML Help (.CHM files), generated directly without needing a
+ separate help compiler.
+- Windows WinHelp (old-style .HLP files), also generated directly.
diff --git a/development/halibut/doinst.sh b/development/halibut/doinst.sh
new file mode 100644
index 0000000000..f3605d4eeb
--- /dev/null
+++ b/development/halibut/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/install-info ]; then
+ chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/blah.gz 2> /dev/null
+fi
diff --git a/development/halibut/halibut.SlackBuild b/development/halibut/halibut.SlackBuild
new file mode 100644
index 0000000000..93a7093a42
--- /dev/null
+++ b/development/halibut/halibut.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for halibut
+
+# Copyright 2022 Erich Ritz, Jenks, Oklahoma, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=halibut
+VERSION=${VERSION:-1.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mv $PKG/usr/share/man $PKG/usr/
+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
+
+mv $PKG/usr/share/info $PKG/usr/
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/halibut/* $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a \
+ LICENCE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+rmdir $PKG/usr/share/doc/halibut
+rmdir $PKG/usr/share/doc
+rmdir $PKG/usr/share
+
+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/development/halibut/halibut.info b/development/halibut/halibut.info
new file mode 100644
index 0000000000..f7a4e92305
--- /dev/null
+++ b/development/halibut/halibut.info
@@ -0,0 +1,10 @@
+PRGNAM="halibut"
+VERSION="1.3"
+HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/halibut/"
+DOWNLOAD="https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.3/halibut-1.3.tar.gz"
+MD5SUM="93438912ae0036817798b53edd493dad"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Erich Ritz"
+EMAIL="erich.public@protonmail.com"
diff --git a/development/halibut/slack-desc b/development/halibut/slack-desc
new file mode 100644
index 0000000000..e268cfbd29
--- /dev/null
+++ b/development/halibut/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------------------------------------------------------|
+halibut: halibut (documentation production system)
+halibut:
+halibut: Halibut is a documentation production system, with elements similar to
+halibut: TeX, debiandoc-sgml, TeXinfo, and others. It is primarily targeted at
+halibut: people producing software manuals.
+halibut:
+halibut: Supported output formats are plain ASCII text, HTML, PDF, PostScript,
+halibut: Unix man pages, Unix info, Windows HTML Help (.CHM files), and Windows
+halibut: WinHelp (old-style .HLP files).
+halibut:
+halibut: Homepage: https://www.chiark.greenend.org.uk/~sgtatham/halibut/
diff --git a/development/happy/happy.SlackBuild b/development/happy/happy.SlackBuild
index e64463d709..9ad2a68542 100644
--- a/development/happy/happy.SlackBuild
+++ b/development/happy/happy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for happy
@@ -23,10 +23,13 @@
# 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=happy
-VERSION=${VERSION:-1.19.9}
+VERSION=${VERSION:-1.20.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -92,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/happy/happy.info b/development/happy/happy.info
index 584f9785be..8a323cac6b 100644
--- a/development/happy/happy.info
+++ b/development/happy/happy.info
@@ -1,8 +1,8 @@
PRGNAM="happy"
-VERSION="1.19.9"
+VERSION="1.20.0"
HOMEPAGE="https://haskell.org/happy"
-DOWNLOAD="https://hackage.haskell.org/packages/archive/happy/1.19.9/happy-1.19.9.tar.gz"
-MD5SUM="a89b37e28de899e5dfcf2a1fb77eff17"
+DOWNLOAD="https://hackage.haskell.org/packages/archive/happy/1.20.0/happy-1.20.0.tar.gz"
+MD5SUM="f6d214eb9f0271e327a2948ba45d1612"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ghc"
diff --git a/development/hare/README b/development/hare/README
new file mode 100644
index 0000000000..c987afa1de
--- /dev/null
+++ b/development/hare/README
@@ -0,0 +1,12 @@
+Hare is a systems programming language designed to be simple,
+stable, and robust. Hare uses a static type system, manual memory
+management, and a minimal runtime. It is well-suited to writing
+operating systems, system tools, compilers, networking software,
+and other low-level, high performance tasks.
+
+Hare uses and depends on the QBE compiler backend.
+
+Building hare (this "build driver") depends on:
+
+ * scdoc - the man page generator
+ * harec - the hare boostrap compiler
diff --git a/development/hare/hare.SlackBuild b/development/hare/hare.SlackBuild
new file mode 100644
index 0000000000..ea694e5463
--- /dev/null
+++ b/development/hare/hare.SlackBuild
@@ -0,0 +1,140 @@
+#!/bin/bash
+
+# Slackware build script for hare
+
+# Copyright 2023 Dave Gauer, http://ratfactor.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)
+
+# Note that hare doesn't yet have a released version.
+# This script is set to the same commit currently (at the time of this
+# writing) used by the Alpine community package:
+#
+# https://git.alpinelinux.org/aports/tree/community/hare/APKBUILD
+#
+PRGNAM=hare
+VERSION=${VERSION:-20230225}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+COMMITVERSION=${COMMITVERSION:-1cbc3d0453055fa75b15797e937f4abafe53bcbc}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+if [ -e $CWD/$PRGNAM-$COMMITVERSION.tar.gz ]
+then
+ # browser download
+ tar xvf $CWD/$PRGNAM-$COMMITVERSION.tar.gz
+else
+ # wget download
+ tar xvf $CWD/$COMMITVERSION.tar.gz
+fi
+
+cd $PRGNAM-$COMMITVERSION
+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 {} \;
+
+# Copy example config and change prefix dir and mandirs.
+# Interestingly, this changes them to what is shown at
+# https://harelang.org/distributions/
+# /usr/local --> /usr
+# /usr/share/man --> /usr/man
+cp config.example.mk config.mk
+sed -i 's|/usr/local|/usr|' config.mk
+sed -i 's|/share/man|/man|' config.mk
+
+# Making this build script idempotent to make it easier to test
+make clean
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+PREFIX=/usr \
+make
+
+# Shouldn't need this (install also performs it), but I had some
+# trouble (zero length hare.1) and this *seemed* to do the trick.
+make docs
+
+make install DESTDIR=$PKG PREFIX=/usr
+
+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 \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# man pages need to be compressed
+gzip -9 $PKG/usr/man/man1/hare.1
+gzip -9 $PKG/usr/man/man1/haredoc.1
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hare/hare.info b/development/hare/hare.info
new file mode 100644
index 0000000000..7830d47a19
--- /dev/null
+++ b/development/hare/hare.info
@@ -0,0 +1,10 @@
+PRGNAM="hare"
+VERSION="20230225"
+HOMEPAGE="https://harelang.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://git.sr.ht/~sircmpwn/hare/archive/1cbc3d0453055fa75b15797e937f4abafe53bcbc.tar.gz"
+MD5SUM_x86_64="e652fa188bec4a7e3db715e3b906fc40"
+REQUIRES="harec scdoc tzleap"
+MAINTAINER="Dave Gauer"
+EMAIL="dave@ratfactor.com"
diff --git a/development/hare/slack-desc b/development/hare/slack-desc
new file mode 100644
index 0000000000..8fd0f18849
--- /dev/null
+++ b/development/hare/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------------------------------------------------------|
+hare: hare (programming language)
+hare:
+hare: Hare is a systems programming language designed to be simple, stable,
+hare: and robust. Hare uses a static type system, manual memory management,
+hare: and a minimal runtime. It is well-suited to writing operating systems,
+hare: system tools, compilers, networking software, and other low-level,
+hare: high performance tasks.
+hare:
+hare: https://harelang.org/
+hare:
+hare:
diff --git a/development/harec/README b/development/harec/README
new file mode 100644
index 0000000000..367a3bd865
--- /dev/null
+++ b/development/harec/README
@@ -0,0 +1,9 @@
+harec - the Hare bootstrap compiler
+
+This is a Hare compiler written in C11 for POSIX-compatible systems. It
+is used to bootstrap the full Hare compiler written in Hare.
+
+https://git.sr.ht/~sircmpwn/harec <--- this
+https://git.sr.ht/~sircmpwn/hare <--- full compiler and stdlib
+
+harec uses and depends on the QBE compiler backend.
diff --git a/development/harec/harec.SlackBuild b/development/harec/harec.SlackBuild
new file mode 100644
index 0000000000..8e565168f8
--- /dev/null
+++ b/development/harec/harec.SlackBuild
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+# Slackware build script for harec
+
+# Copyright 2023 Dave Gauer, http://ratfactor.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)
+
+# Note that harec doesn't yet have a released version.
+# This script is set to the same commit currently (at the time of this
+# writing) used by the Alpine community package:
+#
+# https://git.alpinelinux.org/aports/tree/community/harec/APKBUILD
+#
+PRGNAM=harec
+VERSION=${VERSION:-20230225}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+COMMITVERSION=${COMMITVERSION:-b95dcfd0ca8d599c406415236329020fb31c72e4}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$COMMITVERSION
+
+if [ -e $CWD/$PRGNAM-$COMMITVERSION.tar.gz ]
+then
+ # browser download
+ tar xvf $CWD/$PRGNAM-$COMMITVERSION.tar.gz
+else
+ # wget download
+ tar xvf $CWD/$COMMITVERSION.tar.gz
+fi
+
+cd $PRGNAM-$COMMITVERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --mandir=/usr/man
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make VERBOSE=1
+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
+
+# back out of build directory
+cd ..
+
+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/development/harec/harec.info b/development/harec/harec.info
new file mode 100644
index 0000000000..1abd64a23b
--- /dev/null
+++ b/development/harec/harec.info
@@ -0,0 +1,10 @@
+PRGNAM="harec"
+VERSION="20230225"
+HOMEPAGE="https://harelang.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://git.sr.ht/~sircmpwn/harec/archive/b95dcfd0ca8d599c406415236329020fb31c72e4.tar.gz"
+MD5SUM_x86_64="f2fe2f4f06e8bd991d29aaee80b0a256"
+REQUIRES="qbe"
+MAINTAINER="Dave Gauer"
+EMAIL="dave@ratfactor.com"
diff --git a/development/harec/slack-desc b/development/harec/slack-desc
new file mode 100644
index 0000000000..1738993986
--- /dev/null
+++ b/development/harec/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------------------------------------------------------|
+harec: harec (Hare bootstrap compiler)
+harec:
+harec: This is a Hare compiler written in C11 for POSIX-compatible systems.
+harec: It is used to bootstrap the full Hare compiler written in Hare.
+harec:
+harec:
+harec:
+harec:
+harec:
+harec:
+harec: https://harelang.org/
diff --git a/development/haxe-bin/README b/development/haxe-bin/README
new file mode 100644
index 0000000000..8d2fb20755
--- /dev/null
+++ b/development/haxe-bin/README
@@ -0,0 +1,11 @@
+Haxe is an open source high-level strictly-typed programming language
+with a fast optimizing cross-compiler.
+
+Haxe can build cross-platform applications targeting JavaScript,
+C++, C#, Java, JVM, Python, Lua, PHP, Flash, and allows access to each
+platform's native capabilities. Haxe has its own VMs (HashLink and
+NekoVM) but can also run in interpreted mode.
+
+Code written in Haxe can be compiled to any target Haxe supports.
+
+This is a repackaging of the official binary distribution.
diff --git a/development/haxe-bin/haxe-bin.SlackBuild b/development/haxe-bin/haxe-bin.SlackBuild
new file mode 100644
index 0000000000..3b48ac38ee
--- /dev/null
+++ b/development/haxe-bin/haxe-bin.SlackBuild
@@ -0,0 +1,82 @@
+#!/bin/bash
+
+# Slackware build script for haxe-bin
+
+# Copyright 2024 rc_05 <contact@rc-05.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=haxe-bin
+VERSION=${VERSION:-4.3.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+COMMIT_VER=${PRGNAM%-bin}_20240304101237_dc1a43d
+
+ARCH="$(uname -m)"
+if [ "$ARCH" != "x86_64" ]; then
+ echo "Unsupported architecture $ARCH"
+ exit -1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $COMMIT_VER
+tar xvf $CWD/${PRGNAM%-bin}-$VERSION-linux64.tar.gz
+cd $COMMIT_VER
+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/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -t $PKG/usr/doc/$PRGNAM-$VERSION *.txt
+
+mkdir -p $PKG/usr/bin
+cp -t $PKG/usr/bin haxe haxelib
+
+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/share/${PRGNAM%-bin}
+cp -t $PKG/usr/share/${PRGNAM%-bin} -R std
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/haxe-bin/haxe-bin.info b/development/haxe-bin/haxe-bin.info
new file mode 100644
index 0000000000..0ec4678120
--- /dev/null
+++ b/development/haxe-bin/haxe-bin.info
@@ -0,0 +1,10 @@
+PRGNAM="haxe-bin"
+VERSION="4.3.4"
+HOMEPAGE="https://haxe.org"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/HaxeFoundation/haxe/releases/download/4.3.4/haxe-4.3.4-linux64.tar.gz"
+MD5SUM_x86_64="9161207d1f4592f9133372554e40bf73"
+REQUIRES="neko"
+MAINTAINER="rc-05"
+EMAIL="contact@rc-05.com"
diff --git a/development/haxe-bin/slack-desc b/development/haxe-bin/slack-desc
new file mode 100644
index 0000000000..91767cbdca
--- /dev/null
+++ b/development/haxe-bin/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------------------------------------------------------|
+haxe-bin: haxe-bin (Haxe Programming Language)
+haxe-bin:
+haxe-bin: Haxe is an open source high-level strictly-typed programming language
+haxe-bin: with a fast optimizing cross-compiler.
+haxe-bin:
+haxe-bin: This is a repackaging of the official binary distribution.
+haxe-bin:
+haxe-bin: Homepage: https://haxe.org
+haxe-bin:
+haxe-bin:
+haxe-bin:
diff --git a/development/henplus/henplus.SlackBuild b/development/henplus/henplus.SlackBuild
index 10b3197e4b..01983eacbc 100644
--- a/development/henplus/henplus.SlackBuild
+++ b/development/henplus/henplus.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for henplus
@@ -22,10 +22,13 @@
# 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=henplus
VERSION=${VERSION:-0.9.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -78,4 +88,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/henplus/henplus.info b/development/henplus/henplus.info
index 786c7c36cc..bf3c735654 100644
--- a/development/henplus/henplus.info
+++ b/development/henplus/henplus.info
@@ -1,6 +1,6 @@
PRGNAM="henplus"
VERSION="0.9.8"
-HOMEPAGE="http://henplus.sourceforge.net/"
+HOMEPAGE="https://henplus.sourceforge.net/"
DOWNLOAD="https://sourceforge.net/projects/henplus/files/henplus-0.9.8.tar.gz"
MD5SUM="230d3bff07c54b4861c848582b077b35"
DOWNLOAD_x86_64=""
diff --git a/development/henplus/slack-desc b/development/henplus/slack-desc
index 74a7e4c16e..dc35b203aa 100644
--- a/development/henplus/slack-desc
+++ b/development/henplus/slack-desc
@@ -13,7 +13,7 @@ henplus: parallel. The commandline interface provides the usual history
henplus: functions features and TAB-completion for commands, tables and
henplus: columns.
henplus:
-henplus: Website: http://henplus.sourceforge.net/
+henplus: Website: https://henplus.sourceforge.net/
henplus:
henplus:
henplus:
diff --git a/development/heroku-cli/README b/development/heroku-cli/README
new file mode 100644
index 0000000000..e2b66ea46e
--- /dev/null
+++ b/development/heroku-cli/README
@@ -0,0 +1,9 @@
+The Heroku CLI is used to manage Heroku apps from the command line.
+
+Overview
+This is the next generation Node-based Heroku CLI.
+The goals of this project were to make plugins more flexible,
+remove Ruby as a runtime dependency, and make the CLI faster.
+
+It has identical functionality to the old Ruby CLI.
+Under the hood, it is a modular CLI made up of node.js plugins.
diff --git a/development/heroku-cli/heroku-cli.SlackBuild b/development/heroku-cli/heroku-cli.SlackBuild
new file mode 100644
index 0000000000..e1d8c3af76
--- /dev/null
+++ b/development/heroku-cli/heroku-cli.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for heroku-cli
+
+# Copyright 2024 Diniz Bortolotto <diniz.bortolotto@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=heroku-cli
+VERSION=${VERSION:-8.11.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+TARBALL=heroku-v8.11.0-a525d5e-linux-x64.tar.xz
+
+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 $PRGNAM-$VERSION
+
+tar xvf $CWD/$TARBALL
+
+#For sake of consistency move heroku dir to PRGNAM-VERSION
+mv heroku $PRGNAM-$VERSION
+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 {} \;
+
+#Not a configure/make/make install program.
+#So we will put it on /opt
+mkdir -p $PKG/opt/$PRGNAM
+cp -a \
+ autocomplete-scripts \
+ node_modules \
+ lib \
+ bin \
+ *.json \
+ $PKG/opt/$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/bin
+ln -s /opt/$PRGNAM/bin/heroku $PKG/usr/bin/heroku
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/heroku-cli/heroku-cli.info b/development/heroku-cli/heroku-cli.info
new file mode 100644
index 0000000000..6ae07ce0b1
--- /dev/null
+++ b/development/heroku-cli/heroku-cli.info
@@ -0,0 +1,10 @@
+PRGNAM="heroku-cli"
+VERSION="8.11.0"
+HOMEPAGE="https://www.heroku.com/home"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://cli-assets.heroku.com/versions/8.11.0/a525d5e/heroku-v8.11.0-a525d5e-linux-x64.tar.xz"
+MD5SUM_x86_64="e6ee7fb62ac489aef98155b8ed4057a1"
+REQUIRES=""
+MAINTAINER="Diniz Bortolotto"
+EMAIL="diniz.bortolotto@gmail.com"
diff --git a/development/heroku-cli/slack-desc b/development/heroku-cli/slack-desc
new file mode 100644
index 0000000000..03dc708714
--- /dev/null
+++ b/development/heroku-cli/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------------------------------------------------------|
+heroku-cli: heroku-cli (Heroku CLI)
+heroku-cli:
+heroku-cli: The Heroku CLI is used to manage Heroku apps from the command line.
+heroku-cli:
+heroku-cli: This is the next generation Node-based Heroku CLI.
+heroku-cli: The goals of this project were to make plugins more flexible,
+heroku-cli: remove Ruby as a runtime dependency, and make the CLI faster.
+heroku-cli:
+heroku-cli: For more about Heroku see https://www.heroku.com/home
+heroku-cli:
+heroku-cli:
diff --git a/development/hexcurse/hexcurse.SlackBuild b/development/hexcurse/hexcurse.SlackBuild
index 976054222e..d16403273b 100644
--- a/development/hexcurse/hexcurse.SlackBuild
+++ b/development/hexcurse/hexcurse.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hexcurse
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hexcurse
VERSION=${VERSION:-1.60.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -59,6 +66,8 @@ GITREV="${GITREV:-a7d60e8b}"
PATCH=v$VERSION-$GITREV.diff
[ -e $CWD/$PATCH ] && patch -p1 < $CWD/$PATCH
+SLKCFLAGS="$SLKCFLAGS -Wno-error -fcommon"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -85,4 +94,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hexcurse/hexcurse.info b/development/hexcurse/hexcurse.info
index 6b89816e23..6b3b30f109 100644
--- a/development/hexcurse/hexcurse.info
+++ b/development/hexcurse/hexcurse.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/hexe/hexe.SlackBuild b/development/hexe/hexe.SlackBuild
index ba607a4774..490b054daf 100644
--- a/development/hexe/hexe.SlackBuild
+++ b/development/hexe/hexe.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hexe
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -10,10 +10,13 @@
# files rather than a tarball/etc. So I made a tarball containing
# them all. VERSION is the server timestamp on all the files.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hexe
VERSION=${VERSION:-20120305}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -23,7 +26,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -60,7 +67,7 @@ patch -p1 < $CWD/fix-b-option.diff
# Get rid of inline warnings
sed -i 's,\<inline\>,,' $PRGNAM.h
-make CFLAGS="-Wall $SLKCFLAGS"
+make CFLAGS="-Wall $SLKCFLAGS -fcommon"
mkdir -p $PKG/usr/bin
install -s -m0755 -oroot -groot $PRGNAM $PKG/usr/bin
@@ -77,4 +84,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hexe/hexe.info b/development/hexe/hexe.info
index 1a774d4bcb..585170b3e9 100644
--- a/development/hexe/hexe.info
+++ b/development/hexe/hexe.info
@@ -1,10 +1,10 @@
PRGNAM="hexe"
VERSION="20120305"
-HOMEPAGE="http://spinout182.com"
+HOMEPAGE="http://web.archive.org/web/20231227194401/http://spinout182.com/"
DOWNLOAD="https://slackware.uk/~urchlay/src/hexe-20120305.tar.xz"
MD5SUM="977603f712970477f835c68e4adee6b7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/hexedit/hexedit.SlackBuild b/development/hexedit/hexedit.SlackBuild
index 7995769c2b..dd803585c5 100644
--- a/development/hexedit/hexedit.SlackBuild
+++ b/development/hexedit/hexedit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hexedit
@@ -24,10 +24,13 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hexedit
-VERSION=${VERSION:-1.2.12}
+VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -56,8 +66,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.src.tgz
-cd $PRGNAM
+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 \
@@ -65,6 +75,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 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -93,9 +104,11 @@ DOCS="COPYING Changes TODO"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# TODO file is empty in version 1.6
+test -s $PKG/usr/doc/$PRGNAM-$VERSION/TODO || rm $PKG/usr/doc/$PRGNAM-$VERSION/TODO
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hexedit/hexedit.info b/development/hexedit/hexedit.info
index 111b69d3b3..eaab1d7ab1 100644
--- a/development/hexedit/hexedit.info
+++ b/development/hexedit/hexedit.info
@@ -1,8 +1,8 @@
PRGNAM="hexedit"
-VERSION="1.2.12"
-HOMEPAGE="http://prigaux.chez.com/hexedit.html"
-DOWNLOAD="http://rigaux.org/hexedit-1.2.12.src.tgz"
-MD5SUM="0d2f48610006278cd93359fea9a06d5c"
+VERSION="1.6"
+HOMEPAGE="https://rigaux.org/hexedit.html"
+DOWNLOAD="https://github.com/pixel/hexedit/archive/1.6/hexedit-1.6.tar.gz"
+MD5SUM="9b5849759dbda9ab25ec22818c16e970"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/hexer/hexer.SlackBuild b/development/hexer/hexer.SlackBuild
index f54c846b31..70d7fd9665 100644
--- a/development/hexer/hexer.SlackBuild
+++ b/development/hexer/hexer.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hexer
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hexer
VERSION=${VERSION:-1.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -72,4 +79,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hexer/hexer.info b/development/hexer/hexer.info
index 9f0e64b184..f113832083 100644
--- a/development/hexer/hexer.info
+++ b/development/hexer/hexer.info
@@ -1,10 +1,10 @@
PRGNAM="hexer"
VERSION="1.0.6"
-HOMEPAGE="http://devel.ringlet.net/editors/hexer/"
+HOMEPAGE="https://devel.ringlet.net/editors/hexer/"
DOWNLOAD="https://devel.ringlet.net/files/editors/hexer/hexer-1.0.6.tar.xz"
MD5SUM="516d37a8f027cd556e98c4b81dfcf79a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/hexinator/hexinator.SlackBuild b/development/hexinator/hexinator.SlackBuild
index e84ffd4ee1..d2e1335947 100644
--- a/development/hexinator/hexinator.SlackBuild
+++ b/development/hexinator/hexinator.SlackBuild
@@ -1,13 +1,13 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hexinator
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211224 bkw: BUILD=2, fix for -current (add old openssl lib).
# 20200326 bkw: update for v1.12 for 64-bit, stay at 1.10 for 32-bit.
-
# 20200317 bkw: update for v1.10, switched from RPM to .deb. Yes, there
# is a v1.11 available, but there are good reasons for not packaging it,
# from our POV:
@@ -16,10 +16,13 @@
# should be packaged with it, so it doesn't *work*. Reported to
# upstream, possibly will be fixed soon.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hexinator
VERSION=${VERSION:-1.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -29,7 +32,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -75,6 +82,28 @@ 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
+# 20211224 bkw: upstream's QtNetwork library was built with
+# openssl-1.0.x. It won't work with openssl-1.1.x, and hexinator
+# won't work with Slackware's qt5. Since PV dropped openssl10-solibs,
+# we have to include the shared lib in this package. Before you
+# start freaking out about how insecure and unmaintained this old
+# openssl is, remember that it's *only* used by hexinator (lives in
+# /opt/hexinator), and that hexinator only uses it to talk to its own
+# vendor's server. So long as you trust the vendor, it's OK. And if
+# you don't, you wouldn't run their precompiled binary anyway, right?
+
+SSL10VER="${SSL10VER:-1.0.2u}"
+SSL10BLD="${SSL10BLD:-2}"
+SSL10ARCH="x86_64"
+[ "$ARCH" != "x86_64" ] && SSL10ARCH=i586
+
+mkdir tmp
+cd tmp
+ tar xvf $CWD/openssl10-solibs-$SSL10VER-$SSL10ARCH-$SSL10BLD.txz
+ mv ./lib*/lib{ssl,crypto}*.so.* $PKG/opt/$PRGNAM/lib
+cd -
+rm -rf tmp
+
# The hexinator binary was built with rpath support, so it can find its
# own libraries. The libs need some attention before hexinator can find
# them (presumably dpkg would automagically do this when the package gets
@@ -82,8 +111,12 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# libs. We *don't* want it using any other qt5 libs that may happen to
# exist (like the ones in /usr/lib64 from the qt5 SlackBuild). The
# ldconfig step here prevents that.
+
chmod 755 $PKG/opt/$PRGNAM/lib/*
ldconfig -n -N $PKG/opt/$PRGNAM/lib
+for i in ssl crypto; do
+ ln -s lib$i.so.1 $PKG/opt/$PRGNAM/lib/lib$i.so
+done
# Convenience symlink, for us command line freaks.
mkdir -p $PKG/usr/bin
@@ -94,4 +127,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hexinator/hexinator.info b/development/hexinator/hexinator.info
index 89be995081..adfac7c04a 100644
--- a/development/hexinator/hexinator.info
+++ b/development/hexinator/hexinator.info
@@ -1,10 +1,14 @@
PRGNAM="hexinator"
VERSION="1.12"
HOMEPAGE="https://hexinator.com/"
-DOWNLOAD="https://hexinator.com/downloads/dists/synalysis/non-free/binary-i386/hexinator-1.10_i386.deb"
-MD5SUM="7d056fcd3f45519873adf453caa9a5dc"
-DOWNLOAD_x86_64="https://hexinator.com/downloads/dists/synalysis/non-free/binary-amd64/hexinator-1.12_amd64.deb"
-MD5SUM_x86_64="1dd4bb1ac5a312c0fe86cdc2d946130b"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/hexinator/hexinator-1.10_i386.deb \
+ https://ponce.cc/slackware/sources/repo/hexinator/openssl10-solibs-1.0.2u-i586-2.txz"
+MD5SUM="7d056fcd3f45519873adf453caa9a5dc \
+ 24daa7235c1ba79a718a12734d5f4b47"
+DOWNLOAD_x86_64="https://ponce.cc/slackware/sources/repo/hexinator/hexinator-1.12_amd64.deb \
+ https://ponce.cc/slackware/sources/repo/hexinator/openssl10-solibs-1.0.2u-x86_64-2.txz"
+MD5SUM_x86_64="1dd4bb1ac5a312c0fe86cdc2d946130b \
+ 4f46ed0bada6b941153c22dad3634c64"
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/hexnet/README b/development/hexnet/README
new file mode 100644
index 0000000000..71f4c2d4b7
--- /dev/null
+++ b/development/hexnet/README
@@ -0,0 +1,8 @@
+hexnet is minimalistic network terminal for testing of binary communi-
+cations. It accepts multiple pairs of characters interpreting each
+pair as a hexadecimal number. Pairs may optionally be delimited by any
+character, e.g. "2a:45" or "44 4c". Lower and upper case letters are
+both accepted.
+
+Data is send to a host specified by IP address and port, received data
+can be displayed in different formats.
diff --git a/development/hexnet/hexnet.SlackBuild b/development/hexnet/hexnet.SlackBuild
new file mode 100644
index 0000000000..81009bccae
--- /dev/null
+++ b/development/hexnet/hexnet.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for hexnet
+
+# Copyright (c) 2021, Axel Bergerhoff <the.druid@arcor.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=hexnet
+VERSION=${VERSION:-1.1.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 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
+
+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
+
+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/usr/bin
+gcc $SLCKFLAGS -c cmdline.c hexnet.c hexnetfunctions.c
+gcc $SLCKFLAGS -w -Wl,--allow-multiple-definition -o $PKG/usr/bin/hexnet cmdline.o hexnet.o hexnetfunctions.o
+
+gzip hexnet.1
+mkdir -p $PKG/usr/man/man1
+cp -a hexnet.1.gz $PKG/usr/man/man1/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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/development/hexnet/hexnet.info b/development/hexnet/hexnet.info
new file mode 100644
index 0000000000..5201e0d555
--- /dev/null
+++ b/development/hexnet/hexnet.info
@@ -0,0 +1,10 @@
+PRGNAM="hexnet"
+VERSION="1.1.1"
+HOMEPAGE="http://abergerhoff.de/hexnet"
+DOWNLOAD="http://abergerhoff.de/hexnet/hexnet-1.1.1.tar.gz"
+MD5SUM="a66f6618037a04bc0f50abad95e21f2a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Axel Bergerhoff"
+EMAIL="the.druid@arcor.de"
diff --git a/development/hexnet/slack-desc b/development/hexnet/slack-desc
new file mode 100644
index 0000000000..b6af701eb9
--- /dev/null
+++ b/development/hexnet/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------------------------------------------------------|
+hexnet: hexnet (network terminal)
+hexnet:
+hexnet: Hexnet hexnet is minimalistic network terminal for testing of binary
+hexnet: network IP based communications.
+hexnet: It accepts multiple pairs of characters interpreting each pair as a
+hexnet: hexadecimal number.
+hexnet: Pairs may optionally be delimited by any character.
+hexnet: Data is send to a host specified by IP address and port, received
+hexnet: data can be displayed in different formats.
+hexnet:
+hexnet: Home page: http://abergerhoff.de/hexnet/
diff --git a/development/hhvm/0001-Link-static-libiberty.patch b/development/hhvm/0001-Link-static-libiberty.patch
deleted file mode 100644
index 6ec6406fce..0000000000
--- a/development/hhvm/0001-Link-static-libiberty.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 58528a9e983ae8ba53e4e5c10f0565ac0b12c2b3 Mon Sep 17 00:00:00 2001
-From: Eugen Wissner <belka@caraus.de>
-Date: Sun, 25 Oct 2020 10:18:08 +0100
-Subject: [PATCH] Link static libiberty
-
----
- hphp/hhvm/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/hphp/hhvm/CMakeLists.txt b/hphp/hhvm/CMakeLists.txt
-index f70bd1f542..ab41ec1e5d 100644
---- a/hphp/hhvm/CMakeLists.txt
-+++ b/hphp/hhvm/CMakeLists.txt
-@@ -28,7 +28,7 @@ endif()
-
- get_object_libraries_objects(additionalObjects ${HHVM_WHOLE_ARCHIVE_LIBRARIES})
- add_executable(hhvm ${CXX_SOURCES} ${additionalObjects})
--target_link_libraries(hhvm ${HHVM_LINK_LIBRARIES} ${EZC_LINK_LIBRARIES} ${HRE_LINK_LIBRARIES})
-+target_link_libraries(hhvm /usr/lib64/libiberty.a ${HHVM_LINK_LIBRARIES} ${EZC_LINK_LIBRARIES} ${HRE_LINK_LIBRARIES})
- link_object_libraries(hhvm ${HHVM_WHOLE_ARCHIVE_LIBRARIES})
- if (GOLD_FOUND AND ENABLE_LD_GOLD)
- if (CMAKE_CONFIGURATION_TYPES)
---
-2.17.5
-
diff --git a/development/hhvm/etc/rc.hhvm b/development/hhvm/etc/rc.hhvm
index 33ab15a777..049fb521d4 100644
--- a/development/hhvm/etc/rc.hhvm
+++ b/development/hhvm/etc/rc.hhvm
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
### BEGIN INIT INFO
# Provides: hhvm
@@ -28,7 +28,7 @@ do_stop () {
exit 1
fi
- PID=`cat $2`
+ PID=$(cat $2)
kill $1 $PID
# Waiting for HHVM to shutdown
@@ -37,7 +37,7 @@ do_stop () {
if ps -p $PID | grep -q $PID
then
echo -n .
- try=`expr $try + 1`
+ try=$(expr $try + 1)
sleep 1
else
try=''
@@ -66,7 +66,7 @@ wait_for_pid () {
fi
echo -n .
- try=`expr $try + 1`
+ try=$(expr $try + 1)
sleep 1
done
@@ -81,6 +81,9 @@ case "$1" in
exit 1
fi
+ mkdir -p $(dirname ${PIDFILE}) $(dirname ${hhvm_SOCKET})
+ chown apache:apache $(dirname ${PIDFILE})
+
echo
/usr/bin/hhvm --mode daemon $DAEMON_ARGS
if [ "$?" != 0 ]
@@ -89,7 +92,6 @@ case "$1" in
exit 1
fi
- mkdir -p `dirname $PIDFILE`
wait_for_pid $PIDFILE
if [ -n "$try" ] ; then
@@ -125,7 +127,7 @@ case "$1" in
exit 0
fi
- PID=`cat $PIDFILE`
+ PID=$(cat $PIDFILE)
if ps -p $PID | grep -q $PID
then
echo "HHVM (pid $PID) is running..."
@@ -148,7 +150,7 @@ case "$1" in
exit 1
fi
- kill -USR2 `cat $PIDFILE`
+ kill -USR2 $(cat $PIDFILE)
echo " done"
;;
diff --git a/development/hhvm/hhvm.SlackBuild b/development/hhvm/hhvm.SlackBuild
index 0585b2097b..fadc3c030f 100644
--- a/development/hhvm/hhvm.SlackBuild
+++ b/development/hhvm/hhvm.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for HHVM
-# Copyright 2015-2020 Eugene Wissner, Dachau, Germany
+# Copyright 2015-2023 Eugene Wissner, Dachau, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,17 @@
# 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=hhvm
-VERSION=${VERSION:-4.56.1}
+VERSION=${VERSION:-4.168.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-OPAM_STAMP="6ef290f5"
-CARGO_STAMP="1ecc6299db9ec823"
+OPAM_STAMP="1d2e919"
+CARGO_BUILD="3"
+FB_VERSION="2022.07.04.00"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -60,9 +71,91 @@ rm -rf $PRGNAM-$VERSION
tar Jxvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
-mkdir -p hphp/hack/_build/opam hphp/hack/facebook
+mkdir -p hphp/hack/facebook hphp/hack/_build/opam
tar Jxvf $CWD/hack-switch-$OPAM_STAMP.tar.xz -C hphp/hack/_build/opam
-tar Jxvf $CWD/cargo-home-$CARGO_STAMP.tar.xz -C hphp/hack
+tar Jxvf $CWD/cargo-home-$CARGO_BUILD.tar.xz -C hphp/hack/_build
+
+install -m 0755 -D $CWD/opam-2.1.0-x86_64-linux \
+ third-party/opam/opamDownload-prefix/src/opam-2.1.0-x86_64-linux
+
+install -m 0644 -D $CWD/fmt-8.0.0.zip third-party/fmt/bundled_fmt-prefix/src/fmt-8.0.0.zip
+unzip $CWD/fmt-8.0.0.zip -d third-party/fmt/bundled_fmt-prefix/src
+mv third-party/fmt/bundled_fmt-prefix/src/fmt-8.0.0 third-party/fmt/bundled_fmt-prefix/src/bundled_fmt
+
+mkdir -p third-party/re2/bundled_re2-prefix/src/bundled_re2
+install -m 0644 -D $CWD/re2-2021-11-01.tar.gz third-party/re2/bundled_re2-prefix/src/re2-2021-11-01.tar.gz
+tar zxvf $CWD/re2-2021-11-01.tar.gz \
+ -C third-party/re2/bundled_re2-prefix/src/bundled_re2 \
+ --strip-components=1
+
+mkdir -p third-party/brotli/bundled_brotli-prefix/src/bundled_brotli
+install -m 0644 -D $CWD/brotli-v1.0.9.tar.gz third-party/brotli/bundled_brotli-prefix/src/brotli-v1.0.9.tar.gz
+tar zxvf $CWD/brotli-v1.0.9.tar.gz \
+ -C third-party/brotli/bundled_brotli-prefix/src/bundled_brotli \
+ --strip-components=1
+
+mkdir -p third-party/rustc/bundled_rust-prefix/src/bundled_rust
+install -m 0644 -D $CWD/rust-nightly-x86_64-unknown-linux-gnu.tar.gz \
+ third-party/rustc/bundled_rust-prefix/src/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
+tar zxvf $CWD/rust-nightly-x86_64-unknown-linux-gnu.tar.gz \
+ -C third-party/rustc/bundled_rust-prefix/src/bundled_rust \
+ --strip-components=1
+
+mkdir -p third-party/proxygen/bundled_proxygen-prefix/src/bundled_proxygen
+install -m 0644 -D $CWD/proxygen-v${FB_VERSION}.tar.gz \
+ third-party/proxygen/bundled_proxygen-prefix/src/proxygen-v${FB_VERSION}.tar.gz
+tar zxvf $CWD/proxygen-v${FB_VERSION}.tar.gz \
+ -C third-party/proxygen/bundled_proxygen-prefix/src/bundled_proxygen
+
+mkdir -p third-party/folly/bundled_folly-prefix/src/bundled_folly
+install -m 0644 -D $CWD/folly-v${FB_VERSION}.tar.gz \
+ third-party/folly/bundled_folly-prefix/src/folly-v${FB_VERSION}.tar.gz
+tar zxvf $CWD/folly-v${FB_VERSION}.tar.gz \
+ -C third-party/folly/bundled_folly-prefix/src/bundled_folly
+
+mkdir -p third-party/wangle/bundled_wangle-prefix/src/bundled_wangle
+install -m 0644 -D $CWD/wangle-v${FB_VERSION}.tar.gz \
+ third-party/wangle/bundled_wangle-prefix/src/wangle-v${FB_VERSION}.tar.gz
+tar -zxvf $CWD/wangle-v${FB_VERSION}.tar.gz \
+ -C third-party/wangle/bundled_wangle-prefix/src/bundled_wangle
+
+mkdir -p third-party/thrift/bundled_thrift-prefix/src/bundled_thrift
+install -m 0644 -D $CWD/fbthrift-v${FB_VERSION}.tar.gz \
+ third-party/thrift/bundled_thrift-prefix/src/fbthrift-v${FB_VERSION}.tar.gz
+tar -zxvf $CWD/fbthrift-v${FB_VERSION}.tar.gz \
+ -C third-party/thrift/bundled_thrift-prefix/src/bundled_thrift \
+ --strip-components=1
+
+mkdir -p third-party/mcrouter/bundled_mcrouter-prefix/src/bundled_mcrouter
+install -m 0644 -D $CWD/mcrouter-v${FB_VERSION}.tar.gz \
+ third-party/mcrouter/bundled_mcrouter-prefix/src/mcrouter-v${FB_VERSION}.tar.gz
+tar -zxvf $CWD/mcrouter-v${FB_VERSION}.tar.gz \
+ -C third-party/mcrouter/bundled_mcrouter-prefix/src/bundled_mcrouter \
+ --strip-components=1
+
+mkdir -p third-party/timelib/bundled_timelib-prefix/src/bundled_timelib
+install -m 0644 -D $CWD/timelib-2021.07.tar.gz third-party/timelib/bundled_timelib-prefix/src/timelib-2021.07.tar.gz
+tar -zxvf $CWD/timelib-2021.07.tar.gz \
+ -C third-party/timelib/bundled_timelib-prefix/src/bundled_timelib \
+ --strip-components=1
+
+mkdir -p third-party/fizz/bundled_fizz-prefix/src/bundled_fizz
+install -m 0644 -D $CWD/fizz-v${FB_VERSION}.tar.gz \
+ third-party/fizz/bundled_fizz-prefix/src/fizz-v${FB_VERSION}.tar.gz
+tar -zxvf $CWD/fizz-v${FB_VERSION}.tar.gz \
+ -C third-party/fizz/bundled_fizz-prefix/src/bundled_fizz
+
+# The working directory is hphp/hack.
+cat << EOF > hphp/hack/facebook/fetch_opam2_repo_hack.sh
+!/bin/sh
+cp $CWD/index-$OPAM_STAMP.tar.gz facebook/
+echo facebook/index-$OPAM_STAMP
+EOF
+chmod 0755 hphp/hack/facebook/fetch_opam2_repo_hack.sh
+
+patch -p1 --verbose -i $CWD/patches/0001-liburing.patch
+patch -p1 --verbose -i $CWD/patches/0002-download.patch
+patch -p1 --verbose -i $CWD/patches/0003-iquote.patch
chown -R root:root .
find -L . \
@@ -71,34 +164,24 @@ 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 {} \;
-cp $CWD/opam-full-2.0.3.tar.gz third-party/ocaml/
-install -m 0644 -D $CWD/rust-1.43.0-x86_64-unknown-linux-gnu.tar.gz \
- third-party/rustc/rust-prefix/src/rust-1.43.0-x86_64-unknown-linux-gnu.tar.gz
-install -m 0644 -D $CWD/fmt-6.1.2.zip third-party/fmt/fmt-prefix/src/fmt-6.1.2.zip
-install -m 0644 -D $CWD/libzip-1.6.1.tar.gz third-party/libzip/libzipBuild-prefix/src/libzip-1.6.1.tar.gz
-
-cat << EOF > hphp/hack/facebook/fetch_opam2_repo_hack.sh
-#!/bin/sh
-echo $CWD/index-$OPAM_STAMP
-EOF
-chmod 0755 hphp/hack/facebook/fetch_opam2_repo_hack.sh
-
-patch -p1 -i $CWD/0001-Link-static-libiberty.patch
-
export CMAKE_PREFIX_PATH=`pwd`
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lncursesw -I/usr/kerberos/include -I/usr/include/libiberty" \
- -DCMAKE_CXX_STANDARD=14 \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
- -DENABLE_MCROUTER=false \
- -DNON_DISTRIBUTABLE_BUILD=true \
- -DENABLE_LD_GOLD=true \
- -DUSE_JEMALLOC=false \
- -DMYSQL_UNIX_SOCK_ADDR=/var/run/mysqld/mysqld.sock \
- -DCMAKE_BUILD_TYPE=Release .
-make
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_STANDARD=17 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DENABLE_MCROUTER=true \
+ -DENABLE_EXTENSION_IMAGICK=false \
+ -DNON_DISTRIBUTABLE_BUILD=true \
+ -DENABLE_LD_GOLD=true \
+ -DUSE_JEMALLOC=true \
+ -DUSE_BUNDLED_TZDATA=OFF \
+ -DFORCE_BUNDLED_LZ4=OFF \
+ -DCAN_USE_SYSTEM_ZSTD=ON \
+ -DMYSQL_UNIX_SOCK_ADDR=/var/run/mysqld/mysqld.sock \
+ -DCMAKE_BUILD_TYPE=Release .
+make || make -j1
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -114,10 +197,6 @@ install -m 644 -D $CWD/etc/php.ini $PKG/etc/hhvm/php.ini.new
mkdir -p $PKG/var/log/hhvm $PKG/usr/lib64/hhvm/extensions
-# PID
-mkdir -p $PKG/var/run/hhvm
-chown apache:apache $PKG/var/run/hhvm
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md LICENSE* hphp/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -127,4 +206,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hhvm/hhvm.info b/development/hhvm/hhvm.info
index 7c1f7fc9ff..5eaeddab22 100644
--- a/development/hhvm/hhvm.info
+++ b/development/hhvm/hhvm.info
@@ -1,24 +1,40 @@
PRGNAM="hhvm"
-VERSION="4.56.1"
+VERSION="4.168.2"
HOMEPAGE="https://hhvm.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.dlackware.com/hosted-sources/hhvm/hhvm-4.56.1.tar.xz \
- https://static.rust-lang.org/dist/rust-1.43.0-x86_64-unknown-linux-gnu.tar.gz \
- https://download.dlackware.com/hosted-sources/hhvm/opam-full-2.0.3.tar.gz \
- https://download.dlackware.com/hosted-sources/hhvm/libzip-1.6.1.tar.gz \
- https://download.dlackware.com/hosted-sources/hhvm/fmt-6.1.2.zip \
- https://download.dlackware.com/hosted-sources/hhvm/cargo-home-1ecc6299db9ec823.tar.xz \
- https://download.dlackware.com/hosted-sources/hhvm/index-6ef290f5.tar.gz \
- https://download.dlackware.com/hosted-sources/hhvm/hack-switch-6ef290f5.tar.xz"
-MD5SUM_x86_64="edc4cf258e49b2311418f3cc651e6782 \
- c1cb2b3d0c9edb4b61b01ba6b090d01b \
- d685758ad289672ee43caa4baa20b849 \
- 43883accb207d977462aed9fed40b30b \
- 5ec643b082a34254ad07136e7cbd4220 \
- 990b311a2863c88e372051291a9f7f02 \
- 1f67209970361d31d2b60812af78b540 \
- ddff31c5f0baa6b0ebc3b04e67d04306"
-REQUIRES="tbb glog libdwarf oniguruma libmemcached krb5 libsodium"
+DOWNLOAD_x86_64="https://download.dlackware.com/hosted-sources/hhvm/hhvm-4.168.2.tar.xz \
+ https://static.rust-lang.org/dist/2022-08-01/rust-nightly-x86_64-unknown-linux-gnu.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/opam-2.1.0-x86_64-linux \
+ https://download.dlackware.com/hosted-sources/hhvm/brotli-v1.0.9.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/fmt-8.0.0.zip \
+ https://download.dlackware.com/hosted-sources/hhvm/cargo-home-3.tar.xz \
+ https://download.dlackware.com/hosted-sources/hhvm/index-1d2e919.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/hack-switch-1d2e919.tar.xz \
+ https://download.dlackware.com/hosted-sources/hhvm/fbthrift-v2022.07.04.00.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/fizz-v2022.07.04.00.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/folly-v2022.07.04.00.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/mcrouter-v2022.07.04.00.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/proxygen-v2022.07.04.00.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/re2-2021-11-01.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/timelib-2021.07.tar.gz \
+ https://download.dlackware.com/hosted-sources/hhvm/wangle-v2022.07.04.00.tar.gz"
+MD5SUM_x86_64="e28368785c9d9a450e535dfab58edd25 \
+ 6c9d12670d6ef18be6da3e92ebe692e9 \
+ 87d949d8dd93061c5f727094da67f315 \
+ c2274f0c7af8470ad514637c35bcee7d \
+ f6eb7f98a6aa09aa0102c0c931feec55 \
+ e4fd7b7137880abf755c34d8bd53cb2c \
+ 65d68e3ecb52e910245cb6d3a02d137f \
+ 0eec01bc44b88f75ce6a0799b09b6e3b \
+ ba0283a7a932e329852b0634765ea6f1 \
+ 34e50ea874ba018c567409a02919f613 \
+ 0b6de34c0ca84a4f89d72a3380de9391 \
+ 0084e476218aeb9a03fa1a0e5d797522 \
+ cc6c17ef5b582d8f602efce8a61a117e \
+ 8db4cf198c296eb001b4bf7ac194e598 \
+ 7b869e86c44b5a3d9296149285c8bd69 \
+ 544011faeb62a328f8b92044f9adcf11"
+REQUIRES="tbb glog libdwarf libmemcached double-conversion gflags"
MAINTAINER="Eugene Wissner"
EMAIL="belka@caraus.de"
diff --git a/development/hhvm/patches/0001-liburing.patch b/development/hhvm/patches/0001-liburing.patch
new file mode 100644
index 0000000000..1369df0f0d
--- /dev/null
+++ b/development/hhvm/patches/0001-liburing.patch
@@ -0,0 +1,37 @@
+--- a/third-party/proxygen/bundled_proxygen-prefix/src/bundled_proxygen/proxygen/lib/services/WorkerThread.cpp 2022-06-16 13:33:00.766000000 +0200
++++ b/third-party/proxygen/bundled_proxygen-prefix/src/bundled_proxygen/proxygen/lib/services/WorkerThread.cpp 2022-06-16 13:37:39.111000000 +0200
+@@ -17,7 +17,7 @@
+ #include <glog/logging.h>
+ #include <signal.h>
+
+-#if !FOLLY_MOBILE && __has_include(<liburing.h>)
++#if !FOLLY_MOBILE && false
+
+ DEFINE_int32(pwt_io_uring_capacity, -1, "io_uring backend capacity");
+ DEFINE_int32(pwt_io_uring_max_submit, 128, "io_uring backend max submit");
+--- a/third-party/folly/bundled_folly-prefix/src/bundled_folly/folly/experimental/io/IoUringBackend.h 2022-06-16 13:38:45.523000000 +0200
++++ b/third-party/folly/bundled_folly-prefix/src/bundled_folly/folly/experimental/io/IoUringBackend.h 2022-06-16 13:43:08.748000000 +0200
+@@ -40,11 +40,7 @@
+ #include <poll.h>
+ #endif
+
+-#if __has_include(<liburing.h>)
+-#include <liburing.h>
+-#endif
+-
+-#if __has_include(<liburing.h>)
++#if false
+
+ namespace folly {
+
+--- a/third-party/folly/bundled_folly-prefix/src/bundled_folly/folly/experimental/io/IoUringBackend.cpp 2022-06-16 14:12:06.191000000 +0200
++++ b/third-party/folly/bundled_folly-prefix/src/bundled_folly/folly/experimental/io/IoUringBackend.cpp 2022-06-16 14:09:28.887000000 +0200
+@@ -31,7 +31,7 @@
+ #include <sys/timerfd.h>
+ #endif
+
+-#if __has_include(<liburing.h>)
++#if false
+
+ extern "C" FOLLY_ATTR_WEAK void eb_poll_loop_pre_hook(uint64_t* call_time);
+ extern "C" FOLLY_ATTR_WEAK void eb_poll_loop_post_hook(
diff --git a/development/hhvm/patches/0002-download.patch b/development/hhvm/patches/0002-download.patch
new file mode 100644
index 0000000000..5693c55e74
--- /dev/null
+++ b/development/hhvm/patches/0002-download.patch
@@ -0,0 +1,247 @@
+--- hhvm-4.168.2/third-party/libzip/CMakeLists.txt 2023-05-28 20:16:44.000000000 +0200
++++ - 2023-06-01 19:10:40.449428587 +0200
+@@ -23,10 +23,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ LIBZIP_DOWNLOAD_ARGS
+- SOURCE_URL
+- "https://libzip.org/download/libzip-1.6.1.tar.gz"
+- SOURCE_HASH
+- "SHA256=06eb8e9141fd19e2788cabaea9c9c2fd4d488d9e1484eb474bbfcac78e7b1d88"
+ )
+
+ ExternalProject_Add(
+--- hhvm-4.168.2/third-party/re2/CMakeLists.txt 2023-05-28 20:16:44.000000000 +0200
++++ - 2023-06-01 19:10:40.453034229 +0200
+@@ -12,10 +12,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ RE2_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/google/re2/archive/refs/tags/2021-11-01.tar.gz"
+- SOURCE_HASH
+- "SHA256=8c45f7fba029ab41f2a7e6545058d9eec94eef97ce70df58e92d85cfc08b4669"
+ FILENAME_PREFIX "re2-"
+ )
+
+--- hhvm-4.168.2/third-party/zstd/CMakeLists.txt 2023-05-28 20:16:44.000000000 +0200
++++ - 2023-06-01 19:10:40.454513420 +0200
+@@ -36,10 +36,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ ZSTD_DOWNLOAD_ARGS
+- SOURCE_URL
+- "https://github.com/facebook/zstd/releases/download/v1.4.9/zstd-1.4.9.tar.gz"
+- SOURCE_HASH
+- "SHA512=10d325c844be43f801c798158c6f1d1ab57401abf1e783e04f6b9e4ac0ba53cf487204fa3244370b1ade239d5f3a784bf1829e206c4ba61fdd9c2f4e9502b238"
+ )
+ ExternalProject_Add(
+ bundled_zstd
+--- hhvm-4.168.2/third-party/libsodium/CMakeLists.txt 2023-05-28 20:16:44.000000000 +0200
++++ - 2023-06-01 19:10:40.456241341 +0200
+@@ -21,10 +21,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ LIBSODIUM_DOWNLOAD_ARGS
+- SOURCE_URL
+- "https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz"
+- SOURCE_HASH
+- "SHA512=17e8638e46d8f6f7d024fe5559eccf2b8baf23e143fadd472a7d29d228b186d86686a5e6920385fe2020729119a5f12f989c3a782afbd05a8db4819bb18666ef"
+ )
+
+ if (CMAKE_OSX_SYSROOT)
+--- hhvm-4.168.2/third-party/brotli/CMakeLists.txt 2023-05-28 20:16:43.000000000 +0200
++++ - 2023-06-01 19:10:40.458519062 +0200
+@@ -4,10 +4,6 @@
+ include(HPHPFunctions)
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ BROTLI_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/google/brotli/archive/refs/tags/v1.0.9.tar.gz"
+- SOURCE_HASH
+- "SHA256=f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46"
+ FILENAME_PREFIX "brotli-"
+ )
+
+--- hhvm-4.168.2/third-party/proxygen/CMakeLists.txt 2023-05-28 20:24:27.000000000 +0200
++++ - 2023-06-01 19:10:40.460795033 +0200
+@@ -18,10 +18,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ PROXYGEN_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/facebook/proxygen/releases/download/v2022.07.04.00/proxygen-v2022.07.04.00.tar.gz"
+- SOURCE_HASH
+- "SHA256=4de47545a5beb9f3ac2ccdd62ae9def112b3cc361bb71820b9306a04f4bb40e9"
+ )
+
+ ExternalProject_Add(
+--- hhvm-4.168.2/third-party/wangle/CMakeLists.txt 2023-05-28 20:24:27.000000000 +0200
++++ - 2023-06-01 19:10:40.463064724 +0200
+@@ -20,10 +20,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ WANGLE_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/facebook/wangle/releases/download/v2022.07.04.00/wangle-v2022.07.04.00.tar.gz"
+- SOURCE_HASH
+- "SHA256=8c7b538f9e9d84162056d6dc757bea1d0d4c0978889469f10e9d05b1dc4e5a83"
+ )
+
+ ExternalProject_Add(
+--- hhvm-4.168.2/third-party/thrift/CMakeLists.txt 2023-05-28 20:24:27.000000000 +0200
++++ - 2023-06-01 19:10:40.465499515 +0200
+@@ -20,10 +20,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ THRIFT_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/facebook/fbthrift/archive/refs/tags/v2022.07.04.00.tar.gz"
+- SOURCE_HASH
+- "SHA256=45e7ffb38655d9b518d28066f4276000a298990c7c32b9460ddb7a37f2af78bd"
+ FILENAME_PREFIX
+ "fbthrift-"
+ )
+--- hhvm-4.168.2/third-party/mcrouter/CMakeLists.txt 2023-05-28 20:24:27.000000000 +0200
++++ - 2023-06-01 19:10:40.467849786 +0200
+@@ -5,9 +5,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ MCROUTER_DOWNLOAD_ARGS
+- SOURCE_URL "https://github.com/facebook/mcrouter/archive/refs/tags/v2022.07.04.00.tar.gz"
+- SOURCE_HASH "SHA256=7a2a0b44736e896c844c4f8c7697202cdebf7fa42dbb4b84931ee5036a46945c"
+- # The tarball name is just the tag name, which can conflict in the cache
+ FILENAME_PREFIX "mcrouter-"
+ )
+
+--- hhvm-4.168.2/third-party/double-conversion/CMakeLists.txt 2023-05-28 20:16:43.000000000 +0200
++++ - 2023-06-01 19:10:40.470198057 +0200
+@@ -1,33 +1,7 @@
+ include(ExternalProject)
+ include(HPHPFunctions)
+
+-SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+- DOUBLE_CONVERSION_DOWNLOAD_ARGS
+- SOURCE_URL "https://github.com/google/double-conversion/archive/refs/tags/v3.0.1.tar.gz"
+- SOURCE_HASH "SHA256=d400c86417df2980b60dc27ad68249dd124964738916d20cdc9c90b42de86490"
+- # The tarball name is just the tag name, which can conflict in the cache
+- FILENAME_PREFIX "double-conversion-"
+-)
+-
+-ExternalProject_Add(
+- bundled_double-conversion
+- ${DOUBLE_CONVERSION_DOWNLOAD_ARGS}
+- CMAKE_ARGS
+- -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
+- -DCMAKE_INSTALL_LIBDIR=lib
+- -DCMAKE_INSTALL_INCLUDEDIR=include
+- -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
+- -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
+- -DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT}
+- EXCLUDE_FROM_ALL
+-)
+-
+-option(FORCE_BUNDLED_DOUBLE_CONVERSION "Always use bundled double-conversion" OFF)
+-if(FORCE_BUNDLED_DOUBLE_CONVERSION)
+- set(DOUBLE_CONVERSION_FOUND FALSE)
+-else()
+- find_package(DoubleConversion)
+-endif()
++find_package(DoubleConversion)
+
+ add_library(double-conversion INTERFACE)
+ if(DOUBLE_CONVERSION_FOUND)
+--- hhvm-4.168.2/third-party/timelib/CMakeLists.txt 2023-05-28 20:16:44.000000000 +0200
++++ - 2023-06-01 19:10:40.472727059 +0200
+@@ -6,9 +6,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ TIMELIB_DOWNLOAD_ARGS
+- SOURCE_URL "https://github.com/derickr/timelib/archive/refs/tags/2021.07.tar.gz"
+- SOURCE_HASH "SHA512=7bc56d20360937af10f63960e443cc8bd4d24c5369f697241e54da21465d4512bd16cfa6f0efcf2b847cc19781e1cecf93c9e19a1efa4f1a7012c9fa442eeabe"
+- # Look for timelib-YYYY.MM.tar.gz in download cache, not just YYYY.MM.tar.gz
+ FILENAME_PREFIX "timelib-"
+ )
+
+--- hhvm-4.168.2/third-party/oniguruma/CMakeLists.txt 2023-05-28 20:16:44.000000000 +0200
++++ - 2023-06-01 19:10:40.474969410 +0200
+@@ -28,10 +28,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ ONIG_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/kkos/oniguruma/releases/download/v6.9.5/onig-6.9.5.tar.gz"
+- SOURCE_HASH
+- "SHA512=2bdb24914e7069c6df9ab8a3d0190ddb58440d94b13860cdc36d259062ae0bc2aa85d564a4209ec596fc7ee47b0823d1b817d4f7ffcc3ea60e9870da84491dc1"
+ )
+
+ ExternalProject_add(
+--- hhvm-4.168.2/third-party/fizz/CMakeLists.txt 2023-05-28 20:24:27.000000000 +0200
++++ - 2023-06-01 19:10:40.477204211 +0200
+@@ -22,10 +22,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ FIZZ_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/facebookincubator/fizz/releases/download/v2022.07.04.00/fizz-v2022.07.04.00.tar.gz"
+- SOURCE_HASH
+- "SHA256=48941c3726b99aa9b22480ff92cbe3715154df0a4330ad42485b3d7649167b76"
+ )
+
+ set(
+--- hhvm-4.168.2/third-party/fmt/CMakeLists.txt 2023-05-28 20:24:27.000000000 +0200
++++ - 2023-06-01 19:10:40.478716581 +0200
+@@ -3,10 +3,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ FMT_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/fmtlib/fmt/releases/download/8.0.0/fmt-8.0.0.zip"
+- SOURCE_HASH
+- "SHA512=70848739642bebf2820d661e7547208445329325a0d8b5919d85f375d683c0f9bef763bc7e9d7823def15100134fd9a126a9e418223b20bf8d567e5084334778"
+ )
+
+ set(INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/fmt-prefix")
+--- hhvm-4.168.2/third-party/rustc/CMakeLists.txt 2023-05-28 20:16:44.000000000 +0200
++++ - 2023-06-01 19:10:40.480975123 +0200
+@@ -32,14 +32,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ RUST_DOWNLOAD_ARGS
+- Linux_URL
+- "https://static.rust-lang.org/dist/${RUST_NIGHTLY_VERSION}/rust-nightly-x86_64-unknown-linux-gnu.tar.gz"
+- Darwin_URL
+- "https://static.rust-lang.org/dist/${RUST_NIGHTLY_VERSION}/rust-nightly-x86_64-apple-darwin.tar.gz"
+- Linux_HASH
+- "SHA512=de136959121b4117ab31a9ae4c4b3c593d4fcdf9724bd0f62e8a4ab41becccfa4b8e92ebe1460d9be508986888b95b38620bb68b58496db89706760074b9585d"
+- Darwin_HASH
+- "SHA512=77beb1d67233d3954c2709a47c2513762e91e506041bb5ad8d0aad90124cb5a229dfc87e1fb767826f27a31b52520f148c52c2f3a595dac6e09a676c6e660462"
+ # The original filename doesn't contain any version information, so add the version information as a prefix to avoid cache collisions when updating later
+ FILENAME_PREFIX "rustc-${RUST_NIGHTLY_VERSION}-"
+ )
+--- hhvm-4.168.2/third-party/lz4/CMakeLists.txt 2023-05-28 20:16:44.000000000 +0200
++++ - 2023-06-01 19:10:40.483215304 +0200
+@@ -21,10 +21,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ LZ4_DOWNLOAD_ARGS
+- SOURCE_URL "https://github.com/lz4/lz4/archive/v1.9.2.tar.gz"
+- SOURCE_HASH "SHA256=658ba6191fa44c92280d4aa2c271b0f4fbc0e34d249578dd05e50e76d0e5efcc"
+- # By default, we'd look for v1.9.2.tar.gz in the cache - let's look for
+- # lz4-v1.9.2 instead
+ FILENAME_PREFIX "lz4-"
+ )
+ set(MAKE_ARGS CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} "MOREFLAGS=-fPIC ${ISYSROOT_FLAG}")
+--- hhvm-4.168.2/third-party/folly/CMakeLists.txt 2023-05-28 20:24:27.000000000 +0200
++++ - 2023-06-01 19:10:40.485574035 +0200
+@@ -3,10 +3,6 @@
+
+ SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
+ FOLLY_SOURCE_ARGS
+- SOURCE_URL
+- "https://github.com/facebook/folly/releases/download/v2022.07.04.00/folly-v2022.07.04.00.tar.gz"
+- SOURCE_HASH
+- "SHA256=fff7caa4a230ac0b3ee88e383fa9ea1ee2b2f3f7611ae5b18c73a71a40ec0d43"
+ )
+
+ get_target_property(BOOST_INCLUDE_DIR boost INTERFACE_INCLUDE_DIRECTORIES)
diff --git a/development/hhvm/patches/0003-iquote.patch b/development/hhvm/patches/0003-iquote.patch
new file mode 100644
index 0000000000..e8a42ce09f
--- /dev/null
+++ b/development/hhvm/patches/0003-iquote.patch
@@ -0,0 +1,18 @@
+diff --git a/hphp/hack/CMakeLists.txt b/hphp/hack/CMakeLists.txt
+index b1aec712dbb..831c46db9e4 100644
+--- a/hphp/hack/CMakeLists.txt
++++ b/hphp/hack/CMakeLists.txt
+@@ -293,11 +293,8 @@ function(build_cxx_bridge NAME)
+ "${NAME}_rust_part"
+ ${CXX_BRIDGE_LINK_LIBS}
+ )
+- # `-iquote` is like `-I` (or target_include_directories()`), except:
+- # - it takes precedence over `-I`
+- # - it only applies to `#include "foo"`, not `#include <foo>`
+- target_compile_options("${NAME}" INTERFACE "-iquote" "${RUST_FFI_BUILD_ROOT}")
+- target_compile_options("${NAME}" PRIVATE "-iquote" "${GENERATED_CXXBRIDGE}")
++ target_include_directories("${NAME}" INTERFACE "${RUST_FFI_BUILD_ROOT}")
++ target_include_directories("${NAME}" PRIVATE "${GENERATED_CXXBRIDGE}")
+ endfunction()
+
+ build_cxx_bridge(
diff --git a/development/highlight/doinst.sh b/development/highlight/doinst.sh
index 686b2a1f0a..29442be229 100644
--- a/development/highlight/doinst.sh
+++ b/development/highlight/doinst.sh
@@ -12,3 +12,13 @@ config() {
}
config etc/highlight/filetypes.conf.new
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/highlight/highlight.SlackBuild b/development/highlight/highlight.SlackBuild
index 8a7ed4d1b2..ebb3bf94e0 100644
--- a/development/highlight/highlight.SlackBuild
+++ b/development/highlight/highlight.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for highlight
#
-# Copyright 2011-2017 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2011-2022 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,24 +22,34 @@
# 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=highlight
-VERSION=${VERSION:-3.38}
+VERSION=${VERSION:-4.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ 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
+
set -ue
rm -rf $PKG
@@ -55,8 +65,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 {} \;
-make cli
-make install DESTDIR=$PKG
+#Patch so gui links with lua5.1 instead of lua5.3 and fail.
+patch -p1 < $CWD/lua-qt.patch
+
+make cli gui
+make -j1 install install-gui DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@@ -76,4 +89,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/highlight/highlight.info b/development/highlight/highlight.info
index 160c4b0c17..ef92753436 100644
--- a/development/highlight/highlight.info
+++ b/development/highlight/highlight.info
@@ -1,10 +1,10 @@
PRGNAM="highlight"
-VERSION="3.38"
+VERSION="4.7"
HOMEPAGE="http://www.andre-simon.de/"
-DOWNLOAD="http://www.andre-simon.de/zip/highlight-3.38.tar.bz2"
-MD5SUM="cb6f5678455200d28dcdbc1028d35693"
+DOWNLOAD="http://www.andre-simon.de/zip/highlight-4.7.tar.bz2"
+MD5SUM="cc5f3a857aa6c6d9f23ea3e36522f959"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua"
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
+REQUIRES="lua53"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/development/highlight/lua-qt.patch b/development/highlight/lua-qt.patch
new file mode 100644
index 0000000000..6078f07dd9
--- /dev/null
+++ b/development/highlight/lua-qt.patch
@@ -0,0 +1,25 @@
+Only in highlight-4.1/src/gui-qt: .highlight.pro.un~
+diff -cr highlight-4.1.DIST/src/gui-qt/highlight.pro highlight-4.1/src/gui-qt/highlight.pro
+*** highlight-4.1.DIST/src/gui-qt/highlight.pro 2021-05-10 18:47:34.000000000 +0100
+--- highlight-4.1/src/gui-qt/highlight.pro 2022-07-27 14:39:31.295908472 +0100
+***************
+*** 36,44 ****
+ unix {
+ DESTDIR = ../
+ LIBS += -L.. -lhighlight
+! LIBS += -llua
+ CONFIG += link_pkgconfig
+! PKGCONFIG += lua
+
+ # to make it run within Qt Creator
+ !contains(DEFINES, DATA_DIR.*) {
+--- 36,44 ----
+ unix {
+ DESTDIR = ../
+ LIBS += -L.. -lhighlight
+! LIBS += -llua5.3
+ CONFIG += link_pkgconfig
+! PKGCONFIG += lua53
+
+ # to make it run within Qt Creator
+ !contains(DEFINES, DATA_DIR.*) {
diff --git a/development/hipSYCL/README b/development/hipSYCL/README
new file mode 100644
index 0000000000..5520cbcf3e
--- /dev/null
+++ b/development/hipSYCL/README
@@ -0,0 +1,9 @@
+ hipSYCL is a modern SYCL implementation targeting CPUs and GPUs,
+with a focus on leveraging existing toolchains such as CUDA or HIP.
+ hipSYCL supports compiling source files into a single binary that
+can run on all these backends when building against appropriate
+clang distributions.
+
+ For enable optional backends set one of the following variables:
+ - CUDA=yes, requires CUDA setup
+ - ROCM=yes, requires ROCM setup
diff --git a/development/hipSYCL/hipSYCL.SlackBuild b/development/hipSYCL/hipSYCL.SlackBuild
new file mode 100644
index 0000000000..4ac3aa5df9
--- /dev/null
+++ b/development/hipSYCL/hipSYCL.SlackBuild
@@ -0,0 +1,150 @@
+#!/bin/bash
+
+# Slackware build script for hipSYCL
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=hipSYCL
+VERSION=${VERSION:-0.9.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+
+# enable CUDA
+if [ "${CUDA:-no}" == "yes" ];then
+ OPTS="-DWITH_CUDA_BACKEND=ON"
+fi
+
+# enable ROCM
+if [ "${ROCM:-no}" == "yes" ];then
+ OPTS="-DWITH_ROCM_BACKEND=ON"
+fi
+
+# fix lib installation
+sed -i 's/LIBRARY DESTINATION lib/&'${LIBDIRSUFFIX}'/' \
+ src/runtime/CMakeLists.txt
+sed -i 's/ARCHIVE DESTINATION lib/&'${LIBDIRSUFFIX}'/' \
+ src/runtime/CMakeLists.txt
+
+# NOTE: fails to build with ACCELERATED_CPU=ON
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ $OPTS \
+ -DSYCLCC_CONFIG_FILE_GLOBAL_INSTALLATION=ON \
+ -DWITH_ACCELERATED_CPU=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# fix for cmake files at wrong place.
+# Don't found another way to do it let's manually move them
+mv $PKG/usr/lib/* $PKG/usr/lib${LIBDIRSUFFIX}
+
+# fix for the cmake files configured to use /lib/cmake path
+sed -i 's#/lib/cmake#/lib'${LIBDIRSUFFIX}'/cmake#g' \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/hipSYCL/hipsycl-config.cmake
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a examples $PKG/usr/share/$PRGNAM-$VERSION
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CONTRIBUTING.md LICENSE README.md doc \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hipSYCL/hipSYCL.info b/development/hipSYCL/hipSYCL.info
new file mode 100644
index 0000000000..d110044bc7
--- /dev/null
+++ b/development/hipSYCL/hipSYCL.info
@@ -0,0 +1,10 @@
+PRGNAM="hipSYCL"
+VERSION="0.9.3"
+HOMEPAGE="https://hipsycl.github.io"
+DOWNLOAD="https://github.com/illuhad/hipSYCL/archive/v0.9.3/hipSYCL-0.9.3.tar.gz"
+MD5SUM="47ce0e5ba85aec91494e2ea49bc12cf2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/hipSYCL/slack-desc b/development/hipSYCL/slack-desc
new file mode 100644
index 0000000000..e91958b5b1
--- /dev/null
+++ b/development/hipSYCL/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------------------------------------------------------|
+hipSYCL: hipSYCL (a SYCL implementation targeting CPU and GPUs)
+hipSYCL:
+hipSYCL:
+hipSYCL: hipSYCL is a modern SYCL implementation targeting CPUs and GPUs,
+hipSYCL: with a focus on leveraging existing toolchains such as CUDA or HIP.
+hipSYCL: hipSYCL supports compiling source files into a single binary that
+hipSYCL: can run on all these backends when building against appropriate
+hipSYCL: clang distributions.
+hipSYCL:
+hipSYCL:
+hipSYCL:
diff --git a/development/hopper/hopper.SlackBuild b/development/hopper/hopper.SlackBuild
index 65ed21c26e..bca1f99631 100644
--- a/development/hopper/hopper.SlackBuild
+++ b/development/hopper/hopper.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Hopper
@@ -22,10 +22,13 @@
# 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=hopper
-VERSION=${VERSION:-4.5.29}
+VERSION=${VERSION:-5.13.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -47,12 +57,12 @@ fi
set -e
-VN=v${VERSION%%.*}
+VN=v4
rm -rf $PKG
mkdir -p $PKG $OUTPUT
pushd ${PKG}
-tar xvf $CWD/Hopper-${VN}-${VERSION}-Linux.pkg.tar.xz
+tar xvf $CWD/Hopper-${VN}-${VERSION}-Linux-demo.pkg.tar.xz
rm -v .{INSTALL,PKGINFO}
mkdir -v usr/doc
mv -v usr/share/doc/hopper${VN} usr/doc/${PRGNAM}-${VERSION}
@@ -75,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hopper/hopper.info b/development/hopper/hopper.info
index 545ec77e85..19d5e0ea6e 100644
--- a/development/hopper/hopper.info
+++ b/development/hopper/hopper.info
@@ -1,10 +1,10 @@
PRGNAM="hopper"
-VERSION="4.5.29"
+VERSION="5.13.5"
HOMEPAGE="https://www.hopperapp.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-v4-4.5.29-Linux.pkg.tar.xz"
-MD5SUM_x86_64="1cd5bb70f99aad55fbca9c57c29f8835"
-REQUIRES="qt5 libbsd"
+DOWNLOAD_x86_64="https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-v4-5.13.5-Linux-demo.pkg.tar.xz"
+MD5SUM_x86_64="d01cdff96eca645273815b0c3a8308bf"
+REQUIRES="libbsd"
MAINTAINER="pyllyukko"
-EMAIL="pyllyukko AT maimed dot org"
+EMAIL="pyllyukko@maimed.org"
diff --git a/development/howl/howl.SlackBuild b/development/howl/howl.SlackBuild
index 8dab11c902..e8a51c0338 100644
--- a/development/howl/howl.SlackBuild
+++ b/development/howl/howl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for howl
@@ -22,10 +22,13 @@
# 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=howl
VERSION=${VERSION:-0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -88,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hte/hte.SlackBuild b/development/hte/hte.SlackBuild
index 97058415df..db27ff1126 100644
--- a/development/hte/hte.SlackBuild
+++ b/development/hte/hte.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hte
@@ -22,27 +22,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=ht
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hte
-VERSION=${VERSION:-2.0.18}
+SRCNAM=ht
+VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,14 +71,22 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.*z?
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
+
+# Thanks gentoo!
+patch -p1 < $CWD/hteditor-2.1.0-gcc-7.patch
+
+SLKCFLAGS="$SLKCFLAGS -std=c++11 -Wno-narrowing"
+
+# Respect our CFLAGS
+sed -i "s|-O3 -fomit-frame-pointer -Wall -fsigned-char|$SLKCFLAGS|" configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -106,4 +124,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hte/hte.info b/development/hte/hte.info
index e12fb4f8eb..1a2a2cd461 100644
--- a/development/hte/hte.info
+++ b/development/hte/hte.info
@@ -1,8 +1,8 @@
PRGNAM="hte"
-VERSION="2.0.18"
+VERSION="2.1.0"
HOMEPAGE="http://hte.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/hte/ht-2.0.18.tar.bz2"
-MD5SUM="9cd5c52bb3fbae5c631875cd0de3318c"
+DOWNLOAD="https://downloads.sf.net/hte/ht-2.1.0.tar.bz2"
+MD5SUM="09b2a4461d75e9cd03af1cd67fadc1ec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/hte/hteditor-2.1.0-gcc-7.patch b/development/hte/hteditor-2.1.0-gcc-7.patch
new file mode 100644
index 0000000000..ebcc3c0aa4
--- /dev/null
+++ b/development/hte/hteditor-2.1.0-gcc-7.patch
@@ -0,0 +1,32 @@
+https://bugs.gentoo.org/show_bug.cgi?id=620732
+
+Fixes build failure on gcc-7:
+
+ htapp.cc: In function 'uint isqr(uint)':
+ htapp.cc:3026:18: error: call of overloaded 'abs(uint)' is ambiguous
+ while (abs(a - b) > 1) {
+ ^
+
+Picked upstream patch that fixes it:
+
+commit 3b62f2f7e49e024ec9d3c5ffc8ff9cd87a107af6
+Author: Sebastian Biallas <sb@biallas.net>
+Date: Sun Nov 13 15:25:26 2016 +0100
+
+ use unsigned variables
+
+diff --git a/htapp.cc b/htapp.cc
+index 53d8725..03236e2 100644
+--- a/htapp.cc
++++ b/htapp.cc
+@@ -3021,8 +3021,8 @@ void do_modal_resize()
+
+ static uint isqr(uint u)
+ {
+- uint a = 2;
+- uint b = u/a;
++ int a = 2;
++ int b = u/a;
+ while (abs(a - b) > 1) {
+ a = (a+b)/2;
+ b = u/a;
diff --git a/development/hub/hub.SlackBuild b/development/hub/hub.SlackBuild
index 10b64f7487..b5a745a23e 100644
--- a/development/hub/hub.SlackBuild
+++ b/development/hub/hub.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hub
@@ -22,10 +22,13 @@
# 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=hub
VERSION=${VERSION:-2.14.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -97,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hugo/README b/development/hugo/README
index 13a15c6e49..9da352af9b 100644
--- a/development/hugo/README
+++ b/development/hugo/README
@@ -15,4 +15,5 @@ Hugo is designed to work well for any kind of website including blogs,
tumbles, and docs.
Notes:
-This Slackbuild installs the Hugo binary in /opt
+This slackbuild installs the "extended" version of Hugo. Please see
+the Hugo website for more about the additional functionality.
diff --git a/development/hugo/hugo.SlackBuild b/development/hugo/hugo.SlackBuild
index dba035538b..10d80c353a 100644
--- a/development/hugo/hugo.SlackBuild
+++ b/development/hugo/hugo.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hugo
-# Copyright 2020 Andrew Payne
+# Copyright 2020-2024 Andrew Payne <phalange@komputermatrix.com>
# Copyright 2018-2019 Donald Cooley South Haven, IN USA
# All rights reserved.
#
@@ -23,10 +23,13 @@
# 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=hugo
-VERSION=${VERSION:-0.78.2}
+VERSION=${VERSION:-0.125.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,14 +39,19 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
- BIT="32bit"
-elif [ "$ARCH" = "x86_64" ]; then
+if [ "$ARCH" = "x86_64" ]; then
BIT="64bit"
else
echo "$ARCH is not supported."
@@ -57,7 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM\_$VERSION\_Linux-$BIT.tar.gz -C $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM\_extended\_$VERSION\_Linux-$BIT.tar.gz -C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,7 +80,7 @@ mkdir -p $PKG/{usr/bin,opt/$PRGNAM}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README.md LICENSE \
+ LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -80,4 +88,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/hugo/hugo.info b/development/hugo/hugo.info
index 55c7052321..eb6622db67 100644
--- a/development/hugo/hugo.info
+++ b/development/hugo/hugo.info
@@ -1,10 +1,10 @@
PRGNAM="hugo"
-VERSION="0.78.2"
+VERSION="0.125.1"
HOMEPAGE="https://gohugo.io"
-DOWNLOAD="https://github.com/gohugoio/hugo/releases/download/v0.78.2/hugo_0.78.2_Linux-32bit.tar.gz"
-MD5SUM="d06d7535859707b3b551c8e817431920"
-DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.78.2/hugo_0.78.2_Linux-64bit.tar.gz"
-MD5SUM_x86_64="22c8e888b50e1074014daa4b5eb86af4"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.125.1/hugo_extended_0.125.1_Linux-64bit.tar.gz"
+MD5SUM_x86_64="f5c2d5b367b83da563bcca843d45f9df"
REQUIRES=""
MAINTAINER="Andrew Payne"
EMAIL="phalange@komputermatrix.com"
diff --git a/development/icdiff/fix-pipe-handling-installed.patch b/development/icdiff/fix-pipe-handling-installed.patch
deleted file mode 100644
index fcc9c84dd9..0000000000
--- a/development/icdiff/fix-pipe-handling-installed.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Description: fix closed pipe handling
-Author: Sascha Steinbiss <satta@debian.org>
-Bug: https://github.com/jeffkaufman/icdiff/issues/156
-Forwarded: https://github.com/jeffkaufman/icdiff/pull/165
-Last-Update: 2019-09-25
---- a/icdiff
-+++ b/icdiff
-@@ -594,7 +594,22 @@
- validate_has_two_arguments(parser, args)
- if not options.cols:
- set_cols_option(options)
-- diff(options, *args)
-+ try:
-+ diff(options, *args)
-+ except KeyboardInterrupt:
-+ pass
-+ except IOError as e:
-+ if e.errno == errno.EPIPE:
-+ pass
-+ else:
-+ raise
-+
-+ # Close stderr to prevent printing errors when icdiff is piped to
-+ # something that closes before icdiff is done writing
-+ #
-+ # See: https://stackoverflow.com/questions/26692284/...
-+ # ...how-to-prevent-brokenpipeerror-when-doing-a-flush-in-python
-+ sys.stderr.close()
-
-
- def codec_print(s, options):
-@@ -755,18 +770,4 @@
-
-
- if __name__ == "__main__":
-- try:
-- start()
-- except KeyboardInterrupt:
-- pass
-- except IOError as e:
-- if e.errno == errno.EPIPE:
-- pass
-- else:
-- raise
-- # Close stderr to prevent printing errors when icdiff is piped to
-- # something that closes before icdiff is done writing
-- #
-- # See: https://stackoverflow.com/questions/26692284/
-- # how-to-prevent-brokenpipeerror-when-doing-a-flush-in-python
-- sys.stderr.close()
-+ start()
diff --git a/development/icdiff/icdiff.1 b/development/icdiff/icdiff.1
index a0d718e92d..d5bb5306e2 100644
--- a/development/icdiff/icdiff.1
+++ b/development/icdiff/icdiff.1
@@ -1,8 +1,5 @@
.\" Man page generated from reStructuredText.
.
-.TH ICDIFF 1 "2020-11-15" "1.9.5" "SlackBuilds.org"
-.SH NAME
-icdiff \- improved color diff
.
.nr rst2man-indent-level 0
.
@@ -30,6 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
+.TH "ICDIFF" 1 "2021-08-31" "2.0.4" "SlackBuilds.org"
+.SH NAME
+icdiff \- improved color diff
.\" RST source for icdiff(1) man page. Convert with:
.
.\" rst2man.py icdiff.rst > icdiff.1
@@ -49,10 +49,10 @@ git\-icdiff [\fIgit diff options\fP]
.SH OPTIONS
.INDENT 0.0
.TP
-.B \-\-version
+.B \-\-version
show program\(aqs version number and exit
.TP
-.B \-h\fP,\fB \-\-help
+.B \-h\fP,\fB \-\-help
show this help message and exit
.TP
.BI \-\-cols\fB= COLS
@@ -61,53 +61,62 @@ specify the width of the screen. Autodetection is Unix only
.BI \-\-encoding\fB= ENCODING
specify the file encoding; defaults to utf8
.TP
-.BI \-E \ MATCHER\fP,\fB \ \-\-exclude\-lines\fB= MATCHER
+.BI \-E \ MATCHER\fR,\fB \ \-\-exclude\-lines\fB= MATCHER
Do not diff lines that match this regex. Not compatible with the \(aqline\-numbers\(aq option
.TP
.BI \-\-head\fB= HEAD
consider only the first N lines of each file
.TP
-.B \-H\fP,\fB \-\-highlight
+.B \-H\fP,\fB \-\-highlight
color by changing the background color instead of the foreground color. Very fast, ugly, displays all changes
.TP
-.BI \-L \ LABELS\fP,\fB \ \-\-label\fB= LABELS
+.BI \-L \ LABELS\fR,\fB \ \-\-label\fB= LABELS
override file labels with arbitrary tags. Use twice, one for each file
.TP
-.B \-N\fP,\fB \-\-line\-numbers
+.B \-N\fP,\fB \-\-line\-numbers
generate output with line numbers. Not compatible with the \(aqexclude\-lines\(aq option.
.TP
-.B \-\-no\-bold
+.B \-\-no\-bold
use non\-bold colors; recommended for solarized
.TP
-.B \-\-no\-headers
+.B \-\-no\-headers
don\(aqt label the left and right sides with their file names
.TP
.BI \-\-output\-encoding\fB= OUTPUT_ENCODING
specify the output encoding; defaults to utf8
.TP
-.B \-r\fP,\fB \-\-recursive
+.B \-r\fP,\fB \-\-recursive
recursively compare subdirectories
.TP
-.B \-\-show\-all\-spaces
+.B \-s\fP,\fB \-\-report\-identical\-files
+report when two files are the same
+.TP
+.B \-\-show\-all\-spaces
color all non\-matching whitespace including that which is not needed for drawing the eye to changes. Slow, ugly, displays all changes
.TP
.BI \-\-tabsize\fB= TABSIZE
tab stop spacing
.TP
-.B \-u\fP,\fB \-\-patch
+.B \-t\fP,\fB \-\-truncate
+truncate long lines instead of wrapping them
+.TP
+.B \-u\fP,\fB \-\-patch
generate patch. This is always true, and only exists for compatibility
.TP
-.BI \-U \ NUM\fP,\fB \ \-\-unified\fB= NUM\fP,\fB \ \-\-numlines\fB= NUM
+.BI \-U \ NUM\fR,\fB \ \-\-unified\fB= NUM\fR,\fB \ \-\-numlines\fB= NUM
how many lines of context to print; can\(aqt be combined with \-\-whole\-file
.TP
-.B \-W\fP,\fB \-\-whole\-file
+.B \-W\fP,\fB \-\-whole\-file
show the whole file instead of just changed lines and context
.TP
-.B \-\-strip\-trailing\-cr
+.B \-\-strip\-trailing\-cr
strip any trailing carriage return at the end of an input line
.TP
.BI \-\-color\-map\fB= COLOR_MAP
choose which colors are used for which items. Default is \-\-color\-map=\(aqadd:green_bold,change:yellow_bold,description:blue,meta:magenta,separator:blue,subtract:red_bold\(aq. You don\(aqt have to override all of them: \(aq\-\-color\-map=separator:white,description:cyan\(aq
+.TP
+.B \-\-is\-git\-diff
+Show the real file name when displaying git\-diff result
.UNINDENT
.SH NOTE
.sp
@@ -115,10 +124,10 @@ It\(aqs highly recommended to use wide terminals with \fBicdiff\fP, for
instance 160 columns or more.
.SH EXAMPLES
.sp
-See the file /usr/doc/icdiff\-1.9.5/README.md for examples.
+See the file /usr/doc/icdiff\-2.0.4/README.md for examples.
.SH COPYRIGHT
.sp
-See the file /usr/doc/icdiff\-1.9.5/LICENSE for license information.
+See the file /usr/doc/icdiff\-2.0.4/LICENSE for license information.
.SH AUTHORS
.sp
icdiff was written by Jeff Kaufman.
diff --git a/development/icdiff/icdiff.SlackBuild b/development/icdiff/icdiff.SlackBuild
index 2be5b2cc21..c933b504cc 100644
--- a/development/icdiff/icdiff.SlackBuild
+++ b/development/icdiff/icdiff.SlackBuild
@@ -1,16 +1,23 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for icdiff
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230901 bkw: updated for v2.0.7.
+# 20230103 bkw: updated for v2.0.6.
+# 20210831 bkw: updated for v2.0.4.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=icdiff
-VERSION=${VERSION:-1.9.5}
+VERSION=${VERSION:-2.0.7}
SRCVER=release-$VERSION
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -20,25 +27,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -51,19 +48,7 @@ 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 {} \+
-# patch from upstream git by way of Debian: Close stderr to prevent
-# printing errors when icdiff is piped to something that closes before
-# icdiff is done writing.
-patch -p1 < $CWD/fix-pipe-handling-installed.patch
-
-# 20201115 bkw: at some point, Slackware's /usr/bin/python will be python3.
-# This stuff can go away then.
-case "${PYVER:-auto}" in
- 2|3) ;; # use as-is
- auto) PYVER=2; python3 -c 'import sys' 2>/dev/null && PYVER=3 ;;
-esac
-
-python$PYVER setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
# man page made from README.md by SlackBuild author.
mkdir -p $PKG/usr/man/man1
@@ -71,11 +56,11 @@ gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
ln -s $PRGNAM.1.gz $PKG/usr/man/man1/git-$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* LICENSE* ChangeLog $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/icdiff/icdiff.info b/development/icdiff/icdiff.info
index 39d246098e..324b3900a5 100644
--- a/development/icdiff/icdiff.info
+++ b/development/icdiff/icdiff.info
@@ -1,10 +1,10 @@
PRGNAM="icdiff"
-VERSION="1.9.5"
+VERSION="2.0.7"
HOMEPAGE="https://www.jefftk.com/icdiff"
-DOWNLOAD="https://github.com/jeffkaufman/icdiff/archive/release-1.9.5/icdiff-release-1.9.5.tar.gz"
-MD5SUM="c896202f930336dfa461a0295019f887"
+DOWNLOAD="https://github.com/jeffkaufman/icdiff/archive/release-2.0.7/icdiff-release-2.0.7.tar.gz"
+MD5SUM="0349f21aef82c934e7f30266ad098df2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/icdiff/icdiff.rst b/development/icdiff/icdiff.rst
index d6b9cdca42..2fc7167f99 100644
--- a/development/icdiff/icdiff.rst
+++ b/development/icdiff/icdiff.rst
@@ -2,7 +2,7 @@
.. rst2man.py icdiff.rst > icdiff.1
.. rst2man.py comes from the SBo development/docutils package.
-.. |version| replace:: 1.9.5
+.. |version| replace:: 2.0.4
.. |date| date::
======
@@ -51,8 +51,11 @@ OPTIONS
--output-encoding=OUTPUT_ENCODING
specify the output encoding; defaults to utf8
-r, --recursive recursively compare subdirectories
+-s, --report-identical-files
+ report when two files are the same
--show-all-spaces color all non-matching whitespace including that which is not needed for drawing the eye to changes. Slow, ugly, displays all changes
--tabsize=TABSIZE tab stop spacing
+-t, --truncate truncate long lines instead of wrapping them
-u, --patch generate patch. This is always true, and only exists for compatibility
-U NUM, --unified=NUM, --numlines=NUM
how many lines of context to print; can't be combined with --whole-file
@@ -60,6 +63,7 @@ OPTIONS
--strip-trailing-cr strip any trailing carriage return at the end of an input line
--color-map=COLOR_MAP
choose which colors are used for which items. Default is --color-map='add:green_bold,change:yellow_bold,description:blue,meta:magenta,separator:blue,subtract:red_bold'. You don't have to override all of them: '--color-map=separator:white,description:cyan'
+--is-git-diff Show the real file name when displaying git-diff result
NOTE
====
diff --git a/development/icecream/README b/development/icecream/README
deleted file mode 100644
index d95ce6adf9..0000000000
--- a/development/icecream/README
+++ /dev/null
@@ -1,14 +0,0 @@
-Icecream is a distributed compile system. It allows parallel compiling
-by distributing the compile jobs to several nodes of a compile network
-running the icecc daemon. The icecc scheduler routes the jobs and
-provides status and statistics information to the icecc monitor. Each
-compile node can accept one or more compile jobs depending on the
-number of processors and the settings of the daemon. Link jobs and
-other jobs which cannot be distributed are executed locally on the
-node where the compilation is started.
-
-Note that upon installation of the resulting package, all your
-software will be compiled by icecream by default.
-
-For information on how to use icecream in combination with ccache see
-https://github.com/icecc/icecream#how-to-combine-icecream-with-ccache
diff --git a/development/icecream/doinst.sh b/development/icecream/doinst.sh
deleted file mode 100644
index 9685b60dea..0000000000
--- a/development/icecream/doinst.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same perms on rc.iceccd.new:
-if [ -e etc/rc.d/rc.iceccd ]; then
- cp -a etc/rc.d/rc.iceccd etc/rc.d/rc.iceccd.new.incoming
- cat etc/rc.d/rc.iceccd.new > etc/rc.d/rc.iceccd.new.incoming
- mv etc/rc.d/rc.iceccd.new.incoming etc/rc.d/rc.iceccd.new
-fi
-
-# Keep same perms on rc.icecc-scheduler.new:
-if [ -e etc/rc.d/rc.icecc-scheduler ]; then
- cp -a etc/rc.d/rc.icecc-scheduler etc/rc.d/rc.icecc-scheduler.new.incoming
- cat etc/rc.d/rc.icecc-scheduler.new > etc/rc.d/rc.icecc-scheduler.new.incoming
- mv etc/rc.d/rc.icecc-scheduler.new.incoming etc/rc.d/rc.icecc-scheduler.new
-fi
-
-config etc/rc.d/rc.iceccd.new
-config etc/rc.d/rc.icecream.conf.new
-config etc/rc.d/rc.icecc-scheduler.new
-
diff --git a/development/icecream/icecream.SlackBuild b/development/icecream/icecream.SlackBuild
deleted file mode 100644
index 4afe8dabd3..0000000000
--- a/development/icecream/icecream.SlackBuild
+++ /dev/null
@@ -1,133 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for icecream
-
-# Copyright 2009-2018 Heinz Wiesinger, Amsterdam, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=icecream
-VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if ! grep ^icecream: /etc/group 2>&1 > /dev/null; then
- echo " Must have a icecream group to run this script."
- echo " # groupadd -g 283 icecream"
- echo " Or something similar."
- exit 1
-elif ! grep ^icecream: /etc/passwd 2>&1 > /dev/null; then
- echo " Must have a icecream user to run this script."
- echo " # useradd -u 283 -g icecream -d /var/cache/icecream icecream"
- echo " Or something similar."
- exit 1
-fi
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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 {} \;
-
-./autogen.sh
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-clang-rewrite-includes \
- --enable-clang-wrappers \
- --enable-shared \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/etc/profile.d/
-cp $CWD/profile.d/* $PKG/etc/profile.d/
-chmod 0755 $PKG/etc/profile.d/*
-
-# Install init script
-mkdir -p $PKG/etc/rc.d
-install -m 0755 $CWD/rc.iceccd $PKG/etc/rc.d/rc.iceccd.new
-install -m 0755 $CWD/rc.icecc-scheduler $PKG/etc/rc.d/rc.icecc-scheduler.new
-install -m 0644 $CWD/rc.icecream.conf $PKG/etc/rc.d/rc.icecream.conf.new
-
-for i in $ARCH-slackware-linux-c++ $ARCH-slackware-linux-g++ \
- $ARCH-slackware-linux-gcc $ARCH-slackware-linux-clang \
- $ARCH-slackware-linux-clang++; do
- ln -s /usr/bin/icecc $PKG/usr/libexec/icecc/bin/$i
-done
-
-mkdir -p $PKG/var/{cache,log}/icecream
-chown icecream:icecream $PKG/var/{cache,log}/icecream
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/icecream/icecream.info b/development/icecream/icecream.info
deleted file mode 100644
index 430743d46a..0000000000
--- a/development/icecream/icecream.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="icecream"
-VERSION="1.1"
-HOMEPAGE="https://github.com/icecc/icecream"
-DOWNLOAD="https://github.com/icecc/icecream/archive/1.1/icecream-1.1.tar.gz"
-MD5SUM="bd33e21fa25ccedeb5c94be9c6f034e1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/development/icecream/profile.d/icecream.csh b/development/icecream/profile.d/icecream.csh
deleted file mode 100644
index 386d9242a8..0000000000
--- a/development/icecream/profile.d/icecream.csh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/csh
-setenv PATH /usr/libexec/icecc/bin:${PATH}
diff --git a/development/icecream/profile.d/icecream.sh b/development/icecream/profile.d/icecream.sh
deleted file mode 100644
index c0c3d179ee..0000000000
--- a/development/icecream/profile.d/icecream.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-export PATH=/usr/libexec/icecc/bin:$PATH
diff --git a/development/icecream/rc.icecc-scheduler b/development/icecream/rc.icecc-scheduler
deleted file mode 100644
index 633661bebe..0000000000
--- a/development/icecream/rc.icecc-scheduler
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-# Start/stop/restart scheduler.
-# $Id: rc.scheduler,v 1.0 2009/04/18
-# Author: Heinz Wiesinger <pprkut@liwjatan.at>
-# ---------------------------------------------------------------------------
-
-PID=$(/sbin/pidof -o %PPID icecc-scheduler)
-
-# Get the configuration information from /etc/rc.d/rc.icecream.conf:
-. /etc/rc.d/rc.icecream.conf
-
-# Start scheduler:
-scheduler_start() {
- if [ -n "$PID" ]; then
- echo "Distributed compiler scheduler already running"
- exit
- fi
- if [ -x /usr/sbin/icecc-scheduler ]; then
- echo "Starting distributed compiler scheduler: /usr/sbin/icecc-scheduler "
- /usr/sbin/icecc-scheduler -n $NETWORK -d -u icecream \
- -l /var/log/icecream/icecc-scheduler.log
- fi
-}
-
-# Stop scheduler:
-scheduler_stop() {
- echo "Stopping distributed compiler scheduler"
- killall icecc-scheduler 1> /dev/null 2> /dev/null
-}
-
-# Restart scheduler:
-scheduler_restart() {
- scheduler_stop
- sleep 1
- scheduler_start
-}
-
-case "$1" in
-'start')
- scheduler_start
- ;;
-'stop')
- scheduler_stop
- ;;
-'restart')
- scheduler_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
diff --git a/development/icecream/rc.iceccd b/development/icecream/rc.iceccd
deleted file mode 100644
index 776de18a15..0000000000
--- a/development/icecream/rc.iceccd
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-# Start/stop/restart iceccd.
-# $Id: rc.iceccd,v 1.0 2009/04/18
-# Author: Heinz Wiesinger <pprkut@liwjatan.at>
-# ---------------------------------------------------------------------------
-
-PID=$(/sbin/pidof -o %PPID iceccd)
-
-# Get the configuration information from /etc/rc.d/rc.icecream.conf:
-. /etc/rc.d/rc.icecream.conf
-
-# Start iceccd:
-iceccd_start() {
- if [ -n "$PID" ]; then
- echo "Distributed compiler daemon already running"
- exit
- fi
- if [ -x /usr/sbin/iceccd ]; then
- echo "Starting distributed compiler daemon: /usr/sbin/iceccd "
- /usr/sbin/iceccd -n $NETWORK -d -u icecream \
- -l /var/log/icecream/iceccd.log
- fi
-}
-
-# Stop iceccd:
-iceccd_stop() {
- echo "Stopping distributed compiler daemon"
- killall iceccd 1> /dev/null 2> /dev/null
-}
-
-# Restart iceccd:
-iceccd_restart() {
- iceccd_stop
- sleep 1
- iceccd_start
-}
-
-case "$1" in
-'start')
- iceccd_start
- ;;
-'stop')
- iceccd_stop
- ;;
-'restart')
- iceccd_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
diff --git a/development/icecream/rc.icecream.conf b/development/icecream/rc.icecream.conf
deleted file mode 100644
index f422fde174..0000000000
--- a/development/icecream/rc.icecream.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-# /etc/rc.d/rc.icecream.conf
-#
-# This file contains the configuration settings for both iceccd and scheduler
-
-# Defines the network name used to determine which nodes can be used for
-# the compile processes. That way you can have several icecream clusters
-# in the same network
-NETWORK=$(hostname -d)
diff --git a/development/icecream/slack-desc b/development/icecream/slack-desc
deleted file mode 100644
index a435b5c2cd..0000000000
--- a/development/icecream/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------------------------------------------------------|
-icecream: icecream (network-distributed compilation)
-icecream:
-icecream: Icecream is a distributed compile system. It allows parallel
-icecream: compiling by distributing the compile jobs to several nodes of a
-icecream: compile network running the statistics information to the icecc
-icecream: monitor. Each compile node can accept one or more compile jobs
-icecream: depending on the number of processors and the settings of icecc
-icecream: daemon. The icecc scheduler routes the jobs and provides status
-icecream: and the daemon. Link jobs and other jobs which cannot be
-icecream: distributed are executed locally on the node where the compilation
-icecream: is started.
diff --git a/development/icemon/icemon.SlackBuild b/development/icemon/icemon.SlackBuild
index 30f37b2899..014c1140b4 100644
--- a/development/icemon/icemon.SlackBuild
+++ b/development/icemon/icemon.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for icemon
-# Copyright 2010-2014 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2010-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +11,24 @@
# 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.
+# 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=icemon
-VERSION=${VERSION:-7f4a841}
+VERSION=${VERSION:-3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,22 +79,25 @@ 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 {} \;
-cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_MANDIR=/usr/man
-
-make
-make install DESTDIR=$PKG
+mkdir cmake-build
+cd cmake-build
+ cmake \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR="lib${LIBDIRSUFFIX}" \
+ -DCMAKE_INSTALL_MANDIR="man" \
+ ..
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md COPYING README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -92,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/icemon/icemon.info b/development/icemon/icemon.info
index 853c91d0aa..00929c748c 100644
--- a/development/icemon/icemon.info
+++ b/development/icemon/icemon.info
@@ -1,10 +1,10 @@
PRGNAM="icemon"
-VERSION="7f4a841"
+VERSION="3.3"
HOMEPAGE="https://github.com/icecc/icemon"
-DOWNLOAD="http://www.liwjatan.at/files/src/icemon/icemon-7f4a841.tar.xz"
-MD5SUM="ad934e67f50cc7362fd5e5463aeea595"
+DOWNLOAD="https://github.com/icecc/icemon/releases/download/v3.3/icemon-3.3.tar.xz"
+MD5SUM="e7356476ca0f489057723ad9c781679b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="icecream"
+REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/development/icemon/slack-desc b/development/icemon/slack-desc
index a465b9c870..4fcbdc25cb 100644
--- a/development/icemon/slack-desc
+++ b/development/icemon/slack-desc
@@ -1,9 +1,9 @@
# 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.
+# 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------------------------------------------------------|
icemon: icemon (Monitor for icecream)
diff --git a/development/icon/icon.SlackBuild b/development/icon/icon.SlackBuild
index c444ae2fbe..4dafa350f4 100644
--- a/development/icon/icon.SlackBuild
+++ b/development/icon/icon.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for icon
-# Copyright 2010-2019 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2010-2024 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,13 @@
# 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=icon
-VERSION=${VERSION:-9.5.1}
-SRCVER=v$(echo $VERSION | tr -d .)src
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-9.5.23a}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -36,30 +38,26 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# At one point, enabling "-O2" appeared to cause
-# "Run-time error 302", "memory violation" (from the SIGSEGV trap)
-# whenever running icon programs. I can't reproduce it.
-# However, one of the tests fails with "-O2". Use "-O" instead
-# since it is the default in config/linux/Makedefs.
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O -march=i586 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O -fPIC"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O"
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -68,20 +66,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tgz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# Cherry-picked bugfix and ftbfs patches from upstream
-# https://github.com/gtownsend/icon
-patch -p1 < $CWD/patches/display.patch
-patch -p1 < $CWD/patches/maxtype.patch
-patch -p1 < $CWD/patches/lexer.patch
-patch -p1 < $CWD/patches/implicit-defs.patch
-patch -p1 < $CWD/patches/glibc.patch
-
# Installation creates bin, lib, man, and doc dirs inside the "dest" dir.
# Edit the Install rule to avoid having to manually rearrange files.
# The bin and lib dirs need to share a parent directory, but we don't want
@@ -93,6 +83,9 @@ sed -i -e "s|mkdir|mkdir -p|" \
-e "s|\$D/man|\$D/usr/man|g" \
-e "s|\$D/doc|\$D/usr/doc/$PRGNAM-$VERSION|g" Makefile
+# Disable parallel building otherwise build fails
+MAKEFLAGS=-j1
+
make X-Configure name=linux
make CFLAGS="$SLKCFLAGS"
make Test
@@ -112,11 +105,11 @@ find $PKG -exec file {} + | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} +
mv $PKG/README $PKG/usr/doc/$PRGNAM-$VERSION
-rm $PKG/usr/doc/$PRGNAM-$VERSION/clnroff.sed
+rm $PKG/usr/doc/$PRGNAM-$VERSION/*.sed
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/icon/icon.info b/development/icon/icon.info
index 0df2ab5bd9..a357012b55 100644
--- a/development/icon/icon.info
+++ b/development/icon/icon.info
@@ -1,8 +1,8 @@
PRGNAM="icon"
-VERSION="9.5.1"
+VERSION="9.5.23a"
HOMEPAGE="https://www2.cs.arizona.edu/icon/"
-DOWNLOAD="https://www2.cs.arizona.edu/icon/ftp/packages/unix/icon-v951src.tgz"
-MD5SUM="8fdeb7c5408d9d9bf06bc5e7f4f54498"
+DOWNLOAD="https://github.com/gtownsend/icon/archive/v9.5.23a/icon-9.5.23a.tar.gz"
+MD5SUM="1b822ac3a5bd317d52b9fe468d7215f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/icon/patches/display.patch b/development/icon/patches/display.patch
deleted file mode 100644
index 05eab35d2c..0000000000
--- a/development/icon/patches/display.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-commit d0cd013653360f6f11e3b5dbdbbf3788a5c08b02
-Author: Gregg Townsend <gmt@cs.arizona.edu>
-Date: Thu Dec 4 15:37:39 2014 -0700
-
- Handle $DISPLAY longer than 63 characters.
- First seen as a problem on Macintosh OS X 10.10 ("Yosemite").
- Side effects revealed other bugs in cross-display CopyArea and
- gamma correction.
-
-diff --git a/src/h/graphics.h b/src/h/graphics.h
---- a/src/h/graphics.h
-+++ b/src/h/graphics.h
-@@ -201,7 +201,7 @@
- typedef struct _wdisplay {
- int refcount;
- int serial; /* serial # */
-- char name[MAXDISPLAYNAME];
-+ char *name;
- Display * display;
- Visual * visual;
- GC icongc;
-diff --git a/src/h/xwin.h b/src/h/xwin.h
---- a/src/h/xwin.h
-+++ b/src/h/xwin.h
-@@ -73,7 +73,6 @@
- */
- #define WMAXCOLORS 256
- #define MAXCOLORNAME 40
--#define MAXDISPLAYNAME 64
- #define CSHARED 0
- #define CMUTABLE 1
- #define NUMCURSORSYMS 78
-diff --git a/src/runtime/rxrsc.ri b/src/runtime/rxrsc.ri
---- a/src/runtime/rxrsc.ri
-+++ b/src/runtime/rxrsc.ri
-@@ -376,7 +376,7 @@
-
- GRFX_ALLOC(wd, _wdisplay);
-
-- strcpy(wd->name,s);
-+ wd->name = salloc(s);
- wd->display = XOpenDisplay((*s=='\0') ? NULL : s);
-
- if (wd->display == NULL) {
diff --git a/development/icon/patches/glibc.patch b/development/icon/patches/glibc.patch
deleted file mode 100644
index b0629d0cc8..0000000000
--- a/development/icon/patches/glibc.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-commit bfc4a6004d0d3984c8066289b8d8e563640c4ddd
-Author: Gregg Townsend <gmt@cs.arizona.edu>
-Date: Mon Oct 29 10:07:31 2018 -0700
-
- Adapt to change in GLIBC v2.28 internals (thx Cheyenne Wills).
-
-diff --git a/ipl/cfuncs/fpoll.c b/ipl/cfuncs/fpoll.c
---- a/ipl/cfuncs/fpoll.c
-+++ b/ipl/cfuncs/fpoll.c
-@@ -60,12 +64,9 @@
-
- /* check for data already in buffer */
- /* there's no legal way to do this in C; we cheat */
--#if defined(__GLIBC__) && defined(_STDIO_USES_IOSTREAM) /* new GCC library */
-+#if defined(__GLIBC__) /* new GCC library */
- if (f->_IO_read_ptr < f->_IO_read_end)
- RetArg(1);
--#elif defined(__GLIBC__) /* old GCC library */
-- if (f->__bufp < f->__get_limit)
-- RetArg(1);
- #elif defined(_FSTDIO) /* new BSD library */
- if (f->_r > 0)
- RetArg(1);
diff --git a/development/icon/patches/implicit-defs.patch b/development/icon/patches/implicit-defs.patch
deleted file mode 100644
index 9e015c7ad7..0000000000
--- a/development/icon/patches/implicit-defs.patch
+++ /dev/null
@@ -1,162 +0,0 @@
-commit 8cb4887b886ad0c9caf0be595e236d2a74a41a8d
-Author: Gregg Townsend <gmt@cs.arizona.edu>
-Date: Mon Aug 28 09:10:00 2017 -0700
-
- Fix compilation warnings in xpm code (thx Sean Jensen).
-
-diff --git a/src/xpm/create.c b/src/xpm/create.c
---- a/src/xpm/create.c
-+++ b/src/xpm/create.c
-@@ -344,6 +344,7 @@
-
- #endif
-
-+int
- xpmCreateImage(display, attrib, image_return, shapeimage_return, attributes)
- Display *display;
- xpmInternAttrib *attrib;
-diff --git a/src/xpm/data.c b/src/xpm/data.c
---- a/src/xpm/data.c
-+++ b/src/xpm/data.c
-@@ -110,6 +110,7 @@
- /*
- * skip to the end of the current string and the beginning of the next one
- */
-+void
- xpmNextString(mdata)
- xpmData *mdata;
- {
-@@ -277,6 +278,7 @@
- /*
- * get the current comment line
- */
-+void
- xpmGetCmt(mdata, cmt)
- xpmData *mdata;
- char **cmt;
-@@ -403,6 +405,7 @@
- /*
- * close the file related to the xpmData if any
- */
-+void
- XpmDataClose(mdata)
- xpmData *mdata;
- {
-diff --git a/src/xpm/misc.c b/src/xpm/misc.c
---- a/src/xpm/misc.c
-+++ b/src/xpm/misc.c
-@@ -14,6 +14,7 @@
- * Free the computed color table
- */
-
-+void
- xpmFreeColorTable(colorTable, ncolors)
- char ***colorTable;
- int ncolors;
-@@ -39,6 +40,7 @@
- * which ones must be freed later on.
- */
-
-+void
- xpmInitInternAttrib(attrib)
- xpmInternAttrib *attrib;
- {
-@@ -55,6 +57,7 @@
- * Free the xpmInternAttrib pointers which have been allocated
- */
-
-+void
- xpmFreeInternAttrib(attrib)
- xpmInternAttrib *attrib;
- {
-@@ -80,6 +83,7 @@
- /*
- * Free array of extensions
- */
-+void
- XpmFreeExtensions(extensions, nextensions)
- XpmExtension *extensions;
- int nextensions;
-@@ -108,6 +112,7 @@
- * Return the XpmAttributes structure size
- */
-
-+int
- XpmAttributesSize()
- {
- return sizeof(XpmAttributes);
-@@ -119,6 +124,7 @@
- * but the structure itself
- */
-
-+void
- XpmFreeAttributes(attributes)
- XpmAttributes *attributes;
- {
-@@ -167,6 +173,7 @@
- * the xpmInternAttrib structure.
- */
-
-+void
- xpmSetAttributes(attrib, attributes)
- xpmInternAttrib *attrib;
- XpmAttributes *attributes;
-diff --git a/src/xpm/xpm.h b/src/xpm/xpm.h
---- a/src/xpm/xpm.h
-+++ b/src/xpm/xpm.h
-@@ -191,8 +191,8 @@
- XpmAttributes * attributes));
-
- FUNC(XpmAttributesSize, int, ());
-- FUNC(XpmFreeAttributes, int, (XpmAttributes * attributes));
-- FUNC(XpmFreeExtensions, int, (XpmExtension * extensions, int nextensions));
-+ FUNC(XpmFreeAttributes, void, (XpmAttributes * attributes));
-+ FUNC(XpmFreeExtensions, void, (XpmExtension * extensions, int nextensions));
-
- #ifdef __cplusplus
- } /* for C++ V2.0 */
-diff --git a/src/xpm/xpmP.h b/src/xpm/xpmP.h
---- a/src/xpm/xpmP.h
-+++ b/src/xpm/xpmP.h
-@@ -159,13 +159,13 @@
- XpmAttributes * attributes,
- xpmInternAttrib * attrib));
-
--FUNC(xpmFreeColorTable, int, (char ***colorTable, int ncolors));
-+FUNC(xpmFreeColorTable, void, (char ***colorTable, int ncolors));
-
--FUNC(xpmInitInternAttrib, int, (xpmInternAttrib * xmpdata));
-+FUNC(xpmInitInternAttrib, void, (xpmInternAttrib * xmpdata));
-
--FUNC(xpmFreeInternAttrib, int, (xpmInternAttrib * xmpdata));
-+FUNC(xpmFreeInternAttrib, void, (xpmInternAttrib * xmpdata));
-
--FUNC(xpmSetAttributes, int, (xpmInternAttrib * attrib,
-+FUNC(xpmSetAttributes, void, (xpmInternAttrib * attrib,
- XpmAttributes * attributes));
-
- FUNC(xpmGetAttributes, int, (XpmAttributes * attributes,
-@@ -173,18 +173,20 @@
-
- /* I/O utility */
-
--FUNC(xpmNextString, int, (xpmData * mdata));
-+FUNC(atoui, unsigned int, (char *p, unsigned int l, unsigned int *ui_return));
-+FUNC(xpmGetString, int, (xpmData *mdata, char **sptr, unsigned int *l));
-+FUNC(xpmNextString, void, (xpmData * mdata));
- FUNC(xpmNextUI, int, (xpmData * mdata, unsigned int *ui_return));
-
- #define xpmGetC(mdata) \
- (mdata->type ? (getc(mdata->stream.file)) : (*mdata->cptr++))
-
- FUNC(xpmNextWord, unsigned int, (xpmData * mdata, char *buf));
--FUNC(xpmGetCmt, int, (xpmData * mdata, char **cmt));
-+FUNC(xpmGetCmt, void, (xpmData * mdata, char **cmt));
- FUNC(xpmReadFile, int, (char *filename, xpmData * mdata));
- FUNC(xpmWriteFile, int, (char *filename, xpmData * mdata));
- FUNC(xpmOpenArray, void, (char **data, xpmData * mdata));
--FUNC(XpmDataClose, int, (xpmData * mdata));
-+FUNC(XpmDataClose, void, (xpmData * mdata));
-
- /* RGB utility */
-
diff --git a/development/icon/patches/lexer.patch b/development/icon/patches/lexer.patch
deleted file mode 100644
index 290ed67364..0000000000
--- a/development/icon/patches/lexer.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-commit bb7c6b5232d8cf0ad98e5ab8e8e3afd3a249751f
-Author: Gregg Townsend <gmt@cs.arizona.edu>
-Date: Mon Aug 28 08:08:32 2017 -0700
-
- Fix ancient potential lexer bug (thx Sean Jensen).
-
-diff --git a/src/common/yylex.h b/src/common/yylex.h
---- a/src/common/yylex.h
-+++ b/src/common/yylex.h
-@@ -263,7 +263,7 @@
- {
- register char *s1;
- s1 = lex_sbuf.strtimage;
-- while (s != '\0' && s1 < lex_sbuf.endimage && *s == *s1) {
-+ while (*s != '\0' && s1 < lex_sbuf.endimage && *s == *s1) {
- ++s;
- ++s1;
- }
diff --git a/development/icon/patches/maxtype.patch b/development/icon/patches/maxtype.patch
deleted file mode 100644
index 4e4651cc96..0000000000
--- a/development/icon/patches/maxtype.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-commit e91f59f3affe69043586cb171ad1f8027e31d930
-Author: Gregg Townsend <gmt@cs.arizona.edu>
-Date: Sat Mar 11 08:41:26 2017 -0700
-
- Fix innocuous MaxType definition bug (thx Don Ward).
-
-diff --git a/src/h/rmacros.h b/src/h/rmacros.h
---- a/src/h/rmacros.h
-+++ b/src/h/rmacros.h
-@@ -301,7 +301,7 @@
- #define T_Kywdstr 24 /* string keyword */
- #define T_Kywdevent 25 /* keyword &eventsource, etc. */
-
--#define MaxType 26 /* maximum type number */
-+#define MaxType 25 /* maximum type number */
-
- /*
- * Definitions for keywords.
diff --git a/development/icoutils/icoutils.SlackBuild b/development/icoutils/icoutils.SlackBuild
index d6ed3ddcba..d813b94755 100644
--- a/development/icoutils/icoutils.SlackBuild
+++ b/development/icoutils/icoutils.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for icoutils
@@ -24,26 +24,36 @@
# (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=icoutils
VERSION=${VERSION:-0.31.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -98,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/idea/idea.SlackBuild b/development/idea/idea.SlackBuild
index ab7789cad6..11eabd450d 100644
--- a/development/idea/idea.SlackBuild
+++ b/development/idea/idea.SlackBuild
@@ -1,17 +1,25 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for IntelliJ IDEA
# Written by Mario Antunes (mariolpantunes@gmail.com)
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=idea
ARCNAM=ideaIC
-VERSION=${VERSION:-2020.2}
+VERSION=${VERSION:-2023.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ARCH=${ARCH:-noarch}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=x86_64
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,7 +60,7 @@ cat << EOF > $PKG/usr/share/applications/$PRGNAM.desktop
Version=1.0
Type=Application
Path=/opt/$PRGNAM
-Exec=$PRGNAM.sh %f
+Exec=/opt/$PRGNAM/bin/$PRGNAM.sh %f
Name=IntelliJ IDEA Community Edition
GenericName=IntelliJ IDEA
Comment=Develop with pleasure!
@@ -74,4 +82,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/idea/idea.info b/development/idea/idea.info
index 062fad7fc6..657e014de2 100644
--- a/development/idea/idea.info
+++ b/development/idea/idea.info
@@ -1,10 +1,10 @@
PRGNAM="idea"
-VERSION="2020.2"
+VERSION="2023.2.1"
HOMEPAGE="http://www.jetbrains.com/idea/"
-DOWNLOAD="https://download.jetbrains.com/idea/ideaIC-2020.2.tar.gz"
-MD5SUM="57f70ced0fd644be9521b138ba6596c6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.jetbrains.com/idea/ideaIC-2023.2.1.tar.gz"
+MD5SUM_x86_64="08ef44b1ce558010d4d3d5300732862e"
+REQUIRES="zulu-openjdk17"
MAINTAINER="Joielechong"
-EMAIL="joielechong@rilixtech.com"
+EMAIL="juansspy@gmail.com"
diff --git a/development/idlex/README b/development/idlex/README
index 3145929a60..ad1289e4aa 100644
--- a/development/idlex/README
+++ b/development/idlex/README
@@ -3,8 +3,3 @@ provide additional functionality to IDLE, a Python IDE provided in
the standard library. It transforms IDLE into a more useful tool for
academic research and development as well as exploratory programming.
IdleX runs with Python 2.6, 2.7, and 3.x.
-
-If you want to build this for use with Python 3.x (needs the optional
-dependency python3) pass the script PYTHON3=yes, like:
-
-PYTHON3=yes ./idlex.SlackBuild
diff --git a/development/idlex/idlex.SlackBuild b/development/idlex/idlex.SlackBuild
index 681e6715ac..a99e97786b 100644
--- a/development/idlex/idlex.SlackBuild
+++ b/development/idlex/idlex.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for idlex
-# Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=idlex
-VERSION=${VERSION:-1.18}
+VERSION=${VERSION:-1.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,10 +79,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 {} \;
-PYTHON=python
-[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
-
-$PYTHON setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -84,7 +91,7 @@ mkdir -p $PKG/usr/share/pixmaps/
install -D -m644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.txt Changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -92,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/idlex/idlex.info b/development/idlex/idlex.info
index 9ae86490d0..0d16621c61 100644
--- a/development/idlex/idlex.info
+++ b/development/idlex/idlex.info
@@ -1,8 +1,8 @@
PRGNAM="idlex"
-VERSION="1.18"
+VERSION="1.22"
HOMEPAGE="http://idlex.sourceforge.net/"
-DOWNLOAD="https://files.pythonhosted.org/packages/c2/95/dd5884cc597a1818c7e76f80394ef51b15e78cee6e942f31e5853866c2ee/idlex-1.18.zip"
-MD5SUM="bd2b345a1c8c18b23c35e691949a6d09"
+DOWNLOAD="https://files.pythonhosted.org/packages/c9/77/2ab23b472b7cf14b9ed0390247dbead8f614d050693091aab0c47b8f4e87/idlex-1.22.zip"
+MD5SUM="cdf84fea7b29be0bfb2f2f5012c1c52b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/ign-math2/ign-math2.SlackBuild b/development/ign-math2/ign-math2.SlackBuild
index 57c39a9e53..dd78e10102 100644
--- a/development/ign-math2/ign-math2.SlackBuild
+++ b/development/ign-math2/ign-math2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ign-math2
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ign-math2
VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -95,5 +105,5 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ignition-math/ignition-math.SlackBuild b/development/ignition-math/ignition-math.SlackBuild
index c21f3b0e41..444dfd8cc5 100644
--- a/development/ignition-math/ignition-math.SlackBuild
+++ b/development/ignition-math/ignition-math.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ignition-math
@@ -22,26 +22,36 @@
# 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=ignition-math
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=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -92,5 +102,5 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ignition-math/ignition-math.info b/development/ignition-math/ignition-math.info
index d7b436475e..a6432a9c49 100644
--- a/development/ignition-math/ignition-math.info
+++ b/development/ignition-math/ignition-math.info
@@ -1,7 +1,7 @@
PRGNAM="ignition-math"
VERSION="1.0.0"
HOMEPAGE="https://ignitionrobotics.org/libraries/math"
-DOWNLOAD="http://gazebosim.org/distributions/ign-math/releases/ignition-math-1.0.0.tar.bz2"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/ignition-math-1.0.0.tar.bz2"
MD5SUM="82c5da4beb724ebb2a6553eb3a8c7bcb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/inform/destdir.diff b/development/inform/destdir.diff
new file mode 100644
index 0000000000..3713cf2fd3
--- /dev/null
+++ b/development/inform/destdir.diff
@@ -0,0 +1,125 @@
+diff -Naur inform-6.41-r2/Makefile inform-6.41-r2.patched/Makefile
+--- inform-6.41-r2/Makefile 2022-11-21 19:31:13.000000000 -0500
++++ inform-6.41-r2.patched/Makefile 2023-01-18 15:22:43.134613101 -0500
+@@ -178,7 +178,7 @@
+
+ install-compiler: $(BINNAME)
+ ifeq ($(wildcard $(DESTDIR)$(BINDIR)/$(BINNAME)),)
+- install -d -m $(DIRPERM) $(DESTDIR)$(BINDIR)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(BINDIR)
+ install -c -m $(BINPERM) $(BINNAME) $(DESTDIR)$(BINDIR)
+ cd $(DESTDIR)$(BINDIR) ; ln -sf $(BINNAME) $(NAME)
+ @echo "** Done installing compiler."
+@@ -218,24 +218,24 @@
+ install-stdlib-all: install-stdlib install-stdinc install-stddemos install-stdtutor
+
+ install-stdlib:
+- install -d -m $(DIRPERM) $(STDLIB)
+- install -c -m $(FILEPERM) $(wildcard ${STDSRC}/*) $(STDLIB)
+- @./fixlinks.sh $(STDLIB) $(STDLIB_LINKS)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(STDLIB)
++ install -c -m $(FILEPERM) $(wildcard ${STDSRC}/*) $(DESTDIR)$(STDLIB)
++ @./fixlinks.sh $(DESTDIR)$(STDLIB) $(STDLIB_LINKS)
+ @echo "** Done installing Standard Library."
+
+ install-stdinc:
+- install -d -m $(DIRPERM) $(STDINC)
+- install -c -m $(FILEPERM) $(wildcard ${STDINC_SRC}/*) $(STDINC)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(STDINC)
++ install -c -m $(FILEPERM) $(wildcard ${STDINC_SRC}/*) $(DESTDIR)$(STDINC)
+ @echo "** Done installing Standard Library includes."
+
+ install-stddemos: stddemos
+- install -d -m $(DIRPERM) $(STDDEMO)
+- install -c -m $(FILEPERM) $(wildcard ${STDDEMOS_SRC}/*) $(STDDEMO)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(STDDEMO)
++ install -c -m $(FILEPERM) $(wildcard ${STDDEMOS_SRC}/*) $(DESTDIR)$(STDDEMO)
+ @echo "** Done installing Standard Library demos."
+
+ install-stdtutor: stdtutor
+- install -d -m $(DIRPERM) $(STDTUTOR)
+- install -c -m $(FILEPERM) $(wildcard ${STDTUTOR_SRC}/*) $(STDTUTOR)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(STDTUTOR)
++ install -c -m $(FILEPERM) $(wildcard ${STDTUTOR_SRC}/*) $(DESTDIR)$(STDTUTOR)
+ @echo "** Done installing Standard Library tutorials."
+
+
+@@ -252,39 +252,41 @@
+
+ install-punywrapper:
+ sed 's,^LIBPATH.*,LIBPATH=$(REAL_PREFIX)/share/$(NAME),g' $(PUNYINFORMSH) > $(PUNYINFORMSH)-scratch
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(BINDIR)
+ install -c -m $(BINPERM) $(PUNYINFORMSH)-scratch $(DESTDIR)$(BINDIR)/$(PUNYINFORMSH)
+ cd $(DESTDIR)$(BINDIR) ; ln -sf $(PUNYINFORMSH) $(PUNYINFORM)
+ cd $(DESTDIR)$(BINDIR) ; ln -sf $(PUNYINFORMSH) $(PUNYINFORM)-$(COMPVERSION)
+ rm -f $(PUNYINFORMSH)-scratch
+
+ install-punylib:
+- install -d -m $(DIRPERM) $(PUNYLIB)
+- install -c -m $(FILEPERM) $(wildcard ${PUNYLIB_SRC}/*) $(PUNYLIB)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYLIB)
++ install -c -m $(FILEPERM) $(wildcard ${PUNYLIB_SRC}/*) $(DESTDIR)$(PUNYLIB)
+ @echo "** Done installing PunyInform Library."
+
+ install-punyhowto:
+- install -d -m $(DIRPERM) $(PUNYHOWTO)
+- install -c -m $(FILEPERM) $(wildcard ${PUNYHOWTO_SRC}/*) $(PUNYHOWTO)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYHOWTO)
++ install -c -m $(FILEPERM) $(wildcard ${PUNYHOWTO_SRC}/*) $(DESTDIR)$(PUNYHOWTO)
+
+ install-punytests:
+- install -d -m $(DIRPERM) $(PUNYTESTS)
+- install -c -m $(FILEPERM) $(wildcard ${PUNYTESTS_SRC}/*) $(PUNYTESTS)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYTESTS)
++ install -c -m $(FILEPERM) $(wildcard ${PUNYTESTS_SRC}/*) $(DESTDIR)$(PUNYTESTS)
+
+ install-punydocs:
+- install -d -m $(DIRPERM) $(PUNYDOCS)
+- install -d -m $(DIRPERM) $(PUNYDOCS1)
+- install -d -m $(DIRPERM) $(PUNYDOCS2)
+- install -d -m $(DIRPERM) $(PUNYDOCS3)
+- install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_SRC}/*pdf) $(PUNYDOCS)
+- install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR1}/*) $(PUNYDOCS1)
+- install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR2}/*) $(PUNYDOCS2)
+- install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR3}/*) $(PUNYDOCS3)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYDOCS)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYDOCS1)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYDOCS2)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNYDOCS3)
++ install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_SRC}/*pdf) $(DESTDIR)$(PUNYDOCS)
++ install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR1}/*) $(DESTDIR)$(PUNYDOCS1)
++ install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR2}/*) $(DESTDIR)$(PUNYDOCS2)
++ install -c -m $(FILEPERM) $(wildcard ${PUNYDOCS_DIR3}/*) $(DESTDIR)$(PUNYDOCS3)
+
+ install-punymisc:
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(PUNY)
+ for file in $(PUNYMISC_FILES); do \
+- install -c -m $(FILEPERM) $(PUNYSRC)/$$file $(PUNY); \
++ install -c -m $(FILEPERM) $(PUNYSRC)/$$file $(DESTDIR)$(PUNY); \
+ done
+- install -c -m $(FILEPERM) $(wildcard ${PUNYSRC}/*.inf) $(PUNY)
++ install -c -m $(FILEPERM) $(wildcard ${PUNYSRC}/*.inf) $(DESTDIR)$(PUNY)
+
+ install-puny: install-punylib install-punywrapper install-punymisc install-punyhowto install-punytests install-punydocs
+
+@@ -292,16 +294,17 @@
+ #############################
+ # Installing everything else
+ install-manual:
+- install -d -m $(DIRPERM) $(MANDIR)
+- install -c -m $(FILEPERM) $(MANPAGE) $(MANDIR)
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(MANDIR)
++ install -c -m $(FILEPERM) $(MANPAGE) $(DESTDIR)$(MANDIR)
+
+ install-contrib:
++ mkdir -p -m $(DIRPERM) $(DESTDIR)$(BINDIR)
+ install -c -m $(BINPERM) contrib/pblorb.pl $(DESTDIR)$(BINDIR)
+ install -c -m $(BINPERM) contrib/scanblorb.pl $(DESTDIR)$(BINDIR)
+ cd $(DESTDIR)$(BINDIR) ; ln -sf pblorb.pl pblorb
+ cd $(DESTDIR)$(BINDIR) ; ln -sf scanblorb.pl scanblorb
+
+-install-strip: strip install
++install-strip: all strip install
+
+ uninstall:
+ rm -f $(DESTDIR)$(BINDIR)/$(NAME)*
diff --git a/development/inform/inform.SlackBuild b/development/inform/inform.SlackBuild
index 912dc6da68..0e5e1a7083 100644
--- a/development/inform/inform.SlackBuild
+++ b/development/inform/inform.SlackBuild
@@ -1,11 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for inform
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230118 bkw: updated for v6.41_r2.
+# - add the Inform 6 Addendum to the package.
+# - destdir.diff had to change, can't build previous version any more.
+# - symlink library demos and tutorial to doc dir.
+
+# 20210831 bkw:
+# - updated for v6.35_r2 (upstream changed their version numbering
+# scheme again). script had to change a lot, so can't build old
+# versions any more.
+
# 20201104 bkw: updated for 6.34_6.12.4. In case anyone's wondering
# why I use a self-hosted URL for the source, it's because upstream
# moves the old source immediately when a new release is made. Also
@@ -21,10 +31,13 @@
# needs any of these old includes, please let me know. If there's enough
# demand, I'll dig up the old includes and re-add them to the package.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=inform
-VERSION=${VERSION:-6.34_6.12.4_1}
+VERSION=${VERSION:-6.41_r2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +47,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -72,19 +89,20 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# 20201104 bkw: Since inform is for game purposes, install the binary
-# to /usr/games, and its man page to section 6.
-sed '1s/"1"/"6"/' $PRGNAM.1 > $PRGNAM.6
+# to /usr/games, and its man page to section 6. Also change the
+# "see also" to a man page that actually might exist.
+sed -e '1s/"1"/"6"/' -e "s,zcode-interpreter,frotz," $PRGNAM.1 > $PRGNAM.6
-# 20201105 bkw: Minor fixes to Makefile so parallel builds work.
-patch -p1 < $CWD/parallel_make.diff
+# 20201104 bkw: upstream now supports DESTDIR again.
+# 20210831 bkw: upstream *broke* DESTDIR again. Sigh.
+patch -p1 < $CWD/destdir.diff
-# 20201104 bkw: Don't write to real $PREFIX! Just disable the CASETEST
-# stuff, since we're including our own set of symlinks.
-sed -i '/touch.*PREFIX/,+2d' Makefile
+# 20210831 bkw: install-strip failed with "text file busy" on -current,
+# use -Wl,-s to build the binary stripped in the first place.
-# 20201104 bkw: upstream now supports DESTDIR again.
-make install-strip \
+make install \
OPTS="$SLKCFLAGS" \
+ LDFLAGS="-Wl,-s" \
BINDIR=/usr/games \
MANDIR=/usr/man/man6 \
MANPAGE=$PRGNAM.6 \
@@ -106,12 +124,12 @@ ln -s ../games/$PRGNAM $PKG/usr/bin/$PRGNAM
# Makefile can create a few symlinks to support this, but let's
# be more all-inclusive. We got 8 .h files, and end up with 70+
# symlinks. There's no kill like overkill!
-( cd $PKG/usr/share/$PRGNAM/lib
+( cd $PKG/usr/share/$PRGNAM/std/lib
for file in *.h; do
name=${file%%.*}
# Name.h NAME.h
for link in ${name^}.h ${name^^}.h; do
- ln -s $file $link
+ ln -sf $file $link
done
done
@@ -123,7 +141,7 @@ ln -s ../games/$PRGNAM $PKG/usr/bin/$PRGNAM
InfGlk InfGLK infGlk infGLK \
LinkLpa LinkLPA linkLpa linkLPA
do
- ln -s ${link,,}.h $link.h
+ ln -sf ${link,,}.h $link.h
done
# Any of the above might appear with .H. Use readlink so all the
@@ -131,7 +149,9 @@ ln -s ../games/$PRGNAM $PKG/usr/bin/$PRGNAM
# This might be overcautious: the example code all just says
# e.g. 'Include "Parser"', without the .h.
for file in *.h; do
- ln -s $( readlink $file ) ${file%%.*}.H
+ dest="${file%%.*}.H"
+ [ -L "$file" ] && file="$( readlink $file )"
+ ln -sf $file $dest
done
)
@@ -147,10 +167,26 @@ mkdir -p $PKGDOC/manual
# Inform Beginners' Guide, required reading.
cat $CWD/IBG.pdf > $PKGDOC/inform_beginners_guide.pdf
+ln -s inform_beginners_guide.pdf $PKGDOC/IBG.pdf
+
+# Also the addendum to the manual, because the manual's a bit dated.
+cat $CWD/I6-Addendum.html > $PKGDOC/inform_6_addendum.html
+ln -s inform_6_addendum.html $PKGDOC/I6-Addendum.html
+# Library documentation should be visibile in /usr/doc.
mkdir -p $PKGDOC/lib
for i in ChangeLog README.txt voices_and_tenses.txt; do
- ln -s ../../../share/$PRGNAM/lib/$i $PKGDOC/lib
+ ln -s ../../../share/$PRGNAM/std/lib/$i $PKGDOC/lib
+done
+
+# 20230118 bkw: Demos and tutorial will be easier to find if they're
+# visible from the doc dir.
+ln -s ../../share/inform/std/{demos,tutor} $PKGDOC
+
+# Same for punyinform docs.
+mkdir -p $PKGDOC/punyinform
+for i in README.md LICENSE documentation; do
+ ln -s ../../../share/$PRGNAM/punyinform/$i $PKGDOC/punyinform
done
# ARTISTIC and COPYING are redundant: src/licence.txt includes the
@@ -162,4 +198,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/inform/inform.info b/development/inform/inform.info
index b4130e35fc..9cccec8441 100644
--- a/development/inform/inform.info
+++ b/development/inform/inform.info
@@ -1,14 +1,16 @@
PRGNAM="inform"
-VERSION="6.34_6.12.4_1"
+VERSION="6.41_r2"
HOMEPAGE="http://www.inform-fiction.org/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/inform-6.34-6.12.4-1.tar.gz \
+DOWNLOAD="https://slackware.uk/~urchlay/src/inform-6.41-r2.tar.gz \
http://www.ifarchive.org/if-archive/infocom/compilers/inform6/manuals/designers_manual_4.zip \
- http://www.ifarchive.org/if-archive/infocom/compilers/inform6/manuals/IBG.pdf"
-MD5SUM="b128a7aff7ed2b1086d020febae20746 \
+ http://www.ifarchive.org/if-archive/infocom/compilers/inform6/manuals/IBG.pdf \
+ http://www.inform-fiction.org/manual/I6-Addendum.html"
+MD5SUM="a38fc48ddf90fe8ac8c7a5c03322fe6e \
0063968c3378636add1a0697b6d1fc16 \
- b2635d3d61313bed286409500fc55bed"
+ b2635d3d61313bed286409500fc55bed \
+ 5051762b361155ce61ed84924825a7c0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/inform/parallel_make.diff b/development/inform/parallel_make.diff
deleted file mode 100644
index f2c13267ce..0000000000
--- a/development/inform/parallel_make.diff
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur inform-6.34-6.12.4-1/Makefile inform-6.34-6.12.4-1.patched/Makefile
---- inform-6.34-6.12.4-1/Makefile 2020-08-02 20:37:10.000000000 -0400
-+++ inform-6.34-6.12.4-1.patched/Makefile 2020-11-05 00:32:19.772575474 -0500
-@@ -67,7 +67,7 @@
- $(CC) -o $(BINNAME) $(OBJECTS)
- @echo "** Done building compiler."
-
--%.z5: %.inf
-+%.z5: %.inf $(BINNAME)
- $(PWD)/$(BINNAME) +lib $< $@
-
- demos: $(BINNAME) $(DEMO_Z5)
-@@ -115,6 +115,7 @@
- install -c -m 644 $(wildcard ${TUTOR}/*) $(DESTDIR)$(TUTORDIR)
-
- install-contrib:
-+ install -d -m 755 $(DESTDIR)$(BINDIR)
- install -c -m 755 contrib/pblorb.pl $(DESTDIR)$(BINDIR)
- install -c -m 755 contrib/scanblorb.pl $(DESTDIR)$(BINDIR)
- cd $(DESTDIR)$(BINDIR) ; ln -s pblorb.pl pblorb
diff --git a/development/ioncube-loader/ioncube-loader.SlackBuild b/development/ioncube-loader/ioncube-loader.SlackBuild
index a5d060986c..73109c6e8f 100644
--- a/development/ioncube-loader/ioncube-loader.SlackBuild
+++ b/development/ioncube-loader/ioncube-loader.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "ioncube-loader".
@@ -24,11 +24,14 @@
# (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=ioncube-loader
SRCNAM=ioncube
-VERSION=${VERSION:-10.3.9}
+VERSION=${VERSION:-11.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -65,7 +75,7 @@ cd $SRCNAM
chown -R root:root .
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/php/extensions
-install -m 0755 ioncube_loader_lin_5.6_ts.so $PKG/usr/lib${LIBDIRSUFFIX}/php/extensions
+install -m 0755 ioncube_loader_lin_7.4_ts.so $PKG/usr/lib${LIBDIRSUFFIX}/php/extensions
mkdir -p $PKG/etc/php.d
cat $CWD/ioncube${LIBDIRSUFFIX}.ini > $PKG/etc/php.d/20ioncube.ini.new
@@ -78,4 +88,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ioncube-loader/ioncube-loader.info b/development/ioncube-loader/ioncube-loader.info
index 232639c21b..d32b9a86e5 100644
--- a/development/ioncube-loader/ioncube-loader.info
+++ b/development/ioncube-loader/ioncube-loader.info
@@ -1,10 +1,10 @@
PRGNAM="ioncube-loader"
-VERSION="10.3.9"
+VERSION="11.0.1"
HOMEPAGE="https://www.ioncube.com"
-DOWNLOAD="http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86_10.3.9.tar.gz"
-MD5SUM="09607332f2b830a5a66ec35ba1fd91cc"
-DOWNLOAD_x86_64="http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64_10.3.9.tar.gz"
-MD5SUM_x86_64="2243783991add4d8d706d22e89a6daa5"
+DOWNLOAD="http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86_11.0.1.tar.gz"
+MD5SUM="dcf5f95cace6ed390940f01800eb283b"
+DOWNLOAD_x86_64="http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64_11.0.1.tar.gz"
+MD5SUM_x86_64="824c56a47b7fb3c85e41c2fbc55b6908"
REQUIRES=""
MAINTAINER="Eugene Wissner"
EMAIL="belka@caraus.de"
diff --git a/development/ioncube-loader/ioncube.ini b/development/ioncube-loader/ioncube.ini
index 55c3bdabfa..11b38f7ee9 100644
--- a/development/ioncube-loader/ioncube.ini
+++ b/development/ioncube-loader/ioncube.ini
@@ -1,2 +1,2 @@
-zend_extension = /usr/lib/php/extensions/ioncube_loader_lin_5.6_ts.so
+zend_extension = /usr/lib/php/extensions/ioncube_loader_lin_7.4_ts.so
ic24.enable = 0
diff --git a/development/ioncube-loader/ioncube64.ini b/development/ioncube-loader/ioncube64.ini
index 40c0098292..77b53610d6 100644
--- a/development/ioncube-loader/ioncube64.ini
+++ b/development/ioncube-loader/ioncube64.ini
@@ -1,2 +1,2 @@
-zend_extension = /usr/lib64/php/extensions/ioncube_loader_lin_5.6_ts.so
+zend_extension = /usr/lib64/php/extensions/ioncube_loader_lin_7.4_ts.so
ic24.enable = 0
diff --git a/development/ispc/README b/development/ispc/README
new file mode 100644
index 0000000000..f1bfa836a5
--- /dev/null
+++ b/development/ispc/README
@@ -0,0 +1,12 @@
+ispc
+
+ispc is a compiler for a variant of the C programming language, with
+extensions for single program, multiple data programming. Under the SPMD
+model, the programmer writes a program that generally appears to be a
+regular serial program, though the execution model is actually that a
+number of program instances execute in parallel on the hardware.
+
+ispc is a dependency of embree
+
+IMPORTANT: This build REQUIRES llvm-17.0 from slackware64/extra
+(released 2024)
diff --git a/development/ispc/ispc.SlackBuild b/development/ispc/ispc.SlackBuild
new file mode 100644
index 0000000000..7f7be60553
--- /dev/null
+++ b/development/ispc/ispc.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for ispc
+
+# Copyright 2023, Lockywolf
+# 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=ispc
+VERSION=${VERSION:-1.23.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ 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 {} +
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+ -DARM_ENABLED=OFF \
+ -DISPC_STATIC_LINK=OFF \
+ -DISPCRT_BUILD_STATIC=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CONTRIBUTING.md LICENSE.txt README.md SECURITY.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ispc/ispc.info b/development/ispc/ispc.info
new file mode 100644
index 0000000000..cc0f17acc4
--- /dev/null
+++ b/development/ispc/ispc.info
@@ -0,0 +1,10 @@
+PRGNAM="ispc"
+VERSION="1.23.0"
+HOMEPAGE="https://github.com/ispc/ispc/"
+DOWNLOAD="https://github.com/ispc/ispc/archive/v1.23.0/ispc-1.23.0.tar.gz"
+MD5SUM="df8a17f493c9b64d64617e588ba81ba9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="tbb"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.ispc_2024-03-02@lockywolf.net"
diff --git a/development/ispc/slack-desc b/development/ispc/slack-desc
new file mode 100644
index 0000000000..a68b8c7db8
--- /dev/null
+++ b/development/ispc/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------------------------------------------------------|
+ispc: ispc (Intel Implicit SPMD Program Compiler)
+ispc:
+ispc: ispc is a compiler for a variant of the C programming language, with
+ispc: extensions for single program, multiple data programming. Under the
+ispc: SPMD model, the programmer writes a program that generally appears
+ispc: to be a regular serial program, though the execution model is
+ispc: actually that a number of program instances execute in parallel on
+ispc: the hardware.
+ispc:
+ispc:
+ispc:
diff --git a/development/jam/jam.SlackBuild b/development/jam/jam.SlackBuild
index 124e2eb3f5..f1a115d75a 100644
--- a/development/jam/jam.SlackBuild
+++ b/development/jam/jam.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for jam
#
@@ -24,10 +24,13 @@
# Thanks to Andrew Brouwers for some improvements.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jam
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jasspa/20091011-glibc-2.32.patch b/development/jasspa/20091011-glibc-2.32.patch
new file mode 100644
index 0000000000..7e2f57c934
--- /dev/null
+++ b/development/jasspa/20091011-glibc-2.32.patch
@@ -0,0 +1,57 @@
+Fix compilation with glibc-2.32.
+
+--- me091011-orig/src/file.c
++++ me091011/src/file.c
+@@ -1325,7 +1325,7 @@
+ )
+ {
+ /* READ ONLY DIR */
+- mlwrite(MWPAUSE,(meUByte *)"%s: %s", dirbuf, sys_errlist[errno]);
++ mlwrite(MWPAUSE,(meUByte *)"%s: %s", dirbuf, strerror(errno));
+ /* Zap the filename - it is invalid.
+ We only want a buffer */
+ mlwrite (0,(meUByte *)"[New buffer %s]", getFileBaseName(fname));
+@@ -1355,7 +1355,7 @@
+ {
+ /* We are not allowed to read the file */
+ #if ((defined _UNIX) || (defined _DOS))
+- mlwrite(MWABORT,(meUByte *)"[%s: %s]", fn, sys_errlist[errno]) ;
++ mlwrite(MWABORT,(meUByte *)"[%s: %s]", fn, strerror(errno)) ;
+ #else
+ mlwrite(MWABORT,"[cannot read: %s]", fn) ;
+ #endif
+--- me091011-orig/src/fileio.c
++++ me091011/src/fileio.c
+@@ -2331,7 +2331,7 @@
+ if(meRename(filename,filename2) && (ffFileOp(filename,filename2,meRWFLAG_DELETE,-1) <= 0))
+ {
+ mlwrite(MWABORT|MWPAUSE,(meUByte *)"[Unable to backup file to %s (%d - %s)]",
+- filename2,errno,sys_errlist[errno]) ;
++ filename2,errno,strerror(errno)) ;
+ if(meUnlink(filename))
+ {
+ mlwrite(MWABORT|MWPAUSE,(meUByte *)"[Unable to remove backup file %s]", filename) ;
+@@ -2346,7 +2346,7 @@
+ mlwrite(MWABORT|MWPAUSE,(meUByte *)"[Unable to remove backup file %s]", filename) ;
+ else if(meRename(filenameOld,filename) && (ffFileOp(filenameOld,filename,meRWFLAG_DELETE,-1) <= 0))
+ mlwrite(MWABORT|MWPAUSE,(meUByte *)"[Unable to backup file to %s (%d - %s)]",
+- filename,errno,sys_errlist[errno]) ;
++ filename,errno,strerror(errno)) ;
+ else if(bp != NULL)
+ {
+ meUShort ss;
+--- me091011-orig/src/spawn.c
++++ me091011/src/spawn.c
+@@ -219,10 +219,10 @@
+ case 0:
+ /* we want the children to die on interrupt */
+ execlp("xterm", "xterm", "-sl", "200", "-sb", NULL);
+- mlwrite(MWABORT,(meUByte *)"exec failed, %s", sys_errlist[errno]);
++ mlwrite(MWABORT,(meUByte *)"exec failed, %s", strerror(errno));
+ meExit(127);
+ case -1:
+- ss = mlwrite(MWABORT,(meUByte *)"exec failed, %s", sys_errlist[errno]);
++ ss = mlwrite(MWABORT,(meUByte *)"exec failed, %s", strerror(errno));
+ default:
+ ss = meTRUE ;
+ }
diff --git a/development/jasspa/jasspa.SlackBuild b/development/jasspa/jasspa.SlackBuild
index f668438eaf..6d9160e028 100644
--- a/development/jasspa/jasspa.SlackBuild
+++ b/development/jasspa/jasspa.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jasspa
#
@@ -22,10 +22,13 @@
# 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=jasspa
VERSION=${VERSION:-091011}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf me$VERSION
-tar xzf $CWD/$PRGNAM-mesrc-20$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-mesrc-20$VERSION.tar.gz
cd me$VERSION
chown -R root:root .
find -L . \
@@ -69,6 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Thnx Gentoo!
+patch -p1 < $CWD/20091011-glibc-2.32.patch
+
cd src
sed -i -e "s/\\(COPTIMISE\\s*=\\s*\\)-O3\\(.*\\)/\\1$SLKCFLAGS\\2/" linux2.gmk
sed -i -e "s/\\(COPTIMISE\\s*=\\s*\\)-O3\\(.*\\)/\\1$SLKCFLAGS\\2/" linux26.gmk
@@ -105,4 +118,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/javacc/LICENSE b/development/javacc/LICENSE
new file mode 100644
index 0000000000..3558122055
--- /dev/null
+++ b/development/javacc/LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2006, Sun Microsystems, Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the Sun Microsystems, Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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.
+
diff --git a/development/javacc/README b/development/javacc/README
index 0d28577746..8cb39b7c09 100644
--- a/development/javacc/README
+++ b/development/javacc/README
@@ -8,3 +8,6 @@ JJTree included with JavaCC), actions, debugging, etc.
This is just a binary repackaging script. All you need to run the
application, once installed, is a Java Runtime Environment (JRE).
+
+For documentation and examples refer to the github repository:
+https://github.com/javacc/javacc
diff --git a/development/javacc/javacc.SlackBuild b/development/javacc/javacc.SlackBuild
index 8421fc3e9b..76d208a32d 100644
--- a/development/javacc/javacc.SlackBuild
+++ b/development/javacc/javacc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for javacc
@@ -28,51 +28,50 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=javacc
-VERSION=${VERSION:-6.0}
+VERSION=${VERSION:-7.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
-DOCS="LICENSE doc/* examples"
+DOCS="LICENSE"
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip "$CWD/${PRGNAM}-${VERSION}.zip"
-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
# Create destination directories
mkdir -p "$PKG/opt/$PRGNAM/" "$PKG/usr/bin" "$PKG/usr/doc/$PRGNAM-$VERSION"
# Copy the main program
-cp bin/lib/javacc.jar "$PKG/opt/$PRGNAM"
+install -m 0755 $CWD/$PRGNAM-$VERSION.jar "$PKG/opt/$PRGNAM"
# Copy the wrapper scripts to /usr/bin
install -m0755 -t "$PKG/usr/bin" "$CWD/javacc" "$CWD/jjtree" "$CWD/jjdoc"
-cp -a \
- $DOCS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $CWD/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/javacc/javacc.info b/development/javacc/javacc.info
index 0afdf255ac..8454198f34 100644
--- a/development/javacc/javacc.info
+++ b/development/javacc/javacc.info
@@ -1,10 +1,10 @@
PRGNAM="javacc"
-VERSION="6.0"
+VERSION="7.0.10"
HOMEPAGE="https://javacc.org/"
-DOWNLOAD="https://javacc.org/downloads/javacc-6.0.zip"
-MD5SUM="74e524f71eea2b2b70d6a2d30b1904a9"
+DOWNLOAD="https://repo1.maven.org/maven2/net/java/dev/javacc/javacc/7.0.10/javacc-7.0.10.jar"
+MD5SUM="87d9c6fdc5a4e197eb6d52b2e3cd406b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alan Alberghini"
EMAIL="414N@slacky.it"
diff --git a/development/javafx-scenebuilder/README b/development/javafx-scenebuilder/README
new file mode 100644
index 0000000000..4c8a821666
--- /dev/null
+++ b/development/javafx-scenebuilder/README
@@ -0,0 +1,13 @@
+The JavaFX Scene Builder Scene Builder works with the JavaFX ecosystem.
+Simple Drag & Drop user interface design allows for rapid iteration.
+Separation of design and logic files allows for team members to
+quickly and easily focus on their specific layer of application
+development.
+
+If the font in the GUI is too small, you can open the JAR file
+/opt/scenebuilder/lib/app/scenebuilder-X.Y.Z-all.jar
+and edit the file
+com/oracle/javafx/scenebuilder/kit/css/Base.css
+adding this line
+.root{ -fx-font-family: "Lato"; -fx-font-size: 16pt ; }
+where the font and size values are the preferred ones.
diff --git a/development/javafx-scenebuilder/doinst.sh b/development/javafx-scenebuilder/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/javafx-scenebuilder/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/javafx-scenebuilder/javafx-scenebuilder.SlackBuild b/development/javafx-scenebuilder/javafx-scenebuilder.SlackBuild
new file mode 100644
index 0000000000..947d44693a
--- /dev/null
+++ b/development/javafx-scenebuilder/javafx-scenebuilder.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# Slackware build script for JavaFX SceneBuilder
+
+# Copyright 2023 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# 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=javafx-scenebuilder
+NAME=SceneBuilder
+PNAME=scenebuilder
+VERSION=${VERSION:-21.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}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+ar xvf $CWD/$NAME-$VERSION.deb
+cd $PKG
+tar xvf ../data.tar.xz
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+# manual installation
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/share/applications
+cp $PKG/opt/$PNAME/lib/$PNAME-$NAME.desktop $PKG/usr/share/applications
+sed -i "s|Categories=\"Development;Building;GUIDesigner;Java;\"|Categories=Development;GTK|g" $PKG/usr/share/applications/$PNAME-$NAME.desktop
+mv $PKG/opt/$PNAME/share/doc/copyright $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/opt/$PNAME/share
+mkdir -p $PKG/usr/bin/
+cat > $PKG/usr/bin/$NAME <<EOF
+#!/bin/bash
+cd /opt/scenebuilder/bin
+./SceneBuilder
+EOF
+chmod +x $PKG/usr/bin/$NAME
+
+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
+
+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/development/javafx-scenebuilder/javafx-scenebuilder.info b/development/javafx-scenebuilder/javafx-scenebuilder.info
new file mode 100644
index 0000000000..f1e30ac77c
--- /dev/null
+++ b/development/javafx-scenebuilder/javafx-scenebuilder.info
@@ -0,0 +1,10 @@
+PRGNAM="javafx-scenebuilder"
+VERSION="21.0.0"
+HOMEPAGE="https://gluonhq.com/products/scene-builder/"
+DOWNLOAD="https://download2.gluonhq.com/scenebuilder/21.0.0/install/linux/SceneBuilder-21.0.0.deb"
+MD5SUM="1e4dc0b0b8ab349177f68c1929fe8d39"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="zulu-openjdk17"
+MAINTAINER="Giorgio Peron"
+EMAIL="giorgio.peron@gmail.com"
diff --git a/development/javafx-scenebuilder/slack-desc b/development/javafx-scenebuilder/slack-desc
new file mode 100644
index 0000000000..fbc31cf169
--- /dev/null
+++ b/development/javafx-scenebuilder/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------------------------------------------------------|
+javafx-scenebuilder: javafx-scenebuilder (JavaFX Scene Builder design tool)
+javafx-scenebuilder:
+javafx-scenebuilder: The JavaFX Scene Builder is a design tool for the JavaFX API.
+javafx-scenebuilder: Simple Drag & Drop user interface design allows for rapid iteration.
+javafx-scenebuilder:
+javafx-scenebuilder:
+javafx-scenebuilder: Homepage: https://gluonhq.com/products/scene-builder/
+javafx-scenebuilder:
+javafx-scenebuilder:
+javafx-scenebuilder:
+javafx-scenebuilder:
diff --git a/development/jbake/jbake.SlackBuild b/development/jbake/jbake.SlackBuild
index 051c8f3f5e..15c68a17db 100644
--- a/development/jbake/jbake.SlackBuild
+++ b/development/jbake/jbake.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#!/bin/sh
@@ -24,16 +24,26 @@
# 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=jbake
VERSION=${VERSION:-2.6.3}
BUILD=${BUILD:-1}
ARCH=noarch
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PKGNAM=jbake-${VERSION}-bin.zip
JBAKE_HOME=/usr/share/jbake
-CWD=$(pwd)
+# 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}
@@ -96,4 +106,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.$PKGTYPE
diff --git a/development/jbake/jbake.info b/development/jbake/jbake.info
index 429ee2c83a..e1f01fc5e6 100644
--- a/development/jbake/jbake.info
+++ b/development/jbake/jbake.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://dl.bintray.com/jbake/binary/jbake-2.6.3-bin.zip"
MD5SUM="52a63a75e86a190ba1b779b5ee53e4cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Sukma Wardana"
EMAIL="sukma.wardana@mail.com"
diff --git a/development/jdk/jdk.SlackBuild b/development/jdk/jdk.SlackBuild
index 2d7b58d793..67abbb9992 100644
--- a/development/jdk/jdk.SlackBuild
+++ b/development/jdk/jdk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Modified for SlackBuilds.org by David Somero
@@ -23,10 +23,13 @@
# 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=jdk
-VERSION=${VERSION:-8u251}
+VERSION=${VERSION:-8u391}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DVER=1.$(printf $VERSION | cut -du -f1).0_$(printf $VERSION | cut -du -f2)
@@ -38,9 +41,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-jdk
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
@@ -156,4 +163,4 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jdk/jdk.info b/development/jdk/jdk.info
index ef09c17b72..82ae81dc42 100644
--- a/development/jdk/jdk.info
+++ b/development/jdk/jdk.info
@@ -1,10 +1,10 @@
PRGNAM="jdk"
-VERSION="8u251"
+VERSION="8u391"
HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
-DOWNLOAD="https://download.oracle.com/otn/java/jdk/8u251-b08/3d5a2bb8f8d4428bbe94aed7ec7ae784/jdk-8u251-linux-i586.tar.gz"
-MD5SUM="ca32e950891fe711691fcc5e4e4053a6"
-DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/8u251-b08/3d5a2bb8f8d4428bbe94aed7ec7ae784/jdk-8u251-linux-x64.tar.gz"
-MD5SUM_x86_64="becc86d9870fe5f48ca30c520c4b7ab8"
+DOWNLOAD="https://download.oracle.com/otn/java/jdk/8u391-b13/b291ca3e0c8548b5a51d5a5f50063037/jdk-8u391-linux-i586.tar.gz"
+MD5SUM="75566a827dc1d80beebb83b2b60b0729"
+DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/8u391-b13/b291ca3e0c8548b5a51d5a5f50063037/jdk-8u391-linux-x64.tar.gz"
+MD5SUM_x86_64="87db638b497831cd72d98cc4de40dc6b"
REQUIRES=""
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"
diff --git a/development/jdk/profile.d/jdk.csh b/development/jdk/profile.d/jdk.csh
index 3a1ec7be8b..24580311a3 100644
--- a/development/jdk/profile.d/jdk.csh
+++ b/development/jdk/profile.d/jdk.csh
@@ -1,4 +1,3 @@
#!/bin/csh
setenv JAVA_HOME /usr/lib/java
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
diff --git a/development/jdk/profile.d/jdk.sh b/development/jdk/profile.d/jdk.sh
index ed0bc73d4d..66815e299f 100644
--- a/development/jdk/profile.d/jdk.sh
+++ b/development/jdk/profile.d/jdk.sh
@@ -1,4 +1,3 @@
#!/bin/sh
export JAVA_HOME=/usr/lib/java
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
diff --git a/development/jdk11/README b/development/jdk11/README
index 3664b00f6c..2b77c7fb6f 100644
--- a/development/jdk11/README
+++ b/development/jdk11/README
@@ -1,20 +1,22 @@
jdk11 (Java Platform Standard Edition Development Kit)
The Java Platform Standard Edition Development Kit (JDK) includes
-both the runtime environment (Java virtual machine, the Java platform
-classes and supporting files) and development tools (compilers,
-debuggers, tool libraries and other tools). The JDK is a development
-environment for building applications, applets and components that
-can be deployed with the Java Platform Standard Edition Runtime
-Environment.
+both the runtime environment (Java virtual machine,
+the Java platform classes and supporting files) and development tools
+(compilers, debuggers, tool libraries and other tools).
+The JDK is a development environment for building applications,
+applets and components that can be deployed with the
+Java Platform Standard Edition Runtime Environment.
-More details: https://developer.oracle.com/java/
+More details:
+https://developer.oracle.com/java/
-This SlackBuild will repackage official Oracle JDK archive. You must
-accept the Oracle Technology Network License Agreement for Oracle Java
-SE to download this software
+This SlackBuild will repackage official Oracle JDK archive.
+You must accept the Oracle Technology Network License Agreement
+for Oracle Java SE to download this software
https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
-After installation you will need to log out from the system and log in
-back for environment variables get updated.
+After installation you will need to log out from the system and log
+in back for environment variables get updated. Or just run "source
+/etc/profile"
diff --git a/development/jdk11/jdk11.SlackBuild b/development/jdk11/jdk11.SlackBuild
index 97d9ce17a1..272f86d660 100644
--- a/development/jdk11/jdk11.SlackBuild
+++ b/development/jdk11/jdk11.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jdk11
-# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@outlook.com>
+# Copyright 2019-2021 Igor Alexandrov <igor.alexandrov@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=jdk11
-VERSION=${VERSION:-11.0.8}
+VERSION=${VERSION:-11.0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,46 +38,49 @@ if [ -z "$ARCH" ]; then
esac
fi
-set -e
+# 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
+
+set -eu
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- echo "$ARCH port is not supported"
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported for $PRGNAM-$VERSION"
exit 1
fi
+LIBDIRSUFFIX=64
rm -rf $PKG
-mkdir -p $TMP $OUTPUT \
- $PKG/{install,etc/profile.d,usr/{lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION}}
-
+mkdir -p $TMP $OUTPUT $PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}}
cd $PKG/usr/lib${LIBDIRSUFFIX}
-tar -xvf $CWD/jdk-$VERSION?linux*.tar.gz
-mv $(tar -tf $CWD/jdk-$VERSION?linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
-
+tar -xvf $CWD/jdk-${VERSION}_linux*.tar.gz
+mv $(tar -tf $CWD/jdk-${VERSION}_linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
chown -R root:root $PRGNAM-$VERSION
find -L $PRGNAM-$VERSION \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
find $PRGNAM-$VERSION -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 $PRGNAM-$VERSION/man -type f -exec gzip -9q {} \; 2> /dev/null || true
-for i in $(find $PRGNAM-$VERSION/man -type l 2> /dev/null); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+(cd ../bin; find ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin -type f -exec ln -s {} \;)
ln -sf $PRGNAM-$VERSION/lib/libjawt.so
ln -sf $PRGNAM-$VERSION/lib/server/libjvm.so
ln -sf $PRGNAM-$VERSION/lib/libjava.so
ln -sf $PRGNAM-$VERSION/lib/libawt.so
ln -sf $PRGNAM-$VERSION/lib/libawt_xawt.so
+ln -sf $PRGNAM-$VERSION/lib/jli/libjli.so
ln -sf $PRGNAM-$VERSION/lib/libverify.so
cd ../doc/$PRGNAM-$VERSION
@@ -82,24 +88,19 @@ ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/README.html
ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/release
cat $CWD/$PRGNAM.SlackBuild > $PRGNAM.SlackBuild
-cat $CWD/slack-desc > slack-desc
cd $PKG
cat > etc/profile.d/$PRGNAM.sh << EOF
#!/bin/sh
export JAVA_HOME=/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-export MANPATH=\${MANPATH}:\${JAVA_HOME}/man
-export PATH=\${PATH}:\${JAVA_HOME}/bin
EOF
cat > etc/profile.d/$PRGNAM.csh << EOF
#!/bin/csh
setenv JAVA_HOME /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-setenv MANPATH \${MANPATH}:\${JAVA_HOME}/man
-setenv PATH \${PATH}:\${JAVA_HOME}/bin
EOF
chmod 755 etc/profile.d/*
cat $CWD/slack-desc > install/slack-desc
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jdk11/jdk11.info b/development/jdk11/jdk11.info
index 9b846810c8..61610c0225 100644
--- a/development/jdk11/jdk11.info
+++ b/development/jdk11/jdk11.info
@@ -1,10 +1,10 @@
PRGNAM="jdk11"
-VERSION="11.0.8"
-HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
+VERSION="11.0.12"
+HOMEPAGE="https://developer.oracle.com/java"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/11.0.8%2B10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_linux-x64_bin.tar.gz"
-MD5SUM_x86_64="db2f0b99ded108c4f549464ae7812826"
+DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/11.0.12+8/f411702ca7704a54a79ead0c2e0942a3/jdk-11.0.12_linux-x64_bin.tar.gz?AuthParam=1630328792_80e3bfc8ea574dfdd3391fd65ea454d3"
+MD5SUM_x86_64="ce9d5fecc743ab9f808415132938addb"
REQUIRES=""
MAINTAINER="Igor Alexandrov"
EMAIL="igor.alexandrov@outlook.com"
diff --git a/development/jdk12/README b/development/jdk12/README
deleted file mode 100644
index 8442f1f13f..0000000000
--- a/development/jdk12/README
+++ /dev/null
@@ -1,24 +0,0 @@
-jdk12 (Java Platform Standard Edition Development Kit)
-
-The Java Platform Standard Edition Development Kit (JDK) includes
-both the runtime environment (Java virtual machine, the Java platform
-classes and supporting files) and development tools (compilers,
-debuggers, tool libraries and other tools). The JDK is a development
-environment for building applications, applets and components that
-can be deployed with the Java Platform Standard Edition Runtime
-Environment.
-
-More details: https://developer.oracle.com/java/
-
-WARNING: These older versions of the JRE and JDK are provided to help
-developers debug issues in older systems. They are not updated with the
-latest security patches and are not recommended for use in production.
-
-This SlackBuild will repackage official Oracle JDK archive. You must
-accept the Oracle Technology Network License Agreement for Oracle Java
-SE to download this software
-
-https://www.oracle.com/java/technologies/javase/jdk12-archive-downloads.html
-
-After installation you will need to log out from the system and log in
-back for environment variables get updated.
diff --git a/development/jdk12/jdk12.SlackBuild b/development/jdk12/jdk12.SlackBuild
deleted file mode 100644
index 697308a566..0000000000
--- a/development/jdk12/jdk12.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jdk12
-
-# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@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.
-
-PRGNAM=jdk12
-VERSION=${VERSION:-12.0.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-set -e
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- echo "$ARCH port is not supported"
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $OUTPUT \
- $PKG/{install,etc/profile.d,usr/{lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION}}
-
-cd $PKG/usr/lib${LIBDIRSUFFIX}
-tar -xvf $CWD/jdk-$VERSION?linux*.tar.gz
-mv $(tar -tf $CWD/jdk-$VERSION?linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
-
-chown -R root:root $PRGNAM-$VERSION
-find -L $PRGNAM-$VERSION \
- \( -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 $PRGNAM-$VERSION -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 $PRGNAM-$VERSION/man -type f -exec gzip -9q {} \; 2> /dev/null || true
-for i in $(find $PRGNAM-$VERSION/man -type l 2> /dev/null); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-
-ln -sf $PRGNAM-$VERSION/lib/libjawt.so
-ln -sf $PRGNAM-$VERSION/lib/server/libjvm.so
-ln -sf $PRGNAM-$VERSION/lib/libjava.so
-ln -sf $PRGNAM-$VERSION/lib/libawt.so
-ln -sf $PRGNAM-$VERSION/lib/libawt_xawt.so
-ln -sf $PRGNAM-$VERSION/lib/libverify.so
-
-cd ../doc/$PRGNAM-$VERSION
-ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
-ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/release
-cat $CWD/$PRGNAM.SlackBuild > $PRGNAM.SlackBuild
-cat $CWD/slack-desc > slack-desc
-
-cd $PKG
-cat > etc/profile.d/$PRGNAM.sh << EOF
-#!/bin/sh
-export JAVA_HOME=/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-export MANPATH=\${MANPATH}:\${JAVA_HOME}/man
-export PATH=\${PATH}:\${JAVA_HOME}/bin
-EOF
-
-cat > etc/profile.d/$PRGNAM.csh << EOF
-#!/bin/csh
-setenv JAVA_HOME /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-setenv MANPATH \${MANPATH}:\${JAVA_HOME}/man
-setenv PATH \${PATH}:\${JAVA_HOME}/bin
-EOF
-
-chmod 755 etc/profile.d/*
-cat $CWD/slack-desc > install/slack-desc
-
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/jdk12/jdk12.info b/development/jdk12/jdk12.info
deleted file mode 100644
index 0da1dd603e..0000000000
--- a/development/jdk12/jdk12.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jdk12"
-VERSION="12.0.2"
-HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz"
-MD5SUM_x86_64="d1527af940a4d73050ff1d5c7942782d"
-REQUIRES="%README%"
-MAINTAINER="Igor Alexandrov"
-EMAIL="igor.alexandrov@outlook.com"
diff --git a/development/jdk12/slack-desc b/development/jdk12/slack-desc
deleted file mode 100644
index d8870b570d..0000000000
--- a/development/jdk12/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------------------------------------------------------|
-jdk12: jdk12 (Java Platform Standard Edition Development Kit)
-jdk12:
-jdk12: The Java Platform Standard Edition Development Kit (JDK) includes
-jdk12: both the runtime environment (Java virtual machine,
-jdk12: the Java platform classes and supporting files) and development tools
-jdk12: (compilers, debuggers, tool libraries and other tools).
-jdk12: The JDK is a development environment for building applications,
-jdk12: applets and components that can be deployed with the
-jdk12: Java Platform Standard Edition Runtime Environment.
-jdk12:
-jdk12: https://developer.oracle.com/java/
diff --git a/development/jdk13/README b/development/jdk13/README
deleted file mode 100644
index f6f902ab70..0000000000
--- a/development/jdk13/README
+++ /dev/null
@@ -1,24 +0,0 @@
-jdk13 (Java Platform Standard Edition Development Kit)
-
-The Java Platform Standard Edition Development Kit (JDK) includes
-both the runtime environment (Java virtual machine, the Java platform
-classes and supporting files) and development tools (compilers,
-debuggers, tool libraries and other tools). The JDK is a development
-environment for building applications, applets and components that
-can be deployed with the Java Platform Standard Edition Runtime
-Environment.
-
-More details: https://developer.oracle.com/java/
-
-WARNING: These older versions of the JRE and JDK are provided to help
-developers debug issues in older systems. They are not updated with the
-latest security patches and are not recommended for use in production.
-
-This SlackBuild will repackage official Oracle JDK archive. You must
-accept the Oracle Technology Network License Agreement for Oracle Java
-SE to download this software
-
-https://www.oracle.com/java/technologies/javase/jdk13-archive-downloads.html
-
-After installation you will need to log out from the system and log in
-back for environment variables get updated.
diff --git a/development/jdk13/jdk13.SlackBuild b/development/jdk13/jdk13.SlackBuild
deleted file mode 100644
index b8f220ee59..0000000000
--- a/development/jdk13/jdk13.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jdk13
-
-# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@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.
-
-PRGNAM=jdk13
-VERSION=${VERSION:-13.0.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-set -e
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" != "x86_64" ]; then
- echo "$ARCH is not supported for $PRGNAM-$VERSION"
- exit 1
-fi
-LIBDIRSUFFIX=64
-
-rm -rf $PKG
-mkdir -p $TMP $OUTPUT \
- $PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}}
-
-cd $PKG/usr/lib${LIBDIRSUFFIX}
-tar -xvf $CWD/jdk-${VERSION}_linux*.tar.gz
-mv $(tar -tf $CWD/jdk-${VERSION}_linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
-
-chown -R root:root $PRGNAM-$VERSION
-find -L $PRGNAM-$VERSION \
- \( -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 $PRGNAM-$VERSION -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 $PRGNAM-$VERSION/man -type f -exec gzip -9q {} \; 2> /dev/null || true
-for i in $(find $PRGNAM-$VERSION/man -type l 2> /dev/null); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-(cd ../man/man1; find ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/man/man1 -type f -exec ln -s {} \;)
-
-(cd ../bin; find ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin -type f -exec ln -s {} \;)
-
-ln -sf $PRGNAM-$VERSION/lib/libjawt.so
-ln -sf $PRGNAM-$VERSION/lib/server/libjvm.so
-ln -sf $PRGNAM-$VERSION/lib/libjava.so
-ln -sf $PRGNAM-$VERSION/lib/libawt.so
-ln -sf $PRGNAM-$VERSION/lib/libawt_xawt.so
-ln -sf $PRGNAM-$VERSION/lib/libverify.so
-ln -sf $PRGNAM-$VERSION/lib/libjli.so
-
-cd ../doc/$PRGNAM-$VERSION
-ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
-ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/release
-cat $CWD/$PRGNAM.SlackBuild > $PRGNAM.SlackBuild
-
-cd $PKG
-cat > etc/profile.d/$PRGNAM.sh << EOF
-#!/bin/sh
-export JAVA_HOME=/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-EOF
-
-cat > etc/profile.d/$PRGNAM.csh << EOF
-#!/bin/csh
-setenv JAVA_HOME /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-EOF
-
-chmod 755 etc/profile.d/*
-cat $CWD/slack-desc > install/slack-desc
-
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/jdk13/jdk13.info b/development/jdk13/jdk13.info
deleted file mode 100644
index e986ef747c..0000000000
--- a/development/jdk13/jdk13.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jdk13"
-VERSION="13.0.2"
-HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/13.0.2+8/d4173c853231432d94f001e99d882ca7/jdk-13.0.2_linux-x64_bin.tar.gz"
-MD5SUM_x86_64="d9cd84b90be7130094b1cae31b352abe"
-REQUIRES=""
-MAINTAINER="Igor Alexandrov"
-EMAIL="igor.alexandrov@outlook.com"
diff --git a/development/jdk13/slack-desc b/development/jdk13/slack-desc
deleted file mode 100644
index ee68d72f69..0000000000
--- a/development/jdk13/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------------------------------------------------------|
-jdk13: jdk13 (Java Platform Standard Edition Development Kit)
-jdk13:
-jdk13: The Java Platform Standard Edition Development Kit (JDK) includes
-jdk13: both the runtime environment (Java virtual machine,
-jdk13: the Java platform classes and supporting files) and development tools
-jdk13: (compilers, debuggers, tool libraries and other tools).
-jdk13: The JDK is a development environment for building applications,
-jdk13: applets and components that can be deployed with the
-jdk13: Java Platform Standard Edition Runtime Environment.
-jdk13:
-jdk13: https://developer.oracle.com/java/
diff --git a/development/jdk14/README b/development/jdk14/README
deleted file mode 100644
index eaf2da7f60..0000000000
--- a/development/jdk14/README
+++ /dev/null
@@ -1,26 +0,0 @@
-jdk14 (Java Platform Standard Edition Development Kit)
-
-The Java Platform Standard Edition Development Kit (JDK) includes
-both the runtime environment (Java virtual machine,
-the Java platform classes and supporting files) and development tools
-(compilers, debuggers, tool libraries and other tools).
-The JDK is a development environment for building applications,
-applets and components that can be deployed with the
-Java Platform Standard Edition Runtime Environment.
-
-More details:
-https://developer.oracle.com/java/
-
-WARNING: These older versions of the JRE and JDK are provided to
-help developers debug issues in older systems. They are not updated
-with the latest security patches and are not recommended for use in
-production.
-
-This SlackBuild will repackage official Oracle JDK archive.
-You must accept the Oracle Technology Network License Agreement
-for Oracle Java SE to download this software
-
-https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
-
-After installation you will need to log out from the system and log in
-back for environment variables get updated.
diff --git a/development/jdk14/jdk14.SlackBuild b/development/jdk14/jdk14.SlackBuild
deleted file mode 100644
index 65848416a5..0000000000
--- a/development/jdk14/jdk14.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jdk14
-
-# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@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.
-
-PRGNAM=jdk14
-VERSION=${VERSION:-14.0.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-set -e
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" != "x86_64" ]; then
- echo "$ARCH is not supported for $PRGNAM-$VERSION"
- exit 1
-fi
-LIBDIRSUFFIX=64
-
-rm -rf $PKG
-mkdir -p $TMP $OUTPUT \
- $PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}}
-
-cd $PKG/usr/lib${LIBDIRSUFFIX}
-tar -xvf $CWD/jdk-${VERSION}_linux*.tar.gz
-mv $(tar -tf $CWD/jdk-${VERSION}_linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
-
-chown -R root:root $PRGNAM-$VERSION
-find -L $PRGNAM-$VERSION \
- \( -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 $PRGNAM-$VERSION -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 $PRGNAM-$VERSION/man -type f -exec gzip -9q {} \; 2> /dev/null || true
-for i in $(find $PRGNAM-$VERSION/man -type l 2> /dev/null); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-(cd ../man/man1; find ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/man/man1 -type f -exec ln -s {} \;)
-
-(cd ../bin; find ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin -type f -exec ln -s {} \;)
-
-ln -sf $PRGNAM-$VERSION/lib/libjawt.so
-ln -sf $PRGNAM-$VERSION/lib/server/libjvm.so
-ln -sf $PRGNAM-$VERSION/lib/libjava.so
-ln -sf $PRGNAM-$VERSION/lib/libawt.so
-ln -sf $PRGNAM-$VERSION/lib/libawt_xawt.so
-ln -sf $PRGNAM-$VERSION/lib/libverify.so
-ln -sf $PRGNAM-$VERSION/lib/libjli.so
-
-cd ../doc/$PRGNAM-$VERSION
-ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
-ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/release
-cat $CWD/$PRGNAM.SlackBuild > $PRGNAM.SlackBuild
-
-cd $PKG
-cat > etc/profile.d/$PRGNAM.sh << EOF
-#!/bin/sh
-export JAVA_HOME=/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-EOF
-
-cat > etc/profile.d/$PRGNAM.csh << EOF
-#!/bin/csh
-setenv JAVA_HOME /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-EOF
-
-chmod 755 etc/profile.d/*
-cat $CWD/slack-desc > install/slack-desc
-
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/jdk14/jdk14.info b/development/jdk14/jdk14.info
deleted file mode 100644
index 5882224171..0000000000
--- a/development/jdk14/jdk14.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jdk14"
-VERSION="14.0.2"
-HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://download.oracle.com/otn-pub/java/jdk/14.0.2+12/205943a0976c4ed48cb16f1043c5c647/jdk-14.0.2_linux-x64e_bin.tar.gz"
-MD5SUM_x86_64="9319a0ec39aa84ae15e0bd87701d8b29"
-REQUIRES=""
-MAINTAINER="Igor Alexandrov"
-EMAIL="igor.alexandrov@outlook.com"
diff --git a/development/jdk14/slack-desc b/development/jdk14/slack-desc
deleted file mode 100644
index bed66c759f..0000000000
--- a/development/jdk14/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------------------------------------------------------|
-jdk14: jdk14 (Java Platform Standard Edition Development Kit)
-jdk14:
-jdk14: The Java Platform Standard Edition Development Kit (JDK) includes
-jdk14: both the runtime environment (Java virtual machine,
-jdk14: the Java platform classes and supporting files) and development tools
-jdk14: (compilers, debuggers, tool libraries and other tools).
-jdk14: The JDK is a development environment for building applications,
-jdk14: applets and components that can be deployed with the
-jdk14: Java Platform Standard Edition Runtime Environment.
-jdk14:
-jdk14: https://developer.oracle.com/java/
diff --git a/development/jdk15/README b/development/jdk15/README
deleted file mode 100644
index bf20d11788..0000000000
--- a/development/jdk15/README
+++ /dev/null
@@ -1,21 +0,0 @@
-jdk15 (Java Platform Standard Edition Development Kit)
-
-The Java Platform Standard Edition Development Kit (JDK) includes
-both the runtime environment (Java virtual machine,
-the Java platform classes and supporting files) and development tools
-(compilers, debuggers, tool libraries and other tools).
-The JDK is a development environment for building applications,
-applets and components that can be deployed with the
-Java Platform Standard Edition Runtime Environment.
-
-More details:
-https://developer.oracle.com/java/
-
-This SlackBuild will repackage official Oracle JDK archive.
-You must accept the Oracle Technology Network License Agreement
-for Oracle Java SE to download this software
-
-https://www.oracle.com/java/technologies/javase-jdk15-downloads.html
-
-After installation you will need to log out from the system and log in back
-for environment variables get updated.
diff --git a/development/jdk15/jdk15.SlackBuild b/development/jdk15/jdk15.SlackBuild
deleted file mode 100644
index 0eef9a8f82..0000000000
--- a/development/jdk15/jdk15.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jdk15
-
-# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@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.
-
-PRGNAM=jdk15
-VERSION=${VERSION:-15.0.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-set -e
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" != "x86_64" ]; then
- echo "$ARCH is not supported for $PRGNAM-$VERSION"
- exit 1
-fi
-LIBDIRSUFFIX=64
-
-rm -rf $PKG
-mkdir -p $TMP $OUTPUT \
- $PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}}
-
-cd $PKG/usr/lib${LIBDIRSUFFIX}
-tar -xvf $CWD/jdk-${VERSION}_linux*.tar.gz
-mv $(tar -tf $CWD/jdk-${VERSION}_linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
-
-chown -R root:root $PRGNAM-$VERSION
-find -L $PRGNAM-$VERSION \
- \( -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 $PRGNAM-$VERSION -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 $PRGNAM-$VERSION/man -type f -exec gzip -9q {} \; 2> /dev/null || true
-for i in $(find $PRGNAM-$VERSION/man -type l 2> /dev/null); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-(cd ../man/man1; find ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/man/man1 -type f -exec ln -s {} \;)
-
-(cd ../bin; find ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin -type f -exec ln -s {} \;)
-
-ln -sf $PRGNAM-$VERSION/lib/libjawt.so
-ln -sf $PRGNAM-$VERSION/lib/server/libjvm.so
-ln -sf $PRGNAM-$VERSION/lib/libjava.so
-ln -sf $PRGNAM-$VERSION/lib/libawt.so
-ln -sf $PRGNAM-$VERSION/lib/libawt_xawt.so
-ln -sf $PRGNAM-$VERSION/lib/libjli.so
-
-cd ../doc/$PRGNAM-$VERSION
-ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
-ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/release
-cat $CWD/$PRGNAM.SlackBuild > $PRGNAM.SlackBuild
-
-cd $PKG
-cat > etc/profile.d/$PRGNAM.sh << EOF
-#!/bin/sh
-export JAVA_HOME=/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-EOF
-
-cat > etc/profile.d/$PRGNAM.csh << EOF
-#!/bin/csh
-setenv JAVA_HOME /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-EOF
-
-chmod 755 etc/profile.d/*
-cat $CWD/slack-desc > install/slack-desc
-
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/jdk15/jdk15.info b/development/jdk15/jdk15.info
deleted file mode 100644
index 26a5605dbc..0000000000
--- a/development/jdk15/jdk15.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jdk15"
-VERSION="15.0.1"
-HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://download.oracle.com/otn-pub/java/jdk/15.0.1%2B9/51f4f36ad4ef43e39d0dfdbaf6549e32/jdk-15.0.1_linux-x64_bin.tar.gz"
-MD5SUM_x86_64="e389486c3e55652eb2b69276baf2a5e7"
-REQUIRES=""
-MAINTAINER="Igor Alexandrov"
-EMAIL="igor.alexandrov@outlook.com"
diff --git a/development/jdk15/slack-desc b/development/jdk15/slack-desc
deleted file mode 100644
index 661dd74c05..0000000000
--- a/development/jdk15/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------------------------------------------------------|
-jdk15: jdk15 (Java Platform Standard Edition Development Kit)
-jdk15:
-jdk15: The Java Platform Standard Edition Development Kit (JDK) includes
-jdk15: both the runtime environment (Java virtual machine,
-jdk15: the Java platform classes and supporting files) and development tools
-jdk15: (compilers, debuggers, tool libraries and other tools).
-jdk15: The JDK is a development environment for building applications,
-jdk15: applets and components that can be deployed with the
-jdk15: Java Platform Standard Edition Runtime Environment.
-jdk15:
-jdk15: https://developer.oracle.com/java/
diff --git a/development/jdk19/README b/development/jdk19/README
new file mode 100644
index 0000000000..6aa761ff6f
--- /dev/null
+++ b/development/jdk19/README
@@ -0,0 +1,14 @@
+jdk19 (Java Platform Standard Edition Development Kit)
+
+The Java Platform Standard Edition Development Kit (JDK) includes
+both the runtime environment (Java virtual machine, the Java platform
+classes and supporting files) and development tools (compilers,
+debuggers, tool libraries and other tools). The JDK is a development
+environment for building applications, applets and components that
+can be deployed with the Java Platform Standard Edition Runtime
+Environment.
+
+More details: https://www.oracle.com/java/technologies/downloads/#java19
+
+After installation you will need to log out from the system and log in
+back for environment variables get updated.
diff --git a/development/jdk19/jdk19.SlackBuild b/development/jdk19/jdk19.SlackBuild
new file mode 100644
index 0000000000..5873384494
--- /dev/null
+++ b/development/jdk19/jdk19.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for jdk19
+
+# Copyright 2022-2023 Ebben Aries <slackbuilds@dscp.org>
+# 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=jdk19
+VERSION=${VERSION:-19.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
+
+set -e
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ echo "$ARCH port is not supported"
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $OUTPUT \
+ $PKG/{install,etc/profile.d,usr/{lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION}}
+
+cd $PKG/usr/lib${LIBDIRSUFFIX}
+tar -xvf $CWD/jdk-$VERSION?linux*.tar.gz
+mv $(tar -tf $CWD/jdk-$VERSION?linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
+
+chown -R root:root $PRGNAM-$VERSION
+find -L $PRGNAM-$VERSION \
+ \( -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 $PRGNAM-$VERSION -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 $PRGNAM-$VERSION/man -type f -exec gzip -9q {} \; 2> /dev/null || true
+for i in $(find $PRGNAM-$VERSION/man -type l 2> /dev/null); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+
+ln -sf $PRGNAM-$VERSION/lib/libjawt.so
+ln -sf $PRGNAM-$VERSION/lib/server/libjvm.so
+ln -sf $PRGNAM-$VERSION/lib/libjava.so
+ln -sf $PRGNAM-$VERSION/lib/libawt.so
+ln -sf $PRGNAM-$VERSION/lib/libawt_xawt.so
+ln -sf $PRGNAM-$VERSION/lib/libverify.so
+
+cd ../doc/$PRGNAM-$VERSION
+ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal
+ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/README.html
+ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/release
+cat $CWD/$PRGNAM.SlackBuild > $PRGNAM.SlackBuild
+cat $CWD/slack-desc > slack-desc
+
+cd $PKG
+cat > etc/profile.d/$PRGNAM.sh << EOF
+#!/bin/sh
+export JAVA_HOME=/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
+export MANPATH=\${MANPATH}:\${JAVA_HOME}/man
+export PATH=\${PATH}:\${JAVA_HOME}/bin
+EOF
+
+cat > etc/profile.d/$PRGNAM.csh << EOF
+#!/bin/csh
+setenv JAVA_HOME /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
+setenv MANPATH \${MANPATH}:\${JAVA_HOME}/man
+setenv PATH \${PATH}:\${JAVA_HOME}/bin
+EOF
+
+chmod 755 etc/profile.d/*
+cat $CWD/slack-desc > install/slack-desc
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jdk19/jdk19.info b/development/jdk19/jdk19.info
new file mode 100644
index 0000000000..7e6611d7bc
--- /dev/null
+++ b/development/jdk19/jdk19.info
@@ -0,0 +1,10 @@
+PRGNAM="jdk19"
+VERSION="19.0.2"
+HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.oracle.com/java/19/archive/jdk-19.0.2_linux-x64_bin.tar.gz"
+MD5SUM_x86_64="da5f877ae40579f0b44e0573a227f7dc"
+REQUIRES=""
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/development/jdk19/slack-desc b/development/jdk19/slack-desc
new file mode 100644
index 0000000000..245b266b9c
--- /dev/null
+++ b/development/jdk19/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------------------------------------------------------|
+jdk19: jdk19 (Java Platform Standard Edition Development Kit)
+jdk19:
+jdk19: The Java Platform Standard Edition Development Kit (JDK) includes
+jdk19: both the runtime environment (Java virtual machine,
+jdk19: the Java platform classes and supporting files) and development tools
+jdk19: (compilers, debuggers, tool libraries and other tools).
+jdk19: The JDK is a development environment for building applications,
+jdk19: applets and components that can be deployed with the
+jdk19: Java Platform Standard Edition Runtime Environment.
+jdk19:
+jdk19: https://developer.oracle.com/java/
diff --git a/development/jeex/jeex.SlackBuild b/development/jeex/jeex.SlackBuild
index 9f721affae..ff32d207e0 100644
--- a/development/jeex/jeex.SlackBuild
+++ b/development/jeex/jeex.SlackBuild
@@ -1,28 +1,19 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jeex
-# Originally by Luis Henrique <lmello.009@gmail.com>
-# Modified by Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Now maintained by B. Watson (yalhcru@gmail.com)
+# Originally by Luis Henrique <email removed>
+# Modified by Ryan P.C. McQuen | Everett, WA | <email removed>
+# Now maintained by B. Watson (urchlay@slackware.uk)
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <http://www.gnu.org/licenses/>.
+# 20210902 bkw:
+# - BUILD=4
+# - fix build on -current/15
+# - relicensed as WTFPL, with permission from Ryan. The original author,
+# Luis, never included a license at all.
+# - Put .desktop file in the right place and fix its icon reference.
# 20170309 bkw:
# - take over maintenance
@@ -34,10 +25,13 @@
# - fix bad permissions (docs, desktop, and /etc/jeex.rc.new were +x)
# - BUILD=3
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jeex
VERSION=${VERSION:-12.6.1}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -47,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -86,6 +84,9 @@ touch NEWS AUTHORS
rm -f configure
autoreconf -if
+# 20210902 bkw: need for 15.0
+SLKCFLAGS+=" -fcommon"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -104,6 +105,17 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20210902 bkw: .desktop was being installed in wrong place, and needs
+# the icon fixed anyway.
+rm -rf $PKG/usr/share/jeex/applications
+mkdir -p $PKG/usr/share/applications
+sed '/^Icon/s,jeex,/usr/share/jeex/icons/jeex.png,' \
+ < jeex.desktop \
+ > $PKG/usr/share/applications/jeex.desktop
+
+# 20210902 bkw: don't need 2 actual copies of the icon.
+rm -f $PKG/usr/share/jeex/images/jeex.png
+ln -s ../icons/jeex.png $PKG/usr/share/jeex/images/jeex.png
mv $PKG/etc/jeex.rc $PKG/etc/jeex.rc.new
mkdir -p $PKG/install
@@ -111,4 +123,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jeex/jeex.info b/development/jeex/jeex.info
index 52d0becfe3..418afd45c9 100644
--- a/development/jeex/jeex.info
+++ b/development/jeex/jeex.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/jenv/README b/development/jenv/README
new file mode 100644
index 0000000000..b3b29d3f7f
--- /dev/null
+++ b/development/jenv/README
@@ -0,0 +1,2 @@
+jEnv is a command line tool to help you forget how to set the JAVA_HOME
+environment variable.
diff --git a/development/jenv/jenv.SlackBuild b/development/jenv/jenv.SlackBuild
new file mode 100644
index 0000000000..14fae48733
--- /dev/null
+++ b/development/jenv/jenv.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for jenv
+
+# Copyright 2021 Dmitrii Sosedov, United States
+# 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=jenv
+VERSION=${VERSION:-0.5.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ 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 {} \;
+
+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/lib$LIBDIRSUFFIX/jenv
+mv available-plugins completions fish libexec $PKG/usr/lib$LIBDIRSUFFIX/jenv
+
+mkdir -p $PKG/usr/bin
+ln -s /usr/lib$LIBDIRSUFFIX/jenv/libexec/jenv $PKG/usr/bin/
+
+mkdir -p $PKG/etc/profile.d/
+
+cat << "EOF" > $PKG/etc/profile.d/jenv.sh
+#!/bin/sh
+export PATH="$HOME/.jenv/bin:$PATH"
+eval "$(jenv init -)"
+EOF
+
+chmod 0755 $PKG/etc/profile.d/*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jenv/jenv.info b/development/jenv/jenv.info
new file mode 100644
index 0000000000..a6180cdeee
--- /dev/null
+++ b/development/jenv/jenv.info
@@ -0,0 +1,10 @@
+PRGNAM="jenv"
+VERSION="0.5.4"
+HOMEPAGE="https://www.jenv.be"
+DOWNLOAD="https://github.com/jenv/jenv/archive/0.5.4/jenv-0.5.4.tar.gz"
+MD5SUM="ee0a8849535582f2759b8ab36f7d63ce"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Dmitrii Sosedov"
+EMAIL="d.sosedov@gmail.com"
diff --git a/development/jenv/slack-desc b/development/jenv/slack-desc
new file mode 100644
index 0000000000..6dbb60cd29
--- /dev/null
+++ b/development/jenv/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------------------------------------------------------|
+jenv: jenv (Java environment management tool)
+jenv:
+jenv: jEnv is a command line tool to help you forget how to set
+jenv: the JAVA_HOME environment variable.
+jenv:
+jenv:
+jenv:
+jenv:
+jenv: Homepage: https://www.jenv.be
+jenv: Release date: Aug 22, 2020
+jenv:
diff --git a/development/jsmin/jsmin.SlackBuild b/development/jsmin/jsmin.SlackBuild
index 13ab300169..c56c3ba08e 100644
--- a/development/jsmin/jsmin.SlackBuild
+++ b/development/jsmin/jsmin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jsmin
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
@@ -22,22 +22,32 @@
# with this program (most likely, a file named COPYING). If not, see
# <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jsmin
SRCNAM=JSMin
VERSION=${VERSION:-20130329}
SRCVERSION=${SRCVERSION:-1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -71,4 +81,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jsmin/jsmin.info b/development/jsmin/jsmin.info
index 7c84e6ead0..f3d8aee659 100644
--- a/development/jsmin/jsmin.info
+++ b/development/jsmin/jsmin.info
@@ -1,7 +1,7 @@
PRGNAM="jsmin"
VERSION="20130329"
HOMEPAGE="http://www.crockford.com/javascript/jsmin.html"
-DOWNLOAD="https://github.com/douglascrockford/JSMin/archive/1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b.tar.gz"
+DOWNLOAD="https://github.com/douglascrockford/JSMin/archive/1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b/JSMin-1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b.tar.gz"
MD5SUM="b7036954ad6fc5662052fd77eebcb323"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/julia/julia.SlackBuild b/development/julia/julia.SlackBuild
index 5df881d5b6..4ca8c10fe8 100644
--- a/development/julia/julia.SlackBuild
+++ b/development/julia/julia.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for julia
@@ -22,10 +22,13 @@
# 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=julia
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -100,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/julius/julius.SlackBuild b/development/julius/julius.SlackBuild
index 72982edabb..078b06c946 100644
--- a/development/julius/julius.SlackBuild
+++ b/development/julius/julius.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for julius
@@ -25,26 +25,36 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by SlackBuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=julius
VERSION=${VERSION:-4.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$( pwd )
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter-ipykernel/README b/development/jupyter-ipykernel/README
index f0974bc59f..696b0972d7 100644
--- a/development/jupyter-ipykernel/README
+++ b/development/jupyter-ipykernel/README
@@ -1 +1 @@
-IPython Kernel for Jupyter.
+Python 3 kernel for Jupyter.
diff --git a/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild b/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild
index e806879f4c..9d26c85608 100644
--- a/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild
+++ b/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jupyter-ipykernel
-# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=jupyter-ipykernel
-VERSION=${VERSION:-4.10.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-6.29.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=ipykernel
@@ -37,25 +41,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -71,15 +65,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python2 setup.py install --root=$PKG
-sed -i "s| \"python\",| \"/usr/bin/python2\",|" $PKG/usr/share/jupyter/kernels/python2/kernel.json
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING.md README.md \
+ CHANGELOG.md CONTRIBUTING.md README.md RELEASE.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -87,4 +81,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter-ipykernel/jupyter-ipykernel.info b/development/jupyter-ipykernel/jupyter-ipykernel.info
index 34e73eda40..42bee84233 100644
--- a/development/jupyter-ipykernel/jupyter-ipykernel.info
+++ b/development/jupyter-ipykernel/jupyter-ipykernel.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter-ipykernel"
-VERSION="4.10.0"
+VERSION="6.29.4"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-4.10.0.tar.gz"
-MD5SUM="e4ee1bf2d025a6016fdf03a8f748aa01"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-6.29.4.tar.gz"
+MD5SUM="0517e57a395d4e829906cf2a9898f4fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ipython jupyter_client tornado"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="python3-debugpy ipython jupyter_client python3-psutil python3-comm"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter-ipykernel/slack-desc b/development/jupyter-ipykernel/slack-desc
index df185b168e..79655ba2fb 100644
--- a/development/jupyter-ipykernel/slack-desc
+++ b/development/jupyter-ipykernel/slack-desc
@@ -6,9 +6,9 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-jupyter-ipykernel: jupyter-ipykernel (IPython Kernel for Jupyter)
+jupyter-ipykernel: jupyter-ipykernel (Python 3 kernel for Jupyter)
jupyter-ipykernel:
-jupyter-ipykernel: IPython Kernel for Jupyter.
+jupyter-ipykernel: Python 3 kernel for Jupyter.
jupyter-ipykernel:
jupyter-ipykernel:
jupyter-ipykernel:
diff --git a/development/jupyter-ipyleaflet/README b/development/jupyter-ipyleaflet/README
deleted file mode 100644
index 64fad34924..0000000000
--- a/development/jupyter-ipyleaflet/README
+++ /dev/null
@@ -1,4 +0,0 @@
-jupyter-ipyleaflet is a Jupyter-Leaflet bridge enabling interactive
-maps in the Jupyter notebook.
-
-All dependencies must be built with support for Python 3.
diff --git a/development/jupyter-ipyleaflet/jupyter-ipyleaflet.SlackBuild b/development/jupyter-ipyleaflet/jupyter-ipyleaflet.SlackBuild
deleted file mode 100644
index 488fe4b3b0..0000000000
--- a/development/jupyter-ipyleaflet/jupyter-ipyleaflet.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jupyter-ipyleaflet
-
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.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.
-
-PRGNAM=jupyter-ipyleaflet
-VERSION=${VERSION:-0.11.6}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-SRCNAM=ipyleaflet
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION-py37_0.tar.bz2
-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/usr
-cp -r lib $PKG/usr/lib$LIBDIRSUFFIX
-cp -r share $PKG/usr/share
-cp -r etc $PKG/usr/etc
-
-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/$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:-tgz}
diff --git a/development/jupyter-ipyleaflet/jupyter-ipyleaflet.info b/development/jupyter-ipyleaflet/jupyter-ipyleaflet.info
deleted file mode 100644
index 53ec04ed90..0000000000
--- a/development/jupyter-ipyleaflet/jupyter-ipyleaflet.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jupyter-ipyleaflet"
-VERSION="0.11.6"
-HOMEPAGE="https://github.com/ellisonbg/ipyleaflet"
-DOWNLOAD="https://anaconda.org/conda-forge/ipyleaflet/0.11.6/download/linux-64/ipyleaflet-0.11.6-py37_0.tar.bz2"
-MD5SUM="7ec9fb700cf2052f10fca3092b0a35a7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jupyter-ipywidgets python-branca traittypes"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/development/jupyter-ipyleaflet/slack-desc b/development/jupyter-ipyleaflet/slack-desc
deleted file mode 100644
index e9dec13018..0000000000
--- a/development/jupyter-ipyleaflet/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------------------------------------------------------|
-jupyter-ipyleaflet: jupyter-ipyleaflet (IPython Leaflet widget for the Jupyter Notebook)
-jupyter-ipyleaflet:
-jupyter-ipyleaflet: jupyter-ipyleaflet is a Jupyter-Leaflet bridge enabling interactive
-jupyter-ipyleaflet: maps in the Jupyter notebook.
-jupyter-ipyleaflet:
-jupyter-ipyleaflet:
-jupyter-ipyleaflet:
-jupyter-ipyleaflet:
-jupyter-ipyleaflet:
-jupyter-ipyleaflet:
-jupyter-ipyleaflet:
diff --git a/development/jupyter-ipywidgets/README b/development/jupyter-ipywidgets/README
deleted file mode 100644
index 2bfcbc1286..0000000000
--- a/development/jupyter-ipywidgets/README
+++ /dev/null
@@ -1,2 +0,0 @@
-ipywidgets are interactive HTML widgets for Jupyter notebooks and the
-IPython kernel.
diff --git a/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild b/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild
deleted file mode 100644
index 8db798c478..0000000000
--- a/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jupyter-ipywidgets
-
-# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.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.
-
-PRGNAM=jupyter-ipywidgets
-VERSION=${VERSION:-7.5.1}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-SRCNAM=ipywidgets
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CONTRIBUTING.md LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/jupyter-ipywidgets/jupyter-ipywidgets.info b/development/jupyter-ipywidgets/jupyter-ipywidgets.info
deleted file mode 100644
index 9b45771d67..0000000000
--- a/development/jupyter-ipywidgets/jupyter-ipywidgets.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jupyter-ipywidgets"
-VERSION="7.5.1"
-HOMEPAGE="https://ipywidgets.readthedocs.io/en/latest/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets-7.5.1.tar.gz"
-MD5SUM="090f5ad1294b084f075af8f684d8981f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3-ipython jupyter-widgetsnbextension"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/development/jupyter-ipywidgets/slack-desc b/development/jupyter-ipywidgets/slack-desc
deleted file mode 100644
index 746ac2aeb7..0000000000
--- a/development/jupyter-ipywidgets/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------------------------------------------------------|
-jupyter-ipywidgets: jupyter-ipywidgets (IPython widgets for the Jupyter Notebook)
-jupyter-ipywidgets:
-jupyter-ipywidgets: ipywidgets are interactive HTML widgets for Jupyter notebooks and the
-jupyter-ipywidgets: IPython kernel.
-jupyter-ipywidgets:
-jupyter-ipywidgets:
-jupyter-ipywidgets:
-jupyter-ipywidgets:
-jupyter-ipywidgets:
-jupyter-ipywidgets:
-jupyter-ipywidgets:
diff --git a/development/jupyter-nbclassic/README b/development/jupyter-nbclassic/README
new file mode 100644
index 0000000000..c2cc8f6699
--- /dev/null
+++ b/development/jupyter-nbclassic/README
@@ -0,0 +1,7 @@
+NBClassic runs the Jupyter Notebook frontend on the Jupyter Server
+backend.
+
+This project prepares for a future where JupyterLab and other frontends
+switch to Jupyter Server for their Python Web application backend.
+Using this package, users can launch Jupyter Notebook, JupyterLab and
+other frontends side-by-side on top of the new Python server backend.
diff --git a/development/jupyter-nbclassic/doinst.sh b/development/jupyter-nbclassic/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/jupyter-nbclassic/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/jupyter-nbclassic/jupyter-nbclassic.SlackBuild b/development/jupyter-nbclassic/jupyter-nbclassic.SlackBuild
new file mode 100644
index 0000000000..104abca582
--- /dev/null
+++ b/development/jupyter-nbclassic/jupyter-nbclassic.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for jupyter-nbclassic
+
+# Copyright 2022-2023 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=jupyter-nbclassic
+VERSION=${VERSION:-1.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=nbclassic
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Fix /etc/jupyter path
+sed 's|etc|/etc|' -i setup.cfg
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Remove bundled mathjax2; replace with system mathjax2
+PYTHONPATH=$(python3 -c "from sysconfig import get_path; print(get_path('platlib'))")
+rm -r $PKG/$PYTHONPATH/nbclassic/static/components/MathJax
+ln -sr /usr/share/mathjax2 $PKG/$PYTHONPATH/nbclassic/static/components/MathJax
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.rst LICENSE README.md RELEASE.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+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/development/jupyter-nbclassic/jupyter-nbclassic.info b/development/jupyter-nbclassic/jupyter-nbclassic.info
new file mode 100644
index 0000000000..e2b910cdbc
--- /dev/null
+++ b/development/jupyter-nbclassic/jupyter-nbclassic.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyter-nbclassic"
+VERSION="1.0.0"
+HOMEPAGE="https://jupyter.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbclassic/nbclassic-1.0.0.tar.gz"
+MD5SUM="a3db6639db4654d27cddfde666cd5ef8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jupyter-notebook_shim mathjax2"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter-nbclassic/slack-desc b/development/jupyter-nbclassic/slack-desc
new file mode 100644
index 0000000000..4d1c1d7ad7
--- /dev/null
+++ b/development/jupyter-nbclassic/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------------------------------------------------------|
+jupyter-nbclassic: jupyter-nbclassic (Jupyter Notebook as a Jupyter Server Extension)
+jupyter-nbclassic:
+jupyter-nbclassic: NBClassic runs the Jupyter Notebook frontend on the Jupyter Server
+jupyter-nbclassic: backend.
+jupyter-nbclassic:
+jupyter-nbclassic:
+jupyter-nbclassic:
+jupyter-nbclassic:
+jupyter-nbclassic:
+jupyter-nbclassic:
+jupyter-nbclassic:
diff --git a/development/jupyter-nbclient/README b/development/jupyter-nbclient/README
new file mode 100644
index 0000000000..9fe2e424cc
--- /dev/null
+++ b/development/jupyter-nbclient/README
@@ -0,0 +1,2 @@
+nbclient is a tool for running Jupyter Notebooks in different execution
+contexts.
diff --git a/development/jupyter-nbclient/jupyter-nbclient.SlackBuild b/development/jupyter-nbclient/jupyter-nbclient.SlackBuild
new file mode 100644
index 0000000000..83223b5078
--- /dev/null
+++ b/development/jupyter-nbclient/jupyter-nbclient.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for jupyter-nbclient
+
+# Copyright 2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-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=jupyter-nbclient
+VERSION=${VERSION:-0.9.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=nbclient
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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/development/jupyter-nbclient/jupyter-nbclient.info b/development/jupyter-nbclient/jupyter-nbclient.info
new file mode 100644
index 0000000000..4a2ff96a21
--- /dev/null
+++ b/development/jupyter-nbclient/jupyter-nbclient.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyter-nbclient"
+VERSION="0.9.0"
+HOMEPAGE="https://jupyter.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbclient/nbclient-0.9.0.tar.gz"
+MD5SUM="44e93623f71cfc6b859011ec600b98ff"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jupyter_client jupyter-nbformat"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter-nbclient/slack-desc b/development/jupyter-nbclient/slack-desc
new file mode 100644
index 0000000000..2464e94e43
--- /dev/null
+++ b/development/jupyter-nbclient/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------------------------------------------------------|
+jupyter-nbclient: jupyter-nbclient (execution contexts for Jupyter notebooks)
+jupyter-nbclient:
+jupyter-nbclient: jupyter-nbclient is a tool for running Jupyter Notebooks in different
+jupyter-nbclient: execution contexts.
+jupyter-nbclient:
+jupyter-nbclient:
+jupyter-nbclient:
+jupyter-nbclient:
+jupyter-nbclient:
+jupyter-nbclient:
+jupyter-nbclient:
diff --git a/development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild b/development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild
index 5ebdf8ae59..1704e25847 100644
--- a/development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild
+++ b/development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jupyter-nbconvert
-# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=jupyter-nbconvert
-VERSION=${VERSION:-5.6.1}
+VERSION=${VERSION:-7.16.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=nbconvert
@@ -37,25 +41,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -71,14 +65,20 @@ 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 {} \;
-python3 setup.py install --root=$PKG
+# Build jupyter-nbconvert offline
+# Code taken from Gentoo science project:
+# https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/nbconvert/nbconvert-7.16.1.ebuild
+sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' -i hatch_build.py
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CONTRIBUTING.md README.md \
+ CONTRIBUTING.md README.md PKG-INFO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -86,4 +86,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter-nbconvert/jupyter-nbconvert.info b/development/jupyter-nbconvert/jupyter-nbconvert.info
index b60ab37be8..11ffff748f 100644
--- a/development/jupyter-nbconvert/jupyter-nbconvert.info
+++ b/development/jupyter-nbconvert/jupyter-nbconvert.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter-nbconvert"
-VERSION="5.6.1"
+VERSION="7.16.3"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-5.6.1.tar.gz"
-MD5SUM="cc766e4f109f97651c005e7fee524c98"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-7.16.3.tar.gz"
+MD5SUM="3598dda22ab9fb316c55fdaa189ee2c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="bleach decorator python3-defusedxml entrypoints Jinja2 jupyter_core jupyter-nbformat mistune pandocfilters Pygments testpath"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="python3-bleach python3-defusedxml jupyter-nbclient jupyterlab_pygments python3-mistune pandocfilters testpath BeautifulSoup4 tinycss2 python-importlib_metadata"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter-nbdime/README b/development/jupyter-nbdime/README
deleted file mode 100644
index afc1c3e48c..0000000000
--- a/development/jupyter-nbdime/README
+++ /dev/null
@@ -1,9 +0,0 @@
-nbdime provides tools for diffing and merging of Jupyter Notebooks.
-
- * nbdiff: compare notebooks in a terminal-friendly way
- * nbmerge: 3-way merge of notebooks with automatic conflict resolution
- * nbdiff-web: shows you a rich rendered diff of notebooks
- * nbmerge-web: gives you a web-based three-way merge tool for notebooks
- * nbshow: presents a single notebook in a terminal-friendly way
-
-All dependencies must be built with support for Python 3.
diff --git a/development/jupyter-nbdime/jupyter-nbdime.SlackBuild b/development/jupyter-nbdime/jupyter-nbdime.SlackBuild
deleted file mode 100644
index 32a62fa977..0000000000
--- a/development/jupyter-nbdime/jupyter-nbdime.SlackBuild
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jupyter-nbdime
-
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.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.
-
-PRGNAM=jupyter-nbdime
-VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=nbdime
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CONTRIBUTING.md LICENSE.md 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:-tgz}
diff --git a/development/jupyter-nbdime/jupyter-nbdime.info b/development/jupyter-nbdime/jupyter-nbdime.info
deleted file mode 100644
index 0c484aca11..0000000000
--- a/development/jupyter-nbdime/jupyter-nbdime.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jupyter-nbdime"
-VERSION="2.1.0"
-HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbdime/nbdime-2.1.0.tar.gz"
-MD5SUM="780c6d17abe4048dea1774a378fa2db7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="colorama GitPython jupyter-notebook python-requests python3-gitdb2"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/development/jupyter-nbdime/slack-desc b/development/jupyter-nbdime/slack-desc
deleted file mode 100644
index 5d47ba6d69..0000000000
--- a/development/jupyter-nbdime/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------------------------------------------------------|
-jupyter-nbdime: jupyter-nbdime (Jupyter notebook diff and merge tools)
-jupyter-nbdime:
-jupyter-nbdime: nbdime provides tools for diffing and merging of Jupyter Notebooks.
-jupyter-nbdime:
-jupyter-nbdime:
-jupyter-nbdime:
-jupyter-nbdime:
-jupyter-nbdime:
-jupyter-nbdime:
-jupyter-nbdime:
-jupyter-nbdime:
diff --git a/development/jupyter-nbformat/jupyter-nbformat.SlackBuild b/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
index 790dbd8cb1..36a17de036 100644
--- a/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
+++ b/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jupyter-nbformat
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=jupyter-nbformat
-VERSION=${VERSION:-5.0.6}
+VERSION=${VERSION:-5.10.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=nbformat
@@ -37,25 +41,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -71,19 +65,18 @@ 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 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING.md README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter-nbformat/jupyter-nbformat.info b/development/jupyter-nbformat/jupyter-nbformat.info
index 4e7f8f208d..295dbab3e8 100644
--- a/development/jupyter-nbformat/jupyter-nbformat.info
+++ b/development/jupyter-nbformat/jupyter-nbformat.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter-nbformat"
-VERSION="5.0.6"
+VERSION="5.10.4"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-5.0.6.tar.gz"
-MD5SUM="0022139ea28dae564703cbf35f551842"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-5.10.4.tar.gz"
+MD5SUM="68dfea58a1236aa0518f1fec9c968473"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-jsonschema traitlets"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="python3-jsonschema python3-fastjsonschema jupyter_core python3-hatch-nodejs-version"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter-notebook/doinst.sh b/development/jupyter-notebook/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/jupyter-notebook/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/jupyter-notebook/fix-traitlets-error.patch b/development/jupyter-notebook/fix-traitlets-error.patch
new file mode 100644
index 0000000000..b0994d5411
--- /dev/null
+++ b/development/jupyter-notebook/fix-traitlets-error.patch
@@ -0,0 +1,21 @@
+--- a/notebook/notebookapp.py
++++ b/notebook/notebookapp.py
+@@ -1408,7 +1408,7 @@
+ # and allow jupyter_server contents managers to pass
+ # through. If jupyter_server is not installed, this class
+ # will be ignored.
+- 'jupyter_server.contents.services.managers.ContentsManager'
++ "jupyter_server.services.contents.managers.ContentsManager",
+ ],
+ config=True,
+ help=_('The notebook manager class to use.')
+--- a/notebook/traittypes.py
++++ b/notebook/traittypes.py
+@@ -1,5 +1,6 @@
+ import inspect
+-from traitlets import ClassBasedTraitType, Undefined, warn
++from warnings import warn
++from traitlets import ClassBasedTraitType, Undefined
+
+ # Traitlet's 5.x includes a set of utilities for building
+ # description strings for objects. Traitlets 5.x does not
diff --git a/development/jupyter-notebook/jupyter-notebook.SlackBuild b/development/jupyter-notebook/jupyter-notebook.SlackBuild
index 68cb0a5afe..efd511a7c4 100644
--- a/development/jupyter-notebook/jupyter-notebook.SlackBuild
+++ b/development/jupyter-notebook/jupyter-notebook.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jupyter-notebook
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=jupyter-notebook
-VERSION=${VERSION:-6.1.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-6.5.4}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=notebook
@@ -37,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -71,19 +79,22 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix traitlets warning and error:
+# https://github.com/jupyter/notebook/pull/7051
+patch -p1 < $CWD/fix-traitlets-error.patch
+
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.rst 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter-notebook/jupyter-notebook.info b/development/jupyter-notebook/jupyter-notebook.info
index 43c03d893d..6794b929fc 100644
--- a/development/jupyter-notebook/jupyter-notebook.info
+++ b/development/jupyter-notebook/jupyter-notebook.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter-notebook"
-VERSION="6.1.4"
+VERSION="6.5.4"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook/notebook-6.1.4.tar.gz"
-MD5SUM="220885fddfb2f71a4d8440ab9a10f9de"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook/notebook-6.5.4.tar.gz"
+MD5SUM="6a2f44954dfa39c55bba2f576dd59e4a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Jinja2 argon2-cffi ipaddress python3-jupyter-ipykernel jupyter-nbconvert python-prometheus_client singledispatch send2trash terminado"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="jupyter-ipykernel jupyter-nbclassic ipython_genutils"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter-notebook_shim/README b/development/jupyter-notebook_shim/README
new file mode 100644
index 0000000000..13baf21fed
--- /dev/null
+++ b/development/jupyter-notebook_shim/README
@@ -0,0 +1,2 @@
+Notebook Shim provides a way for JupyterLab and other frontends to
+switch to Jupyter Server for their Python Web application backend.
diff --git a/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild b/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild
new file mode 100644
index 0000000000..098b0da54b
--- /dev/null
+++ b/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# Slackware build script for jupyter-notebook_shim
+
+# Copyright 2022-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=jupyter-notebook_shim
+VERSION=${VERSION:-0.2.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=notebook_shim
+
+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 {} \;
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+# Fix /etc/jupyter path
+mv $PKG/{usr/,}etc
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md README.md RELEASE.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter-notebook_shim/jupyter-notebook_shim.info b/development/jupyter-notebook_shim/jupyter-notebook_shim.info
new file mode 100644
index 0000000000..cf1fd79a84
--- /dev/null
+++ b/development/jupyter-notebook_shim/jupyter-notebook_shim.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyter-notebook_shim"
+VERSION="0.2.4"
+HOMEPAGE="https://github.com/jupyterlab/notebook_shim"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook_shim/notebook_shim-0.2.4.tar.gz"
+MD5SUM="8d3e7f204f53be8fbfe06df534c55613"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jupyter_server"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter-notebook_shim/slack-desc b/development/jupyter-notebook_shim/slack-desc
new file mode 100644
index 0000000000..33e6ffd545
--- /dev/null
+++ b/development/jupyter-notebook_shim/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------------------------------------------------------|
+jupyter-notebook_shim: jupyter-notebook_shim (shim layer for Jupyter Notebook)
+jupyter-notebook_shim:
+jupyter-notebook_shim: Notebook Shim provides a way for JupyterLab and other frontends to
+jupyter-notebook_shim: switch to Jupyter Server for their Python Web application backend.
+jupyter-notebook_shim:
+jupyter-notebook_shim:
+jupyter-notebook_shim:
+jupyter-notebook_shim:
+jupyter-notebook_shim:
+jupyter-notebook_shim:
+jupyter-notebook_shim:
diff --git a/development/eric/doinst.sh b/development/jupyter-qtconsole/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/development/eric/doinst.sh
+++ b/development/jupyter-qtconsole/doinst.sh
diff --git a/development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild b/development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild
index 9fe405d69e..c1f445e65f 100644
--- a/development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild
+++ b/development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jupyter-qtconsole
-# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=jupyter-qtconsole
-VERSION=${VERSION:-4.6.0}
+VERSION=${VERSION:-5.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=qtconsole
@@ -37,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -76,14 +84,20 @@ python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Add desktop icon
+SITE_PACKAGES=$(python3 -c "import site; print(site.getsitepackages()[0])")
+sed -i "s|^Icon=.*$|Icon=${SITE_PACKAGES}/qtconsole/resources/icon/JupyterConsole.svg|" examples/jupyter-qtconsole.desktop
+install -Dm644 examples/jupyter-qtconsole.desktop -t $PKG/usr/share/applications
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE README.md \
+ CONTRIBUTING.md README.md LICENSE RELEASE.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter-qtconsole/jupyter-qtconsole.info b/development/jupyter-qtconsole/jupyter-qtconsole.info
index 2b30ec6752..c259af3b95 100644
--- a/development/jupyter-qtconsole/jupyter-qtconsole.info
+++ b/development/jupyter-qtconsole/jupyter-qtconsole.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter-qtconsole"
-VERSION="4.6.0"
+VERSION="5.5.1"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://github.com/jupyter/qtconsole/archive/4.6.0/qtconsole-4.6.0.tar.gz"
-MD5SUM="dc92e6d4ad29cfd1726d75f26e9e8f5f"
+DOWNLOAD="https://github.com/jupyter/qtconsole/archive/5.5.1/qtconsole-5.5.1.tar.gz"
+MD5SUM="bd0d48656ec890dbfe8a8146ecd67490"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-jupyter-ipykernel python3-PyQt5"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="jupyter-ipykernel QtPy"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter-widgetsnbextension/README b/development/jupyter-widgetsnbextension/README
deleted file mode 100644
index daf1622dec..0000000000
--- a/development/jupyter-widgetsnbextension/README
+++ /dev/null
@@ -1,2 +0,0 @@
-The jupyter-widgetsnbextension package provides interactive HTML
-widgets for Jupyter notebooks.
diff --git a/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild b/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild
deleted file mode 100644
index ae55e1a9ff..0000000000
--- a/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jupyter-widgetsnbextension
-
-# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.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.
-
-PRGNAM=jupyter-widgetsnbextension
-VERSION=${VERSION:-3.5.1}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-SRCNAM=widgetsnbextension
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-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:-tgz}
diff --git a/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.info b/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.info
deleted file mode 100644
index 8f5686a96f..0000000000
--- a/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jupyter-widgetsnbextension"
-VERSION="3.5.1"
-HOMEPAGE="https://github.com/ipython/ipywidgets"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/w/widgetsnbextension/widgetsnbextension-3.5.1.tar.gz"
-MD5SUM="3dc5f96919c032a885950e3819bdee7b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jupyter-notebook"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/development/jupyter-widgetsnbextension/slack-desc b/development/jupyter-widgetsnbextension/slack-desc
deleted file mode 100644
index b62788d1cc..0000000000
--- a/development/jupyter-widgetsnbextension/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------------------------------------------------------|
-jupyter-widgetsnbextension: jupyter-widgetsnbextension (HTML widgets for the Jupyter Notebook)
-jupyter-widgetsnbextension:
-jupyter-widgetsnbextension: The jupyter-widgetsnbextension package provides interactive HTML
-jupyter-widgetsnbextension: widgets for Jupyter notebooks.
-jupyter-widgetsnbextension:
-jupyter-widgetsnbextension:
-jupyter-widgetsnbextension:
-jupyter-widgetsnbextension:
-jupyter-widgetsnbextension:
-jupyter-widgetsnbextension:
-jupyter-widgetsnbextension:
diff --git a/development/jupyter_client/jupyter_client.SlackBuild b/development/jupyter_client/jupyter_client.SlackBuild
index e5049f60d8..6b936dd0c6 100644
--- a/development/jupyter_client/jupyter_client.SlackBuild
+++ b/development/jupyter_client/jupyter_client.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jupyter_client
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=jupyter_client
-VERSION=${VERSION:-6.1.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-7.4.9}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +39,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -69,20 +63,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python2 setup.py install --root=$PKG
-python3 setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING.md README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.md README.md RELEASING.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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter_client/jupyter_client.info b/development/jupyter_client/jupyter_client.info
index bbf3af7d63..2fc7de9392 100644
--- a/development/jupyter_client/jupyter_client.info
+++ b/development/jupyter_client/jupyter_client.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter_client"
-VERSION="6.1.6"
+VERSION="7.4.9"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://github.com/jupyter/jupyter_client/archive/6.1.6/jupyter_client-6.1.6.tar.gz"
-MD5SUM="324fdaf482ed5fc52a72b7cf41a44bcd"
+DOWNLOAD="https://github.com/jupyter/jupyter_client/archive/v7.4.9/jupyter_client-7.4.9.tar.gz"
+MD5SUM="cdcec4d3bcaa293d0984658be99ab08a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="decorator jupyter_core python-dateutil python3-dateutil python3-pyzmq traitlets"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="python3-entrypoints jupyter_core python3-nest_asyncio python3-dateutil python3-pyzmq python3-tornado"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter_console/jupyter_console.SlackBuild b/development/jupyter_console/jupyter_console.SlackBuild
index 4d7f46543f..8d98ad6be8 100644
--- a/development/jupyter_console/jupyter_console.SlackBuild
+++ b/development/jupyter_console/jupyter_console.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jupyter_console
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=jupyter_console
-VERSION=${VERSION:-6.2.0}
+VERSION=${VERSION:-6.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -69,17 +77,18 @@ 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 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.md LICENSE README.md RELEASING.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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter_console/jupyter_console.info b/development/jupyter_console/jupyter_console.info
index b03af94c2c..a6ef6a14c2 100644
--- a/development/jupyter_console/jupyter_console.info
+++ b/development/jupyter_console/jupyter_console.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter_console"
-VERSION="6.2.0"
+VERSION="6.6.3"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-6.2.0.tar.gz"
-MD5SUM="24600923a41fc33bf8b5db699dca3c69"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-6.6.3.tar.gz"
+MD5SUM="cda122f18fd120f765cfbd212bd2ddaa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jupyter_client python3-jupyter-ipykernel"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="jupyter-ipykernel"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter_core/jupyter_core.SlackBuild b/development/jupyter_core/jupyter_core.SlackBuild
index c46f4d1a48..ab9293471f 100644
--- a/development/jupyter_core/jupyter_core.SlackBuild
+++ b/development/jupyter_core/jupyter_core.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jupyter_core
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=jupyter_core
-VERSION=${VERSION:-4.6.3}
+VERSION=${VERSION:-5.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +39,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -69,20 +63,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python2 setup.py install --root=$PKG
-python3 setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING.md README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.md 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter_core/jupyter_core.info b/development/jupyter_core/jupyter_core.info
index 99f513687f..35b394340b 100644
--- a/development/jupyter_core/jupyter_core.info
+++ b/development/jupyter_core/jupyter_core.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter_core"
-VERSION="4.6.3"
+VERSION="5.7.1"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://github.com/jupyter/jupyter_core/archive/4.6.3/jupyter_core-4.6.3.tar.gz"
-MD5SUM="29a4969de5c6a79d35d4ad2857489268"
+DOWNLOAD="https://github.com/jupyter/jupyter_core/archive/v5.7.1/jupyter_core-5.7.1.tar.gz"
+MD5SUM="f6ed082aa24bc06837e5bba84deaab19"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="traitlets python3-platformdirs"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter_events/README b/development/jupyter_events/README
new file mode 100644
index 0000000000..a8b80338e5
--- /dev/null
+++ b/development/jupyter_events/README
@@ -0,0 +1,5 @@
+Jupyter Events enables Jupyter Python Applications (e.g. Jupyter Server,
+JupyterLab Server, JupyterHub, etc.) to emit events—structured data
+describing things happening inside the application. Other software
+(e.g. client applications like JupyterLab) can listen and respond to
+these events.
diff --git a/development/jupyter_events/jupyter_events.SlackBuild b/development/jupyter_events/jupyter_events.SlackBuild
new file mode 100644
index 0000000000..08a3bfde90
--- /dev/null
+++ b/development/jupyter_events/jupyter_events.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for jupyter_events
+
+# Copyright 2022-2023 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=jupyter_events
+VERSION=${VERSION:-0.6.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
+ -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md COPYING.md 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/development/jupyter_events/jupyter_events.info b/development/jupyter_events/jupyter_events.info
new file mode 100644
index 0000000000..5ddc0fd63a
--- /dev/null
+++ b/development/jupyter_events/jupyter_events.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyter_events"
+VERSION="0.6.3"
+HOMEPAGE="https://jupyter.org"
+DOWNLOAD="https://github.com/jupyter/jupyter_events/releases/download/v0.6.3/jupyter_events-0.6.3.tar.gz"
+MD5SUM="dc0028bc8d686c07486592b9e098ecc6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-json-logger python3-jsonschema traitlets"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter_events/slack-desc b/development/jupyter_events/slack-desc
new file mode 100644
index 0000000000..aed6c7d27a
--- /dev/null
+++ b/development/jupyter_events/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------------------------------------------------------|
+jupyter_events: jupyter_events (event system for Jupyter Applications)
+jupyter_events:
+jupyter_events: Jupyter Events enables Jupyter Python Applications (e.g.
+jupyter_events: Jupyter Server, JupyterLab Server, JupyterHub, etc.) to emit events -
+jupyter_events: structured data describing things happening inside the application.
+jupyter_events: Other software (e.g. client applications like JupyterLab) can listen
+jupyter_events: and respond to these events.
+jupyter_events:
+jupyter_events:
+jupyter_events:
+jupyter_events:
diff --git a/development/jupyter_packaging/README b/development/jupyter_packaging/README
new file mode 100644
index 0000000000..258ade206c
--- /dev/null
+++ b/development/jupyter_packaging/README
@@ -0,0 +1,2 @@
+Jupyter Packaging contains tools to help build and install Jupyter
+Python packages.
diff --git a/development/jupyter_packaging/jupyter_packaging.SlackBuild b/development/jupyter_packaging/jupyter_packaging.SlackBuild
new file mode 100644
index 0000000000..339d48c63e
--- /dev/null
+++ b/development/jupyter_packaging/jupyter_packaging.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for jupyter_packaging
+
+# Copyright 2022-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=jupyter_packaging
+VERSION=${VERSION:-0.12.3}
+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 $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 {} \;
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md PKG-INFO README.md RELEASE.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter_packaging/jupyter_packaging.info b/development/jupyter_packaging/jupyter_packaging.info
new file mode 100644
index 0000000000..b682b46366
--- /dev/null
+++ b/development/jupyter_packaging/jupyter_packaging.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyter_packaging"
+VERSION="0.12.3"
+HOMEPAGE="https://jupyter.org/"
+DOWNLOAD="https://pypi.io/packages/source/j/jupyter_packaging/jupyter_packaging-0.12.3.tar.gz"
+MD5SUM="9c6834023bd699bda5365ab7ed18bde2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-deprecation python3-hatchling python3-tomlkit"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter_packaging/slack-desc b/development/jupyter_packaging/slack-desc
new file mode 100644
index 0000000000..8d60948ee0
--- /dev/null
+++ b/development/jupyter_packaging/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------------------------------------------------------|
+jupyter_packaging: jupyter_packaging (Jupyter Packaging Utilities)
+jupyter_packaging:
+jupyter_packaging: Jupyter Packaging contains tools to help build and install Jupyter
+jupyter_packaging: Python packages.
+jupyter_packaging:
+jupyter_packaging:
+jupyter_packaging:
+jupyter_packaging:
+jupyter_packaging:
+jupyter_packaging:
+jupyter_packaging:
diff --git a/development/jupyter_server/README b/development/jupyter_server/README
new file mode 100644
index 0000000000..5bec968567
--- /dev/null
+++ b/development/jupyter_server/README
@@ -0,0 +1,3 @@
+The Jupyter Server provides the backend (i.e. the core services,
+APIs, and REST endpoints) for Jupyter web applications like
+Jupyter notebook, JupyterLab, and Voila.
diff --git a/development/jupyter_server/jupyter_server.SlackBuild b/development/jupyter_server/jupyter_server.SlackBuild
new file mode 100644
index 0000000000..69c76e22f4
--- /dev/null
+++ b/development/jupyter_server/jupyter_server.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for jupyter_server
+
+# Copyright 2022-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=jupyter_server
+VERSION=${VERSION:-2.10.0}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ 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 {} \;
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md README.md RELEASE.md CONTRIBUTING.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter_server/jupyter_server.info b/development/jupyter_server/jupyter_server.info
new file mode 100644
index 0000000000..f9f9853f05
--- /dev/null
+++ b/development/jupyter_server/jupyter_server.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyter_server"
+VERSION="2.10.0"
+HOMEPAGE="https://jupyter.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jupyter_server/jupyter_server-2.10.0.tar.gz"
+MD5SUM="322b630244d4dddf3db54e5c2d7a58de"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-argon2-cffi jupyter_events jupyter-nbconvert jupyter_server_terminals python3-anyio python3-hatch_jupyter_builder python3-prometheus_client send2trash python3-overrides python3-websocket-client"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter_server/slack-desc b/development/jupyter_server/slack-desc
new file mode 100644
index 0000000000..4095c6efde
--- /dev/null
+++ b/development/jupyter_server/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------------------------------------------------------|
+jupyter_server: jupyter_server (Jupyter Backend)
+jupyter_server:
+jupyter_server: The Jupyter Server provides the backend (i.e. the core services,
+jupyter_server: APIs, and REST endpoints) for Jupyter web applications like
+jupyter_server: Jupyter notebook, JupyterLab and Voila.
+jupyter_server:
+jupyter_server:
+jupyter_server:
+jupyter_server:
+jupyter_server:
+jupyter_server:
diff --git a/development/jupyter_server_terminals/README b/development/jupyter_server_terminals/README
new file mode 100644
index 0000000000..806fd03c75
--- /dev/null
+++ b/development/jupyter_server_terminals/README
@@ -0,0 +1,2 @@
+Jupyter Server Terminals is a Jupyter Server Extension providing
+support for terminals.
diff --git a/development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild b/development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild
new file mode 100644
index 0000000000..a3968f8eb1
--- /dev/null
+++ b/development/jupyter_server_terminals/jupyter_server_terminals.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for jupyter_server_terminals
+
+# Copyright 2022-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=jupyter_server_terminals
+VERSION=${VERSION:-0.5.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Fix /etc/jupyter path. I am unable to find a build option that makes the fix.
+mv $PKG/usr/etc/* $PKG/etc
+rmdir $PKG/usr/etc
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md README.md RELEASE.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyter_server_terminals/jupyter_server_terminals.info b/development/jupyter_server_terminals/jupyter_server_terminals.info
new file mode 100644
index 0000000000..54ac177fdd
--- /dev/null
+++ b/development/jupyter_server_terminals/jupyter_server_terminals.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyter_server_terminals"
+VERSION="0.5.0"
+HOMEPAGE="https://jupyter.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jupyter_server_terminals/jupyter_server_terminals-0.5.0.tar.gz"
+MD5SUM="8ae5d501df1900e9c19c61cb10c8bb9a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="terminado"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyter_server_terminals/slack-desc b/development/jupyter_server_terminals/slack-desc
new file mode 100644
index 0000000000..8c8f2d14fb
--- /dev/null
+++ b/development/jupyter_server_terminals/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------------------------------------------------------|
+jupyter_server_terminals: jupyter_server_terminals (Jupyter Server Extension)
+jupyter_server_terminals:
+jupyter_server_terminals: Jupyter Server Terminals is a Jupyter Server Extension providing
+jupyter_server_terminals: support for terminals.
+jupyter_server_terminals:
+jupyter_server_terminals:
+jupyter_server_terminals:
+jupyter_server_terminals:
+jupyter_server_terminals:
+jupyter_server_terminals:
+jupyter_server_terminals:
diff --git a/development/jupyterlab/README b/development/jupyterlab/README
new file mode 100644
index 0000000000..187b0fea52
--- /dev/null
+++ b/development/jupyterlab/README
@@ -0,0 +1,12 @@
+JupyterLab is the next-generation user interface for Project Jupyter
+offering all the familiar building blocks of the classic
+Jupyter Notebook (notebook, terminal, text editor, file browser,
+rich outputs, etc.) in a flexible and powerful user interface.
+JupyterLab will eventually replace the classic Jupyter Notebook.
+
+Jupyter kernels are needed for JupyterLab to be fully functional. The
+following kernels are currently available as SlackBuilds:
+* jupyter-ipykernel
+
+jupyterlab 3.5.3 is the last possible version for Slackware 15.0.
+Newer versions would require a newer jupyterlab_server.
diff --git a/development/jupyterlab/doinst.sh b/development/jupyterlab/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/jupyterlab/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/jupyterlab/jupyterlab.SlackBuild b/development/jupyterlab/jupyterlab.SlackBuild
new file mode 100644
index 0000000000..ff99229931
--- /dev/null
+++ b/development/jupyterlab/jupyterlab.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# Slackware build script for jupyterlab
+
+# Copyright 2022-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=jupyterlab
+VERSION=${VERSION:-3.5.3}
+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}
+
+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 {} \;
+
+# Remove nbclassic dependency
+sed -e '/nbclassic/d' -i setup.cfg
+patch -p1 < $CWD/no-nbclassic.patch
+
+# Remove jupyter-notebook requirement from setup.cfg
+sed -e '/notebook/d' -i setup.cfg
+
+# Fix /etc/jupyter path
+sed 's|etc|/etc|' -i setup.py
+
+python3 setup.py install --root=$PKG
+
+# Install desktop file
+install -Dm644 $CWD/jupyterlab.desktop $PKG/usr/share/applications/jupyterlab.desktop
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.md CORPORATE.md README.md RELEASE.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+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/development/jupyterlab/jupyterlab.desktop b/development/jupyterlab/jupyterlab.desktop
new file mode 100644
index 0000000000..93fe9409aa
--- /dev/null
+++ b/development/jupyterlab/jupyterlab.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=JupyterLab
+Comment=Run JupyterLab
+Exec=jupyter-lab %f
+Terminal=true
+Type=Application
+Icon=jupyterlab
+StartupNotify=true
+MimeType=application/x-ipynb+json;
+Categories=Development;Education;
+Keywords=python;
diff --git a/development/jupyterlab/jupyterlab.info b/development/jupyterlab/jupyterlab.info
new file mode 100644
index 0000000000..adab7681d4
--- /dev/null
+++ b/development/jupyterlab/jupyterlab.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyterlab"
+VERSION="3.5.3"
+HOMEPAGE="https://jupyter.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jupyterlab/jupyterlab-3.5.3.tar.gz"
+MD5SUM="4b339d6c521fb12314a5b540512f6d85"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jupyter-notebook_shim nodejs jupyterlab_server jupyter-ipykernel"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyterlab/no-nbclassic.patch b/development/jupyterlab/no-nbclassic.patch
new file mode 100644
index 0000000000..de63357340
--- /dev/null
+++ b/development/jupyterlab/no-nbclassic.patch
@@ -0,0 +1,15 @@
+This patch was taken from Arch Linux repositories:
+https://github.com/archlinux/svntogit-community/blob/packages/jupyterlab/trunk/no-nbclassic.patch
+diff --git a/jupyterlab/labapp.py b/jupyterlab/labapp.py
+index 1eb56b22fe..5a401a0fdf 100644
+--- a/jupyterlab/labapp.py
++++ b/jupyterlab/labapp.py
+@@ -19,7 +19,7 @@ from jupyterlab_server import (
+ WorkspaceImportApp,
+ WorkspaceListApp,
+ )
+-from nbclassic.shim import NBClassicConfigShimMixin
++from notebook_shim.shim import NotebookConfigShimMixin as NBClassicConfigShimMixin
+ from traitlets import Bool, Instance, Unicode, default
+
+ from ._version import __version__
diff --git a/development/jupyterlab/slack-desc b/development/jupyterlab/slack-desc
new file mode 100644
index 0000000000..20cce946a5
--- /dev/null
+++ b/development/jupyterlab/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------------------------------------------------------|
+jupyterlab: jupyterlab (Jupyter next-generation user interface)
+jupyterlab:
+jupyterlab: JupyterLab is the next-generation user interface for Project Jupyter
+jupyterlab: offering all the familiar building blocks of the classic
+jupyterlab: Jupyter Notebook (notebook, terminal, text editor, file browser,
+jupyterlab: rich outputs, etc.) in a flexible and powerful user interface.
+jupyterlab: JupyterLab will eventually replace the classic Jupyter Notebook.
+jupyterlab:
+jupyterlab:
+jupyterlab:
+jupyterlab:
diff --git a/development/jupyterlab_pygments/README b/development/jupyterlab_pygments/README
new file mode 100644
index 0000000000..3a1b62f065
--- /dev/null
+++ b/development/jupyterlab_pygments/README
@@ -0,0 +1,5 @@
+jupyterlab_pygments is a syntax coloring theme for pygments making use
+of the JupyterLab CSS variables.
+
+jupyterlab_pygments 0.2.2 is the last available version for Slackware
+15.0. Newer versions would require jupyterlab >= 4.0.
diff --git a/development/jupyterlab_pygments/jupyterlab_pygments.SlackBuild b/development/jupyterlab_pygments/jupyterlab_pygments.SlackBuild
new file mode 100644
index 0000000000..2bf9e272b9
--- /dev/null
+++ b/development/jupyterlab_pygments/jupyterlab_pygments.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for jupyterlab_pygments
+
+# Copyright 2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022 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=jupyterlab_pygments
+VERSION=${VERSION:-0.2.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE 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/development/jupyterlab_pygments/jupyterlab_pygments.info b/development/jupyterlab_pygments/jupyterlab_pygments.info
new file mode 100644
index 0000000000..20980cbcef
--- /dev/null
+++ b/development/jupyterlab_pygments/jupyterlab_pygments.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyterlab_pygments"
+VERSION="0.2.2"
+HOMEPAGE="https://jupyter.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jupyterlab_pygments/jupyterlab_pygments-0.2.2.tar.gz"
+MD5SUM="7d2d54eb4e52513dd38eae8baac68d9b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jupyter_packaging"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyterlab_pygments/slack-desc b/development/jupyterlab_pygments/slack-desc
new file mode 100644
index 0000000000..a8f5f5b3dc
--- /dev/null
+++ b/development/jupyterlab_pygments/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------------------------------------------------------|
+jupyterlab_pygments: jupyterlab_pygments (theme for Pygments)
+jupyterlab_pygments:
+jupyterlab_pygments: jupyterlab_pygments is a syntax coloring theme for pygments making
+jupyterlab_pygments: use of the JupyterLab CSS variables.
+jupyterlab_pygments:
+jupyterlab_pygments:
+jupyterlab_pygments:
+jupyterlab_pygments:
+jupyterlab_pygments:
+jupyterlab_pygments:
+jupyterlab_pygments:
diff --git a/development/jupyterlab_server/README b/development/jupyterlab_server/README
new file mode 100644
index 0000000000..79f8f7abb7
--- /dev/null
+++ b/development/jupyterlab_server/README
@@ -0,0 +1,7 @@
+JupyterLab Server sits between JupyterLab and Jupyter Server, and
+provides a set of REST API handlers and utilities that are used by
+JupyterLab. It is a separate project in order to accommodate creating
+JupyterLab-like applications from a more limited scope.
+
+jupyterlab_server 2.16.3 is the last possible version for Slackware
+15.0. Newer versions would require a newer python-requests.
diff --git a/development/jupyterlab_server/jupyterlab_server.SlackBuild b/development/jupyterlab_server/jupyterlab_server.SlackBuild
new file mode 100644
index 0000000000..a5a7de3c48
--- /dev/null
+++ b/development/jupyterlab_server/jupyterlab_server.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for jupyterlab_server
+
+# Copyright 2022-2023 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=jupyterlab_server
+VERSION=${VERSION:-2.16.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.md README.md RELEASE.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/jupyterlab_server/jupyterlab_server.info b/development/jupyterlab_server/jupyterlab_server.info
new file mode 100644
index 0000000000..892380cc23
--- /dev/null
+++ b/development/jupyterlab_server/jupyterlab_server.info
@@ -0,0 +1,10 @@
+PRGNAM="jupyterlab_server"
+VERSION="2.16.3"
+HOMEPAGE="https://jupyter.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jupyterlab_server/jupyterlab_server-2.16.3.tar.gz"
+MD5SUM="acc1d6465bf39a5f618e6d4563a289f5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jupyter_server python3-babel python3-json5"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/jupyterlab_server/slack-desc b/development/jupyterlab_server/slack-desc
new file mode 100644
index 0000000000..9887eca878
--- /dev/null
+++ b/development/jupyterlab_server/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------------------------------------------------------|
+jupyterlab_server: jupyterlab_server (Launch an application built using JupyterLab)
+jupyterlab_server:
+jupyterlab_server: JupyterLab Server sits between JupyterLab and Jupyter Server, and
+jupyterlab_server: provides a set of REST API handlers and utilities that are used by
+jupyterlab_server: JupyterLab. It is a separate project in order to accommodate creating
+jupyterlab_server: JupyterLab-like applications from a more limited scope.
+jupyterlab_server:
+jupyterlab_server:
+jupyterlab_server:
+jupyterlab_server:
+jupyterlab_server:
diff --git a/development/jython/README b/development/jython/README
deleted file mode 100644
index 87bf4a0cd8..0000000000
--- a/development/jython/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Jython is an implementation of the Python programming language written
-in Java. Jython programs can use any Java class, and includes almost
-all modules in standard Python.
-
-Jython is able to compile Python source code down to Java bytecodes
-which can then run directly on a JVM; it also includes a set of
-libraries which are used by the compiled Java bytecodes and extra
-support to make it easy to use Java packages from within Jython.
diff --git a/development/jython/jython.SlackBuild b/development/jython/jython.SlackBuild
deleted file mode 100644
index 494a028ba3..0000000000
--- a/development/jython/jython.SlackBuild
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jython
-# Copyright 2012 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-
-# 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.
-
-PRGNAM=jython
-VERSION=${VERSION:-2.5.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-CWD=$(pwd)
-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-$VERSION
-
-java -jar $CWD/${PRGNAM}_installer-$VERSION.jar -s -d $TMP/$PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-
-# set up env vars ourselves instead of using those created by the install script
-sed -i "1i JAVA_HOME=\"$JAVA_HOME/jre\"" bin/$PRGNAM
-sed -i "1i JYTHON_HOME_FALLBACK=\"/usr/share/$PRGNAM\"" bin/$PRGNAM
-sed -i "1i JYTHON_OPTS=\"-Dpython.cachedir=\${HOME}/.cache/jython/\"" bin/$PRGNAM
-
-mkdir -p $PKG/usr/bin $PKG/usr/share/$PRGNAM
-cp bin/$PRGNAM $PKG/usr/bin
-cp -a $PRGNAM.jar CoreExposed.includes registry Lib $PKG/usr/share/$PRGNAM
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ACKNOWLEDGMENTS Demo Doc LICENSE.* NEWS README.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:-tgz}
diff --git a/development/jython/jython.info b/development/jython/jython.info
deleted file mode 100644
index 45cc02db7b..0000000000
--- a/development/jython/jython.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jython"
-VERSION="2.5.2"
-HOMEPAGE="http://www.jython.org"
-DOWNLOAD="http://downloads.sourceforge.net/jython/jython_installer-2.5.2.jar"
-MD5SUM="7c7d9abd8985df480edeacd27ed9dcd5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/jython/slack-desc b/development/jython/slack-desc
deleted file mode 100644
index 6b6c4f3ed9..0000000000
--- a/development/jython/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------------------------------------------------------|
-jython: jython (python for the java platform)
-jython:
-jython: Jython is an implementation of the Python programming language
-jython: written in Java. Jython programs can use any Java class, and includes
-jython: almost all modules in standard Python.
-jython:
-jython: homepage: http://www.jython.org
-jython:
-jython:
-jython:
-jython:
diff --git a/development/kForth-32/README b/development/kForth-32/README
new file mode 100644
index 0000000000..fef58a92e0
--- /dev/null
+++ b/development/kForth-32/README
@@ -0,0 +1,26 @@
+kForth is an implementation of the Forth programming language
+and environment. The user may write Forth programs with an editor,
+load these program files from kForth, and run them.
+
+kForth provides a large subset of the Forth-2012 specification for
+the Forth language. It also provides some extensions and non-standard
+features which its authors have found to be useful.
+Experienced Forth users should consult the Technical Information
+section of the User’s Guide for specific information on the
+differences between kForth and Forth-2012.
+
+You may specify a specific directory in which kforth will search
+for .4th files not found in the current directory. The environment
+variable KFORTH_DIR must be set to this directory.
+For example, add the following lines to your .bash_profile file:
+
+ KFORTH_DIR=~/kforth/kForth-32-x.y.z/forth-src
+ export KFORTH_DIR
+
+if you want to override the default location on
+KFORTH_DIR=/usr/share/kForth-32
+
+kForth-32 is designed to be installed on a 32-bit linux operating
+system.
+It will not install on 64-bit Slackware unless multilib support is
+installed.
diff --git a/development/kForth-32/doinst.sh b/development/kForth-32/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/kForth-32/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/kForth-32/kForth-32.SlackBuild b/development/kForth-32/kForth-32.SlackBuild
new file mode 100644
index 0000000000..37499d9778
--- /dev/null
+++ b/development/kForth-32/kForth-32.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for kForth-32
+
+# Copyright 2023 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=kForth-32
+VERSION=${VERSION:-2.4.3}
+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.?z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+cd src
+make
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/bin
+install -Dsv -m 0755 kforth32 $PKG/usr/bin/kforth32
+install -Dsv -m 0755 kforth32-fast $PKG/usr/bin/kforth32-fast
+
+mkdir -p $PKG/usr/share/kForth-32
+cd ../forth-src
+cp -avxu * $PKG/usr/share/kForth-32
+
+cd ../doc
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp *.* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/etc/profile.d
+cat <<EOF >$PKG/etc/profile.d/kForth-32.sh
+#!/bin/sh
+export KFORTH_DIR=/usr/share/kForth-32
+EOF
+chmod 0755 $PKG/etc/profile.d/kForth-32.sh
+
+mkdir -p $PKG/usr/share/pixmaps
+cp $TMP/$PRGNAM-$VERSION/kforth.xpm $PKG/usr/share/pixmaps
+
+mkdir -p $PKG/usr/share/applications
+cp $CWD/kForth-32.desktop $PKG/usr/share/applications
+
+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/development/kForth-32/kForth-32.desktop b/development/kForth-32/kForth-32.desktop
new file mode 100644
index 0000000000..0301931e76
--- /dev/null
+++ b/development/kForth-32/kForth-32.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=kForth-32
+Comment=kForth-32 a 32-bit Forth System for x86
+Exec=/usr/bin/kforth32
+Icon=/usr/share/pixmaps/kforth.xpm
+Terminal=true
+Type=Application
+Categories=System;Development;
+
diff --git a/development/kForth-32/kForth-32.info b/development/kForth-32/kForth-32.info
new file mode 100644
index 0000000000..3cb0cbc586
--- /dev/null
+++ b/development/kForth-32/kForth-32.info
@@ -0,0 +1,10 @@
+PRGNAM="kForth-32"
+VERSION="2.4.3"
+HOMEPAGE="https://github.com/mynenik/kForth-32"
+DOWNLOAD="https://github.com/mynenik/kForth-32/archive/refs/tags/v2.4.3/kForth-32-2.4.3.tar.gz"
+MD5SUM="fe006640fadef2863063728a884f7cb7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="patchutils"
+MAINTAINER="Antonio Leal"
+EMAIL="antonio.leal@yahoo.com"
diff --git a/development/kForth-32/slack-desc b/development/kForth-32/slack-desc
new file mode 100644
index 0000000000..7bf59676ab
--- /dev/null
+++ b/development/kForth-32/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------------------------------------------------------|
+kForth-32: kForth-32 (32-bit Forth System for x86-GNU/Linux)
+kForth-32:
+kForth-32: kForth-32 is an implementation of the Forth programming language
+kForth-32: and environment. Like other implementations of Forth, provides an
+kForth-32: interactive environment, allowing the user to examine or
+kForth-32: define variables and define and execute individual words.
+kForth-32: kForth-32 provides a large subset of the Forth-2012 specification
+kForth-32: and includes some useful extensions.
+kForth-32:
+kForth-32: https://github.com/mynenik/kForth-32
+kForth-32:
diff --git a/development/kForth-64/README b/development/kForth-64/README
new file mode 100644
index 0000000000..1bc78cdeb5
--- /dev/null
+++ b/development/kForth-64/README
@@ -0,0 +1,21 @@
+kForth is an implementation of the Forth programming language
+and environment. The user may write Forth programs with an editor,
+load these program files from kForth, and run them.
+
+kForth provides a large subset of the Forth-2012 specification for
+the Forth language. It also provides some extensions and non-standard
+features which its authors have found to be useful.
+Experienced Forth users should consult the Technical Information
+section of the User’s Guide for specific information on the
+differences between kForth and Forth-2012.
+
+You may specify a specific directory in which kforth will search
+for .4th files not found in the current directory. The environment
+variable KFORTH_DIR must be set to this directory.
+For example, add the following lines to your .bash_profile file:
+
+ KFORTH_DIR=~/kforth/kForth-64-x.y.z/forth-src
+ export KFORTH_DIR
+
+if you want to override the default location on
+KFORTH_DIR=/usr/share/kForth-64
diff --git a/development/kForth-64/doinst.sh b/development/kForth-64/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/kForth-64/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/kForth-64/kForth-64.SlackBuild b/development/kForth-64/kForth-64.SlackBuild
new file mode 100644
index 0000000000..493078009a
--- /dev/null
+++ b/development/kForth-64/kForth-64.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for kForth-64
+
+# Copyright 2023 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=kForth-64
+VERSION=${VERSION:-0.4.3}
+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.?z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+cd src
+make
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+install -Dsv -m 0755 kforth64 $PKG/usr/bin/kforth64
+
+mkdir -p $PKG/usr/share/kForth-64
+cd ../forth-src
+cp -avxu * $PKG/usr/share/kForth-64
+
+cd ../doc
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp *.* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/etc/profile.d
+cat <<EOF >$PKG/etc/profile.d/kForth-64.sh
+#!/bin/sh
+export KFORTH_DIR=/usr/share/kForth-64
+EOF
+chmod 0755 $PKG/etc/profile.d/kForth-64.sh
+
+mkdir -p $PKG/usr/share/pixmaps
+cp $TMP/$PRGNAM-$VERSION/kforth.xpm $PKG/usr/share/pixmaps
+
+mkdir -p $PKG/usr/share/applications
+cp $CWD/kForth-64.desktop $PKG/usr/share/applications
+
+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/development/kForth-64/kForth-64.desktop b/development/kForth-64/kForth-64.desktop
new file mode 100644
index 0000000000..ef2fe034bc
--- /dev/null
+++ b/development/kForth-64/kForth-64.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=kForth-64
+Comment=kForth-64 a 64-bit Forth System for x86_64
+Exec=/usr/bin/kforth64
+Icon=/usr/share/pixmaps/kforth.xpm
+Terminal=true
+Type=Application
+Categories=System;Development;
+
diff --git a/development/kForth-64/kForth-64.info b/development/kForth-64/kForth-64.info
new file mode 100644
index 0000000000..4cf4f9c7f6
--- /dev/null
+++ b/development/kForth-64/kForth-64.info
@@ -0,0 +1,10 @@
+PRGNAM="kForth-64"
+VERSION="0.4.3"
+HOMEPAGE="https://github.com/mynenik/kForth-64"
+DOWNLOAD="https://github.com/mynenik/kForth-64/archive/refs/tags/v0.4.3/kForth-64-0.4.3.tar.gz"
+MD5SUM="44bc386a5ac16dacac44daa04aeba8af"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="patchutils"
+MAINTAINER="Antonio Leal"
+EMAIL="antonio.leal@yahoo.com"
diff --git a/development/kForth-64/slack-desc b/development/kForth-64/slack-desc
new file mode 100644
index 0000000000..0be1d5a2c8
--- /dev/null
+++ b/development/kForth-64/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------------------------------------------------------|
+kForth-64: kForth-64 (64-bit Forth System for x86_64-GNU/Linux)
+kForth-64:
+kForth-64: kForth-64 is an implementation of the Forth programming language
+kForth-64: and environment. Like other implementations of Forth, provides an
+kForth-64: interactive environment, allowing the user to examine or
+kForth-64: define variables and define and execute individual words.
+kForth-64: kForth-64 provides a large subset of the Forth-2012 specification
+kForth-64: and includes some useful extensions.
+kForth-64:
+kForth-64: https://github.com/mynenik/kForth-64
+kForth-64:
diff --git a/development/kaaedit/README b/development/kaaedit/README
index 7bdef0d221..733684bdd9 100644
--- a/development/kaaedit/README
+++ b/development/kaaedit/README
@@ -13,6 +13,3 @@ providing numerous features like:
- Python debugger.
- Open source software(MIT).
- More to come!
-
-NOTE:
-Please install python3 first before installing all other requirements.
diff --git a/development/kaaedit/kaaedit.SlackBuild b/development/kaaedit/kaaedit.SlackBuild
index 99df39d9b2..491de8a138 100644
--- a/development/kaaedit/kaaedit.SlackBuild
+++ b/development/kaaedit/kaaedit.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kaaedit
-# Copyright 2014-2016 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
@@ -22,10 +22,13 @@
# 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=kaaedit
-VERSION=${VERSION:-0.53.0}
+VERSION=${VERSION:-0.54.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kaaedit/kaaedit.info b/development/kaaedit/kaaedit.info
index cbec69e6d2..c59f8fd8c8 100644
--- a/development/kaaedit/kaaedit.info
+++ b/development/kaaedit/kaaedit.info
@@ -1,10 +1,10 @@
PRGNAM="kaaedit"
-VERSION="0.53.0"
+VERSION="0.54.0"
HOMEPAGE="https://github.com/kaaedit/kaa"
-DOWNLOAD="https://pypi.python.org/packages/d1/54/78b4d4d33da4cf29e3b003b8a4b18175ff260365f66ab7571702add3d796/kaaedit-0.53.0.tar.gz"
-MD5SUM="5c129713298a143d680ec17537422ae7"
+DOWNLOAD="https://files.pythonhosted.org/packages/ed/a8/d5e2185aa6f2267dadbfffe23e0ed537effd3030e0362bf4d92d8d5103cb/kaaedit-0.54.0.tar.gz"
+MD5SUM="314d78142c66b7f734232f6451f3d446"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 curses_ex pyjf3 setproctitle kaadbg GitPython"
+REQUIRES="curses_ex pyjf3 setproctitle kaadbg GitPython"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/development/kakoune/README b/development/kakoune/README
index fc306e66a3..3cadd682a3 100644
--- a/development/kakoune/README
+++ b/development/kakoune/README
@@ -1,3 +1,5 @@
-Kakoune is a code editor that implements Vi’s "keystrokes as a text
-editing language" model. As it’s also a modal editor, it's somewhat
+kakoune (text editor)
+
+Kakoune is a code editor that implements Vi's "keystrokes as a text
+editing language" model. As it's also a modal editor, it's somewhat
similar to the Vim editor.
diff --git a/development/kakoune/kakoune.SlackBuild b/development/kakoune/kakoune.SlackBuild
index 6edc590cfb..fda7cbd932 100644
--- a/development/kakoune/kakoune.SlackBuild
+++ b/development/kakoune/kakoune.SlackBuild
@@ -1,31 +1,31 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kakoune
-# Copyright 2018-2019 Leonardo Citrolo, Italy
-# 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.
+# Oritinally written by Leonardo Citrolo.
+# Now maintained by B. Watson (urchlay@slackware.uk).
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20231108 bkw: update for v2023.08.05.
+# 20230509 bkw:
+# - new maintainer.
+# - update for v2022.10.31.
+# - relicense as WTFPL with permission from original author.
+# - override -O3 with $SLKCFLAGS.
+
+# Note: I (B. Watson) took over this build to keep it from
+# disappearing from the repo, but if you actually use and enjoy
+# kakoune, please take the build from me (ask via email). I can't
+# stand to actually use kakoune (tried it, utterly hate it, sorry).
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kakoune
-VERSION=${VERSION:-2019.01.20}
+VERSION=${VERSION:-2023.08.05}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,23 +35,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -63,31 +63,34 @@ 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 {} \;
-
-CXXFLAGS="$SLKCFLAGS" \
- make -C src PREFIX=/usr
-make -C src install DESTDIR=$PKG \
- PREFIX=/usr \
- docdir=$PKG/usr/doc/$PRGNAM-$VERSION \
- mandir=$PKG/usr/man/man1
+rm libexec/kak/kak # dangling symlink
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-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
+# N.B. slightly nonstandard use of DESTDIR: we have to include $PKG
+# in docdir and mandir, below.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+
+sed -i "s,-O3,$SLKCFLAGS," src/Makefile
+make -C src PREFIX=/usr
+strip src/kak
+make -C src \
+ PREFIX=/usr \
+ docdir=$PKGDOC \
+ mandir=$PKG/usr/man/man1 \
+ DESTDIR=$PKG \
+ install
-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
+# Man page already gzipped, we stripped the binary above. Thought
+# about symlinking all the asciidoc from /usr/share/kak to our doc
+# dir, but it's intended to be read from within kak, with the :doc
+# command.
-cp -a CONTRIBUTING UNLICENSE VIMTOKAK \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a CONTRIBUTING UNLICENSE VIMTOKAK $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kakoune/kakoune.info b/development/kakoune/kakoune.info
index e146ed344d..a9fc39b204 100644
--- a/development/kakoune/kakoune.info
+++ b/development/kakoune/kakoune.info
@@ -1,10 +1,10 @@
PRGNAM="kakoune"
-VERSION="2019.01.20"
+VERSION="2023.08.05"
HOMEPAGE="https://kakoune.org/"
-DOWNLOAD="https://github.com/mawww/kakoune/releases/download/v2019.01.20/kakoune-2019.01.20.tar.bz2"
-MD5SUM="1871776ce495694de2133bd3d43dcf2f"
+DOWNLOAD="https://github.com/mawww/kakoune/releases/download/v2023.08.05/kakoune-2023.08.05.tar.bz2"
+MD5SUM="dc041a41a67fb7e823afb50ec94b1236"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Leo C."
-EMAIL="leoc@gmx.com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/kakoune/slack-desc b/development/kakoune/slack-desc
index e7f550b223..b2078aa713 100644
--- a/development/kakoune/slack-desc
+++ b/development/kakoune/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-kakoune: kakoune (Kakoune code editor)
+kakoune: kakoune (text editor)
kakoune:
kakoune: Kakoune is a code editor that implements Vi's "keystrokes as a text
kakoune: editing language" model. As it's also a modal editor, it's somewhat
kakoune: similar to the Vim editor.
kakoune:
+kakoune: Homepage: https://kakoune.org/
kakoune:
kakoune:
kakoune:
-kakoune: Homepage: https://kakoune.org/
kakoune:
diff --git a/development/kawa.bin/README b/development/kawa.bin/README
new file mode 100644
index 0000000000..425cab8912
--- /dev/null
+++ b/development/kawa.bin/README
@@ -0,0 +1,12 @@
+Kawa is a general-purpose programming language that runs on the Java
+platform. It aims to combine:
+
+ the benefits of dynamic scripting languages (non-verbose code with
+ less boiler-plate, fast and easy start-up, a REPL, no required
+ compilation step); with
+
+ the benefits of traditional compiled languages (fast execution,
+ static error detection, modularity, zero-overhead Java platform
+ integration).
+
+This build repackages the "binary", java-compiled version.
diff --git a/development/kawa.bin/kawa.bin.SlackBuild b/development/kawa.bin/kawa.bin.SlackBuild
new file mode 100644
index 0000000000..a31d6a16e0
--- /dev/null
+++ b/development/kawa.bin/kawa.bin.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# Slackware build script for kawa.bin
+
+# © Lockywolf, 2023
+# 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=kawa.bin
+TGZNAM=kawa
+VERSION=${VERSION:-3.1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+# 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
+mkdir -p $PKG/usr/bin
+mkdir -p $PKG/opt
+
+
+(
+cd $PKG/opt
+unzip $CWD/$TGZNAM-$VERSION.zip
+cd $PKG/usr/bin
+ln -s ../../opt/$TGZNAM-$VERSION/bin/kawa kawa
+)
+
+cd $PKG
+
+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 {} \;
+
+chmod +x $PKG/usr/bin/$TGZNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+cp -a $PKG/opt/$TGZNAM-$VERSION/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/
+
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kawa.bin/kawa.bin.info b/development/kawa.bin/kawa.bin.info
new file mode 100644
index 0000000000..e1aec91ea5
--- /dev/null
+++ b/development/kawa.bin/kawa.bin.info
@@ -0,0 +1,10 @@
+PRGNAM="kawa.bin"
+VERSION="3.1.1"
+HOMEPAGE="https://www.gnu.org/software/kawa/index.html"
+DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/kawa/kawa-3.1.1.zip"
+MD5SUM="65b9ba85ad144425a244c79565065a35"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="zulu-openjdk11"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.kawa_2023-05-22@lockywolf.net"
diff --git a/development/kawa.bin/slack-desc b/development/kawa.bin/slack-desc
new file mode 100644
index 0000000000..0ee999be81
--- /dev/null
+++ b/development/kawa.bin/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------------------------------------------------------|
+kawa.bin: kawa.bin (Scheme implementation running on the Java Virtual Machine)
+kawa.bin:
+kawa.bin: Kawa is a general-purpose programming language that runs on the Java
+kawa.bin: platform. It aims to combine:
+kawa.bin: the benefits of dynamic scripting languages (non-verbose code with
+kawa.bin: less boiler-plate, fast and easy start-up, a REPL, no required
+kawa.bin: compilation step); with the benefits of traditional compiled langs
+kawa.bin: (fast execution, static error detection, modularity, zero-overhead
+kawa.bin: Java platform integration).
+kawa.bin:
+kawa.bin:
diff --git a/development/kconfig-frontends/gperf3.1_kconfig_id_lookup.patch b/development/kconfig-frontends/gperf3.1_kconfig_id_lookup.patch
new file mode 100644
index 0000000000..c70d4bc2fa
--- /dev/null
+++ b/development/kconfig-frontends/gperf3.1_kconfig_id_lookup.patch
@@ -0,0 +1,11 @@
+--- a/libs/parser/hconf.c
++++ b/libs/parser/hconf.c
+@@ -172,7 +172,7 @@ __attribute__ ((__gnu_inline__))
+ #endif
+ #endif
+ const struct kconf_id *
+-kconf_id_lookup (register const char *str, register unsigned int len)
++kconf_id_lookup (register const char *str, register GPERF_LEN_TYPE len)
+ {
+ enum
+ { \ No newline at end of file
diff --git a/development/kconfig-frontends/kconfig-frontends.SlackBuild b/development/kconfig-frontends/kconfig-frontends.SlackBuild
index 5cc8edfbab..af4973d3c7 100644
--- a/development/kconfig-frontends/kconfig-frontends.SlackBuild
+++ b/development/kconfig-frontends/kconfig-frontends.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kconfig-frontends
@@ -22,26 +22,36 @@
# 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=kconfig-frontends
-VERSION=${VERSION:-3.12.0.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.11.0.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/gperf3.1_kconfig_id_lookup.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -87,8 +99,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL README $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kconfig-frontends/kconfig-frontends.info b/development/kconfig-frontends/kconfig-frontends.info
index 23efc52168..871ccc420e 100644
--- a/development/kconfig-frontends/kconfig-frontends.info
+++ b/development/kconfig-frontends/kconfig-frontends.info
@@ -1,8 +1,8 @@
PRGNAM="kconfig-frontends"
-VERSION="3.12.0.0"
-HOMEPAGE="http://ymorin.is-a-geek.org/projects/kconfig-frontends"
-DOWNLOAD="http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz"
-MD5SUM="b939280dcc83f8feabd87a1d5f9b00c2"
+VERSION="4.11.0.1"
+HOMEPAGE="https://bitbucket.org/nuttx/tools/"
+DOWNLOAD="https://bitbucket.org/nuttx/tools/downloads/kconfig-frontends-4.11.0.1.tar.bz2"
+MD5SUM="635538534a016d66ca1223512f5fc424"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/kcov/kcov.SlackBuild b/development/kcov/kcov.SlackBuild
index ee54e59e5f..cc0c721a7c 100644
--- a/development/kcov/kcov.SlackBuild
+++ b/development/kcov/kcov.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kcov
@@ -22,10 +22,13 @@
# 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=kcov
-VERSION=${VERSION:-32}
+VERSION=${VERSION:-40}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -76,16 +86,13 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
+ -DKCOV_INSTALL_MANDIR=/usr/man \
+ -DKCOV_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_BUILD_TYPE=Release ..
make
make install/strip DESTDIR=$PKG
cd ..
-# fix since -DMAN_INSTALL_DIR is ignored
-mv $PKG/usr/share/man $PKG/usr/man
-rmdir $PKG/usr/share
-
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
@@ -97,4 +104,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kcov/kcov.info b/development/kcov/kcov.info
index a1d06cd586..34f1c14777 100644
--- a/development/kcov/kcov.info
+++ b/development/kcov/kcov.info
@@ -1,8 +1,8 @@
PRGNAM="kcov"
-VERSION="32"
+VERSION="40"
HOMEPAGE="https://simonkagstrom.github.io/kcov/"
-DOWNLOAD="https://github.com/SimonKagstrom/kcov/archive/v32/kcov-32.tar.gz"
-MD5SUM="52d5f089c3081426aad7ab4eb69ccaa0"
+DOWNLOAD="https://github.com/SimonKagstrom/kcov/archive/v40/kcov-40.tar.gz"
+MD5SUM="5fcc9d299beb0ff52bf780f189b14500"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild
index b835c81ebf..3cd44d4f8b 100644
--- a/development/kdesvn/kdesvn.SlackBuild
+++ b/development/kdesvn/kdesvn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kdesvn
@@ -24,10 +24,13 @@
# 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=kdesvn
-VERSION=${VERSION:-1.7.0}
+VERSION=${VERSION:-20211128_4a776d5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -100,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kdesvn/kdesvn.info b/development/kdesvn/kdesvn.info
index b98995ec52..aeb9ae82fb 100644
--- a/development/kdesvn/kdesvn.info
+++ b/development/kdesvn/kdesvn.info
@@ -1,8 +1,8 @@
PRGNAM="kdesvn"
-VERSION="1.7.0"
+VERSION="20211128_4a776d5"
HOMEPAGE="https://github.com/KDE/kdesvn"
-DOWNLOAD="https://download.kde.org/stable/kdesvn/1.7.0/kdesvn-1.7.0.tar.xz"
-MD5SUM="f3d80daf42dad5d07b9a8cd24541d94d"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/kdesvn-20211128_4a776d5.tar.xz"
+MD5SUM="4dda6d029f28ae9c216249641ddd04a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/kdiff3/README b/development/kdiff3/README
index fec26dc27f..8f2dae59fc 100644
--- a/development/kdiff3/README
+++ b/development/kdiff3/README
@@ -1,22 +1,13 @@
-KDiff3 is a program that
- * compares or merges two or three text input files or directories,
- * shows the differences line by line and character by character (!),
- * provides an automatic merge-facility and
- * an integrated editor for comfortable solving of merge-conflicts,
- * supports Unicode, UTF-8 and other codecs, autodetection via
- byte-order-mark "BOM"
- * supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.),
- * Printing of differences,
- * Manual alignment of lines,
- * Automatic merging of version control history ($Log$),
- * and has an intuitive graphical user interface.
- * Windows-Explorer integration Diff-Ext-for-KDiff3 - shell
- extension included in installer (originally by Sergey Zorin;
- see also Diff Ext)
- * Read what else is special in a short abstract (PDF).
+KDiff3 is a file and folder diff and merge tool which
+ * compares and merges two or three input files or directories,
+ * shows the differences line by line and character by character (!),
+ * provides an automatic merge-facility and
+ * an integrated editor for comfortable solving of merge-conflicts
+ * has support for KDE-KIO (ftp, sftp, http, fish, smb),
+ * has an intuitive graphical user interface,
+ * provides a context menu for KDE-Dolphin and Windows-Explorer,
+ * Support for many encodings and Unicode.
-NOTE: By default, a KDE version is compiled. If you prefer a Qt4-only
-version, pass the script QT4ONLY=yes, like:
-
-QT4ONLY=yes ./kdiff3.SlackBuild
+KDiff3 is a KDE Application
+KDiff3 requires KDE Frameworks packages provided by Slackware
diff --git a/development/kdiff3/kdiff3.SlackBuild b/development/kdiff3/kdiff3.SlackBuild
index b567914d1d..40d3744c46 100644
--- a/development/kdiff3/kdiff3.SlackBuild
+++ b/development/kdiff3/kdiff3.SlackBuild
@@ -1,12 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for: kdiff3
# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
# Copyright (c) 2017 Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright 2023 Erich Ritz, Jenks, Oklahoma, USA
# All rights reserved.
#
-# QT4ONLY option courtesy of Ekin Akoglu, adapted by Ricardo J. Barberis
-#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -24,10 +23,13 @@
# 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=kdiff3
-VERSION=${VERSION:-0.9.98}
+VERSION=${VERSION:-1.10.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,11 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
-QT4ONLY=${QT4ONLY:-no}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -63,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,63 +77,30 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-if [ "${QT4ONLY}" == "no" ] ; then
- mkdir build
- cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release ..
-
- make VERBOSE=1
- make install VERBOSE=1 DESTDIR=$PKG
- cd ..
-else
- sed -i 's/%i -caption "%c"//g' src-QT4/kdiff3.desktop
-
- mkdir releaseQt
- cd releaseQt
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- qmake ../src-QT4/kdiff3.pro
-
- sed -i "s,/usr/local,$PKG/usr,g" Makefile
- make VERBOSE=1
- make install VERBOSE=1 #INSTALL_ROOT=$PKG
-
- cd ../po
- for i in `ls` ; do
- if [ -s $i/kdiff3.po ]; then
- mkdir -p $PKG/usr/share/locale/$i/LC_MESSAGES
- fi
- done
- mkdir -p $PKG/usr/share/locale
- sed -i -e "s,/usr/share/locale/,$PKG/usr/share/locale/," create_qm_files
- sh create_qm_files install
- cd ..
-
- mkdir -p $PKG/usr/share/{applications,icons,pixmaps}
- cp -a src-QT4/kdiff3.desktop $PKG/usr/share/applications
- cp -a src-QT4/hi32-app-kdiff3.png $PKG/usr/share/pixmaps/kdiff3.png
-
- mkdir -p $PKG/usr/share/icons/hicolor/16x16
- mkdir $PKG/usr/share/icons/hicolor/32x32
- mkdir -p $PKG/usr/share/icons/locolor/16x16
- mkdir $PKG/usr/share/icons/locolor/32x32
- cp -a src-QT4/hi16-app-kdiff3.png $PKG/usr/share/icons/hicolor/16x16
- cp -a src-QT4/hi32-app-kdiff3.png $PKG/usr/share/icons/hicolor/32x32
- cp -a src-QT4/lo16-app-kdiff3.png $PKG/usr/share/icons/locolor/16x16
- cp -a src-QT4/lo32-app-kdiff3.png $PKG/usr/share/icons/locolor/32x32
-fi
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DKDE_INSTALL_DOCBUNDLEDIR=/usr/doc/HTML \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+make VERBOSE=1
+make install VERBOSE=1 DESTDIR=$PKG
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/share/applications -type f -exec chmod 644 {} \;
+
+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 ChangeLog README TODO \
+cp -a AUTHORS COPYING ChangeLog README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
@@ -138,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kdiff3/kdiff3.info b/development/kdiff3/kdiff3.info
index 7dbb3a6be1..49097a1177 100644
--- a/development/kdiff3/kdiff3.info
+++ b/development/kdiff3/kdiff3.info
@@ -1,10 +1,10 @@
PRGNAM="kdiff3"
-VERSION="0.9.98"
-HOMEPAGE="http://kdiff3.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/kdiff3/kdiff3-0.9.98.tar.gz"
-MD5SUM="b52f99f2cf2ea75ed5719315cbf77446"
+VERSION="1.10.7"
+HOMEPAGE="https://apps.kde.org/kdiff3/"
+DOWNLOAD="https://download.kde.org/stable/kdiff3/kdiff3-1.10.7.tar.xz"
+MD5SUM="2bb2d5e0745e7158a1720ef4dd1d7e40"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Ricardo J. Barberis"
-EMAIL="ricardo.barberis@gmail.com"
+MAINTAINER="Erich Ritz"
+EMAIL="erich.public@protonmail.com"
diff --git a/development/kdiff3/slack-desc b/development/kdiff3/slack-desc
index 713ea8c8fe..703e43d15d 100644
--- a/development/kdiff3/slack-desc
+++ b/development/kdiff3/slack-desc
@@ -15,5 +15,5 @@ kdiff3: automatic merge-facility, has an editor for comfortable solving of
kdiff3: merge-conflicts, provides network transparency via KIO, has options to
kdiff3: highlight or hide changes in whitespace or comments, supports Unicode,
kdiff3: UTF-8 and other file encodings, prints differences, supports version
-kdiff3: control keyword and history merging
-kdiff3:
+kdiff3: control keyword and history merging.
+kdiff3: homepage: https://apps.kde.org/kdiff3/
diff --git a/development/kelbt/kelbt.SlackBuild b/development/kelbt/kelbt.SlackBuild
index 73bf09973b..181800af9d 100644
--- a/development/kelbt/kelbt.SlackBuild
+++ b/development/kelbt/kelbt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kelbt
# Copyright 2012-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
@@ -21,10 +21,13 @@
# 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=kelbt
VERSION=${VERSION:-0.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kforth/ForthVM.diff b/development/kforth/ForthVM.diff
deleted file mode 100644
index 494b515fc4..0000000000
--- a/development/kforth/ForthVM.diff
+++ /dev/null
@@ -1,78 +0,0 @@
-Index: ForthVM.cpp
-===================================================================
---- ForthVM.cpp (revision 7)
-+++ ForthVM.cpp (working copy)
-@@ -155,6 +155,14 @@
- // PUSH_IVAL and PUSH_ADDR
- // 2011-02-06 km fixed problem with FS. not restoring original precision.
- // 2011-03-05 km removed commented out code which was replaced by macros.
-+// 2011-03-10 km added global string dir_env_var to allow default directory
-+// environment variable to be specified externally, in the
-+// Makefile.
-+// 2011-11-01 km revised CPP_allot to ensure all created words which have
-+// ALLOTed memory also have appropriate execution code;
-+// This change also allows removal of common code from
-+// CPP_variable and CPP_fvariable.
-+const char* dir_env_var=DIR_ENV_VAR;
-
- #include <string.h>
- #include <stdlib.h>
-@@ -1550,6 +1558,13 @@
- {
- id->Pfa = new byte[n];
- if (id->Pfa) memset (id->Pfa, 0, n);
-+
-+ // Provide execution code to the word to return its Pfa
-+ byte *bp = new byte[6];
-+ id->Cfa = bp;
-+ bp[0] = OP_ADDR;
-+ *((int*) &bp[1]) = (int) id->Pfa;
-+ bp[5] = OP_RET;
- }
- else
- return E_V_REALLOT;
-@@ -1642,14 +1657,7 @@
- DEC_DSP
- STD_IVAL
- int e = CPP_allot();
-- if (e) return e;
-- WordIndex id = pCompilationWL->end() - 1;
-- byte *bp = new byte[6];
-- id->Cfa = bp;
-- bp[0] = OP_ADDR;
-- *((int*) &bp[1]) = (int) id->Pfa;
-- bp[5] = OP_RET;
-- return 0;
-+ return e;
- }
- //-----------------------------------------------------------------
-
-@@ -1662,14 +1670,7 @@
- DEC_DSP
- STD_IVAL
- int e = CPP_allot();
-- if (e) return e;
-- WordIndex id = pCompilationWL->end() - 1;
-- byte *bp = new byte[6];
-- id->Cfa = bp;
-- bp[0] = OP_ADDR;
-- *((int*) &bp[1]) = (int) id->Pfa;
-- bp[5] = OP_RET;
-- return 0;
-+ return e;
- }
- //------------------------------------------------------------------
-
-@@ -2464,10 +2465,10 @@
- ifstream f(filename);
- if (!f)
- {
-- if (getenv("KFORTH_DIR"))
-+ if (getenv(dir_env_var))
- {
- char temp[256];
-- strcpy(temp, getenv("KFORTH_DIR"));
-+ strcpy(temp, getenv(dir_env_var));
- strcat(temp, "/");
- strcat(temp, filename);
- strcpy(filename, temp);
diff --git a/development/kforth/Makefile.diff b/development/kforth/Makefile.diff
deleted file mode 100644
index 8223cc7742..0000000000
--- a/development/kforth/Makefile.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-Index: Makefile
-===================================================================
---- Makefile (revision 7)
-+++ Makefile (working copy)
-@@ -31,6 +31,9 @@
- # 2011-03-05 km; revised archive and snapshot rules to exclude version
- # control subdirectories in the archive files (since we
- # now using Subversion for source control)
-+# 2011-03-10 km; define name of environment variable containing default
-+# Forth source directory, and pass to compiler.
-+# 2011-11-01 km; updated version to 1.5.2p1
- #
- # Possible invocations:
- #
-@@ -50,7 +53,8 @@
- # Invoke "make debug" if you want to create an executable
- # that contains debugging information for the GNU debugger (gdb).
-
--VERSION = 1.5.2
-+VERSION = 1.5.2p1
-+DEF_DIR_VAR=KFORTH_DIR
- BUILD_DATE=`date +%F`
- DEBUG =
- TARGET_CPU = x86
-@@ -64,7 +68,7 @@
-
- CPP = ${GCCDIR}/g++
- CC = ${GCCDIR}/gcc
--CPPFLAGS = -c -m32
-+CPPFLAGS = -c -m32
- CFLAGS = -c -m32
- FAST = -D__FAST__
- OBJS = kforth.o ForthVM.o ForthCompiler.o vm.o vmc.o
-@@ -118,10 +122,12 @@
- ${CPP} ${CPPFLAGS} ${DEBUG} ForthCompiler.cpp
-
- ForthVM.o: ForthVM.cpp ForthVM.h fbc.h ForthCompiler.h kfmacros.h
-- ${CPP} ${CPPFLAGS} ${DEBUG} ForthVM.cpp
-+ ${CPP} ${CPPFLAGS} -DDIR_ENV_VAR=\"${DEF_DIR_VAR}\" \
-+ ${DEBUG} ForthVM.cpp
-
- ForthVM-fast.o: ForthVM.cpp ForthVM.h fbc.h ForthCompiler.h kfmacros.h
-- ${CPP} ${CPPFLAGS} ${DEBUG} ${FAST} -o ForthVM-fast.o ForthVM.cpp
-+ ${CPP} ${CPPFLAGS} -DDIR_ENV_VAR=\"${DEF_DIR_VAR}\" \
-+ ${DEBUG} ${FAST} -o ForthVM-fast.o ForthVM.cpp
-
- vmc.o: vmc.c kfmacros.h
- ${CC} ${CFLAGS} ${DEBUG} vmc.c
diff --git a/development/kforth/README b/development/kforth/README
index 55d7c3e036..fd0569fd05 100644
--- a/development/kforth/README
+++ b/development/kforth/README
@@ -8,3 +8,9 @@ define individual words.
kForth is designed to be installed on a 32-bit linux operating system.
It will not install on 64-bit Slackware unless multilib support is
installed.
+
+This package contains the updates made to the branch 1.x originally
+available at ccreweb.org (now only acessible through archive.org as
+http://ccreweb.org/software/kforth/kforth.html). It is provided for
+legacy purposes, as the kForth-32 branch 2.x is more actievly
+maintained.
diff --git a/development/kforth/doinst.sh b/development/kforth/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/kforth/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/kforth/kforth.SlackBuild b/development/kforth/kforth.SlackBuild
index c33bff9e37..9c6cc8f5ee 100644
--- a/development/kforth/kforth.SlackBuild
+++ b/development/kforth/kforth.SlackBuild
@@ -1,16 +1,37 @@
-#!/bin/sh
-
-# Slackware build script for kforth
-
-# Written by G. Schoenmakers <gschoen@iinet.net.au>
+#!/bin/bash
+
+# Slackware build script for kForth-32 branch 1.x.x
+
+# Copyright 2023 Antonio Leal, Porto Salvo, Oeiras, Portugal
+# Modified by SlackBuilds.org on 2022/03/18
+# Copyright 2022 G. Schoenmakers <gschoen@iinet.net.au>
+# 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=kforth
-VERSION=${VERSION:-1.5.2p1}
-SRCVER="$( echo $VERSION | cut -dp -f1 )"
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.8.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-
-MODEL=${MODEL:-x86-linux}
+PKGTYPE=${PKGTYPE:-tgz}
+TARBALL=${TARBALL:-kForth-32-$VERSION}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -20,47 +41,81 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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-$SRCVER
-tar xvf $CWD/$PRGNAM-$MODEL-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$TARBALL.tar.gz
+mv $TARBALL $PRGNAM-$VERSION
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-patch ForthVM.cpp $CWD/ForthVM.diff
-patch Makefile $CWD/Makefile.diff
+ \( -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 {} \+
+cd src
make
-# There is no "make install" so the following instructions are used to copy
-# the relevant files into the $PKG directory.
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/bin
-cp -a kforth $PKG/usr/bin
-cp -a kforth-fast $PKG/usr/bin
+install -Dsv -m 0755 kforth32 $PKG/usr/bin/kforth
+install -Dsv -m 0755 kforth32-fast $PKG/usr/bin/kforth-fast
-mkdir -p $PKG/usr/share/pixmaps
-cp -a kforth.xpm $PKG/usr/share/pixmaps
+mkdir -p $PKG/usr/share/kforth
+cd ../forth-src
+cp -avxu * $PKG/usr/share/kforth
+cd ../doc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog README examples $PKG/usr/doc/$PRGNAM-$VERSION
+cp *.* $PKG/usr/doc/$PRGNAM-$VERSION
+cp $CWD/dpans94.pdf $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/etc/profile.d
+cat <<EOF >$PKG/etc/profile.d/kforth.sh
+#!/bin/sh
+export KFORTH_DIR=/usr/share/kforth
+EOF
+chmod 0755 $PKG/etc/profile.d/kforth.sh
+
+mkdir -p $PKG/usr/share/pixmaps
+cp $TMP/$PRGNAM-$VERSION/kforth.xpm $PKG/usr/share/pixmaps
+
+mkdir -p $PKG/usr/share/applications
+cp $CWD/kforth.desktop $PKG/usr/share/applications
+
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kforth/kforth.desktop b/development/kforth/kforth.desktop
new file mode 100644
index 0000000000..030fb1cc5f
--- /dev/null
+++ b/development/kforth/kforth.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=kforth
+Comment=kforth (1.x) is a 32-bit Forth System for x86
+Exec=/usr/bin/kforth
+Icon=/usr/share/pixmaps/kforth.xpm
+Terminal=true
+Type=Application
+Categories=Development;
+
diff --git a/development/kforth/kforth.info b/development/kforth/kforth.info
index 34754b33b6..ae036cd12a 100644
--- a/development/kforth/kforth.info
+++ b/development/kforth/kforth.info
@@ -1,10 +1,12 @@
PRGNAM="kforth"
-VERSION="1.5.2p1"
-HOMEPAGE="https://web.archive.org/web/20180109141744/http://ccreweb.org/software/kforth/kforth.html"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/kforth-x86-linux-1.5.2.tar.gz"
-MD5SUM="8def6b906289fc2f2b404a7be8e8d9ce"
+VERSION="1.8.0"
+HOMEPAGE="https://github.com/mynenik/kForth-32"
+DOWNLOAD="https://github.com/mynenik/kForth-32/archive/refs/tags/v1.8.0/kForth-32-1.8.0.tar.gz \
+ https://github.com/antonioleal/myslackbuilds/raw/main/development/kforth/dpans94.pdf"
+MD5SUM="5d5b822ad399b0261eee68ba1761219c \
+ 9ec4c6ae1f460415ecab6051f4e278b5"
DOWNLOAD_x86_64="UNTESTED"
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="G. Schoenmakers"
-EMAIL="gschoen@iinet.net.au"
+MAINTAINER="Antonio Leal"
+EMAIL="antonio.leal@yahoo.com"
diff --git a/development/kforth/slack-desc b/development/kforth/slack-desc
index 05cf44557f..76144d6624 100644
--- a/development/kforth/slack-desc
+++ b/development/kforth/slack-desc
@@ -15,5 +15,5 @@ kforth: other implementations of Forth, provides an interactive environment,
kforth: allowing the user to examine or define variables and execute or
kforth: define individual words.
kforth:
-kforth:
+kforth: This package contains the branch 1.x of kforth for legacy systems.
kforth:
diff --git a/development/kicad-doc/README b/development/kicad-doc/README
index 9eb0cbd01f..f4c4307186 100644
--- a/development/kicad-doc/README
+++ b/development/kicad-doc/README
@@ -3,7 +3,20 @@ Additional KiCad documentation and presentations.
Since this documentation package has a separate release time-line,
you may have to specify the version of the installed KiCad package if
it is newer than this documentation package. At the time of writing,
-it was "bzr_20130325". To specify another release, run this SlackBuild
+it was "7.0.2". To specify another release, run this SlackBuild
as follows:
- # KICAD_VERSION="bzr_yyyymmdd" ./kicad-doc.SlackBuild
+ # KICAD_VERSION="7.0.5" ./kicad-doc.SlackBuild
+documentation is available in a number of different languages. see
+CMakeLists.txt for a full list. this build will default to en
+(english) but can be changed by setting the environment variable
+DOCLANG before running the script. for example, for french, use
+
+ # DOCLANG=fr ./kicad-doc.SlackBuild
+
+for more than one language, use a quoted semicolon separated list. eg
+
+ # DOCLANG="en;fr;de;it;jp;cz" ./kicad-doc.SlackBuild
+
+note: once package is created, node.js is no longer required
+(build dep only)
diff --git a/development/kicad-doc/kicad-doc.SlackBuild b/development/kicad-doc/kicad-doc.SlackBuild
index 600cb72f77..8c3b10798b 100644
--- a/development/kicad-doc/kicad-doc.SlackBuild
+++ b/development/kicad-doc/kicad-doc.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kicad-doc
# Additional documentation for KiCad
# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
+# 2023/07/21 tjd: patched for 7.0.2 adding extra deps etc.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,18 +24,29 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date: 2019-12-12
+# Revision date: 2023-07-23
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kicad-doc
-VERSION=${VERSION:-5.1.5}
+VERSION=${VERSION:-7.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
+PKGTYPE=${PKGTYPE:-tgz}
+DOCLANG=${DOCLANG:-en}
+ADWPVER=${ADWPVER:-20230721}
ARCH="noarch"
-KICAD_VERSION=${KICAD_VERSION:-5.1.5}
+KICAD_VERSION=${KICAD_VERSION:-7.0.2}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,6 +59,18 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+#patch CmakeLists.txt to remove warning
+sed -i 's\2.8\2.8.12\g' CMakeLists.txt
+
+#note: to create asciidoctor-web-pdf-64bit-YYYYMMDD.tar.js once node.js is installed; in a
+#overlayfs chroot run npm -i -g asciidoctor-pdf
+#then tar.gz the contents of usr/lib64/node_modules from the overlay directory
+#eg. cd $OVERLAYCHANGESDIR/usr/lib64; tar -czf ~/asciidoctor-web-pdf-64bit-YYYYMMDD.tar.gz node_modules
+#
+tar -xzf $CWD/asciidoctor-web-pdf-64bit-$ADWPVER.tar.gz
+#make sure system can find asciidoctor-web-pdf stuff
+OLDPATH=$PATH
+PATH=$TMP/$PRGNAM-$VERSION/node_modules/asciidoctor-pdf/bin:$PATH; export PATH
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -58,23 +82,31 @@ mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLANGUAGES=en \
+ -DLANGUAGES=$DOCLANG \
+ -Wno-dev \
-DBUILD_FORMATS='html;pdf' ../
make
make install DESTDIR=$PKG
cd ..
+PATH=$OLDPATH; export PATH
+#tidy up huge stuff no longer needed.
+rm -rf node_modules
+#fix locations
+#mkdir -p $PKG/usr/doc/kicad-$KICAD_VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar $PKG/usr/share/doc/kicad/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share/doc
# Create a link in the data-dir to the documentation
mkdir -p $PKG/usr/share/kicad
cd $PKG/usr/share/kicad
- ln -sf ../../doc/kicad-$KICAD_VERSION/help
+ ln -sf ../../doc/$PRGNAM-$VERSION/help
cd ..
-mkdir -p $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kicad-doc/kicad-doc.info b/development/kicad-doc/kicad-doc.info
index 97e1554d15..d0a91e9a0b 100644
--- a/development/kicad-doc/kicad-doc.info
+++ b/development/kicad-doc/kicad-doc.info
@@ -1,10 +1,12 @@
PRGNAM="kicad-doc"
-VERSION="5.1.5"
+VERSION="7.0.2"
HOMEPAGE="http://kicad-pcb.org/"
-DOWNLOAD="https://github.com/KiCad/kicad-doc/archive/5.1.5/kicad-doc-5.1.5.tar.gz"
-MD5SUM="093bcdf18cd8d9aed3d1d566045fc8c6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="dblatex po4a"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://gitlab.com/kicad/services/kicad-doc/-/archive/7.0.2/kicad-doc-7.0.2.tar.gz \
+ https://sourceforge.net/projects/slackbuildsdirectlinks/files/asciidoctor-web-pdf/asciidoctor-web-pdf-64bit-20230721.tar.gz"
+MD5SUM_x86_64="b2229bb564c1ff4590d6db65f9ea3353 \
+ c522909c78ba3beff9efd4f9a6d00cbc"
+REQUIRES="dblatex po4a nodejs"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/development/kicad-footprints/kicad-footprints.SlackBuild b/development/kicad-footprints/kicad-footprints.SlackBuild
index 36a3831948..def735cd82 100644
--- a/development/kicad-footprints/kicad-footprints.SlackBuild
+++ b/development/kicad-footprints/kicad-footprints.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kicad-footprints
# Additional footprints for KiCad
@@ -25,14 +25,24 @@
# Revision date: 2019-12-12
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kicad-footprints
-VERSION=${VERSION:-5.1.6}
+VERSION=${VERSION:-7.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
-CWD=$(pwd)
+# 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}
@@ -68,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kicad-footprints/kicad-footprints.info b/development/kicad-footprints/kicad-footprints.info
index 4131119497..bc007177ae 100644
--- a/development/kicad-footprints/kicad-footprints.info
+++ b/development/kicad-footprints/kicad-footprints.info
@@ -1,8 +1,8 @@
PRGNAM="kicad-footprints"
-VERSION="5.1.6"
+VERSION="7.0.9"
HOMEPAGE="http://kicad-pcb.org/"
-DOWNLOAD="https://github.com/KiCad/kicad-footprints/archive/5.1.6/kicad-footprints-5.1.6.tar.gz"
-MD5SUM="6f5df88bfda6ffc309c6a82381f0611d"
+DOWNLOAD="https://gitlab.com/kicad/libraries/kicad-footprints/-/archive/7.0.9/kicad-footprints-7.0.9.tar.gz"
+MD5SUM="5777f57ac184f673efd3371bec0c6929"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/kicad-packages3D/kicad-packages3D.SlackBuild b/development/kicad-packages3D/kicad-packages3D.SlackBuild
index 390b69764a..f33442f8f4 100644
--- a/development/kicad-packages3D/kicad-packages3D.SlackBuild
+++ b/development/kicad-packages3D/kicad-packages3D.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kicad-packages3D
# Additional 3D packages for KiCad
@@ -25,14 +25,24 @@
# Revision date: 2019-12-12
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kicad-packages3D
-VERSION=${VERSION:-5.1.6}
+VERSION=${VERSION:-7.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
-CWD=$(pwd)
+# 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}
@@ -68,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kicad-packages3D/kicad-packages3D.info b/development/kicad-packages3D/kicad-packages3D.info
index 353930ab77..4c7001f2dc 100644
--- a/development/kicad-packages3D/kicad-packages3D.info
+++ b/development/kicad-packages3D/kicad-packages3D.info
@@ -1,8 +1,8 @@
PRGNAM="kicad-packages3D"
-VERSION="5.1.6"
+VERSION="7.0.9"
HOMEPAGE="http://kicad-pcb.org/"
-DOWNLOAD="https://github.com/KiCad/kicad-packages3D/archive/5.1.6/kicad-packages3D-5.1.6.tar.gz"
-MD5SUM="f7bc330a4538d543972d63f1ce2e44a5"
+DOWNLOAD="https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/7.0.9/kicad-packages3D-7.0.9.tar.gz"
+MD5SUM="409bf9f641b362ce53bb6955aa0d8db1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/kicad-symbols/kicad-symbols.SlackBuild b/development/kicad-symbols/kicad-symbols.SlackBuild
index c61b7cbfff..b0c7ecdcec 100644
--- a/development/kicad-symbols/kicad-symbols.SlackBuild
+++ b/development/kicad-symbols/kicad-symbols.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kicad-symbols
# Additional symbols for KiCad
@@ -25,14 +25,24 @@
# Revision date: 2019-12-12
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kicad-symbols
-VERSION=${VERSION:-5.1.6}
+VERSION=${VERSION:-7.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
-CWD=$(pwd)
+# 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}
@@ -68,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kicad-symbols/kicad-symbols.info b/development/kicad-symbols/kicad-symbols.info
index 67d9d0a7ee..ccfb4ed62e 100644
--- a/development/kicad-symbols/kicad-symbols.info
+++ b/development/kicad-symbols/kicad-symbols.info
@@ -1,8 +1,8 @@
PRGNAM="kicad-symbols"
-VERSION="5.1.6"
+VERSION="7.0.9"
HOMEPAGE="http://kicad-pcb.org/"
-DOWNLOAD="https://github.com/KiCad/kicad-symbols/archive/5.1.6/kicad-symbols-5.1.6.tar.gz"
-MD5SUM="436e5436ec3b7025a2a099eb97c81ae7"
+DOWNLOAD="https://gitlab.com/kicad/libraries/kicad-symbols/-/archive/7.0.9/kicad-symbols-7.0.9.tar.gz"
+MD5SUM="ca7a6541e016a0205475554a00e7ee68"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/kicad-templates/kicad-templates.SlackBuild b/development/kicad-templates/kicad-templates.SlackBuild
index 99c9b69736..229bd81d93 100644
--- a/development/kicad-templates/kicad-templates.SlackBuild
+++ b/development/kicad-templates/kicad-templates.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kicad-templates
# Additional templates for KiCad
@@ -25,14 +25,24 @@
# Revision date: 2019-12-12
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kicad-templates
-VERSION=${VERSION:-5.1.6}
+VERSION=${VERSION:-7.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
-CWD=$(pwd)
+# 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}
@@ -68,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kicad-templates/kicad-templates.info b/development/kicad-templates/kicad-templates.info
index aa0e5d44a6..9f7cbeb8c7 100644
--- a/development/kicad-templates/kicad-templates.info
+++ b/development/kicad-templates/kicad-templates.info
@@ -1,8 +1,8 @@
PRGNAM="kicad-templates"
-VERSION="5.1.6"
+VERSION="7.0.9"
HOMEPAGE="http://kicad-pcb.org/"
-DOWNLOAD="https://github.com/KiCad/kicad-templates/archive/5.1.6/kicad-templates-5.1.6.tar.gz"
-MD5SUM="e04291d285520ebc33bcd5670a9c6c43"
+DOWNLOAD="https://gitlab.com/kicad/libraries/kicad-templates/-/archive/7.0.9/kicad-templates-7.0.9.tar.gz"
+MD5SUM="22a3ac5d4ec8749b30ccd7ae732f288f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/kicad/boost-1.61.patch b/development/kicad/boost-1.61.patch
deleted file mode 100644
index 3ca8711b9f..0000000000
--- a/development/kicad/boost-1.61.patch
+++ /dev/null
@@ -1,347 +0,0 @@
---- a/common/tool/tool_manager.cpp
-+++ b/common/tool/tool_manager.cpp
-@@ -532,11 +532,11 @@
- if( st->cofunc )
- st->Push();
-
-+ st->cofunc = new COROUTINE<int, const TOOL_EVENT&>( tr.second );
-+
- // as the state changes, the transition table has to be set up again
- st->transitions.clear();
-
-- st->cofunc = new COROUTINE<int, const TOOL_EVENT&>( tr.second );
--
- // got match? Run the handler.
- st->cofunc->Call( aEvent );
-
---- a/include/tool/coroutine.h
-+++ b/include/tool/coroutine.h
-@@ -27,10 +28,15 @@
-
- #include <cstdlib>
-
--#include <boost/context/fcontext.hpp>
- #include <boost/version.hpp>
-+#include <type_traits>
-
--#include "delegate.h"
-+#if BOOST_VERSION <= 106000
-+#include <boost/context/fcontext.hpp>
-+#else
-+#include <boost/context/execution_context.hpp>
-+#include <boost/context/protected_fixedsize_stack.hpp>
-+#endif
-
- /**
- * Class COROUNTINE.
-@@ -53,13 +59,12 @@
- * See coroutine_example.cpp for sample code.
- */
-
--template <class ReturnType, class ArgType>
-+template <typename ReturnType, typename ArgType>
- class COROUTINE
- {
- public:
- COROUTINE() :
-- m_saved( NULL ), m_self( NULL ), m_stack( NULL ), m_stackSize( c_defaultStackSize ),
-- m_running( false )
-+ COROUTINE( nullptr )
- {
- }
-
-@@ -69,8 +74,7 @@
- */
- template <class T>
- COROUTINE( T* object, ReturnType(T::* ptr)( ArgType ) ) :
-- m_func( object, ptr ), m_self( NULL ), m_saved( NULL ), m_stack( NULL ),
-- m_stackSize( c_defaultStackSize ), m_running( false )
-+ COROUTINE( std::bind( ptr, object, std::placeholders::_1 ) )
- {
- }
-
-@@ -78,9 +82,15 @@
- * Constructor
- * Creates a coroutine from a delegate object
- */
-- COROUTINE( DELEGATE<ReturnType, ArgType> aEntry ) :
-- m_func( aEntry ), m_saved( NULL ), m_self( NULL ), m_stack( NULL ),
-- m_stackSize( c_defaultStackSize ), m_running( false )
-+ COROUTINE( std::function<ReturnType(ArgType)> aEntry ) :
-+ m_func( std::move( aEntry ) ),
-+ m_running( false ),
-+#if BOOST_VERSION <= 106000
-+ m_stack( nullptr ),
-+ m_stackSize( c_defaultStackSize ),
-+#endif
-+ m_caller( nullptr ),
-+ m_callee( nullptr )
- {
- // Avoid not initialized members, and make static analysers quiet
- m_args = 0;
-@@ -89,18 +99,26 @@
-
- ~COROUTINE()
- {
-- if( m_saved )
-- delete m_saved;
--
- #if BOOST_VERSION >= 105600
-- if( m_self )
-- delete m_self;
-+ delete m_callee;
- #endif
-
-+#if BOOST_VERSION <= 106000
-+ delete m_caller;
-+
- if( m_stack )
- free( m_stack );
-+#endif
- }
-
-+private:
-+#if BOOST_VERSION <= 106000
-+ using context_type = boost::context::fcontext_t;
-+#else
-+ using context_type = boost::context::execution_context<COROUTINE*>;
-+#endif
-+
-+public:
- /**
- * Function Yield()
- *
-@@ -110,7 +128,12 @@
- */
- void Yield()
- {
-- jump( m_self, m_saved, 0 );
-+#if BOOST_VERSION <= 106000
-+ jump( m_callee, m_caller, false );
-+#else
-+ auto result = (*m_caller)( this );
-+ *m_caller = std::move( std::get<0>( result ) );
-+#endif
- }
-
- /**
-@@ -122,7 +145,11 @@
- void Yield( ReturnType& aRetVal )
- {
- m_retVal = aRetVal;
-- jump( m_self, m_saved, 0 );
-+#if BOOST_VERSION <= 106000
-+ jump( m_callee, m_caller, false );
-+#else
-+ m_caller( this );
-+#endif
- }
-
- /**
-@@ -130,9 +157,9 @@
- *
- * Defines the entry point for the coroutine, if not set in the constructor.
- */
-- void SetEntry( DELEGATE<ReturnType, ArgType> aEntry )
-+ void SetEntry( std::function<ReturnType(ArgType)> aEntry )
- {
-- m_func = aEntry;
-+ m_func = std::move( aEntry );
- }
-
- /* Function Call()
-@@ -143,6 +170,10 @@
- */
- bool Call( ArgType aArgs )
- {
-+ assert( m_callee == NULL );
-+ assert( m_caller == NULL );
-+
-+#if BOOST_VERSION <= 106000
- // fixme: Clean up stack stuff. Add a guard
- m_stack = malloc( c_defaultStackSize );
-
-@@ -151,22 +182,32 @@
-
- // correct the stack size
- m_stackSize -= ( (size_t) m_stack + m_stackSize - (size_t) sp );
--
-- assert( m_self == NULL );
-- assert( m_saved == NULL );
-+#endif
-
- m_args = &aArgs;
--#if BOOST_VERSION >= 105600
-- m_self = new boost::context::fcontext_t();
-- *m_self = boost::context::make_fcontext( sp, m_stackSize, callerStub );
-+
-+#if BOOST_VERSION < 105600
-+ m_callee = boost::context::make_fcontext( sp, m_stackSize, callerStub );
-+#elif BOOST_VERSION <= 106000
-+ m_callee = new context_type( boost::context::make_fcontext( sp, m_stackSize, callerStub ) );
- #else
-- m_self = boost::context::make_fcontext( sp, m_stackSize, callerStub );
-+ m_callee = new context_type( std::allocator_arg_t(),
-+ boost::context::protected_fixedsize_stack( c_defaultStackSize ), &COROUTINE::callerStub );
-+#endif
-+
-+#if BOOST_VERSION <= 106000
-+ m_caller = new context_type();
- #endif
-- m_saved = new boost::context::fcontext_t();
-
- m_running = true;
-+
- // off we go!
-- jump( m_saved, m_self, reinterpret_cast<intptr_t>( this ) );
-+#if BOOST_VERSION <= 106000
-+ jump( m_caller, m_callee, reinterpret_cast<intptr_t>( this ) );
-+#else
-+ auto result = (*m_callee)( this );
-+ *m_callee = std::move( std::get<0>( result ) );
-+#endif
- return m_running;
- }
-
-@@ -179,7 +220,12 @@
- */
- bool Resume()
- {
-- jump( m_saved, m_self, 0 );
-+#if BOOST_VERSION <= 106000
-+ jump( m_caller, m_callee, false );
-+#else
-+ auto result = (*m_callee)( this );
-+ *m_callee = std::move( std::get<0>( result ) );
-+#endif
-
- return m_running;
- }
-@@ -208,61 +254,66 @@
- static const int c_defaultStackSize = 2000000; // fixme: make configurable
-
- /* real entry point of the coroutine */
-+#if BOOST_VERSION <= 106000
- static void callerStub( intptr_t aData )
-+#else
-+ static context_type callerStub( context_type caller, COROUTINE* cor )
-+#endif
- {
- // get pointer to self
-+#if BOOST_VERSION <= 106000
- COROUTINE<ReturnType, ArgType>* cor = reinterpret_cast<COROUTINE<ReturnType, ArgType>*>( aData );
-+#else
-+ cor->m_caller = &caller;
-+#endif
-
- // call the coroutine method
-- cor->m_retVal = cor->m_func( *cor->m_args );
-+ cor->m_retVal = cor->m_func( *( cor->m_args ) );
- cor->m_running = false;
-
- // go back to wherever we came from.
-- jump( cor->m_self, cor->m_saved, 0 ); // reinterpret_cast<intptr_t>( this ));
-+#if BOOST_VERSION <= 106000
-+ jump( cor->m_callee, cor->m_caller, 0 );
-+#else
-+ return caller;
-+#endif
- }
-
- ///> Wrapper for jump_fcontext to assure compatibility between different boost versions
-- static inline intptr_t jump(boost::context::fcontext_t* aOld, boost::context::fcontext_t* aNew,
-+#if BOOST_VERSION <= 106000
-+ static inline intptr_t jump( context_type* aOld, context_type* aNew,
- intptr_t aP, bool aPreserveFPU = true )
- {
--#if BOOST_VERSION >= 105600
-- return boost::context::jump_fcontext( aOld, *aNew, aP, aPreserveFPU );
--#else
-+#if BOOST_VERSION < 105600
- return boost::context::jump_fcontext( aOld, aNew, aP, aPreserveFPU );
-+#else
-+ return boost::context::jump_fcontext( aOld, *aNew, aP, aPreserveFPU );
- #endif
- }
-+#endif
-
-- template <typename T>
-- struct strip_ref
-- {
-- typedef T result;
-- };
-+ std::function<ReturnType(ArgType)> m_func;
-
-- template <typename T>
-- struct strip_ref<T&>
-- {
-- typedef T result;
-- };
-+ bool m_running;
-
-- DELEGATE<ReturnType, ArgType> m_func;
-+#if BOOST_VERSION <= 106000
-+ ///< coroutine stack
-+ void* m_stack;
-+
-+ size_t m_stackSize;
-+#endif
-
- ///< pointer to coroutine entry arguments. Stripped of references
- ///< to avoid compiler errors.
-- typename strip_ref<ArgType>::result* m_args;
-+ typename std::remove_reference<ArgType>::type* m_args;
-+
- ReturnType m_retVal;
-
- ///< saved caller context
-- boost::context::fcontext_t* m_saved;
-+ context_type* m_caller;
-
- ///< saved coroutine context
-- boost::context::fcontext_t* m_self;
--
-- ///< coroutine stack
-- void* m_stack;
--
-- size_t m_stackSize;
--
-- bool m_running;
-+ context_type* m_callee;
- };
-
- #endif
---- a/include/tool/tool_base.h
-+++ b/include/tool/tool_base.h
-@@ -31,7 +32,7 @@
- #include <tool/tool_event.h>
- #include <tool/tool_settings.h>
-
--#include <tool/delegate.h>
-+#include <functional>
-
- class EDA_ITEM;
- class TOOL_MANAGER;
-@@ -53,7 +54,9 @@
-
- /// Unique identifier for tools
- typedef int TOOL_ID;
--typedef DELEGATE<int, const TOOL_EVENT&> TOOL_STATE_FUNC;
-+
-+using TOOL_STATE_FUNC = std::function<int(const TOOL_EVENT&)>;
-+
-
- /**
- * Class TOOL_BASE
---- a/include/tool/tool_interactive.h
-+++ b/include/tool/tool_interactive.h
-@@ -113,7 +114,7 @@
- void TOOL_INTERACTIVE::Go( int (T::* aStateFunc)( const TOOL_EVENT& ),
- const TOOL_EVENT_LIST& aConditions )
- {
-- TOOL_STATE_FUNC sptr( static_cast<T*>( this ), aStateFunc );
-+ TOOL_STATE_FUNC sptr = std::bind( aStateFunc, static_cast<T*>( this ), std::placeholders::_1 );
-
- goInternal( sptr, aConditions );
- }
-
diff --git a/development/kicad/kicad.SlackBuild b/development/kicad/kicad.SlackBuild
index b2942d5e3f..c49c5fcc54 100644
--- a/development/kicad/kicad.SlackBuild
+++ b/development/kicad/kicad.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for KiCad
# Open-Source EDA Suite
-# Copyright 2019 Fernando Lopez Jr. <fernando.lopezjr@gmail.com>
+# Copyright 2019-2023 Fernando Lopez Jr. <fernando.lopezjr@gmail.com>
+# Copyright 2023 Steven Voges <Oregon, USA>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +24,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date: 2019/Jun/02
+# Revision date: 2023/Apr/19
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kicad
-VERSION=${VERSION:-5.1.5}
+VERSION=${VERSION:-8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,22 +42,26 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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 -std=c++11"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686 -std=c++11"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC -std=c++11"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2 -std=c++11"
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -63,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,39 +80,19 @@ 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 {} \;
-# KiCad 4.0.5 cannot be compiled with boost 1.61 and higher since the latter requires C++11.
-# If you insist to use boost 1.61 and higher, you can apply this patch manually and compile
-# with a C++11 capable compiler and its appropriate compiler switches.
-#patch -p1 --verbose < $CWD/boost-1.61.patch
-
-# KiCad 5.1.2 patch:
-patch -p1 --verbose < $CWD/kicad_boost_hdr.patch
-
-# Additional notes:
-#
-# - wxWidgets and wxPython use different toolkits (gtk2 vs (gtk2-unicode)). It
-# will result in a broken build. Please either install wxPython built using
-# gtk2 or add '-DKICAD_SCRIPTING_WXPYTHON=OFF' to cmake parameters to disable
-# wxPython support.
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DKICAD_DOCS=/usr/doc/$PRGNAM-$VERSION \
-DKICAD_PLUGINS=/usr/lib${LIBDIRSUFFIX}/$PRGNAM/plugins \
- -DKICAD_STABLE_VERSION=ON \
- -DKICAD_SKIP_BOOST=ON \
- -DKICAD_SCRIPTING=ON \
- -DKICAD_SCRIPTING_MODULES=ON \
-DKICAD_SCRIPTING_WXPYTHON=ON \
- -DKICAD_USE_SPICE=ON \
- -DKICAD_USE_OCC=ON \
- -DKICAD_USE_OCE=OFF \
+ -DKICAD_USE_EGL=ON \
-DCMAKE_BUILD_TYPE=Release ..
- make VERBOSE=1
+ make
make install DESTDIR=$PKG
cd ..
@@ -112,7 +100,9 @@ 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 *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS.txt *.md LICENSE* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -120,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kicad/kicad.info b/development/kicad/kicad.info
index db640050a1..a8f61628ec 100644
--- a/development/kicad/kicad.info
+++ b/development/kicad/kicad.info
@@ -1,10 +1,10 @@
PRGNAM="kicad"
-VERSION="5.1.5"
-HOMEPAGE="http://kicad-pcb.org"
-DOWNLOAD="https://launchpad.net/kicad/5.0/5.1.5/+download/kicad-5.1.5.tar.xz"
-MD5SUM="58e884272563e4636c9b83c275eea637"
+VERSION="8.0"
+HOMEPAGE="https://kicad.org"
+DOWNLOAD="https://gitlab.com/kicad/code/kicad/-/archive/8.0/kicad-8.0.tar.bz2"
+MD5SUM="301a2f31b038a78cb75dd537275c0f9b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxPython3 ngspice OpenCASCADE glm"
+REQUIRES="OpenCASCADE glm ngspice unixODBC wxPython4 wxWidgets libgit2"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/development/kicad/kicad_boost_hdr.patch b/development/kicad/kicad_boost_hdr.patch
deleted file mode 100644
index 10469b2210..0000000000
--- a/development/kicad/kicad_boost_hdr.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Add missing "boost/version.hpp" before version checking macro
-<https://github.com/Kawashima-Azumi/kicad-source-mirror/commit/0921e66957971796285c5a47f64678a78c84dcec>
-diff --git a/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h b/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h
-index 08ae0b949..72314d56a 100644
---- a/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h
-+++ b/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h
-@@ -24,6 +24,7 @@
- #ifndef UNIT_TEST_UTILS__H
- #define UNIT_TEST_UTILS__H
-
-+#include <boost/version.hpp>
- #include <boost/test/test_case_template.hpp>
- #include <boost/test/unit_test.hpp>
-
diff --git a/development/kiwi/kiwi.SlackBuild b/development/kiwi/kiwi.SlackBuild
index 17b4d11739..98b5956765 100644
--- a/development/kiwi/kiwi.SlackBuild
+++ b/development/kiwi/kiwi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kiwi
@@ -22,20 +22,30 @@
# 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=kiwi
VERSION=${VERSION:-1.9.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -67,4 +77,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kodespel/README b/development/kodespel/README
new file mode 100644
index 0000000000..6d6fcf6724
--- /dev/null
+++ b/development/kodespel/README
@@ -0,0 +1,8 @@
+kodespel (spell-checker for source code)
+
+kodespel is a spellchecker for source code. kodespel's nifty trick
+is that it knows how to split common programming identifiers like
+'getAllStuff' or 'DoThingsNow' or 'num_objects' or 'HTTPResponse' into
+words, feed those to ispell, and interpret ispell's output.
+
+See also: codespell (same concept, different implementation).
diff --git a/development/kodespel/git2tarxz.sh b/development/kodespel/git2tarxz.sh
new file mode 100644
index 0000000000..c7169b5e27
--- /dev/null
+++ b/development/kodespel/git2tarxz.sh
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version number.
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+# Version number example: 0.0.1+20200227_ad7ec17
+
+# Notes:
+
+# Do not use this if you're packaging a release.
+
+# This script doesn't need to be run as root. It does need to be able
+# to write to the current directory it's run from.
+
+# Running this script twice for the same commit will NOT give identical
+# tarballs, even if the contents are identical. This is because tar
+# includes the current time in a newly-created tarball (plus there may
+# be other git-related reasons).
+
+# Once you've generated a tarball, you'll still need a place to host it.
+# Ask on the mailing list, if you don't have your own web server to
+# play with.
+
+## Config:
+
+PRGNAM=kodespel
+CLONE_URL=https://github.com/gward/kodespel
+
+## End of config.
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERTAG=$( git tag -l | tail -1 )
+
+VERSION=${VERTAG}+${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=\"$VERSION\""
+echo "MD5SUM=\"$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )\""
diff --git a/development/kodespel/kodespel.1 b/development/kodespel/kodespel.1
new file mode 100644
index 0000000000..6f58b9cde3
--- /dev/null
+++ b/development/kodespel/kodespel.1
@@ -0,0 +1,257 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "KODESPEL" 1 "2023-01-16" "0.1.1+20220227_e0095c7" "SlackBuilds.org"
+.SH NAME
+kodespel \- spell-checker for source code
+.\" RST source for kodespel(1) man page. Convert with:
+.
+.\" rst2man.py kodespel.rst > kodespel.1
+.
+.SH SYNOPSIS
+.sp
+kodespel [\fB\-d\fP \fIdictionary\fP] \fIfile\fP [\fIfile\fP ...]
+.sp
+kodespel \fB\-\-list\-dicts\fP
+.SH DESCRIPTION
+.sp
+kodespel is a spellchecker for source code. kodespel\(aqs nifty trick
+is that it knows how to split common programming identifiers like
+\(aqgetAllStuff\(aq or \(aqDoThingsNow\(aq or \(aqnum_objects\(aq or \(aqHTTPResponse\(aq into
+words, feed those to \fBispell\fP(1), and interpret ispell\(aqs output.
+.sp
+Basic usage is to run kodespel on one or more individual files
+or directories:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+kodespel foo.py main.go README.md
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+kodespel uses a collection of dictionaries to spellcheck each file.
+It always uses the \fBbase\fP dictionary, which is a set of words
+common in source code across languages and platforms. Additionally,
+there is a language\-specific dictionary for each language kodespel
+knows about. Language\-specific dictionaries are automatically chosen
+for you.
+.sp
+In this example, kodespell will spellcheck each file with:
+.INDENT 0.0
+.INDENT 3.5
+.INDENT 0.0
+.IP \(bu 2
+\fBfoo.py\fP: dictionaries \fBbase\fP and \fBpython\fP
+.IP \(bu 2
+\fBmain.go\fP: dictionaries \fBbase\fP and \fBgo\fP
+.IP \(bu 2
+\fBREADME.md\fP: dictionary \fBbase\fP only (no language dictionary for Markdown)
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.sp
+If run on a directory, kodespel will recurse into that directory
+and spellcheck every file that it recognizes:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+kodespel src/
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+will search for \fB*.py\fP, \fB*.c\fP, \fB*.h\fP, and any other
+extension that kodespel has built\-in support for.
+(Currently: Python, Perl, Go, C, C++, and Java).
+Unsupported files are ignored, but if you pass those filenames
+explicitly, they will be checked.
+.INDENT 0.0
+.INDENT 3.5
+Note: the SlackBuilds.org package of \fBkodespel\fP includes a
+\fBsbo\fP dictionary. It will only be used if you enable it
+with \fB\-d sbo\fP\&.
+.UNINDENT
+.UNINDENT
+.sp
+kodespel ships with several other common dictionaries.
+For example, if the program you are spellchecking uses
+a lot of Unix system calls, you would add the \fBunix\fP dictionary:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+kodespel \-d unix foo.py main.go README.md
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+The \fB\-d\fP option applies to every file being checked.
+.sp
+To see the list of all builtin dictionaries, run:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+kodespel \-\-list\-dicts
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Finally, you can create your own dictionaries,
+and use as many of them as you like.
+A dictionary is a plain text file with one word per line:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+$ cat myproject.dict
+nargs
+args
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+You can specify your personal dictionaries with \fB\-d\fP,
+just like kodespel\(aqs builtin dictionaries:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+kodespel \-d unix \-d myproject.dict foo.py ...
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-h\fP,\fB \-\-help
+Show built\-in help and exit.
+.TP
+.B \-a\fP,\fB \-\-all
+Report every single misspelling [default: \fB\-\-unique\fP].
+.TP
+.B \-u\fP,\fB \-\-unique
+Report each misspelling only once [default].
+.TP
+.BI \-d \ dict\fR,\fB \ \-\-dictionary\fB= dict
+Use this dictionary. \fIdict\fP may be a filename or a dictionary name. Use
+multiple times to include multiple dictionaries.
+.TP
+.B \-\-list\-dicts
+List available dictionaries and exit.
+.TP
+.B \-\-dump\-dict
+Build custom dictionary (respecting \fB\-d\fP options).
+.TP
+.BI \-\-make\-dict\fB= dictfile
+Write unknown words to \fIdictfile\fP\&.
+.TP
+.BI \-i \ string\fR,\fB \ \-\-ignore\fB= regex
+Ignore any words matching \fIregex\fP\&.
+.TP
+.B \-C\fP,\fB \-\-compound
+Allow compound words (e.g. \fBgetall\fP) [default].
+.TP
+.B \-\-no\-compound
+Do not allow compound words
+.TP
+.BI \-W \ N\fR,\fB \ \-\-wordlen\fB= N
+Ignore words with <= \fIN\fP characters [default: 3].
+.UNINDENT
+.SH EXIT STATUS
+.INDENT 0.0
+.IP \(bu 2
+\fB0\fP \- success; no misspellings found.
+.IP \(bu 2
+\fB1\fP \- at least one misspelling found \fIor\fP there was an error reading
+one or more input file (including encoding errors for non\-UTF8 files).
+.IP \(bu 2
+\fB2\fP \- invalid command line option(s).
+.UNINDENT
+.SH FILES
+.INDENT 0.0
+.TP
+.B \fB/usr/share/kodespel/\fP
+The default dictionaries are stored here.
+.UNINDENT
+.SH LIMITATIONS
+.sp
+\fBkodespel\fP has no option to read from standard input. However, on Linux,
+you can run \fBkodespel\fP \fB/dev/stdin\fP\&.
+.sp
+\fBkodespel\fP can only handle \fBUTF\-8\fP encoding (which includes 7\-bit \fBASCII\fP).
+It will choke on files that use e.g. \fBISO\-8859\fP encoding.
+.sp
+\fBkodespel\fP writes its output to \fBstderr\fP, not \fBstdout\fP\&. This makes
+it difficult to use it from a script. Try e.g:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+kodespel <args> 2>&1 | <command>
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Also, if you get exit status 1, you can\(aqt tell if that\(aqs an actual error
+or misspellings were found, without examining the actual output.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/kodespel\-0.1.1+20220227_e0095c7/LICENSE.txt for license information.
+.SH AUTHORS
+.sp
+kodespel was written by Greg Ward.
+.sp
+This man page written (mostly copied and adapted from README.md and
+the \-\-help output) for the SlackBuilds.org project by B. Watson, and
+is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The kodespel homepage: \fI\%https://pypi.org/project/kodespel/\fP
+.sp
+\fBcodespell\fP(1)
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/kodespel/kodespel.SlackBuild b/development/kodespel/kodespel.SlackBuild
new file mode 100644
index 0000000000..bee923f873
--- /dev/null
+++ b/development/kodespel/kodespel.SlackBuild
@@ -0,0 +1,71 @@
+#!/bin/bash
+
+# Slackware build script for kodespel
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# I'm using a git snapshot rather than the 0.1.1 release because the
+# release has 2 fairly major issues:
+# - It can't read from standard input even with /dev/stdin as a filename.
+# - Its error handling is broken in some cases (e.g. -d with a nonexistent
+# dictionary/file) and prints a python stack trace rather than a meaningful
+# error message.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=kodespel
+VERSION=${VERSION:-0.1.1+20220227_e0095c7}
+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 $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 {} \+
+
+python3 setup.py install --root=$PKG
+
+# man page by SlackBuild author (adapted from README.md and --help).
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+# bonus dictionary for SlackBuilds (nowhere near complete though).
+cat $CWD/sbo.dict > $PKG/usr/share/$PRGNAM/sbo.dict
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE* README* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kodespel/kodespel.info b/development/kodespel/kodespel.info
new file mode 100644
index 0000000000..1e00da9b2f
--- /dev/null
+++ b/development/kodespel/kodespel.info
@@ -0,0 +1,10 @@
+PRGNAM="kodespel"
+VERSION="0.1.1+20220227_e0095c7"
+HOMEPAGE="https://pypi.org/project/kodespel/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/kodespel-0.1.1+20220227_e0095c7.tar.xz"
+MD5SUM="59e11ff81b65da2834cee44567bc80f1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/kodespel/kodespel.rst b/development/kodespel/kodespel.rst
new file mode 100644
index 0000000000..02483ad2cd
--- /dev/null
+++ b/development/kodespel/kodespel.rst
@@ -0,0 +1,180 @@
+.. RST source for kodespel(1) man page. Convert with:
+.. rst2man.py kodespel.rst > kodespel.1
+
+.. |version| replace:: 0.1.1+20220227_e0095c7
+.. |date| date::
+
+========
+kodespel
+========
+
+-----------------------------
+spell-checker for source code
+-----------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+kodespel [**-d** *dictionary*] *file* [*file* ...]
+
+kodespel **--list-dicts**
+
+DESCRIPTION
+===========
+
+kodespel is a spellchecker for source code. kodespel's nifty trick
+is that it knows how to split common programming identifiers like
+'getAllStuff' or 'DoThingsNow' or 'num_objects' or 'HTTPResponse' into
+words, feed those to **ispell**\(1), and interpret ispell's output.
+
+Basic usage is to run kodespel on one or more individual files
+or directories::
+
+ kodespel foo.py main.go README.md
+
+kodespel uses a collection of dictionaries to spellcheck each file.
+It always uses the **base** dictionary, which is a set of words
+common in source code across languages and platforms. Additionally,
+there is a language-specific dictionary for each language kodespel
+knows about. Language-specific dictionaries are automatically chosen
+for you.
+
+In this example, kodespell will spellcheck each file with:
+
+ * **foo.py**: dictionaries **base** and **python**
+ * **main.go**: dictionaries **base** and **go**
+ * **README.md**: dictionary **base** only (no language dictionary for Markdown)
+
+If run on a directory, kodespel will recurse into that directory
+and spellcheck every file that it recognizes::
+
+ kodespel src/
+
+will search for **\*.py**, **\*.c**, **\*.h**, and any other
+extension that kodespel has built-in support for.
+(Currently: Python, Perl, Go, C, C++, and Java).
+Unsupported files are ignored, but if you pass those filenames
+explicitly, they will be checked.
+
+ Note: the SlackBuilds.org package of **kodespel** includes a
+ **sbo** dictionary. It will only be used if you enable it
+ with **-d sbo**.
+
+kodespel ships with several other common dictionaries.
+For example, if the program you are spellchecking uses
+a lot of Unix system calls, you would add the **unix** dictionary::
+
+ kodespel -d unix foo.py main.go README.md
+
+The **-d** option applies to every file being checked.
+
+To see the list of all builtin dictionaries, run::
+
+ kodespel --list-dicts
+
+Finally, you can create your own dictionaries,
+and use as many of them as you like.
+A dictionary is a plain text file with one word per line::
+
+ $ cat myproject.dict
+ nargs
+ args
+
+You can specify your personal dictionaries with **-d**,
+just like kodespel's builtin dictionaries::
+
+ kodespel -d unix -d myproject.dict foo.py ...
+
+OPTIONS
+=======
+
+-h, --help
+ Show built-in help and exit.
+
+-a, --all
+ Report every single misspelling [default: **--unique**].
+
+-u, --unique
+ Report each misspelling only once [default].
+
+-d dict, --dictionary=dict
+ Use this dictionary. *dict* may be a filename or a dictionary name. Use
+ multiple times to include multiple dictionaries.
+
+--list-dicts
+ List available dictionaries and exit.
+
+--dump-dict
+ Build custom dictionary (respecting **-d** options).
+
+--make-dict=dictfile
+ Write unknown words to *dictfile*.
+
+-i string, --ignore=regex
+ Ignore any words matching *regex*.
+
+-C, --compound
+ Allow compound words (e.g. **getall**) [default].
+
+--no-compound
+ Do not allow compound words
+
+-W N, --wordlen=N
+ Ignore words with <= *N* characters [default: 3].
+
+EXIT STATUS
+===========
+
+* **0** - success; no misspellings found.
+* **1** - at least one misspelling found *or* there was an error reading
+ one or more input file (including encoding errors for non-UTF8 files).
+* **2** - invalid command line option(s).
+
+FILES
+=====
+
+**/usr/share/kodespel/**
+ The default dictionaries are stored here.
+
+LIMITATIONS
+===========
+
+**kodespel** has no option to read from standard input. However, on Linux,
+you can run **kodespel** **/dev/stdin**.
+
+**kodespel** can only handle **UTF-8** encoding (which includes 7-bit **ASCII**).
+It will choke on files that use e.g. **ISO-8859** encoding.
+
+**kodespel** writes its output to **stderr**, not **stdout**. This makes
+it difficult to use it from a script. Try e.g::
+
+ kodespel <args> 2>&1 | <command>
+
+Also, if you get exit status 1, you can't tell if that's an actual error
+or misspellings were found, without examining the actual output.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/kodespel-|version|/LICENSE.txt for license information.
+
+AUTHORS
+=======
+
+kodespel was written by Greg Ward.
+
+This man page written (mostly copied and adapted from README.md and
+the --help output) for the SlackBuilds.org project by B. Watson, and
+is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The kodespel homepage: https://pypi.org/project/kodespel/
+
+**codespell**\(1)
diff --git a/development/kodespel/sbo.dict b/development/kodespel/sbo.dict
new file mode 100644
index 0000000000..e37e84ebfb
--- /dev/null
+++ b/development/kodespel/sbo.dict
@@ -0,0 +1,19 @@
+chmod
+chown
+dirname
+elif
+esac
+gzip
+kodespel
+libdirsuffix
+makepkg
+mtune
+perm
+pkgdoc
+pkgtype
+prgnam
+sbin
+slkcflags
+uname
+urchlay
+wtfpl
diff --git a/development/kodespel/slack-desc b/development/kodespel/slack-desc
new file mode 100644
index 0000000000..add677ea5c
--- /dev/null
+++ b/development/kodespel/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------------------------------------------------------|
+kodespel: kodespel (spell-checker for source code)
+kodespel:
+kodespel: kodespel is a spellchecker for source code. kodespel's nifty trick
+kodespel: is that it knows how to split common programming identifiers like
+kodespel: 'getAllStuff' or 'DoThingsNow' or 'num_objects' or 'HTTPResponse' into
+kodespel: words, feed those to ispell, and interpret ispell's output.
+kodespel:
+kodespel:
+kodespel:
+kodespel:
+kodespel:
diff --git a/development/komodo-edit/komodo-edit.SlackBuild b/development/komodo-edit/komodo-edit.SlackBuild
index 036258ba7c..2cea1bc3ef 100644
--- a/development/komodo-edit/komodo-edit.SlackBuild
+++ b/development/komodo-edit/komodo-edit.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Komodo Edit
-# Copyright 2014-2016 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# Copyright 2014-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,14 @@
# 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=komodo-edit
-VERSION=${VERSION:-11.1.0}
+VERSION=${VERSION:-12.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -40,6 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "x86_64" ]; then
PKG_ARCH=x86_64
else
@@ -81,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/komodo-edit/komodo-edit.info b/development/komodo-edit/komodo-edit.info
index c8ab209181..145c858848 100644
--- a/development/komodo-edit/komodo-edit.info
+++ b/development/komodo-edit/komodo-edit.info
@@ -1,10 +1,10 @@
PRGNAM="komodo-edit"
-VERSION="11.1.0"
+VERSION="12.0.1"
HOMEPAGE="http://komodoide.com/komodo-edit/"
-DOWNLOAD="http://downloads.activestate.com/Komodo/releases/11.1.0/Komodo-Edit-11.1.0-18196-linux-x86.tar.gz"
-MD5SUM="77922e0db68d328a5ef721505b1ae306"
-DOWNLOAD_x86_64="http://downloads.activestate.com/Komodo/releases/11.1.0/Komodo-Edit-11.1.0-18196-linux-x86_64.tar.gz"
-MD5SUM_x86_64="08daadcdae9c49e7b31847e719b0da89"
+DOWNLOAD="https://downloads.activestate.com/Komodo/releases/12.0.1/Komodo-Edit-12.0.1-18441-linux-x86.tar.gz"
+MD5SUM="db12d929ca92c5b9fdc5463688a90a03"
+DOWNLOAD_x86_64="https://downloads.activestate.com/Komodo/releases/12.0.1/Komodo-Edit-12.0.1-18441-linux-x86_64.tar.gz"
+MD5SUM_x86_64="95822bb59e0114e2cd5a873fb5856092"
REQUIRES=""
MAINTAINER="Giuseppe Di Terlizzi"
EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/development/komodo-ide/komodo-ide.SlackBuild b/development/komodo-ide/komodo-ide.SlackBuild
index 98f8627080..0d5f697928 100644
--- a/development/komodo-ide/komodo-ide.SlackBuild
+++ b/development/komodo-ide/komodo-ide.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Komodo IDE
-# Copyright 2014-2016 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# Copyright 2014-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,14 @@
# 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=komodo-ide
-VERSION=${VERSION:-11.1.0}
+VERSION=${VERSION:-12.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -40,6 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "x86_64" ]; then
PKG_ARCH=x86_64
else
@@ -81,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/komodo-ide/komodo-ide.info b/development/komodo-ide/komodo-ide.info
index 529031d2ee..c8c5654498 100644
--- a/development/komodo-ide/komodo-ide.info
+++ b/development/komodo-ide/komodo-ide.info
@@ -1,10 +1,10 @@
PRGNAM="komodo-ide"
-VERSION="11.1.0"
+VERSION="12.0.1"
HOMEPAGE="http://komodoide.com/"
-DOWNLOAD="http://downloads.activestate.com/Komodo/releases/11.1.0/Komodo-IDE-11.1.0-91033-linux-x86.tar.gz"
-MD5SUM="0da608bdace7f4f7d9843bfc03fd4e39"
-DOWNLOAD_x86_64="http://downloads.activestate.com/Komodo/releases/11.1.0/Komodo-IDE-11.1.0-91033-linux-x86_64.tar.gz"
-MD5SUM_x86_64="848c4c666b34c5fb1d6ef36f04cd9e98"
+DOWNLOAD="https://downloads.activestate.com/Komodo/releases/12.0.1/Komodo-IDE-12.0.1-91869-linux-x86.tar.gz"
+MD5SUM="181ec22fc2691abc88c4c4327c95fe8a"
+DOWNLOAD_x86_64="https://downloads.activestate.com/Komodo/releases/12.0.1/Komodo-IDE-12.0.1-91869-linux-x86_64.tar.gz"
+MD5SUM_x86_64="d66e3d445fbff6873f5f7b93bada68af"
REQUIRES=""
MAINTAINER="Giuseppe Di Terlizzi"
EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/development/kompozer/kompozer.SlackBuild b/development/kompozer/kompozer.SlackBuild
index bc21a220cb..56dcdef028 100644
--- a/development/kompozer/kompozer.SlackBuild
+++ b/development/kompozer/kompozer.SlackBuild
@@ -1,18 +1,28 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kompozer
# Written by Giovanne Castro <giovannefc@ig.com.br>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kompozer
VERSION=${VERSION:-0.8b3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# No flags/configure needed as it is just a binary repackaging.
ARCH=i686
-CWD=$(pwd)
+# 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}
@@ -77,4 +87,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kotlin/kotlin.SlackBuild b/development/kotlin/kotlin.SlackBuild
index eb9b3cec2f..db467e97a6 100644
--- a/development/kotlin/kotlin.SlackBuild
+++ b/development/kotlin/kotlin.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kotlin
-# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2017-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,15 +22,22 @@
# 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=kotlin
SRCNAM=kotlin-compiler
-VERSION=${VERSION:-1.4.10}
+VERSION=${VERSION:-1.9.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+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}
@@ -73,4 +80,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/kotlin/kotlin.info b/development/kotlin/kotlin.info
index dde6a7a261..fed61d9990 100644
--- a/development/kotlin/kotlin.info
+++ b/development/kotlin/kotlin.info
@@ -1,10 +1,10 @@
PRGNAM="kotlin"
-VERSION="1.4.10"
+VERSION="1.9.23"
HOMEPAGE="https://kotlinlang.org/"
-DOWNLOAD="https://github.com/JetBrains/kotlin/releases/download/v1.4.10/kotlin-compiler-1.4.10.zip"
-MD5SUM="2c05c656026308160cd7d8ca84967609"
+DOWNLOAD="https://github.com/JetBrains/kotlin/releases/download/v1.9.23/kotlin-compiler-1.9.23.zip"
+MD5SUM="737f1c4de43970cdfda915e311128f49"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk setconf"
+REQUIRES="zulu-openjdk8 setconf"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/latrace/fix-scanner-config-for-flex-2.6.x.patch b/development/latrace/fix-scanner-config-for-flex-2.6.x.patch
new file mode 100644
index 0000000000..301f4c5a96
--- /dev/null
+++ b/development/latrace/fix-scanner-config-for-flex-2.6.x.patch
@@ -0,0 +1,23 @@
+--- src/config-flex.l.orig 2011-07-25 07:18:18.000000000 -0400
++++ src/config-flex.l 2017-07-02 13:52:20.048382500 -0400
+@@ -106,19 +106,17 @@ OPTIONS { BEGIN(options); return OPTI
+ <options>"\n" { NEW_LINE(); }
+ <options>. { ; }
+
+ %%
+
+-#ifndef yywrap
+-int yywrap()
++int lt_config_wrap()
+ {
+ return 1;
+ /* XXX not to get the compiler 'not used' warning */
+ yyunput(0, NULL);
+ input();
+ }
+-#endif
+
+ void lt_config_error(const char *m)
+ {
+ printf("conf file [%s] line %d: %s\n",
+ lt_inc_stack(lt_config_sinc)->file,
diff --git a/development/latrace/latrace.SlackBuild b/development/latrace/latrace.SlackBuild
index 899601c4e5..d820cfaa01 100644
--- a/development/latrace/latrace.SlackBuild
+++ b/development/latrace/latrace.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for latrace
@@ -9,26 +9,33 @@
# Updated by Peter Wang <novalazy@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=latrace
VERSION=${VERSION:-0.5.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -51,8 +58,11 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- -type d -exec chmod 0755 {} \; -o \
- -type f -exec chmod u+rw,go+r-w,a-s {} \;
+ -type d -exec chmod 0755 {} \+ -o \
+ -type f -exec chmod u+rw,go+r-w,a-s {} \+
+
+# Thanks archlinux!
+patch -p0 < $CWD/fix-scanner-config-for-flex-2.6.x.patch
autoconf
@@ -67,7 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+make -j1 # 20220330 bkw: parallel builds are broken
make install ROOTDIR=$PKG
# Let's not clobber the main config file, but the headers in
@@ -88,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/latrace/latrace.info b/development/latrace/latrace.info
index 6ed617a672..1f861bd924 100644
--- a/development/latrace/latrace.info
+++ b/development/latrace/latrace.info
@@ -1,7 +1,7 @@
PRGNAM="latrace"
VERSION="0.5.11"
HOMEPAGE="http://people.redhat.com/jolsa/latrace/"
-DOWNLOAD="http://people.redhat.com/jolsa/latrace/dl/latrace-0.5.11.tar.bz2"
+DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/latrace/latrace-0.5.11.tar.bz2/138457c7b9eaf3246eddb7856702cddf/latrace-0.5.11.tar.bz2"
MD5SUM="138457c7b9eaf3246eddb7856702cddf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/lazarus/README b/development/lazarus/README
index 962953e383..ef7e648b2d 100644
--- a/development/lazarus/README
+++ b/development/lazarus/README
@@ -1,6 +1,22 @@
+lazarus (rapid application development tool for freepascal)
+
Lazarus is a Rapid Application Development Tool for FreePascal. It
comes with the LCL - Lazarus Component Library, which contains platform
independent visual components like buttons, windows, checkbox, treeview
and many, many more. The LCL is platform independent, so you can write
an application once and then compile for various platforms without
changing code.
+
+By default this script builds lazarus with "gtk2" but it can instead
+use "qt5" by following these steps:
+
+1. build and install libqtpas from SlackBuilds.org
+2. build lazarus with the command:
+
+ LCL=qt5 ./lazarus.SlackBuild
+
+3. install lazarus
+
+Note: before installing lazarus 3.0 make sure first to remove any
+previous lazarus installation, then upgrading fpc to version 3.2.2
+build 3.
diff --git a/development/lazarus/doinst.sh b/development/lazarus/doinst.sh
index e4e6459838..9424ce43ff 100644
--- a/development/lazarus/doinst.sh
+++ b/development/lazarus/doinst.sh
@@ -6,3 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/lazarus/lazarus.SlackBuild b/development/lazarus/lazarus.SlackBuild
index a902601fa0..49821eec55 100644
--- a/development/lazarus/lazarus.SlackBuild
+++ b/development/lazarus/lazarus.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Lazarus IDE
-# Written by Andre Barboza <bmg.andre@gmail.com>
+# Maintained by Antonio Leal <antonioleal@yahoo.com>
+# Previously maintained by B. Watson <urchlay@slackware.uk>
+# Originally written by Andre Barboza <email removed>
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -21,17 +23,32 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20231229 ALe: Upgrade to Lazarus 3.0
+# - moved fpc-source to fpc package (with new option for the user to exclude it).
+# - added option to build lazarus with qt5 instead of gtk2.
+# - commented lhelp link correction as sbopkglint does not complain anymore.
+
+# 20220414 bkw: BUILD=2
+# - fix PRINT_PACKAGE_NAME when ARCH not set in environment.
+# - add gtk-update-icon-cache to doinst.sh.
+# - remove empty files from doc dir.
+# - fix broken symlink.
+
+# 20210905 bkw:
+# - take over maintenance
+# - update for v2.0.12
+# - get rid of fpc-source dep; include the source in this package
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lazarus
-VERSION=${VERSION:-2.0.6}
+VERSION=${VERSION:-3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
LCL=${LCL:-gtk2}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OPT=${OPT:--v000}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,6 +57,15 @@ if [ -z "$ARCH" ]; then
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" != "x86_64" ] && [ "$ARCH" != "i586" ] && [ "$ARCH" != "i686" ]; then
printf "\nThis won't build on $ARCH.\n\n"
exit 1
@@ -47,24 +73,30 @@ fi
set -e
+fixperms() {
+ chown -R root:root .
+ find -L . -type l -o \
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+}
+
+# extract source tarball
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-0.tar.gz
cd $PRGNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# fix permssions
+fixperms
+
+# patch things up
sed -i -e 's:share/man:man:' install/man/Makefile
# Compilation doesn't need ./configure
make clean
-make -j1 all \
+make -j1 bigide \
PREFIX=/usr \
LCL_PLATFORM=${LCL} \
OPT=${OPT}
@@ -78,23 +110,44 @@ make install \
ln -sf ../share/lazarus/lazbuild
ln -sf ../share/lazarus/startlazarus
)
+# add link to lazarus-ide man page
+( cd $PKG/usr/man/man1
+ ln -sf lazarus-ide.1.gz lazarus.1.gz
+)
-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
+# strip binaries and libraries
+find $PKG -print0 -type f -a -perm /111 | \
+ xargs -0 file -m /etc/file/magic/elf | \
+ grep -e "executable" -e "shared object" | \
+ grep ELF | \
+ cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
-# Install desktop file, icon, and mime entry
+# install desktop file, icon, and mime entry
mkdir -p $PKG/usr/share/{applications,pixmaps,mime/packages}
cat install/lazarus.desktop > $PKG/usr/share/applications/lazarus.desktop
cat images/ide_icon48x48.png > $PKG/usr/share/pixmaps/lazarus.png
cat install/lazarus-mime.xml > $PKG/usr/share/mime/packages/lazarus-mime.xml
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ra COPYING* README.txt docs/* examples/ $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# copy documentation and examples
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -ra COPYING* README.md docs/* examples/ $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+rm -f $PKGDOC/INSTALL.txt
+find $PKGDOC -depth -type d -empty -delete
+
+# 20220414 bkw: this symlink is mistargeted... fixed, and don't freak out
+# if sbopkglint complains about a filesystem loop (there really is one).
+# 20231229 ALe: sbopkglint does not complain anymore
+#rm -f $PKG/usr/share/lazarus/components/chmhelp/lhelp/lhelp.app/Contents/MacOS/lhelp
+#ln -s ../../../../lhelp $PKG/usr/share/lazarus/components/chmhelp/lhelp/lhelp.app/Contents/MacOS/lhelp
+# build package
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lazarus/lazarus.info b/development/lazarus/lazarus.info
index 2f094c1ea1..0c54dd2093 100644
--- a/development/lazarus/lazarus.info
+++ b/development/lazarus/lazarus.info
@@ -1,10 +1,10 @@
PRGNAM="lazarus"
-VERSION="2.0.6"
+VERSION="3.2"
HOMEPAGE="http://www.lazarus.freepascal.org/"
-DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-2.0.6.tar.gz"
-MD5SUM="2e7006ae8af2c52f7e4db0039bf1c6af"
+DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-3.2-0.tar.gz"
+MD5SUM="75b871d4d19d08570d2f282b0d8fed0e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fpc fpc-source"
-MAINTAINER="Capi X."
-EMAIL="capi_x@haibane.org"
+REQUIRES="fpc"
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/lazarus/slack-desc b/development/lazarus/slack-desc
index e6b8d70594..8872f667bc 100644
--- a/development/lazarus/slack-desc
+++ b/development/lazarus/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-lazarus: lazarus (Rapid Application Development Tool for FreePascal)
+lazarus: lazarus (rapid application development tool for freepascal)
lazarus:
lazarus: Lazarus is a Rapid Application Development Tool for FreePascal.
lazarus: It comes with the LCL - Lazarus component library, which contains
diff --git a/development/lcov/lcov.SlackBuild b/development/lcov/lcov.SlackBuild
index 2a733a0b12..6a71935838 100644
--- a/development/lcov/lcov.SlackBuild
+++ b/development/lcov/lcov.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lcov
@@ -22,13 +22,23 @@
# 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=lcov
-VERSION=${VERSION:-1.14}
+VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -54,11 +64,11 @@ 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 CHANGES CONTRIBUTING COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lcov/lcov.info b/development/lcov/lcov.info
index f8a9e8642a..7b1149258f 100644
--- a/development/lcov/lcov.info
+++ b/development/lcov/lcov.info
@@ -1,8 +1,8 @@
PRGNAM="lcov"
-VERSION="1.14"
-HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
-DOWNLOAD="http://downloads.sourceforge.net/ltp/lcov-1.14.tar.gz"
-MD5SUM="0220d01753469f83921f8f41ae5054c1"
+VERSION="1.16"
+HOMEPAGE="https://github.com/linux-test-project/lcov"
+DOWNLOAD="https://github.com/linux-test-project/lcov/archive/v1.16/lcov-1.16.tar.gz"
+MD5SUM="b3f7697c11677c48f8d71dcbd2a4ebdd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/ldc/README b/development/ldc/README
new file mode 100644
index 0000000000..1f3c111937
--- /dev/null
+++ b/development/ldc/README
@@ -0,0 +1,6 @@
+The LDC project aims to provide a portable D programming language
+compiler with modern optimization and code generation capabilities.
+The compiler uses the official DMD frontend to support the latest D2
+version and relies on the LLVM Core libraries for code generation.
+LDC is fully Open Source; the parts of the code not taken/adapted from
+other projects are BSD-licensed.
diff --git a/development/ldc/ldc.SlackBuild b/development/ldc/ldc.SlackBuild
new file mode 100644
index 0000000000..e624dd2391
--- /dev/null
+++ b/development/ldc/ldc.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for ldc
+
+# Copyright 2022 Damian Perticone, Berisso, Argentina
+# 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=ldc
+SRCNAM=ldc-1.30.0-src
+VERSION=${VERSION:-1.30.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 $SRCNAM
+tar xvf $CWD/$SRCNAM.tar.gz
+cd $SRCNAM
+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 -GNinja \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \
+ -DBUILD_SHARED_LIBS=BOTH \
+ -DBUILD_LTO_LIBS=ON \
+ -DLDC_WITH_LLD=ON \
+ -DADDITIONAL_DEFAULT_LDC_SWITCHES="\"-link-defaultlib-shared\"" \
+ ..
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md LICENSE 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/development/ldc/ldc.info b/development/ldc/ldc.info
new file mode 100644
index 0000000000..7e8b72a629
--- /dev/null
+++ b/development/ldc/ldc.info
@@ -0,0 +1,10 @@
+PRGNAM="ldc"
+VERSION="1.30.0"
+HOMEPAGE="https://wiki.dlang.org/LDC"
+DOWNLOAD="https://github.com/ldc-developers/ldc/releases/download/v1.30.0/ldc-1.30.0-src.tar.gz"
+MD5SUM="871cec3741a884ff29f564175b919e4d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="dmd"
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/development/ldc/slack-desc b/development/ldc/slack-desc
new file mode 100644
index 0000000000..afccae070a
--- /dev/null
+++ b/development/ldc/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------------------------------------------------------|
+ldc: ldc (llvm-based D compiler)
+ldc:
+ldc: Ldc is a portable D programming language compiler with modern
+ldc: optimization and code generation capabilities.
+ldc:
+ldc:
+ldc:
+ldc:
+ldc:
+ldc: Home: https://wiki.dlang.org/LDC
+ldc:
diff --git a/development/ldns/ldns.SlackBuild b/development/ldns/ldns.SlackBuild
index d53a7bca2f..e0f34d56ec 100644
--- a/development/ldns/ldns.SlackBuild
+++ b/development/ldns/ldns.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2008, 2009 Eric Hameleers, Eindhoven, NL
# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN USA
@@ -33,10 +33,19 @@
# URL: http://www.nlnetlabs.nl/projects/ldns/
# -----------------------------------------------------------------------------
+# 20220308 bkw: Modified by SlackBuilds.org: fix build on 15.0:
+# - parallel makes are broken, use -j1.
+# - fix code that finds the /usr/share/vim/vimXX directory (it would
+# fail if there were more than one of them).
+# - add python3 support, inspired by Dave Woodfall.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ldns
VERSION=${VERSION:-1.7.1}
TAG=${TAG:-_SBo}
-BUILD=${BUILD:-1}
+PKGTYPE=${PKGTYPE:-tgz}
+BUILD=${BUILD:-2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -46,7 +55,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -69,46 +82,70 @@ 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 {} \;
-
-CXXFLAGS="$SLKCFLAGS" \
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --includedir=/usr/include \
- --localstatedir=/var \
- --sysconfdir=/etc \
- --mandir=/usr/man \
- --disable-static \
- --enable-rrtype-ninfo \
- --enable-rrtype-rkey \
- --enable-rrtype-ta \
- --enable-rrtype-avc \
- --disable-rpath \
- --disable-dane-verify \
- --with-drill \
- --with-examples \
- --with-pyldns \
- --with-pyldnsx \
- --with-p5-dns-ldns \
- --with-ca-path=/etc/ssl/certs \
- --with-ca-file=/etc/ssl/certs/ca-certificates.crt \
- --with-trust-anchor=/etc/$PRGNAM/root.key \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG INSTALLVENDORMAN3DIR=/usr/man/man3 INSTALLDIRS=vendor
-python -m compileall $PKG/usr/lib*/python*/site-packages
+
+buildit() {
+ local pyver="$1"
+ local perlflag="$2"
+
+ 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 {} \+
+
+ PYTHON=/usr/bin/python$pyver \
+ CXXFLAGS="$SLKCFLAGS" \
+ CFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --includedir=/usr/include \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-rrtype-ninfo \
+ --enable-rrtype-rkey \
+ --enable-rrtype-ta \
+ --enable-rrtype-avc \
+ --disable-rpath \
+ --disable-dane-verify \
+ --with-drill \
+ --with-examples \
+ --with-pyldns \
+ --with-pyldnsx \
+ $perlflag \
+ --with-ca-path=/etc/ssl/certs \
+ --with-ca-file=/etc/ssl/certs/ca-certificates.crt \
+ --with-trust-anchor=/etc/$PRGNAM/root.key \
+ --build=$ARCH-slackware-linux
+
+ make -j1
+ make install DESTDIR=$PKG INSTALLVENDORMAN3DIR=/usr/man/man3 INSTALLDIRS=vendor
+}
+
+# 20220308 bkw: python version is either/or. to include support for
+# python2 and python3 in the same package, we have to build everything
+# twice. first time around, build python2 support, and skip the perl stuff.
+buildit 2 --without-p5-dns-ldns
+
+# 20220308 bkw: hang onto the python stuff, blow everything else away.
+mkdir -p $PKG/.keep
+mv $PKG/usr/lib*/python2* $PKG/.keep
+rm -rf $PKG/usr
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
+mv $PKG/.keep/* $PKG/usr/lib$LIBDIRSUFFIX
+rm -rf $PKG/.keep
+python -m compileall $PKG/usr/lib*/python2*/site-packages
+
+# 20220308 bkw: now do it over again, with python 3 and perl.
+buildit 3 --with-p5-dns-ldns
+python3 -m compileall $PKG/usr/lib*/python3*/site-packages
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
@@ -124,17 +161,23 @@ sed -n '/Zone/,$p' $CWD/root-anchors.xml | sed -e 's|<[^>]*>||g' | \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a Changelog LICENSE README* doc/TODO $PKG/usr/doc/$PRGNAM-$VERSION
-mkdir -p $PKG/$(find /usr/share/vim -type d -name "vim[0-9]*")/syntax
-install -m 0644 libdns.vim \
- $PKG/$(find /usr/share/vim -type d -name "vim[0-9]*")/syntax/$PRGNAM.vim
+# 20220308 bkw: it's fully possible for there to be multiple
+# /usr/share/vim/vim<version> directories. For one thing, if vim gets
+# upgraded while this package is installed... so go with what we hope
+# is the highest-numbered vim version here.
+VIMDIR="$(find /usr/share/vim -type d -name "vim[0-9]*" | sort | tail -1)/syntax"
+mkdir -p $PKG/$VIMDIR
+install -m 0644 libdns.vim $PKG/$VIMDIR/$PRGNAM.vim
find $PKG -type f -perm 444 -exec chmod 0644 '{}' \;
find $PKG/usr/man -type f -exec gzip -9 {} \;
find $PKG -name "LDNS.so" -exec chmod 0755 {} \;
+rm -f $PKG/usr/lib*/*.la
+
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ldns/ldns.info b/development/ldns/ldns.info
index 3d6c29025b..35f0276b31 100644
--- a/development/ldns/ldns.info
+++ b/development/ldns/ldns.info
@@ -7,6 +7,6 @@ MD5SUM="166262a46995d9972aba417fd091acd5 \
9000e073302426bad33eb9a34eac72f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Test-Exception perl-Devel-CheckLib"
+REQUIRES="perl-Test-Exception"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja@gmail.com"
diff --git a/development/le/le.SlackBuild b/development/le/le.SlackBuild
index 357272b3d7..8f52a4159a 100644
--- a/development/le/le.SlackBuild
+++ b/development/le/le.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for le
-# Copyright 2014-2017 Zhu Quny-Ying
+# Copyright 2014-2022 Zhu Quny-Ying
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=le
-VERSION=${VERSION:-1.16.6}
+VERSION=${VERSION:-1.16.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -98,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/le/le.info b/development/le/le.info
index a7b3337954..d401368da1 100644
--- a/development/le/le.info
+++ b/development/le/le.info
@@ -1,8 +1,8 @@
PRGNAM="le"
-VERSION="1.16.6"
+VERSION="1.16.8"
HOMEPAGE="https://github.com/lavv17/le"
-DOWNLOAD="https://github.com/lavv17/le/archive/v1.16.6/le-1.16.6.tar.gz"
-MD5SUM="cb2bfa53175a676228676d730cc1c497"
+DOWNLOAD="https://github.com/lavv17/le/archive/v1.16.8/le-1.16.8.tar.gz"
+MD5SUM="94a24b344084324f07ab1a4fd3181fda"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gnulib"
diff --git a/development/lean-elan/README b/development/lean-elan/README
new file mode 100644
index 0000000000..ac103f4061
--- /dev/null
+++ b/development/lean-elan/README
@@ -0,0 +1,19 @@
+elan is a small tool for managing your installations of the Lean
+theorem prover. It places lean and lake binaries in your PATH that
+automatically select and, if necessary, download the Lean version
+described in your project's lean-toolchain file. You can also install,
+select, run, and uninstall Lean versions manually using the commands
+of the elan executable.
+
+elan is basically a fork of rustup. Apart from new features and
+adaptions to the Lean infrastructure, these are the basic changes to
+the original code:
+
+Replaced every mention of rustup with elan, cargo with lake, and
+rust(c) with lean Merged CARGO_HOME and RUSTUP_HOME Removed options to
+configure host triple
+
+Note: elan is one of the ways to manage Lean toolchains. The SB author
+cannot guarantee that it is the best one. Learning on the experience
+of other GNU/Linux distributions, it might be reasonable to have other
+packages from the lean-* package family in the future.
diff --git a/development/lean-elan/lean-elan.SlackBuild b/development/lean-elan/lean-elan.SlackBuild
new file mode 100644
index 0000000000..124b0c88f6
--- /dev/null
+++ b/development/lean-elan/lean-elan.SlackBuild
@@ -0,0 +1,202 @@
+#!/bin/bash
+
+# Slackware build script for lean-elan
+
+# Copyright 2023 Lockywolf
+# 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=lean-elan
+TARNAM=elan
+CMDNAM=elan-init
+VERSION=${VERSION:-3.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
+
+ if [ "$ARCH" = "i586" ]; then
+ if rustc -Vv | grep host | grep i686 > /dev/null ; then
+ ARCH=i686
+ fi
+ fi
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ CARGOTARGET=""
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $TARNAM-$VERSION
+tar xvf $CWD/$TARNAM-$VERSION.tar.gz
+cd $TARNAM-$VERSION/
+
+# build offline
+# configuration tells cargo to use the configured directory
+# for dependencies instead of downloading from crates.io
+rm -rf $TMP/$TARNAM-$VERSION/.cargo
+mkdir .cargo
+cat << EOF >> .cargo/config
+[source.crates-io]
+registry = 'https://github.com/rust-lang/crates.io-index'
+replace-with = 'vendored-sources'
+
+[source.vendored-sources]
+directory = '$(pwd)/vendor'
+EOF
+
+# deps and versions come from Cargo.lock
+mkdir vendor
+(
+ cd vendor
+
+ grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
+ sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
+ awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \
+ grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do
+
+ ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
+ dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
+
+ tar xvf $CWD/$dep-$ver.crate
+
+ touch $dep-$ver/.cargo-ok
+
+ # generate checksum
+ {
+ printf "{\n"
+ printf ' "files": {\n'
+
+ (
+ cd $dep-$ver
+ find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/'
+ ) | sed '$ s/,$//'
+
+ printf " },\n"
+ printf ' "package": "'
+
+ sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
+
+ printf "}\n"
+ } > $dep-$ver/.cargo-checksum.json
+ done
+)
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+export PATH="/opt/rust16/bin:$PATH"
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+fi
+
+CARGO_HOME=.cargo \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+cargo --verbose build --offline --release --features no-self-update --bin elan-init $CARGOTARGET
+
+mkdir -p $PKG/usr/bin/
+find target -name $CMDNAM -exec install -m 755 {} $PKG/usr/bin/$CMDNAM \;
+
+# mkdir -p $PKG/usr/share/applications
+# install -m 644 misc/$PRGNAM.desktop $PKG/usr/share/applications/
+
+# mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps
+# install -m 644 images/logo.svg $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
+
+# mkdir -p $PKG/usr/man/man1
+# install -m 644 misc/ncspot.1 $PKG/usr/man/man1/
+# gzip -9 $PKG/usr/man/man1/*
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE LICENSE-APACHE LICENSE-MIT CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# # Completions
+# mkdir -p $PKG/usr/share/bash-completion/completions
+# install -m 644 misc/$PRGNAM.bash $PKG/usr/share/bash-completion/completions
+# mkdir -p $PKG/usr/share/zsh/site-functions
+# install -m 644 misc/_$PRGNAM $PKG/usr/share/zsh/site-functions
+# # Only install the fish completions if fish is installed.
+# if [ -x /usr/bin/fish ]; then
+# mkdir -p $PKG/usr/share/fish/vendor_completions.d
+# install -m 644 misc/$PRGNAM.fish $PKG/usr/share/fish/vendor_completions.d
+# fi
+# # Keep files for fish, PowerShell and Elvish completions in the doc directory.
+# install -m 644 misc/$PRGNAM.fish $PKG/usr/doc/$PRGNAM-$VERSION
+# install -m 644 misc/_$PRGNAM.ps1 $PKG/usr/doc/$PRGNAM-$VERSION
+# install -m 644 misc/$PRGNAM.elv $PKG/usr/doc/$PRGNAM-$VERSION
+
+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/development/lean-elan/lean-elan.info b/development/lean-elan/lean-elan.info
new file mode 100644
index 0000000000..54dc71acd2
--- /dev/null
+++ b/development/lean-elan/lean-elan.info
@@ -0,0 +1,470 @@
+PRGNAM="lean-elan"
+VERSION="3.0.0"
+HOMEPAGE="https://github.com/leanprover/elan"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/leanprover/elan/archive/v3.0.0/elan-3.0.0.tar.gz \
+https://static.crates.io/crates/addr2line/addr2line-0.19.0.crate \
+https://static.crates.io/crates/adler/adler-1.0.2.crate \
+https://static.crates.io/crates/aes/aes-0.7.5.crate \
+https://static.crates.io/crates/aho-corasick/aho-corasick-1.0.1.crate \
+https://static.crates.io/crates/aligned/aligned-0.4.1.crate \
+https://static.crates.io/crates/ansi_term/ansi_term-0.12.1.crate \
+https://static.crates.io/crates/as-slice/as-slice-0.2.1.crate \
+https://static.crates.io/crates/atty/atty-0.2.14.crate \
+https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \
+https://static.crates.io/crates/backtrace/backtrace-0.3.67.crate \
+https://static.crates.io/crates/base64/base64-0.21.0.crate \
+https://static.crates.io/crates/base64ct/base64ct-1.0.1.crate \
+https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+https://static.crates.io/crates/block-buffer/block-buffer-0.10.4.crate \
+https://static.crates.io/crates/block-buffer/block-buffer-0.9.0.crate \
+https://static.crates.io/crates/bumpalo/bumpalo-3.12.1.crate \
+https://static.crates.io/crates/byteorder/byteorder-1.4.3.crate \
+https://static.crates.io/crates/bytes/bytes-1.4.0.crate \
+https://static.crates.io/crates/bzip2-sys/bzip2-sys-0.1.11+1.0.8.crate \
+https://static.crates.io/crates/bzip2/bzip2-0.4.4.crate \
+https://static.crates.io/crates/cc/cc-1.0.79.crate \
+https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+https://static.crates.io/crates/cipher/cipher-0.3.0.crate \
+https://static.crates.io/crates/clap/clap-2.34.0.crate \
+https://static.crates.io/crates/constant_time_eq/constant_time_eq-0.1.5.crate \
+https://static.crates.io/crates/core-foundation-sys/core-foundation-sys-0.8.4.crate \
+https://static.crates.io/crates/core-foundation/core-foundation-0.9.3.crate \
+https://static.crates.io/crates/cpufeatures/cpufeatures-0.2.7.crate \
+https://static.crates.io/crates/crc32fast/crc32fast-1.3.2.crate \
+https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.15.crate \
+https://static.crates.io/crates/crypto-common/crypto-common-0.1.6.crate \
+https://static.crates.io/crates/curl-sys/curl-sys-0.4.61+curl-8.0.1.crate \
+https://static.crates.io/crates/curl/curl-0.4.44.crate \
+https://static.crates.io/crates/cvt/cvt-0.1.2.crate \
+https://static.crates.io/crates/digest/digest-0.10.6.crate \
+https://static.crates.io/crates/digest/digest-0.9.0.crate \
+https://static.crates.io/crates/dirs-next/dirs-next-2.0.0.crate \
+https://static.crates.io/crates/dirs-sys-next/dirs-sys-next-0.1.2.crate \
+https://static.crates.io/crates/dirs-sys/dirs-sys-0.3.7.crate \
+https://static.crates.io/crates/dirs/dirs-3.0.2.crate \
+https://static.crates.io/crates/either/either-1.8.1.crate \
+https://static.crates.io/crates/encoding_rs/encoding_rs-0.8.32.crate \
+https://static.crates.io/crates/env_proxy/env_proxy-0.4.1.crate \
+https://static.crates.io/crates/errno-dragonfly/errno-dragonfly-0.1.2.crate \
+https://static.crates.io/crates/errno/errno-0.3.1.crate \
+https://static.crates.io/crates/error-chain/error-chain-0.12.4.crate \
+https://static.crates.io/crates/fastrand/fastrand-1.9.0.crate \
+https://static.crates.io/crates/filetime/filetime-0.2.21.crate \
+https://static.crates.io/crates/flate2/flate2-1.0.25.crate \
+https://static.crates.io/crates/fnv/fnv-1.0.7.crate \
+https://static.crates.io/crates/foreign-types-shared/foreign-types-shared-0.1.1.crate \
+https://static.crates.io/crates/foreign-types/foreign-types-0.3.2.crate \
+https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.1.0.crate \
+https://static.crates.io/crates/fs_at/fs_at-0.1.5.crate \
+https://static.crates.io/crates/futures-channel/futures-channel-0.3.28.crate \
+https://static.crates.io/crates/futures-core/futures-core-0.3.28.crate \
+https://static.crates.io/crates/futures-executor/futures-executor-0.3.28.crate \
+https://static.crates.io/crates/futures-io/futures-io-0.3.28.crate \
+https://static.crates.io/crates/futures-macro/futures-macro-0.3.28.crate \
+https://static.crates.io/crates/futures-sink/futures-sink-0.3.28.crate \
+https://static.crates.io/crates/futures-task/futures-task-0.3.28.crate \
+https://static.crates.io/crates/futures-util/futures-util-0.3.28.crate \
+https://static.crates.io/crates/futures/futures-0.3.28.crate \
+https://static.crates.io/crates/gcc/gcc-0.3.55.crate \
+https://static.crates.io/crates/generic-array/generic-array-0.14.7.crate \
+https://static.crates.io/crates/getrandom/getrandom-0.2.9.crate \
+https://static.crates.io/crates/gimli/gimli-0.27.2.crate \
+https://static.crates.io/crates/h2/h2-0.3.18.crate \
+https://static.crates.io/crates/hashbrown/hashbrown-0.12.3.crate \
+https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.19.crate \
+https://static.crates.io/crates/hermit-abi/hermit-abi-0.3.1.crate \
+https://static.crates.io/crates/hmac/hmac-0.12.1.crate \
+https://static.crates.io/crates/http-body/http-body-0.4.5.crate \
+https://static.crates.io/crates/http/http-0.2.9.crate \
+https://static.crates.io/crates/httparse/httparse-1.8.0.crate \
+https://static.crates.io/crates/httpdate/httpdate-1.0.2.crate \
+https://static.crates.io/crates/hyper-tls/hyper-tls-0.5.0.crate \
+https://static.crates.io/crates/hyper/hyper-0.14.26.crate \
+https://static.crates.io/crates/idna/idna-0.3.0.crate \
+https://static.crates.io/crates/indexmap/indexmap-1.9.3.crate \
+https://static.crates.io/crates/instant/instant-0.1.12.crate \
+https://static.crates.io/crates/io-lifetimes/io-lifetimes-1.0.10.crate \
+https://static.crates.io/crates/ipnet/ipnet-2.7.2.crate \
+https://static.crates.io/crates/itertools/itertools-0.10.5.crate \
+https://static.crates.io/crates/itoa/itoa-1.0.6.crate \
+https://static.crates.io/crates/jobserver/jobserver-0.1.26.crate \
+https://static.crates.io/crates/js-sys/js-sys-0.3.61.crate \
+https://static.crates.io/crates/json/json-0.12.4.crate \
+https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+https://static.crates.io/crates/libc/libc-0.2.142.crate \
+https://static.crates.io/crates/libz-sys/libz-sys-1.1.8.crate \
+https://static.crates.io/crates/linux-raw-sys/linux-raw-sys-0.3.4.crate \
+https://static.crates.io/crates/log/log-0.4.17.crate \
+https://static.crates.io/crates/markdown/markdown-0.3.0.crate \
+https://static.crates.io/crates/memchr/memchr-2.5.0.crate \
+https://static.crates.io/crates/mime/mime-0.3.17.crate \
+https://static.crates.io/crates/miniz_oxide/miniz_oxide-0.6.2.crate \
+https://static.crates.io/crates/mio/mio-0.8.6.crate \
+https://static.crates.io/crates/native-tls/native-tls-0.2.11.crate \
+https://static.crates.io/crates/nix/nix-0.26.2.crate \
+https://static.crates.io/crates/normpath/normpath-1.1.1.crate \
+https://static.crates.io/crates/object/object-0.30.3.crate \
+https://static.crates.io/crates/ole32-sys/ole32-sys-0.2.0.crate \
+https://static.crates.io/crates/once_cell/once_cell-1.17.1.crate \
+https://static.crates.io/crates/opaque-debug/opaque-debug-0.3.0.crate \
+https://static.crates.io/crates/openssl-macros/openssl-macros-0.1.1.crate \
+https://static.crates.io/crates/openssl-probe/openssl-probe-0.1.5.crate \
+https://static.crates.io/crates/openssl-src/openssl-src-111.25.3+1.1.1t.crate \
+https://static.crates.io/crates/openssl-sys/openssl-sys-0.9.86.crate \
+https://static.crates.io/crates/openssl/openssl-0.10.51.crate \
+https://static.crates.io/crates/password-hash/password-hash-0.3.2.crate \
+https://static.crates.io/crates/pbkdf2/pbkdf2-0.10.1.crate \
+https://static.crates.io/crates/percent-encoding/percent-encoding-2.2.0.crate \
+https://static.crates.io/crates/pest/pest-2.5.7.crate \
+https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.9.crate \
+https://static.crates.io/crates/pin-utils/pin-utils-0.1.0.crate \
+https://static.crates.io/crates/pipeline/pipeline-0.5.0.crate \
+https://static.crates.io/crates/pkg-config/pkg-config-0.3.26.crate \
+https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.17.crate \
+https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.56.crate \
+https://static.crates.io/crates/quote/quote-1.0.26.crate \
+https://static.crates.io/crates/rand/rand-0.8.5.crate \
+https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate \
+https://static.crates.io/crates/rand_core/rand_core-0.6.4.crate \
+https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.16.crate \
+https://static.crates.io/crates/redox_syscall/redox_syscall-0.3.5.crate \
+https://static.crates.io/crates/redox_users/redox_users-0.4.3.crate \
+https://static.crates.io/crates/regex-syntax/regex-syntax-0.7.1.crate \
+https://static.crates.io/crates/regex/regex-1.8.1.crate \
+https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.8.2.crate \
+https://static.crates.io/crates/reqwest/reqwest-0.11.16.crate \
+https://static.crates.io/crates/rustc-demangle/rustc-demangle-0.1.23.crate \
+https://static.crates.io/crates/rustix/rustix-0.37.14.crate \
+https://static.crates.io/crates/rustversion/rustversion-1.0.12.crate \
+https://static.crates.io/crates/ryu/ryu-1.0.13.crate \
+https://static.crates.io/crates/same-file/same-file-1.0.6.crate \
+https://static.crates.io/crates/schannel/schannel-0.1.21.crate \
+https://static.crates.io/crates/scopeguard/scopeguard-1.1.0.crate \
+https://static.crates.io/crates/security-framework-sys/security-framework-sys-2.8.0.crate \
+https://static.crates.io/crates/security-framework/security-framework-2.8.2.crate \
+https://static.crates.io/crates/semver-parser/semver-parser-0.10.2.crate \
+https://static.crates.io/crates/semver/semver-0.11.0.crate \
+https://static.crates.io/crates/serde/serde-1.0.160.crate \
+https://static.crates.io/crates/serde_derive/serde_derive-1.0.160.crate \
+https://static.crates.io/crates/serde_json/serde_json-1.0.96.crate \
+https://static.crates.io/crates/serde_urlencoded/serde_urlencoded-0.7.1.crate \
+https://static.crates.io/crates/sha1/sha1-0.10.5.crate \
+https://static.crates.io/crates/sha2/sha2-0.10.6.crate \
+https://static.crates.io/crates/sha2/sha2-0.9.9.crate \
+https://static.crates.io/crates/slab/slab-0.4.8.crate \
+https://static.crates.io/crates/smart-default/smart-default-0.6.0.crate \
+https://static.crates.io/crates/socket2/socket2-0.4.9.crate \
+https://static.crates.io/crates/stable_deref_trait/stable_deref_trait-1.2.0.crate \
+https://static.crates.io/crates/static_assertions/static_assertions-1.1.0.crate \
+https://static.crates.io/crates/strsim/strsim-0.8.0.crate \
+https://static.crates.io/crates/subtle/subtle-2.4.1.crate \
+https://static.crates.io/crates/syn/syn-1.0.109.crate \
+https://static.crates.io/crates/syn/syn-2.0.15.crate \
+https://static.crates.io/crates/tar/tar-0.4.38.crate \
+https://static.crates.io/crates/tempfile/tempfile-3.5.0.crate \
+https://static.crates.io/crates/term/term-0.7.0.crate \
+https://static.crates.io/crates/textwrap/textwrap-0.11.0.crate \
+https://static.crates.io/crates/thiserror-impl/thiserror-impl-1.0.40.crate \
+https://static.crates.io/crates/thiserror/thiserror-1.0.40.crate \
+https://static.crates.io/crates/time-core/time-core-0.1.0.crate \
+https://static.crates.io/crates/time-macros/time-macros-0.2.8.crate \
+https://static.crates.io/crates/time/time-0.3.20.crate \
+https://static.crates.io/crates/tinyvec/tinyvec-1.6.0.crate \
+https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.1.crate \
+https://static.crates.io/crates/tokio-native-tls/tokio-native-tls-0.3.1.crate \
+https://static.crates.io/crates/tokio-util/tokio-util-0.7.7.crate \
+https://static.crates.io/crates/tokio/tokio-1.27.0.crate \
+https://static.crates.io/crates/toml/toml-0.5.11.crate \
+https://static.crates.io/crates/tower-service/tower-service-0.3.2.crate \
+https://static.crates.io/crates/tracing-core/tracing-core-0.1.30.crate \
+https://static.crates.io/crates/tracing/tracing-0.1.37.crate \
+https://static.crates.io/crates/try-lock/try-lock-0.2.4.crate \
+https://static.crates.io/crates/typenum/typenum-1.16.0.crate \
+https://static.crates.io/crates/ucd-trie/ucd-trie-0.1.5.crate \
+https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.13.crate \
+https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.8.crate \
+https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.22.crate \
+https://static.crates.io/crates/unicode-width/unicode-width-0.1.10.crate \
+https://static.crates.io/crates/url/url-2.3.1.crate \
+https://static.crates.io/crates/vcpkg/vcpkg-0.2.15.crate \
+https://static.crates.io/crates/vec_map/vec_map-0.8.2.crate \
+https://static.crates.io/crates/version_check/version_check-0.9.4.crate \
+https://static.crates.io/crates/wait-timeout/wait-timeout-0.2.0.crate \
+https://static.crates.io/crates/walkdir/walkdir-2.3.3.crate \
+https://static.crates.io/crates/want/want-0.3.0.crate \
+https://static.crates.io/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1.crate \
+https://static.crates.io/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.84.crate \
+https://static.crates.io/crates/wasm-bindgen-futures/wasm-bindgen-futures-0.4.34.crate \
+https://static.crates.io/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.84.crate \
+https://static.crates.io/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.84.crate \
+https://static.crates.io/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.84.crate \
+https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.84.crate \
+https://static.crates.io/crates/web-sys/web-sys-0.3.61.crate \
+https://static.crates.io/crates/winapi-build/winapi-build-0.1.1.crate \
+https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+https://static.crates.io/crates/winapi-util/winapi-util-0.1.5.crate \
+https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+https://static.crates.io/crates/winapi/winapi-0.2.8.crate \
+https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+https://static.crates.io/crates/windows-sys/windows-sys-0.42.0.crate \
+https://static.crates.io/crates/windows-sys/windows-sys-0.45.0.crate \
+https://static.crates.io/crates/windows-sys/windows-sys-0.48.0.crate \
+https://static.crates.io/crates/windows-targets/windows-targets-0.42.2.crate \
+https://static.crates.io/crates/windows-targets/windows-targets-0.48.0.crate \
+https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.42.2.crate \
+https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.48.0.crate \
+https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.42.2.crate \
+https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.48.0.crate \
+https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.42.2.crate \
+https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.48.0.crate \
+https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.42.2.crate \
+https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.48.0.crate \
+https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.42.2.crate \
+https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.48.0.crate \
+https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.42.2.crate \
+https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.48.0.crate \
+https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.42.2.crate \
+https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.48.0.crate \
+https://static.crates.io/crates/winreg/winreg-0.10.1.crate \
+https://static.crates.io/crates/winreg/winreg-0.8.0.crate \
+https://static.crates.io/crates/xattr/xattr-0.2.3.crate \
+https://static.crates.io/crates/zip/zip-0.6.2.crate \
+https://static.crates.io/crates/zstd-safe/zstd-safe-4.1.6+zstd.1.5.2.crate \
+https://static.crates.io/crates/zstd-sys/zstd-sys-1.6.3+zstd.1.5.2.crate \
+https://static.crates.io/crates/zstd/zstd-0.10.2+zstd.1.5.2.crate"
+MD5SUM_x86_64="e1febb2f00281127804a0a528daf0d8c \
+b8e7ee27350aad1efd1cbe7a6a32c551 \
+669215548c64019c08c92b2c1afd3deb \
+815dfe34d3e7a3ab4fdd827fde9e3d04 \
+8ad2bf7329daec74312f767d402aac50 \
+d82a09f1c1a60aa9f46c0f76e4ea1265 \
+f44e8d1d2e61974b268852797530ea41 \
+fdd18ab1fcd6905d1abb3dce8a86ea68 \
+142cb4b9a653e56e56311f0c883b8582 \
+05d77ef52e90ad161fdd41b252420467 \
+58637599fb4e68ecbca68939709aca1a \
+cf0f1cbb3733e7153959edffc25adac4 \
+69b33d6c893f518954721f7769fea248 \
+a295edb6953237ebbdfa8e731229f9a3 \
+023b03cf9968b29253a5dfe62051008d \
+c7fbaf61245dc847237ab7c72b3ee9ea \
+41000ac8c8baa61b8021a258d60a7839 \
+1e704be5ddde9d6b5383ef1035309f91 \
+596cab766930d487256260ab9ca55b71 \
+455a318aaa74bb2d7c39cfda2e8f818d \
+b80c91663e5990a3770774abdce0f257 \
+7d83f411bb22318c65fec8bbee937ece \
+74634128440dbc3766bda76fdf0aaa05 \
+5f2578209a4d7964623462e402375ac0 \
+59ae9122b2946d4d52bc48a1da5c5e06 \
+ec9751a4c0d35e7313e52ddb7147376b \
+b477cc1c7b45e2187b3cad0377b504d8 \
+ae6dd0cd5319220586d8ace4c4be87ce \
+5960ae429b2ba6544a3e3a755aef1bbb \
+a9d6492a1bd21d93dbc27c32eabd0c70 \
+375958fb68bc683f8366d2f3ec1f33ba \
+89e88633cab0e4b6f3d3878b84dffe8b \
+192a849c6c392476fad9b205a894f0e4 \
+2055aa2a8c9da89dadfd1e9012a26a20 \
+30ec1b3363b03c11d30f45a0c7005411 \
+732c54e5b65b869d7301eec81c97f6a1 \
+493a2f042d86baa5c6bac75202c64554 \
+3681f813c502d911e9eea940dddd26a5 \
+056c8d712ee146347c412b72f4077b2f \
+4c21da37e71a52f26c8c5490f3ec4837 \
+92499f5db37eadb0efa33bcc91248577 \
+ba94e4b62665e48cc27ca8b14c5f5ff7 \
+28925d0d3649d0577f07bc9ab288999c \
+249636a8c8e57527d0e72ae772df5acd \
+fc65414dcac661c46f2cfad7722304f9 \
+b21aa70c76c22f8936338797372236bf \
+da699c4c8e4c153cbdb9fb0ef3fb3056 \
+06e723078de46119c270eea21ec4344e \
+3091bf9ce6381222c8dbf65a439ab524 \
+40290701abf90017215441da33b0dc15 \
+8dab3b3ec00dc56cffde0b0c410d47b5 \
+667e86b8b8d96ab4e9605627ce7dcc9a \
+78c898fdaa3968e23904bf8538c4a271 \
+357f2bcdc622476ad883fe9d07f874c3 \
+033882a55750c5f139f14711a5eb9131 \
+378bd2c8eb6adcc1a837558e1927e1eb \
+b2458958308a0923a65777b9297bf11a \
+2399b8b3b39b993d8e44d2fc1628663c \
+6052db16e7627061500931e7f53b0128 \
+3f798ffba5e1f1ec5ad2df0afd1f76f8 \
+3e2c0b885f7430e02dd6df1f8c626bc7 \
+83e4c4337a8dac395b19ebcb8e3136a7 \
+7ee7fac47a513e4f7e44c66195ad8051 \
+10764f40bd10141d9f12920d7cfa123c \
+d024d23a2c7e5dae75422a514daa686f \
+64a6d8fe0c9a450bcefa41894e17d7ac \
+9a1e26d4bea50aebcd8ce9f2f992c756 \
+9b80c255701a8957ff28e86e6a1d2719 \
+da8d709e9f342d4e917d22d5444a1076 \
+1b41b97d982520b7364a87a39e2a1ed8 \
+0b7994d1256215201bdfb810a357ffa2 \
+c9fa9187985880eb320b350bd9024510 \
+4e0c068ba38fa8e0aa6c46bce5e9d2ab \
+c21c16e3bdc619cf65a31b23136d62ce \
+c6a140bb2c9817edf8792e3c754c6e12 \
+92968aee56cb2f162a55008fedddbb78 \
+4918da28fbc2f6888ad71c159996a9b5 \
+6540f0c2d7dce570f06661292fc68cab \
+2f559daf118046b6788718794ec3ab70 \
+c3425a02781d0bb3c4f8d5d025d12266 \
+11ce8b5f52cd315e8f52985b834b87eb \
+5f153f7135dceb02f88266121c836b4e \
+f2014011b58783d34882b84571965cf6 \
+3ecd97b1dc15c9b2229192a0c609249f \
+20b9f5d97aaf06b0f580f12860b67ba8 \
+ffbab2186e43af074b619d6d8bfe3566 \
+eacabd60e755d2a003031643241781dc \
+0779350c00b03603f72eef7f737686ad \
+b1c4a08cc8222b3fff6d2d6dcf821689 \
+fba3b040a55c01be7376d3dd5c4d4920 \
+1f4aa5455ed7c45d2fe4171ef3040ff9 \
+591b0243c421bf8e6df09e3209fce861 \
+850ea71a54d22e85d50296abc1eb2c84 \
+b31bf94ffe7e0f2ada93afae1076eaeb \
+b5944eba016f7b965f3e2db3fcf3e3e4 \
+94b8bf179385ff071bdc33b58bf047c0 \
+dfdf2484a5545f51cf6b1f5f23b9f92e \
+bb21a8ff26ec16bc15758b1625bc0f46 \
+7d439888f1d12b29249e4f12e0e420fa \
+790ae5bbcccc91d97517bb1bde7ecd8e \
+580f8f88379ff0678e8336a781dda55d \
+8d526535233ee01e0f1402b5e8f4e8e9 \
+e1a629a86bfa03f5c17180a8b213c74c \
+e1c08dd529c5e71ff0f06c4fe4dcff7e \
+ec9e9fe40bacdde764862148c53386de \
+653e04baa68a4484b3b839c19221e474 \
+28d34115cfbbe0e8f80333591f2cdd84 \
+907244c0d3791f3f981c7cc8e4cad0a3 \
+5919927ef79b56c530e305f690ef2850 \
+2a214c072a003c02718590da3cdad632 \
+8fdb98f1648696852edd8dbd42aef7aa \
+bd37a742884c141bd2ede0ae2902d937 \
+f6984103b5729fd3ee8a7d718639c71b \
+c7ce684666ac9c76223b1a0a5034ce99 \
+42eec6b52b5a84621c18973fca40c043 \
+ce6dde2ea2691fdd97632fb8c9b3e042 \
+07c75fec267864bcbb800ca7709ceae2 \
+6ee5c12c25f9ef371ac4f3fa8546b9af \
+57a5575d623bcbc7ba5c033c9f87744f \
+5c69337d37e58a380e00eac9ce0373bb \
+4ed863e96f34f750bebed5d8bf9a7f89 \
+323153a8ec1da78a73131fec9d900c2e \
+ee7a5f842c39bc47c474196e83b0df5f \
+e30085994bbeb4b7f4895d48216d5476 \
+a1626b8f4d165b1b60d960862eba4cf0 \
+16111f31a29feae4ce4a324b83dc0189 \
+782ea88d8e5b517b1c9e7d870e20e9e3 \
+2793ed3e6807d79ff72271baec586531 \
+33d7c3ed27fd9033f0a61150a7516139 \
+62618c0255e3bd569371cf4ce4c424f2 \
+8f5ff45e31f879a4bb4f8815fb25acc1 \
+1986ea08bedd21c84bca46ff190b78a1 \
+24fcbc2986fad09b25c9a4f9aef0a9e4 \
+0680bc5a4f39b4a060281119f75bf962 \
+d9a04f4fbf3a21f7ef6be47a007cb611 \
+853888e375addadf7e85c8499e0745d3 \
+2d8d8b377d144f5e32b4f65a69eb0b24 \
+0bf4ac47fef874d61250f4d4afe4866b \
+b4a0a98a54439a5a37952c8879187ee3 \
+020e58f9782f7cec01a5a585a103432c \
+0ee7a1ea2700dab59dd62c27e5843f8c \
+42408be0352a76b14f1e77a6b8858a77 \
+d2cc4e584ed64165fc56d2c9081eb3ee \
+80dacf2cdea8879fbe9b508bb9a4972a \
+de0c5121b2b2518027169cc63d373ce3 \
+f4e16ed6fedc75de9647dee3ff4d3967 \
+47151b766b6b73e638fabe6fae7b723d \
+602d4f1e2fe53f870b70e83c8cee49db \
+e3e93a5606f450c13fcad764fa1c4bed \
+9420cc533b8572ae0d04750421127f80 \
+cf636206d0c3287ce209551fc5b02d88 \
+26b4ac1432c227434bc943817f42872e \
+4acc1eadff484a737c93592e15b31f8a \
+5988bad1543264a9f48b542192e7de9a \
+c9defe80406280bcfce4ecf31c0200b3 \
+781d4ccf5d04c98fa02af207a9639249 \
+8e053c23f1d36fbf3f276fbf501e3e35 \
+64d9f46e9ba78f68c30c486be3d8b7df \
+ccc93b4c981265eaa8908edd6a9459b3 \
+7645c62a572f12b67d1b582d7257776e \
+af8a44faf77b1d50155a07041284ca65 \
+53928078ab8d120d5459d86d64bbc1ef \
+a8de006fe0c7e373c560dd51599287a8 \
+dd290e713c28d2e565d78eedd471ed78 \
+ab44b0c93adeb9ee88e1c66555b8e6a7 \
+e8e543c3dd8daff1ef7afe657a1dcb62 \
+03c2a5849e585e44ddbbe0b991d7229c \
+f2dd02db1d2830d70da1a7614eb1896a \
+5f0470696baaa4e5953bddbf196998f9 \
+c678a7da0ee4b850ebde0474144a0415 \
+9e2f7831d5c7d8bd2f430984e47c3065 \
+b5670d9b6d6560440845d23ca563d44d \
+7eb63c76c58f57c48527d6bb37f86fcd \
+b21820f2664242498beba7783b32bef4 \
+60d7c3a9f75ac64cffbb9ccda7c1c8e5 \
+e3189db1511d7f2fe59fd1b15ebac8ff \
+97e8197912c3d06f0b7486d07c31e182 \
+a25ff12cdf468d4a5b4bf75b7fc6d743 \
+63ce54e1fcbbdb45c15146fd082528bb \
+11ad59bd731103e90d688afc5f35271b \
+04c5de5f2fcb441ced909a45cff020bd \
+7544c989c31232ae0d941e321dfe9bb2 \
+c12d182417999fc365f952e701f6071f \
+7d6d4fc9fad200d6e295f6930e97e022 \
+41a9cb1cc86d75f991241c9c3f725556 \
+e900a384ac7dbb320fe6a7279fbfef89 \
+333b4ba3f64c35b6f89b521e8d64548b \
+d18d362345c4fe512ef67b738b239fb8 \
+6708629acf3d2ecb7404e43255d2df85 \
+250acb3063bbdc870cbb54edcd6fff8f \
+e334c03160b1e0989c2a71ca55f631fc \
+e972ea58ec203bfa6c79c1207852298b \
+a277676f11a4b8df65f0bd10cf91c34d \
+6dedf2077979fbca816469b7685d9e28 \
+edd96c9a12dc3e04aa4d9a345ee6dd0f \
+8c58a7b08dcaaf1e6bc55616ce88582e \
+eff90729cd4a439c36ff89f3ee0904d0 \
+5ad255225437a92850eaea3cd7aa0051 \
+d04b3c91526662b97397fc1e04e007b1 \
+c900e7dbce808ff8ced375077b17a163 \
+db96b50050277bf05a3c68534bbb9586 \
+b9e37d5fc4ad28b612b78ad37816684d \
+09de9d01e7331ff3da11f58be8bef0df \
+b44489eb4799c4fabac3fceb48de54f7 \
+0498c4a11448bfc35dc7bb2caa64c753 \
+110789f2dd21a2ea820ebed976b4b1c2 \
+b58284cb8ce52b8de07e09f4f8fb9653 \
+f2797ade0e36f1e5d6be9d11b5076582 \
+a369d510325342310c7ab159bd181dae \
+7244738a73643f06df82069d00393ad7 \
+7968284877e481b58df1569b68b5dc26 \
+e8732bb9eec91463ea10020fc16991c1 \
+34d06a94727c506c11e4710160e90f32 \
+3d2bf2e578fe93c538d4f8c5cfddbe9b \
+017691b927b405669e1139b054a35f4a \
+631f9e1bcfe18e3976ef4c893ee13531 \
+f56c70fbae23f08fb0912284333f7851 \
+f3dad0f67aa70c6618c1593bd2086c36 \
+d20c2b0f45a62cc15c503ea610706a8f \
+085ec81e4ced998bb7f1aea30b7a630e \
+ec7e437088dc741e6a0653e553abca4e \
+e24dfcf625e130a1e6db0ae375a17dd7 \
+8cec8a187df7a7b971009a7693f60140 \
+2fa0c13b386de68baa17168774b1c5fa \
+8aa3cbf525ad9e68c3619664a3401dbe \
+ab839ba7cdb06278c67f0ff9ad05ab61 \
+8479d907dcb0e97f59f2d01336bbd1ae \
+019d75d45065f42f1e17df5d4a021b75 \
+cd575847adb9f45de20ff0d457327702 \
+b09cf677221739808e8a5424e1510985 \
+2841796570646c31589d2c54e14f53e9"
+REQUIRES="rust16"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.lean-elan_2023-09-21@lockywolf.net"
diff --git a/development/lean-elan/slack-desc b/development/lean-elan/slack-desc
new file mode 100644
index 0000000000..4eced7e8c7
--- /dev/null
+++ b/development/lean-elan/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------------------------------------------------------|
+lean-elan: lean-elan (toolchain manager for the lean prover)
+lean-elan:
+lean-elan: elan is a small tool for managing your installations of the Lean
+lean-elan: theorem prover. It places lean and lake binaries in your PATH that
+lean-elan: automatically select and, if necessary, download the Lean version
+lean-elan: described in your project's lean-toolchain file. You can also
+lean-elan: install, select, run, and uninstall Lean versions manually using the
+lean-elan: commands of the elan executable.
+lean-elan:
+lean-elan:
+lean-elan:
diff --git a/development/leiningen/leiningen.SlackBuild b/development/leiningen/leiningen.SlackBuild
index a2158848f6..08b0886922 100644
--- a/development/leiningen/leiningen.SlackBuild
+++ b/development/leiningen/leiningen.SlackBuild
@@ -1,10 +1,12 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for leiningen
+# Helio Costa (hlegius) | code@hlegi.us
# Xavier Maillard | xaver@maillard.im
+# Copyright 2022 Helio Costa, Sao Paulo, BR
# Copyright 2018 Xavier Maillard, Chalons en Champagne, FR
-# Copyright 2017 Ryan P.C McQuen, Everett, WA
+# Copyright 2017 Ryan P.C McQuen, Everett, WA, US
# Copyright 2011 Jockey S. Kyd, Shanghai, CHN
# All rights reserved.
#
@@ -25,14 +27,24 @@
# 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=leiningen
-VERSION=${VERSION:-2.8.1}
+VERSION=${VERSION:-2.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -61,4 +73,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/leiningen/leiningen.info b/development/leiningen/leiningen.info
index 4f3e7f8aa1..b18d9c527e 100644
--- a/development/leiningen/leiningen.info
+++ b/development/leiningen/leiningen.info
@@ -1,10 +1,10 @@
PRGNAM="leiningen"
-VERSION="2.8.1"
-HOMEPAGE="https://github.com/technomancy/leiningen/"
-DOWNLOAD="https://raw.githubusercontent.com/technomancy/leiningen/2.8.1/bin/lein"
-MD5SUM="53da6f077ad139525a24f641f539266f"
+VERSION="2.10.0"
+HOMEPAGE="https://codeberg.org/leiningen/leiningen"
+DOWNLOAD="https://codeberg.org/leiningen/leiningen/raw/tag/2.10.0/bin/lein"
+MD5SUM="8c53fa1d6092363d00468021f91e602f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Xavier Maillard"
-EMAIL="xavier@maillard.im"
+REQUIRES="zulu-openjdk8"
+MAINTAINER="Helio Costa (hlegius)"
+EMAIL="code@hlegi.us"
diff --git a/development/leo/leo.SlackBuild b/development/leo/leo.SlackBuild
index e05f9870db..24d6d12b08 100644
--- a/development/leo/leo.SlackBuild
+++ b/development/leo/leo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for leo
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=leo
SRCNAM=${PRGNAM^}
VERSION=${VERSION:-5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -91,4 +101,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/leo/leo.info b/development/leo/leo.info
index d044905791..84274d19f7 100644
--- a/development/leo/leo.info
+++ b/development/leo/leo.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.sourceforge.net/project/leo/Leo/5.5-final/Leo-5.5.zi
MD5SUM="86cc269b954105f7e84811041704eb3a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="PyQt5"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/lepton-eda/README b/development/lepton-eda/README
index 123189e69a..136179afea 100644
--- a/development/lepton-eda/README
+++ b/development/lepton-eda/README
@@ -5,4 +5,6 @@ electronics. It provides schematic capture, netlisting into
over 30 netlist formats, and many other features.
It was forked from the gEDA/gaf suite in late 2016 by most
of its active developers at that time.
+It's backward compatible with its predecessor and supports
+the same file format for symbols and schematics.
It's in active development and well supported.
diff --git a/development/lepton-eda/doinst.sh b/development/lepton-eda/doinst.sh
index 0fb9c8b686..e5526fb670 100644
--- a/development/lepton-eda/doinst.sh
+++ b/development/lepton-eda/doinst.sh
@@ -12,3 +12,8 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
+if [ -x /usr/bin/install-info ]; then
+ chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/lepton-manual.info.gz 2> /dev/null
+ chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/lepton-scheme.info.gz 2> /dev/null
+fi
+
diff --git a/development/lepton-eda/lepton-eda.SlackBuild b/development/lepton-eda/lepton-eda.SlackBuild
index 6a96c0885b..d738b84a4d 100644
--- a/development/lepton-eda/lepton-eda.SlackBuild
+++ b/development/lepton-eda/lepton-eda.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lepton-eda
-# Copyright 2019-2020 dmn <graahnul.grom@gmail.com>, Russia
+# Copyright 2019-2022 dmn <graahnul.grom@gmail.com>, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=lepton-eda
-VERSION=${VERSION:-1.9.11}
+VERSION=${VERSION:-1.9.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -78,16 +85,16 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--disable-update-xdg-database \
--infodir=/usr/info \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --enable-guild
make
make install DESTDIR=$PKG
-# remove *.la files:
-#
-rm -vf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+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
@@ -106,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lepton-eda/lepton-eda.info b/development/lepton-eda/lepton-eda.info
index 68ace3dc5d..45d5c7ef78 100644
--- a/development/lepton-eda/lepton-eda.info
+++ b/development/lepton-eda/lepton-eda.info
@@ -1,10 +1,10 @@
PRGNAM="lepton-eda"
-VERSION="1.9.11"
+VERSION="1.9.18"
HOMEPAGE="https://github.com/lepton-eda/lepton-eda"
-DOWNLOAD="https://github.com/lepton-eda/lepton-eda/releases/download/1.9.11-20200604/lepton-eda-1.9.11.tar.gz"
-MD5SUM="3b8c1f70a5b88904be2fd1487295b256"
+DOWNLOAD="https://github.com/lepton-eda/lepton-eda/releases/download/1.9.18-20220529/lepton-eda-1.9.18.tar.gz"
+MD5SUM="9c7d13426b5271f8b3e3862b35f3c602"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="gtkextra"
MAINTAINER="dmn"
EMAIL="graahnul.grom@gmail.com"
diff --git a/development/lepton-eda/slack-desc b/development/lepton-eda/slack-desc
index a8c2311662..fd2dc281fe 100644
--- a/development/lepton-eda/slack-desc
+++ b/development/lepton-eda/slack-desc
@@ -9,11 +9,11 @@
lepton-eda: lepton-eda (Lepton Electronic Design Automation)
lepton-eda:
lepton-eda: Lepton EDA is a suite of free software tools for designing
-lepton-eda: electronics. It provides schematic capture, netlisting into
-lepton-eda: over 30 netlist formats, and many other features.
-lepton-eda: It was forked from the gEDA/gaf suite in late 2016 by most
-lepton-eda: of its active developers at that time.
-lepton-eda: It's in active development and well supported.
+lepton-eda: electronics. It provides schematic capture, netlisting into over 30
+lepton-eda: netlist formats, and many other features. It was forked from the
+lepton-eda: gEDA/gaf suite in late 2016 by most of its active developers at that
+lepton-eda: time. It's backward compatible with its predecessor and supports the
+lepton-eda: same file format for symbols and schematics.
lepton-eda:
lepton-eda: Homepage: https://github.com/lepton-eda/lepton-eda
lepton-eda:
diff --git a/development/leveldb/leveldb.SlackBuild b/development/leveldb/leveldb.SlackBuild
index 959ebf2ef3..8b22919c21 100644
--- a/development/leveldb/leveldb.SlackBuild
+++ b/development/leveldb/leveldb.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for LevelDB
# Written by Mário Antunes (mario.antunes@av.it.pt)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=leveldb
VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,4 +86,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lfe/README b/development/lfe/README
new file mode 100644
index 0000000000..54c232587d
--- /dev/null
+++ b/development/lfe/README
@@ -0,0 +1,3 @@
+LFE, Lisp Flavoured Erlang, is a lisp syntax front-end to the Erlang
+compiler. Code produced with it is compatible with "normal" Erlang
+code. An LFE evaluator and shell is also included.
diff --git a/development/lfe/lfe.SlackBuild b/development/lfe/lfe.SlackBuild
new file mode 100644
index 0000000000..b940631e76
--- /dev/null
+++ b/development/lfe/lfe.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for lfe
+
+# Copyright 2023, Lockywolf
+# 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=lfe
+VERSION=${VERSION:-2.1.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"
+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 {} +
+
+sed -i "s|/lib/|/lib${LIBDIRSUFFIX}/|g" Makefile
+mkdir -p $PKG/usr
+make PREFIX=$PKG/usr
+make install PREFIX=$PKG/usr
+
+mkdir -p $PKG/usr/man/
+mv $PKG/usr/share/man/* $PKG/usr/man/
+rmdir $PKG/usr/share/man/
+rmdir $PKG/usr/man/cat7
+rmdir $PKG/usr/man/cat3
+rmdir $PKG/usr/man/cat1
+rmdir $PKG/usr/share
+rm $PKG/usr/man/index.db
+
+(
+ cd $PKG/usr/bin
+ rm lfe lfec lfedoc lfescript
+ ln -s -r ../lib$LIBDIRSUFFIX/lfe/bin/lfe
+ ln -s -r ../lib$LIBDIRSUFFIX/lfe/bin/lfec
+ ln -s -r ../lib$LIBDIRSUFFIX/lfe/bin/lfedoc
+ ln -s -r ../lib$LIBDIRSUFFIX/lfe/bin/lfescript
+)
+
+
+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
+
+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 \
+ LICENSE README.md doc\
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lfe/lfe.info b/development/lfe/lfe.info
new file mode 100644
index 0000000000..6b464de790
--- /dev/null
+++ b/development/lfe/lfe.info
@@ -0,0 +1,10 @@
+PRGNAM="lfe"
+VERSION="2.1.2"
+HOMEPAGE="https://lfe.io/"
+DOWNLOAD="https://github.com/lfe/lfe/archive/v2.1.2/lfe-2.1.2.tar.gz"
+MD5SUM="163344ca2d017bedc7351c7a02fe19ae"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="erlang-otp"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.lfe_2023-08-15@lockywolf.net"
diff --git a/development/lfe/slack-desc b/development/lfe/slack-desc
new file mode 100644
index 0000000000..1c1fb0a8da
--- /dev/null
+++ b/development/lfe/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------------------------------------------------------|
+lfe: lfe (Lisp-flavoured Erlang)
+lfe:
+lfe: LFE, Lisp Flavoured Erlang, is a lisp syntax front-end to the Erlang
+lfe: compiler. Code produced with it is compatible with "normal" Erlang
+lfe: code. An LFE evaluator and shell is also included.
+lfe:
+lfe:
+lfe:
+lfe:
+lfe:
+lfe:
diff --git a/development/libb2/libb2.SlackBuild b/development/libb2/libb2.SlackBuild
index 3da3d9272f..4cdbbc0919 100644
--- a/development/libb2/libb2.SlackBuild
+++ b/development/libb2/libb2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libb2
@@ -22,10 +22,13 @@
# 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=libb2
VERSION=${VERSION:-0.98.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -94,8 +104,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/libbitcoin/README b/development/libbitcoin/README
deleted file mode 100644
index de38862e59..0000000000
--- a/development/libbitcoin/README
+++ /dev/null
@@ -1,6 +0,0 @@
-A library for for writing bitcoin clients.
-
-For documentation you will need Sphinx installed at build time.
-
-If you want it to take advantage of leveldb, you will need leveldb
-installed at build time.
diff --git a/development/libbitcoin/libbitcoin.SlackBuild b/development/libbitcoin/libbitcoin.SlackBuild
deleted file mode 100644
index 2293c2d8e4..0000000000
--- a/development/libbitcoin/libbitcoin.SlackBuild
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/bin/sh
-# Slackware build script for libbitcoin
-# Issued under The MIT License (MIT)
-#
-# Copyright 2013 Shawn Pringle B.Sc.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-
-PRGNAM=libbitcoin
-VERSION=${VERSION:-2.11.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-autoreconf -i
-
-if [ -e /usr/include/leveldb/db.h ]; then
- export LEVELDB_FLAG=--enable-leveldb
-else
- export LEVELDB_FLAG=
-fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- $LEVELDB_FLAG \
- --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
-
-if [ -e /usr/bin/sphinx-build ]; then
- # Create documentation.
- cd doc/sphinx
- make html
- cd ../..
-fi
-
-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/
-if [ -e /usr/bin/sphinx-build ]; then
- cp -a $TMP/$PRGNAM-$VERSION/doc/sphinx/_build/{doctrees,html} \
- $PKG/usr/doc/$PRGNAM-$VERSION
-fi
-
-cp -a AUTHORS COPYING INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
-rm $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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/libbitcoin/libbitcoin.info b/development/libbitcoin/libbitcoin.info
deleted file mode 100644
index 91889870c7..0000000000
--- a/development/libbitcoin/libbitcoin.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libbitcoin"
-VERSION="2.11.0"
-HOMEPAGE="https://libbitcoin.dyne.org/"
-DOWNLOAD="https://github.com/libbitcoin/libbitcoin/archive/v2.11.0.tar.gz"
-MD5SUM="cd3dd9dc2ab2d9445c0ad10683ab321e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="secp256k1"
-MAINTAINER="Shawn Pringle B.Sc."
-EMAIL="shawn.pringle@gmail.com"
diff --git a/development/libbitcoin/slack-desc b/development/libbitcoin/slack-desc
deleted file mode 100644
index 07c4e6c763..0000000000
--- a/development/libbitcoin/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------------------------------------------------------|
-libbitcoin: libbitcoin (bitcoin library)
-libbitcoin:
-libbitcoin: A library for for writing bitcoin clients.
-libbitcoin:
-libbitcoin:
-libbitcoin:
-libbitcoin:
-libbitcoin:
-libbitcoin:
-libbitcoin:
-libbitcoin:
diff --git a/development/libcutl/gcc11.patch b/development/libcutl/gcc11.patch
new file mode 100644
index 0000000000..5de8c81b2d
--- /dev/null
+++ b/development/libcutl/gcc11.patch
@@ -0,0 +1,50 @@
+Description: don't use dynamic exceptions
+ Just remove those.
+Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Bug-Debian: https://bugs.debian.org/984098
+Last-Update: 2021-10-12
+
+---
+
+--- a/cutl/shared-ptr/base.cxx
++++ b/cutl/shared-ptr/base.cxx
+@@ -25,7 +25,7 @@ namespace cutl
+ //
+ //
+ void*
+-operator new (size_t n, cutl::share s) throw (std::bad_alloc)
++operator new (size_t n, cutl::share s)
+ {
+ if (s == shared)
+ {
+--- a/cutl/shared-ptr/base.hxx
++++ b/cutl/shared-ptr/base.hxx
+@@ -31,7 +31,7 @@ extern LIBCUTL_EXPORT cutl::share shared
+ extern LIBCUTL_EXPORT cutl::share exclusive;
+
+ LIBCUTL_EXPORT void*
+-operator new (std::size_t, cutl::share) throw (std::bad_alloc);
++operator new (std::size_t, cutl::share);
+
+ LIBCUTL_EXPORT void
+ operator delete (void*, cutl::share) throw ();
+@@ -61,7 +61,7 @@ namespace cutl
+ _ref_count () const;
+
+ void*
+- operator new (std::size_t, share) throw (std::bad_alloc);
++ operator new (std::size_t, share);
+
+ void
+ operator delete (void*, share) throw ();
+--- a/cutl/shared-ptr/base.ixx
++++ b/cutl/shared-ptr/base.ixx
+@@ -59,7 +59,7 @@ namespace cutl
+ }
+
+ inline void* shared_base::
+- operator new (std::size_t n, share) throw (std::bad_alloc)
++ operator new (std::size_t n, share)
+ {
+ return ::operator new (n);
+ }
diff --git a/development/libcutl/libcutl.SlackBuild b/development/libcutl/libcutl.SlackBuild
index 6ed41e66cb..24fb48379e 100644
--- a/development/libcutl/libcutl.SlackBuild
+++ b/development/libcutl/libcutl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Code Synthesis libcutl
@@ -22,10 +22,13 @@
# 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=libcutl
VERSION=${VERSION:-1.10.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,6 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# thanks, debian!
+patch -p1 < $CWD/gcc11.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -90,8 +103,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/liberica-jdk-bin/README b/development/liberica-jdk-bin/README
new file mode 100644
index 0000000000..81a5fa6934
--- /dev/null
+++ b/development/liberica-jdk-bin/README
@@ -0,0 +1,23 @@
+Liberica JDK is a distribution of the Java Development Kit (JDK)
+developed by BellSoft. It is a free and open source implementation of
+the Java platform, and it provides compatibility with the Java SE
+standard while also offering additional features and optimizations. All
+Liberica JDK builds pass the Technology Compatibility Kit verification
+before release.
+
+Liberica JDK supports many Java versions, including both the latest and
+legacy versions. It supports x86 64/32 bit, ARM, and other
+architectures.
+
+There are 3 Liberica JDK distribution flavors:
+* Standard version is best suited for server and desktop deployments
+ that do not require any additional components;
+* Full version of Liberica includes LibericaFX, which is based on
+ OpenJFX and Minimal VM, where suitable;
+* Lite version of Liberica works best for cloud deployments and is
+ optimized for size;
+as well as JRE and JDK builds.
+
+This SlackBuild packages the binary Liberica JDK distribution. The .info
+file refers to the latest LTS version of the Standard Liberica JDK, but
+the script works with any version and flavor of the Liberica JDK/JRE.
diff --git a/development/liberica-jdk-bin/liberica-jdk-bin.SlackBuild b/development/liberica-jdk-bin/liberica-jdk-bin.SlackBuild
new file mode 100644
index 0000000000..db42532f47
--- /dev/null
+++ b/development/liberica-jdk-bin/liberica-jdk-bin.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/bash
+
+# Slackware build script for liberica-jdk-bin
+
+# Copyright 2023-2024, Alexander Verbovetsky, Moscow, Russia
+# 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=liberica-jdk-bin
+VERSION=${VERSION:-21.0.3+10}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+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}
+
+case $ARCH in
+ x86_64 | aarch64 ) LIBDIRSUFFIX="64" ;;
+ *) LIBDIRSUFFIX="" ;;
+esac
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT $PKG/usr/lib$LIBDIRSUFFIX
+cd $PKG/usr/lib$LIBDIRSUFFIX
+tar xvf $CWD/bellsoft-j*${VERSION}-linux-*.tar.gz
+JDKNAM=$(find . -type d -maxdepth 1 -mindepth 1 -printf "%f\n")
+mv $JDKNAM liberica-$JDKNAM
+
+find -L liberica-$JDKNAM/lib -type f -name "*.so" -exec chmod 755 {} \;
+
+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/etc/profile.d
+for s in $PRGNAM.sh $PRGNAM.csh ; do
+ sed "s|/usr/lib|/usr/lib$LIBDIRSUFFIX/liberica-$JDKNAM|" $CWD/$s \
+ > $PKG/etc/profile.d/$s
+ chmod 755 $PKG/etc/profile.d/$s
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/liberica-jdk-bin/liberica-jdk-bin.csh b/development/liberica-jdk-bin/liberica-jdk-bin.csh
new file mode 100644
index 0000000000..19044c534a
--- /dev/null
+++ b/development/liberica-jdk-bin/liberica-jdk-bin.csh
@@ -0,0 +1,3 @@
+setenv JAVA_HOME /usr/lib
+setenv PATH ${PATH}:${JAVA_HOME}/bin
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
diff --git a/development/liberica-jdk-bin/liberica-jdk-bin.info b/development/liberica-jdk-bin/liberica-jdk-bin.info
new file mode 100644
index 0000000000..5bd793fa9c
--- /dev/null
+++ b/development/liberica-jdk-bin/liberica-jdk-bin.info
@@ -0,0 +1,10 @@
+PRGNAM="liberica-jdk-bin"
+VERSION="21.0.3+10"
+HOMEPAGE="https://github.com/bell-sw/Liberica"
+DOWNLOAD="https://github.com/bell-sw/Liberica/releases/download/21.0.3+10/bellsoft-jdk21.0.3+10-linux-i586.tar.gz"
+MD5SUM="301935070a134df1cd3de67d4c1cf506"
+DOWNLOAD_x86_64="https://github.com/bell-sw/Liberica/releases/download/21.0.3+10/bellsoft-jdk21.0.3+10-linux-amd64.tar.gz"
+MD5SUM_x86_64="2ee909ef18280bac206ed0b8209ae76e"
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/development/liberica-jdk-bin/liberica-jdk-bin.sh b/development/liberica-jdk-bin/liberica-jdk-bin.sh
new file mode 100644
index 0000000000..85556c6edd
--- /dev/null
+++ b/development/liberica-jdk-bin/liberica-jdk-bin.sh
@@ -0,0 +1,3 @@
+export JAVA_HOME=/usr/lib
+export PATH="${PATH}:${JAVA_HOME}/bin"
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
diff --git a/development/liberica-jdk-bin/slack-desc b/development/liberica-jdk-bin/slack-desc
new file mode 100644
index 0000000000..bc88f6b1b7
--- /dev/null
+++ b/development/liberica-jdk-bin/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------------------------------------------------------|
+liberica-jdk-bin: liberica-jdk-bin (JDK distribution)
+liberica-jdk-bin:
+liberica-jdk-bin: Liberica JDK is a distribution of the Java Development Kit (JDK)
+liberica-jdk-bin: developed by BellSoft. It is a free and open source implementation of
+liberica-jdk-bin: the Java platform, and it provides compatibility with the Java SE
+liberica-jdk-bin: standard while also offering additional features and optimizations.
+liberica-jdk-bin:
+liberica-jdk-bin:
+liberica-jdk-bin: Homepage: https://github.com/bell-sw/Liberica
+liberica-jdk-bin:
+liberica-jdk-bin:
diff --git a/development/libnvidia-container/README b/development/libnvidia-container/README
new file mode 100644
index 0000000000..47be0bf486
--- /dev/null
+++ b/development/libnvidia-container/README
@@ -0,0 +1,11 @@
+This repository provides a library and a simple CLI utility to
+automatically configure GNU/Linux containers leveraging NVIDIA
+hardware. The implementation relies on kernel primitives and is
+designed to be agnostic of the container runtime.
+
+Provides the `nvidia-container-cli` utility
+Does not require CUDA, only the nvidia driver.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/development/libnvidia-container/libnvidia-container.SlackBuild b/development/libnvidia-container/libnvidia-container.SlackBuild
new file mode 100644
index 0000000000..9f36ce4b9b
--- /dev/null
+++ b/development/libnvidia-container/libnvidia-container.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for libnvidia-container
+
+# Copyright 2023 Nikolay Nikolov Sofia, Bulgaria
+# 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=libnvidia-container
+VERSION=${VERSION:-1.14.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS -I/usr/include/tirpc" \
+CPPFLAGS="$SLKCFLAGS -I/usr/include/tirpc" \
+LDLIBS="-ltirpc" \
+make install \
+ prefix=/usr \
+ libdir=/usr/lib${LIBDIRSUFFIX} \
+ sysconfdir=/etc \
+ localstatedir=/var \
+ mandir=/usr/man \
+ docdir=/usr/doc/$PRGNAM-$VERSION \
+ build=$ARCH-slackware-linux \
+ GIT_TAG=$VERSION \
+ REVISION=$VERSION \
+ DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/libnvidia-container/libnvidia-container.info b/development/libnvidia-container/libnvidia-container.info
new file mode 100644
index 0000000000..9418770b64
--- /dev/null
+++ b/development/libnvidia-container/libnvidia-container.info
@@ -0,0 +1,10 @@
+PRGNAM="libnvidia-container"
+VERSION="1.14.3"
+HOMEPAGE="https://github.com/NVIDIA/libnvidia-container"
+DOWNLOAD="https://github.com/NVIDIA/libnvidia-container/archive/v1.14.3/libnvidia-container-1.14.3.tar.gz"
+MD5SUM="50a781f15e812a09c868b5f9ae11220a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="bmake lsb-release nvidia-driver docker"
+MAINTAINER="Nikolay Nikolov"
+EMAIL="nikobnikolov[at]gmail[dot]com"
diff --git a/development/libnvidia-container/slack-desc b/development/libnvidia-container/slack-desc
new file mode 100644
index 0000000000..9836234ff6
--- /dev/null
+++ b/development/libnvidia-container/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------------------------------------------------------|
+libnvidia-container: libnvidia-container (NVIDIA container runtime library)
+libnvidia-container:
+libnvidia-container: Provides a library and a simple CLI utility to automatically
+libnvidia-container: configure GNU/Linux containers leveraging NVIDIA hardware.
+libnvidia-container: The implementation relies on kernel primitives and is designed to be
+libnvidia-container: agnostic of the container runtime
+libnvidia-container:
+libnvidia-container: Homepage: https://github.com/NVIDIA/libnvidia-container
+libnvidia-container:
+libnvidia-container:
+libnvidia-container:
diff --git a/development/libodb-boost/README b/development/libodb-boost/README
deleted file mode 100644
index ab119b383f..0000000000
--- a/development/libodb-boost/README
+++ /dev/null
@@ -1,18 +0,0 @@
-ODB is an open-source, cross-platform, and cross-database object-
-relational mapping (ORM) system for C++. It allows you to persist
-C++ objects to a relational database without having to deal with
-tables, columns, or SQL and without manually writing any mapping
-code.
-
-ODB supports MySQL, SQLite, PostgreSQL, Oracle, and
-Microsoft SQL Server relational databases as well as C++98/03 and
-C++11 language standards. It also comes with optional profiles
-for Boost and Qt which allow you to seamlessly use value types,
-containers, and smart pointers from these libraries in your
-persistent C++ classes.
-
-The ODB system consists of several packages. The essential packages
-are the ODB compiler (odb), the common runtime library (libodb),
-and the database-specific runtime library (libodb-<database>).
-For example, if you are planning to use MySQL, then the set of
-packages that you will need would be: odb, libodb, and libodb-mysql.
diff --git a/development/libodb-boost/libodb-boost.SlackBuild b/development/libodb-boost/libodb-boost.SlackBuild
deleted file mode 100644
index 76cfa218d7..0000000000
--- a/development/libodb-boost/libodb-boost.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Code Synthesis libodb-boost
-
-# Copyright Andre Barboza 2016, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=libodb-boost
-VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install 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
-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:-tgz}
diff --git a/development/libodb-boost/libodb-boost.info b/development/libodb-boost/libodb-boost.info
deleted file mode 100644
index d179407448..0000000000
--- a/development/libodb-boost/libodb-boost.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libodb-boost"
-VERSION="2.4.0"
-HOMEPAGE="https://www.codesynthesis.com/products/odb/"
-DOWNLOAD="https://www.codesynthesis.com/download/odb/2.4/libodb-boost-2.4.0.tar.bz2"
-MD5SUM="6b0127619cab3244ae838780db890b9d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libodb"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/libodb-boost/slack-desc b/development/libodb-boost/slack-desc
deleted file mode 100644
index ab583bf44e..0000000000
--- a/development/libodb-boost/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------------------------------------------------------|
-libodb-boost: libodb-boost (ODB C++ ORM Boost Profile Libraries)
-libodb-boost:
-libodb-boost: ODB is an open-source, cross-platform, and cross-database object-
-libodb-boost: relational mapping (ORM) system for C++. It allows you to persist
-libodb-boost: C++ objects to a relational database without having to deal with
-libodb-boost: tables, columns, or SQL and without manually writing any mapping
-libodb-boost: code.
-libodb-boost:
-libodb-boost:
-libodb-boost: https://www.codesynthesis.com/products/odb/
-libodb-boost:
diff --git a/development/libodb-mysql/README b/development/libodb-mysql/README
deleted file mode 100644
index ab119b383f..0000000000
--- a/development/libodb-mysql/README
+++ /dev/null
@@ -1,18 +0,0 @@
-ODB is an open-source, cross-platform, and cross-database object-
-relational mapping (ORM) system for C++. It allows you to persist
-C++ objects to a relational database without having to deal with
-tables, columns, or SQL and without manually writing any mapping
-code.
-
-ODB supports MySQL, SQLite, PostgreSQL, Oracle, and
-Microsoft SQL Server relational databases as well as C++98/03 and
-C++11 language standards. It also comes with optional profiles
-for Boost and Qt which allow you to seamlessly use value types,
-containers, and smart pointers from these libraries in your
-persistent C++ classes.
-
-The ODB system consists of several packages. The essential packages
-are the ODB compiler (odb), the common runtime library (libodb),
-and the database-specific runtime library (libodb-<database>).
-For example, if you are planning to use MySQL, then the set of
-packages that you will need would be: odb, libodb, and libodb-mysql.
diff --git a/development/libodb-mysql/libodb-mysql.SlackBuild b/development/libodb-mysql/libodb-mysql.SlackBuild
deleted file mode 100644
index fa385dc7cd..0000000000
--- a/development/libodb-mysql/libodb-mysql.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Code Synthesis libodb-mysql
-
-# Copyright Andre Barboza 2016, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=libodb-mysql
-VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install 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
-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:-tgz}
diff --git a/development/libodb-mysql/libodb-mysql.info b/development/libodb-mysql/libodb-mysql.info
deleted file mode 100644
index d3a1bb1fce..0000000000
--- a/development/libodb-mysql/libodb-mysql.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libodb-mysql"
-VERSION="2.4.0"
-HOMEPAGE="https://www.codesynthesis.com/products/odb/"
-DOWNLOAD="https://www.codesynthesis.com/download/odb/2.4/libodb-mysql-2.4.0.tar.bz2"
-MD5SUM="e4dc2f445c5e7dd0c06da939f9599dc8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libodb"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/libodb-mysql/slack-desc b/development/libodb-mysql/slack-desc
deleted file mode 100644
index b28bf15a40..0000000000
--- a/development/libodb-mysql/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------------------------------------------------------|
-libodb-mysql: libodb-mysql (MySql library runtime for ODB c++ ORM)
-libodb-mysql:
-libodb-mysql: ODB is an open-source, cross-platform, and cross-database object-
-libodb-mysql: relational mapping (ORM) system for C++. It allows you to persist
-libodb-mysql: C++ objects to a relational database without having to deal with
-libodb-mysql: tables, columns, or SQL and without manually writing any mapping
-libodb-mysql: code.
-libodb-mysql:
-libodb-mysql:
-libodb-mysql: https://www.codesynthesis.com/products/odb/
-libodb-mysql:
diff --git a/development/libodb-pgsql/README b/development/libodb-pgsql/README
deleted file mode 100644
index ab119b383f..0000000000
--- a/development/libodb-pgsql/README
+++ /dev/null
@@ -1,18 +0,0 @@
-ODB is an open-source, cross-platform, and cross-database object-
-relational mapping (ORM) system for C++. It allows you to persist
-C++ objects to a relational database without having to deal with
-tables, columns, or SQL and without manually writing any mapping
-code.
-
-ODB supports MySQL, SQLite, PostgreSQL, Oracle, and
-Microsoft SQL Server relational databases as well as C++98/03 and
-C++11 language standards. It also comes with optional profiles
-for Boost and Qt which allow you to seamlessly use value types,
-containers, and smart pointers from these libraries in your
-persistent C++ classes.
-
-The ODB system consists of several packages. The essential packages
-are the ODB compiler (odb), the common runtime library (libodb),
-and the database-specific runtime library (libodb-<database>).
-For example, if you are planning to use MySQL, then the set of
-packages that you will need would be: odb, libodb, and libodb-mysql.
diff --git a/development/libodb-pgsql/libodb-pgsql.SlackBuild b/development/libodb-pgsql/libodb-pgsql.SlackBuild
deleted file mode 100644
index 513c8d5921..0000000000
--- a/development/libodb-pgsql/libodb-pgsql.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Code Synthesis libodb-pgsql
-
-# Copyright Andre Barboza 2016, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=libodb-pgsql
-VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install 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
-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:-tgz}
diff --git a/development/libodb-pgsql/libodb-pgsql.info b/development/libodb-pgsql/libodb-pgsql.info
deleted file mode 100644
index 1ef0e8ff22..0000000000
--- a/development/libodb-pgsql/libodb-pgsql.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libodb-pgsql"
-VERSION="2.4.0"
-HOMEPAGE="https://www.codesynthesis.com/products/odb/"
-DOWNLOAD="https://www.codesynthesis.com/download/odb/2.4/libodb-pgsql-2.4.0.tar.bz2"
-MD5SUM="7c71a2f9df1faaeb586ce354b647e907"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libodb postgresql"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/libodb-pgsql/slack-desc b/development/libodb-pgsql/slack-desc
deleted file mode 100644
index 22476efd17..0000000000
--- a/development/libodb-pgsql/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------------------------------------------------------|
-libodb-pgsql: libodb-pgsql (PostgreSQL library runtime for ODB c++ ORM)
-libodb-pgsql:
-libodb-pgsql: ODB is an open-source, cross-platform, and cross-database object-
-libodb-pgsql: relational mapping (ORM) system for C++. It allows you to persist
-libodb-pgsql: C++ objects to a relational database without having to deal with
-libodb-pgsql: tables, columns, or SQL and without manually writing any mapping
-libodb-pgsql: code.
-libodb-pgsql:
-libodb-pgsql:
-libodb-pgsql: https://www.codesynthesis.com/products/odb/
-libodb-pgsql:
diff --git a/development/libodb-qt/README b/development/libodb-qt/README
deleted file mode 100644
index ab119b383f..0000000000
--- a/development/libodb-qt/README
+++ /dev/null
@@ -1,18 +0,0 @@
-ODB is an open-source, cross-platform, and cross-database object-
-relational mapping (ORM) system for C++. It allows you to persist
-C++ objects to a relational database without having to deal with
-tables, columns, or SQL and without manually writing any mapping
-code.
-
-ODB supports MySQL, SQLite, PostgreSQL, Oracle, and
-Microsoft SQL Server relational databases as well as C++98/03 and
-C++11 language standards. It also comes with optional profiles
-for Boost and Qt which allow you to seamlessly use value types,
-containers, and smart pointers from these libraries in your
-persistent C++ classes.
-
-The ODB system consists of several packages. The essential packages
-are the ODB compiler (odb), the common runtime library (libodb),
-and the database-specific runtime library (libodb-<database>).
-For example, if you are planning to use MySQL, then the set of
-packages that you will need would be: odb, libodb, and libodb-mysql.
diff --git a/development/libodb-qt/libodb-qt.SlackBuild b/development/libodb-qt/libodb-qt.SlackBuild
deleted file mode 100644
index 179369ff1d..0000000000
--- a/development/libodb-qt/libodb-qt.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Code Synthesis libodb-qt
-
-# Copyright Andre Barboza 2016, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=libodb-qt
-VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install 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
-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:-tgz}
diff --git a/development/libodb-qt/libodb-qt.info b/development/libodb-qt/libodb-qt.info
deleted file mode 100644
index 821f670ee6..0000000000
--- a/development/libodb-qt/libodb-qt.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libodb-qt"
-VERSION="2.4.0"
-HOMEPAGE="https://www.codesynthesis.com/products/odb/"
-DOWNLOAD="https://www.codesynthesis.com/download/odb/2.4/libodb-qt-2.4.0.tar.bz2"
-MD5SUM="013b93cd7ab41fb8ce6e73da367c5931"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libodb"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/libodb-qt/slack-desc b/development/libodb-qt/slack-desc
deleted file mode 100644
index b6d095a5ac..0000000000
--- a/development/libodb-qt/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------------------------------------------------------|
-libodb-qt: libodb-qt (ODB C++ ORM Qt Profile Libraries)
-libodb-qt:
-libodb-qt: ODB is an open-source, cross-platform, and cross-database object-
-libodb-qt: relational mapping (ORM) system for C++. It allows you to persist
-libodb-qt: C++ objects to a relational database without having to deal with
-libodb-qt: tables, columns, or SQL and without manually writing any mapping
-libodb-qt: code.
-libodb-qt:
-libodb-qt:
-libodb-qt: https://www.codesynthesis.com/products/odb/
-libodb-qt:
diff --git a/development/libodb-sqlite/README b/development/libodb-sqlite/README
deleted file mode 100644
index ab119b383f..0000000000
--- a/development/libodb-sqlite/README
+++ /dev/null
@@ -1,18 +0,0 @@
-ODB is an open-source, cross-platform, and cross-database object-
-relational mapping (ORM) system for C++. It allows you to persist
-C++ objects to a relational database without having to deal with
-tables, columns, or SQL and without manually writing any mapping
-code.
-
-ODB supports MySQL, SQLite, PostgreSQL, Oracle, and
-Microsoft SQL Server relational databases as well as C++98/03 and
-C++11 language standards. It also comes with optional profiles
-for Boost and Qt which allow you to seamlessly use value types,
-containers, and smart pointers from these libraries in your
-persistent C++ classes.
-
-The ODB system consists of several packages. The essential packages
-are the ODB compiler (odb), the common runtime library (libodb),
-and the database-specific runtime library (libodb-<database>).
-For example, if you are planning to use MySQL, then the set of
-packages that you will need would be: odb, libodb, and libodb-mysql.
diff --git a/development/libodb-sqlite/libodb-sqlite.SlackBuild b/development/libodb-sqlite/libodb-sqlite.SlackBuild
deleted file mode 100644
index 8d34d41677..0000000000
--- a/development/libodb-sqlite/libodb-sqlite.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Code Synthesis libodb-sqlite
-
-# Copyright Andre Barboza 2016, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=libodb-sqlite
-VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install 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
-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:-tgz}
diff --git a/development/libodb-sqlite/libodb-sqlite.info b/development/libodb-sqlite/libodb-sqlite.info
deleted file mode 100644
index 37ba521973..0000000000
--- a/development/libodb-sqlite/libodb-sqlite.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libodb-sqlite"
-VERSION="2.4.0"
-HOMEPAGE="https://www.codesynthesis.com/products/odb/"
-DOWNLOAD="https://www.codesynthesis.com/download/odb/2.4/libodb-sqlite-2.4.0.tar.bz2"
-MD5SUM="4415627849cd7d9f5dac7a160b245d4c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libodb"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/libodb-sqlite/slack-desc b/development/libodb-sqlite/slack-desc
deleted file mode 100644
index 04136e12b4..0000000000
--- a/development/libodb-sqlite/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------------------------------------------------------|
-libodb-sqlite: libodb-sqlite (Sqlite library runtime for ODB c++ ORM)
-libodb-sqlite:
-libodb-sqlite: ODB is an open-source, cross-platform, and cross-database object-
-libodb-sqlite: relational mapping (ORM) system for C++. It allows you to persist
-libodb-sqlite: C++ objects to a relational database without having to deal with
-libodb-sqlite: tables, columns, or SQL and without manually writing any mapping
-libodb-sqlite: code.
-libodb-sqlite:
-libodb-sqlite:
-libodb-sqlite: https://www.codesynthesis.com/products/odb/
-libodb-sqlite:
diff --git a/development/libodb/README b/development/libodb/README
deleted file mode 100644
index ab119b383f..0000000000
--- a/development/libodb/README
+++ /dev/null
@@ -1,18 +0,0 @@
-ODB is an open-source, cross-platform, and cross-database object-
-relational mapping (ORM) system for C++. It allows you to persist
-C++ objects to a relational database without having to deal with
-tables, columns, or SQL and without manually writing any mapping
-code.
-
-ODB supports MySQL, SQLite, PostgreSQL, Oracle, and
-Microsoft SQL Server relational databases as well as C++98/03 and
-C++11 language standards. It also comes with optional profiles
-for Boost and Qt which allow you to seamlessly use value types,
-containers, and smart pointers from these libraries in your
-persistent C++ classes.
-
-The ODB system consists of several packages. The essential packages
-are the ODB compiler (odb), the common runtime library (libodb),
-and the database-specific runtime library (libodb-<database>).
-For example, if you are planning to use MySQL, then the set of
-packages that you will need would be: odb, libodb, and libodb-mysql.
diff --git a/development/libodb/libodb.SlackBuild b/development/libodb/libodb.SlackBuild
deleted file mode 100644
index f3701d3462..0000000000
--- a/development/libodb/libodb.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Code Synthesis libodb
-
-# Copyright Andre Barboza 2016, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=libodb
-VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install 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
-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:-tgz}
diff --git a/development/libodb/libodb.info b/development/libodb/libodb.info
deleted file mode 100644
index ed1692ab64..0000000000
--- a/development/libodb/libodb.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libodb"
-VERSION="2.4.0"
-HOMEPAGE="https://www.codesynthesis.com/products/odb/"
-DOWNLOAD="https://www.codesynthesis.com/download/odb/2.4/libodb-2.4.0.tar.bz2"
-MD5SUM="ae3842876f4f30c78e9d71fcf945ff7a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/libodb/slack-desc b/development/libodb/slack-desc
deleted file mode 100644
index 142382b8c8..0000000000
--- a/development/libodb/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------------------------------------------------------|
-libodb: libodb (Common Runtime Library for ODB c++ ORM)
-libodb:
-libodb: ODB is an open-source, cross-platform, and cross-database object-
-libodb: relational mapping (ORM) system for C++. It allows you to persist
-libodb: C++ objects to a relational database without having to deal with
-libodb: tables, columns, or SQL and without manually writing any mapping
-libodb: code.
-libodb:
-libodb:
-libodb: https://www.codesynthesis.com/products/odb/
-libodb:
diff --git a/development/libtree/README b/development/libtree/README
new file mode 100644
index 0000000000..67ddeddcdf
--- /dev/null
+++ b/development/libtree/README
@@ -0,0 +1,16 @@
+libtree prints the shared libraries required by each program or shared
+library on the command line as a tree. By default certain common system
+libraries are hidden to prune the tree.
+
+Unlike "ldd", libtree only parses the binary and does not use dynamic
+loader to load them to memory. Therefore, it is a safer approach to
+analyse suspicious binaries.
+
+A static build is recommended by the upstream. One can build the tool
+statically by passing STATIC=yes:
+
+# STATIC=yes sh libtree.SlackBuild
+
+The patch included in this package is already upstream, but hasn't
+ended up in a release yet. It's mainly targeted for the future
+15.1 release and the "current".
diff --git a/development/libtree/libtree-3.1.1-modern-c.patch b/development/libtree/libtree-3.1.1-modern-c.patch
new file mode 100644
index 0000000000..371f0a8bcb
--- /dev/null
+++ b/development/libtree/libtree-3.1.1-modern-c.patch
@@ -0,0 +1,75 @@
+https://github.com/haampie/libtree/commit/eb56287c1b4eb3b267524ab1e6e31f042b713395
+
+From eb56287c1b4eb3b267524ab1e6e31f042b713395 Mon Sep 17 00:00:00 2001
+From: Florian Weimer <fweimer@redhat.com>
+Date: Sun, 15 Jan 2023 22:49:37 +0100
+Subject: [PATCH] Avoid implicit function declarations in tests (#84)
+
+Future compilers are likely to reject implicit function declarations
+by default, causing these tests to fail. Also replace () with (void)
+where appropriate in the changed tests.
+--- a/tests/01_origin/Makefile
++++ b/tests/01_origin/Makefile
+@@ -7,13 +7,13 @@ LD_LIBRARY_PATH=
+ all: check
+
+ liba.so:
+- echo 'int f(){return 1;}' | $(CC) -shared -Wl,-soname,$@ -o $@ -nostdlib -x c -
++ echo 'int f(void){return 1;}' | $(CC) -shared -Wl,-soname,$@ -o $@ -nostdlib -x c -
+
+ exe_rpath: liba.so
+- echo 'int _start(){return f();}' | $(CC) -o $@ -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$$ORIGIN' -Wno-implicit-function-declaration -nostdlib liba.so -x c -
++ echo 'int f(void); int _start(void){return f();}' | $(CC) -o $@ -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$$ORIGIN' -Wno-implicit-function-declaration -nostdlib liba.so -x c -
+
+ exe_runpath: liba.so
+- echo 'int _start(){return f();}' | $(CC) -o $@ -Wl,--no-as-needed -Wl,--enable-new-dtags '-Wl,-rpath,$$ORIGIN' -Wno-implicit-function-declaration -nostdlib liba.so -x c -
++ echo 'int f(void); int _start(void){return f();}' | $(CC) -o $@ -Wl,--no-as-needed -Wl,--enable-new-dtags '-Wl,-rpath,$$ORIGIN' -Wno-implicit-function-declaration -nostdlib liba.so -x c -
+
+ check: exe_rpath exe_runpath
+ ../../libtree exe_rpath
+--- a/tests/02_rpath_of_parents_parent/Makefile
++++ b/tests/02_rpath_of_parents_parent/Makefile
+@@ -8,13 +8,13 @@ LD_LIBRARY_PATH=
+ all: check
+
+ libb.so:
+- echo 'int g(){return 1;}' | $(CC) -shared -Wl,-soname,$@ -o $@ -nostdlib -x c -
++ echo 'int g(void){return 1;}' | $(CC) -shared -Wl,-soname,$@ -o $@ -nostdlib -x c -
+
+ liba.so: libb.so
+- echo 'int f(){return g();}' | $(CC) -shared -Wl,--no-as-needed -Wl,-soname,$@ -o $@ -Wno-implicit-function-declaration libb.so -nostdlib -x c -
++ echo 'int g(void); int f(void){return g();}' | $(CC) -shared -Wl,--no-as-needed -Wl,-soname,$@ -o $@ -Wno-implicit-function-declaration libb.so -nostdlib -x c -
+
+ exe: liba.so
+- echo 'int _start(){return f();}' | $(CC) -o $@ -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$$ORIGIN' '-Wl,-rpath-link,$(CURDIR)' -Wno-implicit-function-declaration -nostdlib -L. -la -x c -
++ echo 'int f(void); int _start(){return f();}' | $(CC) -o $@ -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$$ORIGIN' '-Wl,-rpath-link,$(CURDIR)' -Wno-implicit-function-declaration -nostdlib -L. -la -x c -
+
+ check: exe liba.so
+ ! ../../libtree liba.so # should not find libb.so
+--- a/tests/04_rpath_over_env_over_runpath/Makefile
++++ b/tests/04_rpath_over_env_over_runpath/Makefile
+@@ -13,19 +13,19 @@ dir:
+ mkdir $@
+
+ dir/liba.so: dir
+- echo 'int a(){return 42;}' | $(CC) -shared -Wl,-soname,$(@F) -Wl,--no-as-needed -o $@ -nostdlib -x c -
++ echo 'int a(void){return 42;}' | $(CC) -shared -Wl,-soname,$(@F) -Wl,--no-as-needed -o $@ -nostdlib -x c -
+
+ dir/libb.so: dir/liba.so
+- echo 'int b(){return a();}' | $(CC) -shared -Wl,-soname,$(@F) -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$$ORIGIN' -Wno-implicit-function-declaration -o $@ -nostdlib dir/liba.so -x c -
++ echo 'int a(void); int b(void){return a();}' | $(CC) -shared -Wl,-soname,$(@F) -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$$ORIGIN' -Wno-implicit-function-declaration -o $@ -nostdlib dir/liba.so -x c -
+
+ libb.so:
+ echo 'int b(){return 10;}' | $(CC) -shared -Wl,-soname,$(@F) -Wl,--no-as-needed -o $@ -Wno-implicit-function-declaration -nostdlib -x c -
+
+ exe_rpath: libb.so
+- echo 'int _start(){return b();}' | $(CC) -Wl,--no-as-needed -Wl,--disable-new-dtags "-Wl,-rpath,$(CURDIR)" libb.so -o $@ -Wno-implicit-function-declaration -nostdlib -x c -
++ echo 'int b(void); int _start(void){return b();}' | $(CC) -Wl,--no-as-needed -Wl,--disable-new-dtags "-Wl,-rpath,$(CURDIR)" libb.so -o $@ -Wno-implicit-function-declaration -nostdlib -x c -
+
+ exe_runpath: libb.so
+- echo 'int _start(){return b();}' | $(CC) -Wl,--no-as-needed -Wl,--enable-new-dtags "-Wl,-rpath,$(CURDIR)" libb.so -o $@ -Wno-implicit-function-declaration -nostdlib -x c -
++ echo 'int b(void); int _start(void){return b();}' | $(CC) -Wl,--no-as-needed -Wl,--enable-new-dtags "-Wl,-rpath,$(CURDIR)" libb.so -o $@ -Wno-implicit-function-declaration -nostdlib -x c -
+
+ check: exe_rpath exe_runpath dir/libb.so
+ ../../libtree exe_rpath
+
diff --git a/development/libtree/libtree.SlackBuild b/development/libtree/libtree.SlackBuild
new file mode 100644
index 0000000000..adb8a9a5da
--- /dev/null
+++ b/development/libtree/libtree.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for libtree
+
+# Copyright 2024 Shahab Vahedi, NL
+# 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=libtree
+VERSION=${VERSION:-3.1.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}
+
+[ "${STATIC:-no}" = "yes" ] && MAKE_ARG="LDFLAGS=-static" || MAKE_ARG=""
+
+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"
+elif [ "$ARCH" = "aarch64" ]; 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 {} \;
+
+# Fix likely errors when the compiler is upgraded
+patch -p1 < $CWD/libtree-3.1.1-modern-c.patch
+
+make CFLAGS="$SLKCFLAGS" $MAKE_ARG
+make install PREFIX=/usr SHAREDIR=/usr 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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/screenshot.png $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/libtree/libtree.info b/development/libtree/libtree.info
new file mode 100644
index 0000000000..809b46da31
--- /dev/null
+++ b/development/libtree/libtree.info
@@ -0,0 +1,10 @@
+PRGNAM="libtree"
+VERSION="3.1.1"
+HOMEPAGE="https://github.com/haampie/libtree"
+DOWNLOAD="https://github.com/haampie/libtree/archive/v3.1.1/libtree-3.1.1.tar.gz"
+MD5SUM="03d64114e732a7e0a7fcb32ab3562ffb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Shahab Vahedi"
+EMAIL="list+sbo@vahedi.org"
diff --git a/development/libtree/slack-desc b/development/libtree/slack-desc
new file mode 100644
index 0000000000..2872082167
--- /dev/null
+++ b/development/libtree/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------------------------------------------------------|
+libtree: libtree (ldd as a tree)
+libtree:
+libtree: A tool that:
+libtree: - turns ldd into a tree
+libtree: - explains how shared libraries are found or why they cannot be
+libtree: located
+libtree:
+libtree: homepage: https://github.com/haampie/libtree
+libtree:
+libtree:
+libtree:
diff --git a/development/libxbgi/libxbgi.SlackBuild b/development/libxbgi/libxbgi.SlackBuild
index 15601cf04a..c99a55be15 100644
--- a/development/libxbgi/libxbgi.SlackBuild
+++ b/development/libxbgi/libxbgi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libxbgi
@@ -22,10 +22,13 @@
# 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=libxbgi
VERSION=${VERSION:-364}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=xbgi
if [ -z "$ARCH" ]; then
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lighttable/README b/development/lighttable/README
index 1c9f0b3f6b..99a4b39a95 100644
--- a/development/lighttable/README
+++ b/development/lighttable/README
@@ -4,3 +4,7 @@ programs and embed anything from websites to games.
It provides the real time feedback we need to not only answer
questions about our code, but to understand how our programs
really work.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/development/lighttable/lighttable.SlackBuild b/development/lighttable/lighttable.SlackBuild
index 75c91d7190..92a0801e93 100644
--- a/development/lighttable/lighttable.SlackBuild
+++ b/development/lighttable/lighttable.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Light Table
@@ -24,21 +24,31 @@
# <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lighttable
SRCNAM=LightTable
VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -90,4 +100,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lighttable/lighttable.info b/development/lighttable/lighttable.info
index fb3d3aa655..a8372decfe 100644
--- a/development/lighttable/lighttable.info
+++ b/development/lighttable/lighttable.info
@@ -1,7 +1,7 @@
PRGNAM="lighttable"
VERSION="0.8.1"
HOMEPAGE="http://www.lighttable.com"
-DOWNLOAD="https://github.com/LightTable/LightTable/archive/0.8.1.tar.gz"
+DOWNLOAD="https://github.com/LightTable/LightTable/archive/0.8.1/LightTable-0.8.1.tar.gz"
MD5SUM="28f961bdd3293054cda4551c4fae584e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/likepython/likepython.SlackBuild b/development/likepython/likepython.SlackBuild
index a4248aad04..4e9b1ef05c 100644
--- a/development/likepython/likepython.SlackBuild
+++ b/development/likepython/likepython.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for likepython
# Written by JK Wood <joshuakwood@gmail.com>
#
@@ -16,13 +16,23 @@
# wrong and prevent it from happening in the future.
# In which case, I may just send YOU five dollars.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=likepython
VERSION=${VERSION:-0.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,4 +65,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/liquibase/liquibase.SlackBuild b/development/liquibase/liquibase.SlackBuild
index 7af0834211..046e91fc95 100644
--- a/development/liquibase/liquibase.SlackBuild
+++ b/development/liquibase/liquibase.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liquibase
@@ -28,14 +28,24 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liquibase
VERSION=${VERSION:-3.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -76,4 +86,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/liquibase/liquibase.info b/development/liquibase/liquibase.info
index 527b557e4b..22e33b576e 100644
--- a/development/liquibase/liquibase.info
+++ b/development/liquibase/liquibase.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/liquibase/liquibase/releases/download/liquibase-par
MD5SUM="90a3a731e64f2174fcfd0f1e91132c24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alan Alberghini"
EMAIL="414N@slacky.it"
diff --git a/development/lmdb/README b/development/lmdb/README
deleted file mode 100644
index 9e2c8df0ff..0000000000
--- a/development/lmdb/README
+++ /dev/null
@@ -1,2 +0,0 @@
-LMDB is an ultra-fast, ultra-compact key-value embedded data store
-developed by Symas for the OpenLDAP Project.
diff --git a/development/lmdb/lmdb.SlackBuild b/development/lmdb/lmdb.SlackBuild
deleted file mode 100644
index b7c2e3e2fb..0000000000
--- a/development/lmdb/lmdb.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for LMDB
-
-# Copyright 2015 Jack Hunt, United Kingdom
-# 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.
-
-PRGNAM=lmdb
-VERSION=${VERSION:-0.9.14}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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
-tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
-cd liblmdb
-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 {} \;
-
-#Manually create dest dir's as there is no configure script.
-mkdir $PKG/usr
-mkdir $PKG/usr/man
-mkdir $PKG/usr/lib
-mkdir $PKG/usr/include
-
-sed -i '/^prefix/d' Makefile
-make prefix=/usr DESTDIR=$PKG
-make install prefix=/usr 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/lmdb/lmdb.info b/development/lmdb/lmdb.info
deleted file mode 100644
index f27e78bd6e..0000000000
--- a/development/lmdb/lmdb.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="lmdb"
-VERSION="0.9.14"
-HOMEPAGE="http://symas.com/mdb/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/lmdb-0.9.14.tar.gz"
-MD5SUM="5808c3822595960f8e965754f84ee99e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jack Hunt"
-EMAIL="jackmileshunt[at]gmail.com"
diff --git a/development/lmdb/slack-desc b/development/lmdb/slack-desc
deleted file mode 100644
index 22a92101a3..0000000000
--- a/development/lmdb/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------------------------------------------------------|
-lmdb: lmdb (embedded data store)
-lmdb:
-lmdb: LMDB is an ultra-fast, ultra-compact key-value embedded data store
-lmdb: developed by Symas for the OpenLDAP Project.
-lmdb:
-lmdb: Online documentation available at:
-lmdb: http://symas.com/mdb/
-lmdb:
-lmdb:
-lmdb:
-lmdb:
diff --git a/development/logisim/logisim.SlackBuild b/development/logisim/logisim.SlackBuild
index a45f21740b..16659fabe9 100644
--- a/development/logisim/logisim.SlackBuild
+++ b/development/logisim/logisim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for logisim
#
@@ -22,13 +22,23 @@
# 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=logisim
VERSION=${VERSION:-2.7.1}
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,4 +68,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/logisim/logisim.info b/development/logisim/logisim.info
index 268d8be18b..43b1c12484 100644
--- a/development/logisim/logisim.info
+++ b/development/logisim/logisim.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/circuit/files/2.7.x/2.7.1/logisim-gen
MD5SUM="49768566dfc3093d22d73bb2d547dfec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="GPLeo"
EMAIL="gpleomail@gmail.com"
diff --git a/development/love-legacy072/love-legacy072.SlackBuild b/development/love-legacy072/love-legacy072.SlackBuild
index 839ba33c64..5138a3f66f 100644
--- a/development/love-legacy072/love-legacy072.SlackBuild
+++ b/development/love-legacy072/love-legacy072.SlackBuild
@@ -1,20 +1,27 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LÖVE (legacy 0.7 version)
# Originally written by Dugan Chen (thedoogster [at] gmail [dot] com)
-# Modified for 0.7.2 legacy version by B. Watson (yalhcru@gmail.com)
+# Modified for 0.7.2 legacy version by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# If you're packaging up a LÖVE game that needs this version (won't work
# with 0.8), make sure the shebang line in the .love file says:
# #!/usr/bin/env love-0.7.2
# See notpacman.SlackBuild for an example.
+# 20210903 bkw: fix build for current/pre15, BUILD=2
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=love-legacy072
VERSION=${VERSION:-0.7.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +31,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -56,11 +67,10 @@ rm -rf $SRCNAM-$SRCVER
tar xvf $CWD/$SRCNAM-$VERSION-linux-src.tar.gz
cd $SRCNAM-$SRCVER
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 {} \+
+
+patch -p1 < $CWD/newmesafix.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -85,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/love-legacy072/love-legacy072.info b/development/love-legacy072/love-legacy072.info
index b32a275a49..852461e452 100644
--- a/development/love-legacy072/love-legacy072.info
+++ b/development/love-legacy072/love-legacy072.info
@@ -1,10 +1,10 @@
PRGNAM="love-legacy072"
VERSION="0.7.2"
-HOMEPAGE="http://love2d.org"
+HOMEPAGE="https://love2d.org"
DOWNLOAD="https://github.com/love2d/love/releases/download/0.7.2/love-0.7.2-linux-src.tar.gz"
MD5SUM="c3e678606bb9a870c31168e85b269e7e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua DevIL physfs libmodplug OpenAL"
+REQUIRES="lua DevIL physfs libmodplug"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/love-legacy072/newmesafix.diff b/development/love-legacy072/newmesafix.diff
new file mode 100644
index 0000000000..c60186cf35
--- /dev/null
+++ b/development/love-legacy072/newmesafix.diff
@@ -0,0 +1,15 @@
+diff -Naur love-HEAD/src/modules/graphics/opengl/GLee.h love-HEAD.patched/src/modules/graphics/opengl/GLee.h
+--- love-HEAD/src/modules/graphics/opengl/GLee.h 2011-05-04 12:00:10.000000000 -0400
++++ love-HEAD.patched/src/modules/graphics/opengl/GLee.h 2021-09-03 14:16:42.123563880 -0400
+@@ -62,8 +62,9 @@
+ #define GL_GLEXT_LEGACY
+ #include <OpenGL/gl.h>
+ #else // GLX
+- #define __glext_h_ /* prevent glext.h from being included */
+- #define __glxext_h_ /* prevent glxext.h from being included */
++ #define GL_GLEXT_LEGACY
++ #define GLX_GLEXT_LEGACY
++ #define GLX_GLXEXT_LEGACY
+ #define GLX_GLXEXT_PROTOTYPES
+ #include <GL/gl.h>
+ #include <GL/glx.h>
diff --git a/development/love-legacy080/love-legacy080.SlackBuild b/development/love-legacy080/love-legacy080.SlackBuild
index 9555efb63e..6562b0dd9f 100644
--- a/development/love-legacy080/love-legacy080.SlackBuild
+++ b/development/love-legacy080/love-legacy080.SlackBuild
@@ -1,20 +1,25 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LÖVE (legacy 0.8 version)
# Written by Dugan Chen (thedoogster [at] gmail [dot] com)
-# Modified for 0.8.0 legacy version by B. Watson (yalhcru@gmail.com)
+# Modified for 0.8.0 legacy version by B. Watson (urchlay@slackware.uk)
# If you're packaging up a LÖVE game that needs this version (won't work
# with 0.9.x), make sure the shebang line in the .love file says:
# #!/usr/bin/env love-0.8.0
# See mari0.SlackBuild for an example.
+# 20210903 bkw: fix build for current/pre15.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=love-legacy080
VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +29,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -54,11 +63,11 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION-linux-src.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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# this is the same patch as love-legacy072
+patch -p1 < $CWD/newmesafix.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,4 +92,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/love-legacy080/love-legacy080.info b/development/love-legacy080/love-legacy080.info
index d00894b050..222a7229c4 100644
--- a/development/love-legacy080/love-legacy080.info
+++ b/development/love-legacy080/love-legacy080.info
@@ -1,10 +1,10 @@
PRGNAM="love-legacy080"
VERSION="0.8.0"
-HOMEPAGE="http://love2d.org"
+HOMEPAGE="https://love2d.org"
DOWNLOAD="https://github.com/love2d/love/releases/download/0.8.0/love-0.8.0-linux-src.tar.gz"
MD5SUM="9db9c32585fc7c7da3eba7e438783099"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua DevIL physfs libmodplug OpenAL"
+REQUIRES="lua DevIL physfs libmodplug"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/love-legacy080/newmesafix.diff b/development/love-legacy080/newmesafix.diff
new file mode 100644
index 0000000000..c60186cf35
--- /dev/null
+++ b/development/love-legacy080/newmesafix.diff
@@ -0,0 +1,15 @@
+diff -Naur love-HEAD/src/modules/graphics/opengl/GLee.h love-HEAD.patched/src/modules/graphics/opengl/GLee.h
+--- love-HEAD/src/modules/graphics/opengl/GLee.h 2011-05-04 12:00:10.000000000 -0400
++++ love-HEAD.patched/src/modules/graphics/opengl/GLee.h 2021-09-03 14:16:42.123563880 -0400
+@@ -62,8 +62,9 @@
+ #define GL_GLEXT_LEGACY
+ #include <OpenGL/gl.h>
+ #else // GLX
+- #define __glext_h_ /* prevent glext.h from being included */
+- #define __glxext_h_ /* prevent glxext.h from being included */
++ #define GL_GLEXT_LEGACY
++ #define GLX_GLEXT_LEGACY
++ #define GLX_GLXEXT_LEGACY
+ #define GLX_GLXEXT_PROTOTYPES
+ #include <GL/gl.h>
+ #include <GL/glx.h>
diff --git a/development/love/love.SlackBuild b/development/love/love.SlackBuild
index 5a27d64858..3e06b8622e 100644
--- a/development/love/love.SlackBuild
+++ b/development/love/love.SlackBuild
@@ -1,20 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LÖVE
# Written by Dugan Chen (thedoogster [at] gmail [dot] com)
-# Now maintained by B. Watson <yalhcru@gmail.com>.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
# Original version had no license; modified version licensed under the
# WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240322 bkw: update for v11.5.
+# 20220611 bkw: update for v11.4.
+# 20210902 bkw: BUILD=2, get rid of .la file
# 20200415 bkw:
# - take over maintenance
# - update for v11.3
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=love
-VERSION=${VERSION:-11.3}
+VERSION=${VERSION:-11.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +30,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -70,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
gzip $PKG/usr/man/man1/$PRGNAM.1
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a changes.txt license.txt readme.md $PKG/usr/doc/$PRGNAM-$VERSION
@@ -80,4 +91,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/love/love.info b/development/love/love.info
index b6d3697f27..0c34c77e03 100644
--- a/development/love/love.info
+++ b/development/love/love.info
@@ -1,10 +1,10 @@
PRGNAM="love"
-VERSION="11.3"
-HOMEPAGE="http://love2d.org"
-DOWNLOAD="https://bitbucket.org/rude/love/downloads/love-11.3-linux-src.tar.gz"
-MD5SUM="21fb1630b1edfe7b0699bc10abe2d9a0"
+VERSION="11.5"
+HOMEPAGE="https://love2d.org"
+DOWNLOAD="https://github.com/love2d/love/releases/download/11.5/love-11.5-linux-src.tar.gz"
+MD5SUM="8dc6ab3d3ecb09cb8ea9b6ed8a0ec768"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL SDL2 libmodplug luajit physfs"
+REQUIRES="libmodplug luajit physfs"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/ltrace/ltrace.SlackBuild b/development/ltrace/ltrace.SlackBuild
index 1b0fc94828..21948472fe 100644
--- a/development/ltrace/ltrace.SlackBuild
+++ b/development/ltrace/ltrace.SlackBuild
@@ -1,17 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ltrace
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230507 bkw: updated for 0.7.3_6.4 (the _6 source went away)
# 20170628 bkw: updated for 0.7.3_6
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ltrace
-VERSION=${VERSION:-0.7.3_6}
+VERSION=${VERSION:-0.7.3_6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +25,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -54,11 +62,8 @@ tar xvf $CWD/${PRGNAM}_$SRCVER.orig.tar.bz2
cd $PRGNAM-$SRCVER
tar xvf $CWD/${PRGNAM}_$SRCVER-$DEBVER.debian.tar.?z debian/patches
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 {} \+
# apply Debian's patches, which fix a few bugs.
for i in $( cat debian/patches/series ); do
@@ -97,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ltrace/ltrace.info b/development/ltrace/ltrace.info
index f170aad406..f8c3ce3365 100644
--- a/development/ltrace/ltrace.info
+++ b/development/ltrace/ltrace.info
@@ -1,12 +1,12 @@
PRGNAM="ltrace"
-VERSION="0.7.3_6"
-HOMEPAGE="http://ltrace.org/"
-DOWNLOAD="http://ltrace.org/ltrace_0.7.3.orig.tar.bz2 \
- http://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.7.3-6.debian.tar.xz"
+VERSION="0.7.3_6.4"
+HOMEPAGE="https://ltrace.org/"
+DOWNLOAD="https://ltrace.org/ltrace_0.7.3.orig.tar.bz2 \
+ https://deb.debian.org/debian/pool/main/l/ltrace/ltrace_0.7.3-6.4.debian.tar.xz"
MD5SUM="b3dd199af8f18637f7d4ef97fdfb9d14 \
- c4b0aa923d25b5828720157fd99c3a20"
+ 7eee65d9211b1394c57bdab7247fa070"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/lua-language-server/README b/development/lua-language-server/README
new file mode 100644
index 0000000000..55cdfde4f4
--- /dev/null
+++ b/development/lua-language-server/README
@@ -0,0 +1,15 @@
+lua-language-server (a language server that offers Lua support)
+
+The Lua language server provides various language features for Lua
+to make development easier and faster.
+
+************************************************************************
+
+The server is run via a wrapper that adds these options to make it
+run and work:
+
+ --logpath="/tmp/runtime-$USER/lua-language-server/log"
+ --metapath="/tmp/runtime-$USER/lua-language-server/meta"
+
+The build itself is placed in /usr/libexec/lua-language-server/ as it
+doesn't respect normal file-system hierarchy.
diff --git a/development/lua-language-server/lua-language-server.SlackBuild b/development/lua-language-server/lua-language-server.SlackBuild
new file mode 100644
index 0000000000..da63090968
--- /dev/null
+++ b/development/lua-language-server/lua-language-server.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for lua-language-server
+
+# Copyright 2022 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=lua-language-server
+VERSION=${VERSION:-3.7.4}
+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 $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-$VERSION-submodules.zip
+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 {} \;
+
+cd 3rd/luamake
+# don't use compile/install.sh, it updates shell configuration file
+compile/build.sh
+cd ../..
+3rd/luamake/luamake rebuild
+
+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/bin
+# the project seems to be developed on Windows where it's customary to store
+# application's data next to the binary by default, but that won't work on Linux
+echo '#!/bin/sh' > $PKG/usr/bin/lua-language-server
+echo 'exec "/usr/libexec/lua-language-server/bin/lua-language-server" \
+ --logpath="/tmp/runtime-$USER/lua-language-server/log" \
+ --metapath="/tmp/runtime-$USER/lua-language-server/meta" \
+ "$@"' \
+ >> $PKG/usr/bin/lua-language-server
+chmod 755 $PKG/usr/bin/lua-language-server
+
+# this isn't a binary package, so using libexec instead of /opt
+mkdir -p "$PKG/usr/libexec/lua-language-server"
+cp -r bin/ locale/ meta/ script/ debugger.lua main.lua \
+ "$PKG/usr/libexec/lua-language-server"
+
+# empty directories come from source package and build process, their names are
+# hashes which are generated for FFI meta; see no easy way to prevent their
+# creation while keeping tests, so just remove empty directories in here
+for dir in "$PKG/usr/libexec/lua-language-server/meta/"*; do
+ if [ -z "$(ls -A "$dir")" ]; then
+ rmdir "$dir"
+ fi
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE changelog.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lua-language-server/lua-language-server.info b/development/lua-language-server/lua-language-server.info
new file mode 100644
index 0000000000..4708adf596
--- /dev/null
+++ b/development/lua-language-server/lua-language-server.info
@@ -0,0 +1,10 @@
+PRGNAM="lua-language-server"
+VERSION="3.7.4"
+HOMEPAGE="https://github.com/sumneko/lua-language-server"
+DOWNLOAD="https://github.com/sumneko/lua-language-server/releases/download/3.7.4/lua-language-server-3.7.4-submodules.zip"
+MD5SUM="629ea63364f10351c31d2e2220084078"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/development/lua-language-server/slack-desc b/development/lua-language-server/slack-desc
new file mode 100644
index 0000000000..e7706ebea6
--- /dev/null
+++ b/development/lua-language-server/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------------------------------------------------------|
+lua-language-server: lua-language-server (a language server that offers Lua support)
+lua-language-server:
+lua-language-server: The Lua language server provides various language features for Lua
+lua-language-server: to make development easier and faster.
+lua-language-server:
+lua-language-server: Written in Lua.
+lua-language-server:
+lua-language-server:
+lua-language-server:
+lua-language-server:
+lua-language-server:
diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild
index 4a3632c5db..ef4f13e334 100644
--- a/development/lua/lua.SlackBuild
+++ b/development/lua/lua.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Lua
@@ -11,26 +11,36 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua
VERSION=${VERSION:-5.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -103,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lua52/lua52.SlackBuild b/development/lua52/lua52.SlackBuild
index dcf40c4f6f..2de76b0ee7 100644
--- a/development/lua52/lua52.SlackBuild
+++ b/development/lua52/lua52.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua52
@@ -24,11 +24,14 @@
# Some of the codes were taken from development/lua/lua.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua52
SRCNAM=${PRGNAM%??}
VERSION=${VERSION:-5.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -147,4 +157,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lua53/lua53.SlackBuild b/development/lua53/lua53.SlackBuild
index b4f96312df..7eb3181b3e 100644
--- a/development/lua53/lua53.SlackBuild
+++ b/development/lua53/lua53.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua53
@@ -24,11 +24,14 @@
# Some of the codes were taken from development/lua/lua.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua53
SRCNAM=${PRGNAM%??}
VERSION=${VERSION:-5.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -147,4 +157,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/luajit/luajit.SlackBuild b/development/luajit/luajit.SlackBuild
index cb188925f4..66c597078a 100644
--- a/development/luajit/luajit.SlackBuild
+++ b/development/luajit/luajit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luajit
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=luajit
VERSION=${VERSION:-2.0.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -103,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/luarocks/luarocks.SlackBuild b/development/luarocks/luarocks.SlackBuild
index 00dd57f66c..43f9860aec 100644
--- a/development/luarocks/luarocks.SlackBuild
+++ b/development/luarocks/luarocks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LuaRocks
@@ -22,10 +22,13 @@
# 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="luarocks"
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -92,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lwtools/lwtools.SlackBuild b/development/lwtools/lwtools.SlackBuild
index 72144f56db..63ee728cc8 100644
--- a/development/lwtools/lwtools.SlackBuild
+++ b/development/lwtools/lwtools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lwtools
@@ -21,10 +21,13 @@
# 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=lwtools
-VERSION=${VERSION:-4.15}
+VERSION=${VERSION:-4.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -71,7 +81,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make
-make install DESTDIR=$PKG
+make install DESTDIR=$PKG LWCC_LIBBIN_FILES=''
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
@@ -84,4 +94,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/lwtools/lwtools.info b/development/lwtools/lwtools.info
index 53dde01647..1d3709b1cd 100644
--- a/development/lwtools/lwtools.info
+++ b/development/lwtools/lwtools.info
@@ -1,8 +1,8 @@
PRGNAM="lwtools"
-VERSION="4.15"
+VERSION="4.19"
HOMEPAGE="http://lwtools.projects.l-w.ca"
-DOWNLOAD="http://lwtools.projects.l-w.ca/releases/lwtools/lwtools-4.15.tar.gz"
-MD5SUM="2f13dd2e3908ca1fe20798bd708d8ec3"
+DOWNLOAD="http://lwtools.projects.l-w.ca/releases/lwtools/lwtools-4.19.tar.gz"
+MD5SUM="58a0f05b4b8f29b6e0e99de007b9a7da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/mads/README b/development/mads/README
index 52ce5d7461..b8e60eeb3f 100644
--- a/development/mads/README
+++ b/development/mads/README
@@ -11,7 +11,7 @@ label names.
worth looking at. The DOS/Windows package of MADS ships with various
executables in examples/compression. These are not included in the
package. "Squash", "deflate", and "rle" ship with source, so you
-can compile these yourself if you need them. "Exomizer", "lz4", and
+can compile these yourself if you need them. "Exomizer" and
"pucrunch" exist on SlackBuilds.org, in the system/ category.
Syntax highlighting for the vim and scite editors is included.
diff --git a/development/mads/mads.SlackBuild b/development/mads/mads.SlackBuild
index fc9ae75761..4f4b15e06a 100644
--- a/development/mads/mads.SlackBuild
+++ b/development/mads/mads.SlackBuild
@@ -1,15 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mads
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230103 bkw: update for v2.1.5.
+# 20210903 bkw: update for v2.1.3.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mads
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,23 +25,30 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
+SRCNAM=Mad-Assembler
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir -p $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-7za x $CWD/${PRGNAM}_${VERSION//./}.7z
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+
+# upstream's permissions are still horrid, even after all this time...
+find . -iname \*.exe -print0 | xargs -0 rm -f
find . -type f -print0 | xargs -0 chmod 644
find . -type d -print0 | xargs -0 chmod 755
-find . -iname \*.exe -print0 | xargs -0 rm -f
chown -R root:root .
# Build & install the binary.
@@ -54,7 +67,8 @@ cp -a syntax/vim-mads-master/LICENSE \
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
-for i in examples readme doc; do
+rmdir examples/compression/lz4/pc # empty dir in 2.1.5
+for i in examples readme doc CHANGELOG README.md; do
[ -e "$i" ] && cp -a "$i" $PKGDOC
done
cat $CWD/README > $PKGDOC/README
@@ -64,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mads/mads.info b/development/mads/mads.info
index 0a44a7b712..024eddaa4d 100644
--- a/development/mads/mads.info
+++ b/development/mads/mads.info
@@ -1,10 +1,10 @@
PRGNAM="mads"
-VERSION="2.1.0"
-HOMEPAGE="http://mads.atari8.info/"
-DOWNLOAD="http://mads.atari8.info/mads_210.7z"
-MD5SUM="dcf835bc119e50af4f004bdf838b0cff"
+VERSION="2.1.5"
+HOMEPAGE="https://mads.atari8.info/"
+DOWNLOAD="https://github.com/tebe6502/Mad-Assembler/archive/2.1.5/Mad-Assembler-2.1.5.tar.gz"
+MD5SUM="3b2140982609cad3884efada3df0bd13"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="p7zip fpc"
+REQUIRES="fpc"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/maude/32-bit-fixes.patch b/development/maude/32-bit-fixes.patch
new file mode 100644
index 0000000000..ae03dafe12
--- /dev/null
+++ b/development/maude/32-bit-fixes.patch
@@ -0,0 +1,34 @@
+--- a/src/BuiltIn/succSymbol.hh
++++ b/src/BuiltIn/succSymbol.hh
+@@ -46,6 +46,15 @@
+ Vector<Term*>& terms);
+ void postInterSymbolPass();
+ void reset();
++
++#if SIZEOF_LONG < 8
++ DagNode* makeNatDag(Int64 nat)
++ {
++ mpz_class bigNat;
++ mpz_import(bigNat.get_mpz_t(), 1, 1, sizeof(nat), 0, 0, &nat);
++ return makeNatDag(bigNat);
++ }
++#endif
+ //
+ // Functions special to SuccSymbol.
+ //
+--- a/src/Meta/interpreterManagerSymbol.cc
++++ b/src/Meta/interpreterManagerSymbol.cc
+@@ -599,6 +599,12 @@
+ DagNode*
+ InterpreterManagerSymbol::upRewriteCount(const RewritingContext* context)
+ {
+- mpz_class totalCount(context->getTotalCount());
++#if SIZEOF_LONG == 8
++ mpz_class totalCount(context->getTotalCount());
++#else
++ Int64 totalCount64 = context->getTotalCount();
++ mpz_class totalCount;
++ mpz_import(totalCount.get_mpz_t(), 1, 1, sizeof(totalCount64), 0, 0, &totalCount64);
++#endif
+ return metaLevel->upNat(totalCount);
+ }
diff --git a/development/maude/README b/development/maude/README
index a4fec96e3a..ddeea49996 100644
--- a/development/maude/README
+++ b/development/maude/README
@@ -16,3 +16,6 @@ you may:
- export the variable to the environment, then run maude
$ export MAUDE_LIB=/usr/share/maude/
$ maude
+
+If you'd like to run maude's built-in test suite, export CHECK=yes
+in the script's environment.
diff --git a/development/maude/maude.SlackBuild b/development/maude/maude.SlackBuild
index 17688002ae..204505c54d 100644
--- a/development/maude/maude.SlackBuild
+++ b/development/maude/maude.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for maude
@@ -22,10 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220323 bkw: Modified by SlackBuilds.org:
+# - add -j1 to the make command (parallel builds were failing).
+# - fix 32-bit build.
+# - de-uglify script a bit, use SRCNAM (sorry, it was unreadable).
+# - add CHECK=yes option.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=maude
-VERSION=${VERSION:-2.7.1}
+VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -56,19 +69,24 @@ fi
set -e
+SRCNAM=Maude
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$(tr '[:lower:]' '[:upper:]' <<< ${PRGNAM:0:1})${PRGNAM:1}-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-unzip $CWD/Full-$(tr '[:lower:]' '[:upper:]' <<< ${PRGNAM:0:1})${PRGNAM:1}-$VERSION.zip
+unzip $CWD/Full-$SRCNAM-$VERSION.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# 20220323 bkw: patch from Debian, with thanks.
+[ "$ARCH" != "x86_64" ] && patch -p1 < $CWD/32-bit-fixes.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,15 +97,17 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--without-cvc4 \
+ --without-yices2 \
--datadir=/usr/share/maude \
--datarootdir=/usr/share/maude \
--build=$ARCH-slackware-linux
-make
+make -j1
+[ "${CHECK:-no}" = "yes" ] && make -j1 check
make install DESTDIR=$PKG
# Manually FULL maude
-cp full-$PRGNAM.maude $PKG/usr/share/maude/full-$PRGNAM.maude
+cp full-${PRGNAM}31.maude $PKG/usr/share/maude/full-$PRGNAM.maude
# Let maude find its own files (... maybe I'm doing something wrong in the compilation?)
mkdir -p $PKG/etc/profile.d/
@@ -106,4 +126,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/maude/maude.info b/development/maude/maude.info
index 851c431312..9a9262b56c 100644
--- a/development/maude/maude.info
+++ b/development/maude/maude.info
@@ -1,10 +1,10 @@
PRGNAM="maude"
-VERSION="2.7.1"
+VERSION="3.1"
HOMEPAGE="http://maude.cs.illinois.edu/w/index.php?title=The_Maude_System"
-DOWNLOAD="http://maude.cs.illinois.edu/w/images/d/d8/Maude-2.7.1.tar.gz \
- http://maude.cs.illinois.edu/w/images/c/ca/Full-Maude-2.7.1.zip"
-MD5SUM="aa31753f742f976940c69aa699c3d0ec \
- b365fe0fdd161880e95aeb089f166657"
+DOWNLOAD="http://maude.cs.illinois.edu/w/images/d/d3/Maude-3.1.tar.gz \
+ http://maude.cs.illinois.edu/w/images/0/0a/Full-Maude-3.1.zip"
+MD5SUM="bd1a5cc6f3a88c916e092143c4eb9dea \
+ 897be42af2deed2ace305bae9741d40c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libtecla buddy"
diff --git a/development/mawk/README b/development/mawk/README
index fbf82b010d..7cbdd2107c 100644
--- a/development/mawk/README
+++ b/development/mawk/README
@@ -19,28 +19,9 @@ This build does not conflict with Slackware's own awk (from the gawk
package).
By default, mawk is built using its own built-in regular expression
-engine. There are some slight differences between this and the glibc
-regular expression engine:
-
-- Embedded NUL characters are supported by the built-in engine. For
- instance, you can use the hex escape \x00 to match a NUL character.
- glibc regexes don't support this.
-
-- POSIX brace syntax is NOT supported by the built-in engine. For
- instance, /a{3}/ to match "aaa" but not "a" or "aa". glibc regexes do
- support this.
-
-If you require the glibc engine, export BUILTIN_REGEX=no in the script's
-environment.
-
-The default version in the .info file is 1.3.4, which is a stable
-release from 2009. If you'd like to (or need to) build one of the newer
-'snapshot' releases, get the source from:
-
-ftp://ftp.invisible-island.net/mawk/
-
-...and export VERSION in the environment. Notice the filenames look
-like e.g. "mawk-1.3.4-20171017.tgz". Slackware version numbers can't
-contain the hyphen, so use an underscore instead. Example:
-
-# export "VERSION=1.3.4_20171017"
+engine. In recent mawk versions, the only user-visible difference
+between the built-in and glibc regex engines is that the glibc engine
+doesn't support embedded NUL characters (can't use \x00 to match a
+NUL, for instance). If there are other difference in usage, they are
+undocumented. If you require the glibc engine, export BUILTIN_REGEX=no
+in the script's environment.
diff --git a/development/mawk/mawk.SlackBuild b/development/mawk/mawk.SlackBuild
index 7b8100a688..f109a165ea 100644
--- a/development/mawk/mawk.SlackBuild
+++ b/development/mawk/mawk.SlackBuild
@@ -1,20 +1,32 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mawk
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240315 bkw: update for v1.3.4_20240123.
+# 20230822 bkw: Update for v1.3.4_20230808.
+# Sorry this went so long without updates.
+# - get MANIFEST out of the package doc dir (don't need).
+# - install examples/ to the doc dir (but without +x perms).
+# - run 'make check' by default, undocumented MAKECHECK=no to disable.
+# - if 'make check' is run, save the results to the doc dir.
+# - POSIX intervals (brace expressions) are now supported in the
+# built-in regex engine, so update README accordingly.
# 20200302 bkw: Update for v1.3.4_20200120.
# 20200111 bkw: Update for v1.3.4_20200106.
# 20191129 bkw: Update for v1.3.4_20190203.
# 20180902 bkw: Add BUILTIN_REGEX option.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mawk
-VERSION=${VERSION:-1.3.4_20200120}
+VERSION=${VERSION:-1.3.4_20240123}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +36,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -45,9 +61,11 @@ fi
set -e
-# This does nothing for 1.3.4, but allows e.g. VERSION=1.3.4_20171017 in
-# the environment.
-SRCVER="$( echo $VERSION | sed 's,_,-,' )"
+# This does nothing for 1.3.4, but allows e.g. VERSION=1.3.4_20171017 to
+# work correctly.
+# 20230822 bkw: trying to teach myself to remember bash's string substutions,
+# so get rid of the sed here.
+SRCVER="${VERSION/_/-}"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -56,8 +74,8 @@ rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tgz
cd $PRGNAM-$SRCVER
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 {} +
if [ "${BUILTIN_REGEX:-yes}" = "yes" ]; then
REGEX_OPT="--with-builtin-regex"
@@ -79,18 +97,21 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
+[ "${MAKECHECK:-yes}" = "yes" ] && make check 2>&1 | tee make_check.out
make install DESTDIR=$PKG
strip $PKG/usr/bin/$PRGNAM
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+gzip -9 $PKG/usr/man/man*/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ACKNOWLEDGMENT CHANGES COPYING MANIFEST README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+chmod 644 examples/*
+cp -a ACKNOWLEDGMENT CHANGES COPYING README examples $PKGDOC
+[ -e make_check.out ] && cp -a make_check.out $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
sed "s,@REGEX_DESC@,$REGEX_DESC," $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mawk/mawk.info b/development/mawk/mawk.info
index c3f4b52607..84bf3ab580 100644
--- a/development/mawk/mawk.info
+++ b/development/mawk/mawk.info
@@ -1,10 +1,10 @@
PRGNAM="mawk"
-VERSION="1.3.4_20200120"
+VERSION="1.3.4_20240123"
HOMEPAGE="http://invisible-island.net/mawk/mawk.html"
-DOWNLOAD="ftp://ftp.invisible-island.net/mawk/mawk-1.3.4-20200120.tgz"
-MD5SUM="d48752f402d7371d9eb5f68de3da05d4"
+DOWNLOAD="https://invisible-mirror.net/archives/mawk/mawk-1.3.4-20240123.tgz"
+MD5SUM="90376fbf8faf6e63be373ccad93504ba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/mcrl2/README b/development/mcrl2/README
deleted file mode 100644
index a6e39d196a..0000000000
--- a/development/mcrl2/README
+++ /dev/null
@@ -1,5 +0,0 @@
-mCRL2 stands for micro Common Representation Language 2. It is a
-specification language that can be used to specify and analyse the
-behaviour of distributed systems and protocols and is the successor
-to mCRL. Using its accompanying toolset systems can be analysed and
-verified automatically.
diff --git a/development/mcrl2/mcrl2.SlackBuild b/development/mcrl2/mcrl2.SlackBuild
deleted file mode 100644
index 356009b070..0000000000
--- a/development/mcrl2/mcrl2.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mcrl2
-
-# Originally by Jockey S. Kyd (jockey dot kyd at gmail dot com)
-
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License
-# along with this program (most likely, a file named COPYING). If
-# not, see <http://www.gnu.org/licenses/>.
-
-PRGNAM=mcrl2
-VERSION=${VERSION:-201409.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
-fi
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
-
-CWD=$(pwd)
-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-$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 mcrl2_build
-cd mcrl2_build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- ..
- make VERBOSE=1
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/mcrl2/man $PKG/usr/
-
-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
-
-# copy supporting files for vim
-mkdir -p $PKG/usr/share/$PRGNAM
-cp -a .vim $PKG/usr/share/$PRGNAM/vim
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING INSTALL LICENSE_1_0.txt 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:-tgz}
diff --git a/development/mcrl2/mcrl2.info b/development/mcrl2/mcrl2.info
deleted file mode 100644
index a5ea44ca71..0000000000
--- a/development/mcrl2/mcrl2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mcrl2"
-VERSION="201409.1"
-HOMEPAGE="https://www.mcrl2.org"
-DOWNLOAD="https://www.mcrl2.org/download/release/mcrl2-201409.1.tar.gz"
-MD5SUM="32818c4111aa406033e865c30ac7862b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/mcrl2/slack-desc b/development/mcrl2/slack-desc
deleted file mode 100644
index fca6abcb59..0000000000
--- a/development/mcrl2/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------------------------------------------------------|
-mcrl2: mcrl2 (micro Common Representation Language 2)
-mcrl2:
-mcrl2: mCRL2 stands for micro Common Representation Language 2. It is a
-mcrl2: specification language that can be used to specify and analyse the
-mcrl2: behaviour of distributed systems and protocols and is the successor
-mcrl2: to mCRL. Using its accompanying toolset systems can be analysed and
-mcrl2: verified automatically.
-mcrl2:
-mcrl2: https://www.mcrl2.org/
-mcrl2:
-mcrl2:
diff --git a/development/mcu8051ide/mcu8051ide.SlackBuild b/development/mcu8051ide/mcu8051ide.SlackBuild
index bc41ebdd22..f50c4eb2ef 100644
--- a/development/mcu8051ide/mcu8051ide.SlackBuild
+++ b/development/mcu8051ide/mcu8051ide.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mcu8051ide
@@ -22,26 +22,36 @@
# 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=mcu8051ide
VERSION=${VERSION:-1.4.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -92,4 +102,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/md2roff/README b/development/md2roff/README
new file mode 100644
index 0000000000..07156c50d3
--- /dev/null
+++ b/development/md2roff/README
@@ -0,0 +1,4 @@
+md2roff (convert markdown to roff)
+
+md2roff is a utility to convert markdown documents to Unix *roff
+format (man, mdoc, mm and mom packages).
diff --git a/development/md2roff/git2tarxz.sh b/development/md2roff/git2tarxz.sh
new file mode 100644
index 0000000000..18da696d75
--- /dev/null
+++ b/development/md2roff/git2tarxz.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+# Create source tarball from github repo.
+
+# Note that this script doesn't need to be run as root. It does need to
+# be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+# Upstream doesn't use tags for version numbers so this script is
+# a bit weird.
+
+PRGNAM=md2roff
+CLONE_URL=https://codeberg.org/nereusx/md2roff
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERTAG=$( grep '#define *APPVER' md2roff.c | cut -d'"' -f2 )
+
+VERSION=${VERTAG}+${DATE}_${GIT_SHA}
+
+find . -name .git\* -print0 | xargs -0 rm -rf
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/development/md2roff/manpage.diff b/development/md2roff/manpage.diff
new file mode 100644
index 0000000000..03be19ab05
--- /dev/null
+++ b/development/md2roff/manpage.diff
@@ -0,0 +1,14 @@
+diff -Naur md2roff-1.10+20230125_adb5a2b/md2roff.md md2roff-1.10+20230125_adb5a2b.patched/md2roff.md
+--- md2roff-1.10+20230125_adb5a2b/md2roff.md 2023-01-31 04:15:38.000000000 -0500
++++ md2roff-1.10+20230125_adb5a2b.patched/md2roff.md 2023-01-31 04:44:24.695862999 -0500
+@@ -100,8 +100,8 @@
+ $ md2roff mytext.md | groff -Tps -man | okular -
+ ```
+
+-This document is example, its written in markdown and produce a nice man page.
+-You can see the man page as exported to _pdf_ (by **groff**) in this directory.
++This document is an example: it's written in markdown and produces a nice man page.
++You can see the markdown source and man page as exported to _pdf_ (by **groff**) in the directory /usr/doc/md2roff-@VERSION@/
+
+ ## HOMEPAGE
+ [https://github.com/nereusx/md2roff](https://github.com/nereusx/md2roff)
diff --git a/development/md2roff/md2roff.SlackBuild b/development/md2roff/md2roff.SlackBuild
new file mode 100644
index 0000000000..c588bd325e
--- /dev/null
+++ b/development/md2roff/md2roff.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for md2roff
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230911 bkw: update for v1.11.
+# - new homepage, thanks to Tonus for finding it.
+# - upstream finally did a tagged release, yay!
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=md2roff
+VERSION=${VERSION:-1.11}
+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
+
+# 20230911 bkw: we get 2 different filenames depending on whether the
+# Content-disposition header is respected by whatever downloads the file.
+# Handle either, without scary-looking error messages. Unlike github,
+# codeberg doesn't have a "magic" URL that works either way.
+TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
+[ -e "$TARBALL" ] || TARBALL=$CWD/$VERSION.tar.gz
+tar xvf $TARBALL
+
+cd $PRGNAM
+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 {} +
+
+# Make the man page give the right directory for the PDF example:
+patch -p1 < $CWD/manpage.diff
+sed -i "s,@VERSION@,$VERSION," $PRGNAM.md
+
+# Slackware 15.0's groff is slightly broken (and -current's too, I'm
+# told), the -Tpdf option looks in the wrong dir for fonts (sent a bug
+# report about this to PV). There's another way to convert a man page
+# to a PDF that works fine, though:
+sed -i 's,-groff.*,roff2pdf -K utf8 md2roff.1 > md2roff.1.pdf,' Makefile
+
+# ...above I said "works fine", this is almost true: roff2pdf will
+# fail if DISPLAY isn't set in the environment... although it can be
+# set to literally anything (roff2pdf never tries to connect to X at
+# all, it just insists the variable has to be set). So:
+export DISPLAY=${DISPLAY:-no_such_display}
+
+make install \
+ CFLAGS="$SLKCFLAGS" \
+ prefix=/usr \
+ man1dir=/usr/man/man1 \
+ DESTDIR=$PKG
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE* *.md *.pdf examples $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# 20230911 bkw: the man and PDF docs claim that the generated man page
+# for md2roff.1 will be found in the documentation dir, so we'd better
+# include it there...
+ln -s ../../man/man1/$PRGNAM.1.gz $PKGDOC/$PRGNAM.1.gz
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/md2roff/md2roff.info b/development/md2roff/md2roff.info
new file mode 100644
index 0000000000..2140efc492
--- /dev/null
+++ b/development/md2roff/md2roff.info
@@ -0,0 +1,10 @@
+PRGNAM="md2roff"
+VERSION="1.11"
+HOMEPAGE="https://codeberg.org/nereusx/md2roff"
+DOWNLOAD="https://codeberg.org/nereusx/md2roff/archive/1.11.tar.gz"
+MD5SUM="4bcdad44558b993cecf52159005c4d7a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/md2roff/slack-desc b/development/md2roff/slack-desc
new file mode 100644
index 0000000000..871ca4bfd7
--- /dev/null
+++ b/development/md2roff/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------------------------------------------------------|
+md2roff: md2roff (convert markdown to roff)
+md2roff:
+md2roff: md2roff is a utility to convert markdown documents to Unix *roff
+md2roff: format (man, mdoc, mm and mom packages).
+md2roff:
+md2roff:
+md2roff:
+md2roff:
+md2roff:
+md2roff:
+md2roff:
diff --git a/development/mdbook/README b/development/mdbook/README
new file mode 100644
index 0000000000..09b3eda71a
--- /dev/null
+++ b/development/mdbook/README
@@ -0,0 +1,3 @@
+Create book from markdown files, like Gitbook but implemented in Rust.
+
+By !red
diff --git a/development/mdbook/mdbook.SlackBuild b/development/mdbook/mdbook.SlackBuild
new file mode 100644
index 0000000000..0a0aed603b
--- /dev/null
+++ b/development/mdbook/mdbook.SlackBuild
@@ -0,0 +1,161 @@
+#!/bin/bash
+
+# Slackware build script for mdBook Rust Tool
+
+# Copyright 2019-2022 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.
+
+# 20220425 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binary.
+# - include a couple more doc files.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mdbook
+VERSION=${VERSION:-0.4.18}
+SRCNAM=mdBook
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+
+ if [ "$ARCH" = "i586" ]; then
+ if rustc -Vv | grep host | grep i686 > /dev/null ; then
+ ARCH=i686
+ fi
+ fi
+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=""
+ CARGOTARGET="--target i586-unknown-linux-gnu"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ CARGOTARGET="--target i686-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ CARGOTARGET="--target x86_64-unknown-linux-gnu"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+ CARGOTARGET=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+
+# build offline
+# configuration tells cargo to use the configured directory
+# for dependencies intead of downloading from crates.io
+mkdir .cargo
+cat << EOF >> .cargo/config
+[source.crates-io]
+registry = 'https://github.com/rust-lang/crates.io-index'
+replace-with = 'vendored-sources'
+
+[source.vendored-sources]
+directory = '$(pwd)/vendor'
+EOF
+
+# deps and versions come from Cargo.lock
+mkdir vendor
+(
+ cd vendor
+
+ grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
+ sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
+ awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \
+ grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do
+
+ ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
+ dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
+
+ tar xvf $CWD/$dep-$ver.crate
+
+ touch $dep-$ver/.cargo-ok
+
+ # generate checksum
+ {
+ printf "{\n"
+ printf ' "files": {\n'
+
+ (
+ cd $dep-$ver
+ find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/'
+ ) | sed '$ s/,$//'
+
+ printf " },\n"
+ printf ' "package": "'
+
+ sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
+
+ printf "}\n"
+ } > $dep-$ver/.cargo-checksum.json
+ done
+)
+
+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 {} \+
+
+CARGO_HOME=.cargo \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+cargo build --release $CARGOTARGET
+
+mkdir -p $PKG/usr/bin
+find target -name $PRGNAM -exec install -s -m 755 {} $PKG/usr/bin/$PRGNAM \;
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mdbook/mdbook.info b/development/mdbook/mdbook.info
new file mode 100644
index 0000000000..f82bd1e135
--- /dev/null
+++ b/development/mdbook/mdbook.info
@@ -0,0 +1,440 @@
+PRGNAM="mdbook"
+VERSION="0.4.18"
+HOMEPAGE="https://github.com/rust-lang/mdBook"
+DOWNLOAD="https://github.com/rust-lang/mdBook/archive/v0.4.18/mdBook-0.4.18.tar.gz \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.18.crate \
+ https://static.crates.io/crates/ammonia/ammonia-3.1.2.crate \
+ https://static.crates.io/crates/ansi_term/ansi_term-0.11.0.crate \
+ https://static.crates.io/crates/anyhow/anyhow-1.0.43.crate \
+ https://static.crates.io/crates/assert_cmd/assert_cmd-1.0.7.crate \
+ https://static.crates.io/crates/atty/atty-0.2.14.crate \
+ https://static.crates.io/crates/autocfg/autocfg-1.0.1.crate \
+ https://static.crates.io/crates/base64/base64-0.13.0.crate \
+ https://static.crates.io/crates/bit-set/bit-set-0.5.2.crate \
+ https://static.crates.io/crates/bit-vec/bit-vec-0.6.3.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/block-buffer/block-buffer-0.7.3.crate \
+ https://static.crates.io/crates/block-buffer/block-buffer-0.9.0.crate \
+ https://static.crates.io/crates/block-padding/block-padding-0.1.5.crate \
+ https://static.crates.io/crates/bstr/bstr-0.2.17.crate \
+ https://static.crates.io/crates/byte-tools/byte-tools-0.3.1.crate \
+ https://static.crates.io/crates/byteorder/byteorder-1.4.3.crate \
+ https://static.crates.io/crates/bytes/bytes-1.0.1.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/chrono/chrono-0.4.19.crate \
+ https://static.crates.io/crates/clap/clap-3.0.10.crate \
+ https://static.crates.io/crates/clap_complete/clap_complete-3.0.4.crate \
+ https://static.crates.io/crates/cpufeatures/cpufeatures-0.1.5.crate \
+ https://static.crates.io/crates/ctor/ctor-0.1.20.crate \
+ https://static.crates.io/crates/difference/difference-2.0.0.crate \
+ https://static.crates.io/crates/difflib/difflib-0.4.0.crate \
+ https://static.crates.io/crates/digest/digest-0.8.1.crate \
+ https://static.crates.io/crates/digest/digest-0.9.0.crate \
+ https://static.crates.io/crates/doc-comment/doc-comment-0.3.3.crate \
+ https://static.crates.io/crates/either/either-1.6.1.crate \
+ https://static.crates.io/crates/elasticlunr-rs/elasticlunr-rs-2.3.13.crate \
+ https://static.crates.io/crates/env_logger/env_logger-0.7.1.crate \
+ https://static.crates.io/crates/fake-simd/fake-simd-0.1.2.crate \
+ https://static.crates.io/crates/filetime/filetime-0.2.15.crate \
+ https://static.crates.io/crates/float-cmp/float-cmp-0.9.0.crate \
+ https://static.crates.io/crates/fnv/fnv-1.0.7.crate \
+ https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.0.1.crate \
+ https://static.crates.io/crates/fsevent-sys/fsevent-sys-2.0.1.crate \
+ https://static.crates.io/crates/fsevent/fsevent-0.4.0.crate \
+ https://static.crates.io/crates/fuchsia-zircon-sys/fuchsia-zircon-sys-0.3.3.crate \
+ https://static.crates.io/crates/fuchsia-zircon/fuchsia-zircon-0.3.3.crate \
+ https://static.crates.io/crates/futf/futf-0.1.4.crate \
+ https://static.crates.io/crates/futures-channel/futures-channel-0.3.16.crate \
+ https://static.crates.io/crates/futures-core/futures-core-0.3.16.crate \
+ https://static.crates.io/crates/futures-io/futures-io-0.3.16.crate \
+ https://static.crates.io/crates/futures-macro/futures-macro-0.3.16.crate \
+ https://static.crates.io/crates/futures-sink/futures-sink-0.3.16.crate \
+ https://static.crates.io/crates/futures-task/futures-task-0.3.16.crate \
+ https://static.crates.io/crates/futures-util/futures-util-0.3.16.crate \
+ https://static.crates.io/crates/futures/futures-0.3.16.crate \
+ https://static.crates.io/crates/generic-array/generic-array-0.12.4.crate \
+ https://static.crates.io/crates/generic-array/generic-array-0.14.4.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.1.16.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.2.3.crate \
+ https://static.crates.io/crates/gitignore/gitignore-1.0.7.crate \
+ https://static.crates.io/crates/glob/glob-0.3.0.crate \
+ https://static.crates.io/crates/h2/h2-0.3.4.crate \
+ https://static.crates.io/crates/handlebars/handlebars-4.1.2.crate \
+ https://static.crates.io/crates/hashbrown/hashbrown-0.11.2.crate \
+ https://static.crates.io/crates/headers-core/headers-core-0.2.0.crate \
+ https://static.crates.io/crates/headers/headers-0.3.4.crate \
+ https://static.crates.io/crates/heck/heck-0.3.3.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.19.crate \
+ https://static.crates.io/crates/html5ever/html5ever-0.25.1.crate \
+ https://static.crates.io/crates/http-body/http-body-0.4.3.crate \
+ https://static.crates.io/crates/http/http-0.2.4.crate \
+ https://static.crates.io/crates/httparse/httparse-1.5.1.crate \
+ https://static.crates.io/crates/httpdate/httpdate-1.0.1.crate \
+ https://static.crates.io/crates/humantime/humantime-1.3.0.crate \
+ https://static.crates.io/crates/hyper/hyper-0.14.11.crate \
+ https://static.crates.io/crates/idna/idna-0.2.3.crate \
+ https://static.crates.io/crates/indexmap/indexmap-1.7.0.crate \
+ https://static.crates.io/crates/inotify-sys/inotify-sys-0.1.5.crate \
+ https://static.crates.io/crates/inotify/inotify-0.7.1.crate \
+ https://static.crates.io/crates/input_buffer/input_buffer-0.4.0.crate \
+ https://static.crates.io/crates/iovec/iovec-0.1.4.crate \
+ https://static.crates.io/crates/itertools/itertools-0.10.1.crate \
+ https://static.crates.io/crates/itoa/itoa-0.4.8.crate \
+ https://static.crates.io/crates/kernel32-sys/kernel32-sys-0.2.2.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/lazycell/lazycell-1.3.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.100.crate \
+ https://static.crates.io/crates/log/log-0.4.14.crate \
+ https://static.crates.io/crates/mac/mac-0.1.1.crate \
+ https://static.crates.io/crates/maplit/maplit-1.0.2.crate \
+ https://static.crates.io/crates/markup5ever/markup5ever-0.10.1.crate \
+ https://static.crates.io/crates/markup5ever_rcdom/markup5ever_rcdom-0.1.0.crate \
+ https://static.crates.io/crates/matches/matches-0.1.9.crate \
+ https://static.crates.io/crates/memchr/memchr-2.4.1.crate \
+ https://static.crates.io/crates/mime/mime-0.3.16.crate \
+ https://static.crates.io/crates/mime_guess/mime_guess-2.0.3.crate \
+ https://static.crates.io/crates/mio-extras/mio-extras-2.0.6.crate \
+ https://static.crates.io/crates/mio/mio-0.6.23.crate \
+ https://static.crates.io/crates/mio/mio-0.7.13.crate \
+ https://static.crates.io/crates/miow/miow-0.2.2.crate \
+ https://static.crates.io/crates/miow/miow-0.3.7.crate \
+ https://static.crates.io/crates/net2/net2-0.2.37.crate \
+ https://static.crates.io/crates/new_debug_unreachable/new_debug_unreachable-1.0.4.crate \
+ https://static.crates.io/crates/normalize-line-endings/normalize-line-endings-0.3.0.crate \
+ https://static.crates.io/crates/notify/notify-4.0.17.crate \
+ https://static.crates.io/crates/ntapi/ntapi-0.3.6.crate \
+ https://static.crates.io/crates/num-integer/num-integer-0.1.44.crate \
+ https://static.crates.io/crates/num-traits/num-traits-0.2.14.crate \
+ https://static.crates.io/crates/num_cpus/num_cpus-1.13.0.crate \
+ https://static.crates.io/crates/opaque-debug/opaque-debug-0.2.3.crate \
+ https://static.crates.io/crates/opaque-debug/opaque-debug-0.3.0.crate \
+ https://static.crates.io/crates/opener/opener-0.5.0.crate \
+ https://static.crates.io/crates/os_str_bytes/os_str_bytes-6.0.0.crate \
+ https://static.crates.io/crates/output_vt100/output_vt100-0.1.2.crate \
+ https://static.crates.io/crates/percent-encoding/percent-encoding-2.1.0.crate \
+ https://static.crates.io/crates/pest/pest-2.1.3.crate \
+ https://static.crates.io/crates/pest_derive/pest_derive-2.1.0.crate \
+ https://static.crates.io/crates/pest_generator/pest_generator-2.1.3.crate \
+ https://static.crates.io/crates/pest_meta/pest_meta-2.1.3.crate \
+ https://static.crates.io/crates/phf/phf-0.8.0.crate \
+ https://static.crates.io/crates/phf_codegen/phf_codegen-0.8.0.crate \
+ https://static.crates.io/crates/phf_generator/phf_generator-0.8.0.crate \
+ https://static.crates.io/crates/phf_shared/phf_shared-0.8.0.crate \
+ https://static.crates.io/crates/pin-project-internal/pin-project-internal-1.0.8.crate \
+ https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.7.crate \
+ https://static.crates.io/crates/pin-project/pin-project-1.0.8.crate \
+ https://static.crates.io/crates/pin-utils/pin-utils-0.1.0.crate \
+ https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.10.crate \
+ https://static.crates.io/crates/precomputed-hash/precomputed-hash-0.1.1.crate \
+ https://static.crates.io/crates/predicates-core/predicates-core-1.0.2.crate \
+ https://static.crates.io/crates/predicates-tree/predicates-tree-1.0.2.crate \
+ https://static.crates.io/crates/predicates/predicates-2.0.1.crate \
+ https://static.crates.io/crates/pretty_assertions/pretty_assertions-0.6.1.crate \
+ https://static.crates.io/crates/proc-macro-hack/proc-macro-hack-0.5.19.crate \
+ https://static.crates.io/crates/proc-macro-nested/proc-macro-nested-0.1.7.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.28.crate \
+ https://static.crates.io/crates/pulldown-cmark/pulldown-cmark-0.9.1.crate \
+ https://static.crates.io/crates/quick-error/quick-error-1.2.3.crate \
+ https://static.crates.io/crates/quick-error/quick-error-2.0.1.crate \
+ https://static.crates.io/crates/quote/quote-1.0.9.crate \
+ https://static.crates.io/crates/rand/rand-0.7.3.crate \
+ https://static.crates.io/crates/rand/rand-0.8.4.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.2.2.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.5.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.6.3.crate \
+ https://static.crates.io/crates/rand_hc/rand_hc-0.2.0.crate \
+ https://static.crates.io/crates/rand_hc/rand_hc-0.3.1.crate \
+ https://static.crates.io/crates/rand_pcg/rand_pcg-0.2.1.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.10.crate \
+ https://static.crates.io/crates/regex-automata/regex-automata-0.1.10.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.25.crate \
+ https://static.crates.io/crates/regex/regex-1.5.5.crate \
+ https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
+ https://static.crates.io/crates/ryu/ryu-1.0.5.crate \
+ https://static.crates.io/crates/same-file/same-file-1.0.6.crate \
+ https://static.crates.io/crates/scoped-tls/scoped-tls-1.0.0.crate \
+ https://static.crates.io/crates/select/select-0.5.0.crate \
+ https://static.crates.io/crates/semver/semver-1.0.4.crate \
+ https://static.crates.io/crates/serde/serde-1.0.129.crate \
+ https://static.crates.io/crates/serde_derive/serde_derive-1.0.129.crate \
+ https://static.crates.io/crates/serde_json/serde_json-1.0.66.crate \
+ https://static.crates.io/crates/serde_urlencoded/serde_urlencoded-0.7.0.crate \
+ https://static.crates.io/crates/sha-1/sha-1-0.8.2.crate \
+ https://static.crates.io/crates/sha-1/sha-1-0.9.7.crate \
+ https://static.crates.io/crates/shlex/shlex-1.0.0.crate \
+ https://static.crates.io/crates/siphasher/siphasher-0.3.6.crate \
+ https://static.crates.io/crates/slab/slab-0.4.4.crate \
+ https://static.crates.io/crates/socket2/socket2-0.4.1.crate \
+ https://static.crates.io/crates/string_cache/string_cache-0.8.1.crate \
+ https://static.crates.io/crates/string_cache_codegen/string_cache_codegen-0.5.1.crate \
+ https://static.crates.io/crates/strsim/strsim-0.10.0.crate \
+ https://static.crates.io/crates/strum/strum-0.21.0.crate \
+ https://static.crates.io/crates/strum_macros/strum_macros-0.21.1.crate \
+ https://static.crates.io/crates/syn/syn-1.0.75.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.2.0.crate \
+ https://static.crates.io/crates/tendril/tendril-0.4.2.crate \
+ https://static.crates.io/crates/termcolor/termcolor-1.1.2.crate \
+ https://static.crates.io/crates/textwrap/textwrap-0.14.2.crate \
+ https://static.crates.io/crates/time/time-0.1.43.crate \
+ https://static.crates.io/crates/tinyvec/tinyvec-1.3.1.crate \
+ https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.0.crate \
+ https://static.crates.io/crates/tokio-macros/tokio-macros-1.3.0.crate \
+ https://static.crates.io/crates/tokio-stream/tokio-stream-0.1.7.crate \
+ https://static.crates.io/crates/tokio-tungstenite/tokio-tungstenite-0.13.0.crate \
+ https://static.crates.io/crates/tokio-util/tokio-util-0.6.7.crate \
+ https://static.crates.io/crates/tokio/tokio-1.10.0.crate \
+ https://static.crates.io/crates/toml/toml-0.5.8.crate \
+ https://static.crates.io/crates/topological-sort/topological-sort-0.1.0.crate \
+ https://static.crates.io/crates/tower-service/tower-service-0.3.1.crate \
+ https://static.crates.io/crates/tracing-core/tracing-core-0.1.19.crate \
+ https://static.crates.io/crates/tracing/tracing-0.1.26.crate \
+ https://static.crates.io/crates/treeline/treeline-0.1.0.crate \
+ https://static.crates.io/crates/try-lock/try-lock-0.2.3.crate \
+ https://static.crates.io/crates/tungstenite/tungstenite-0.12.0.crate \
+ https://static.crates.io/crates/typenum/typenum-1.13.0.crate \
+ https://static.crates.io/crates/ucd-trie/ucd-trie-0.1.3.crate \
+ https://static.crates.io/crates/unicase/unicase-2.6.0.crate \
+ https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.6.crate \
+ https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.19.crate \
+ https://static.crates.io/crates/unicode-segmentation/unicode-segmentation-1.8.0.crate \
+ https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.2.crate \
+ https://static.crates.io/crates/url/url-2.2.2.crate \
+ https://static.crates.io/crates/utf-8/utf-8-0.7.6.crate \
+ https://static.crates.io/crates/version_check/version_check-0.9.3.crate \
+ https://static.crates.io/crates/wait-timeout/wait-timeout-0.2.0.crate \
+ https://static.crates.io/crates/walkdir/walkdir-2.3.2.crate \
+ https://static.crates.io/crates/want/want-0.3.0.crate \
+ https://static.crates.io/crates/warp/warp-0.3.1.crate \
+ https://static.crates.io/crates/wasi/wasi-0.10.2+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/winapi-build/winapi-build-0.1.1.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-util/winapi-util-0.1.5.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi/winapi-0.2.8.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+ https://static.crates.io/crates/ws2_32-sys/ws2_32-sys-0.2.1.crate \
+ https://static.crates.io/crates/xml5ever/xml5ever-0.16.1.crate"
+MD5SUM="a59dcbc9a684a36de187d0295f5b1efb \
+ 425b8fdf70df59998d9b7c89083e48d1 \
+ 1fe846b8e6d1593ab5b6d9a1f7bb03fc \
+ 294a49d3c53865fa7ac5d0ce2f5d5735 \
+ c98364f424cb32ad3e457fe501982880 \
+ a8f40912554826383b2596a4a923b37b \
+ 142cb4b9a653e56e56311f0c883b8582 \
+ c6443ec8d007c729ba5482008d0c864d \
+ 80a2c27647a6acb1890a3a7de8fded72 \
+ 8f8acc3c1caff2043085a0cc28a92757 \
+ 45a867175c81501378699f80724393c0 \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ a885637c56c780044d778f18420687cc \
+ c7fbaf61245dc847237ab7c72b3ee9ea \
+ 95414d4f9c612bbe8a061dd2ff0bc519 \
+ f5b0c1878d1deab2cc401e09fa6c78af \
+ 4bd3c3b61fe602e6078615a491e5050a \
+ 1e704be5ddde9d6b5383ef1035309f91 \
+ 3b6b29d331e785bb34e6a414590d5700 \
+ 882dbbc613a93f64c3709b0a2bd0d6dc \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ 1581b390d17f6e73a43ffc8a7b009e57 \
+ 0745a38d09e21cc1ed62655e6f1a0415 \
+ aa7f19cea782f46d58b7e696ce024b9c \
+ 99da639741641bcca633074ffd22f0d4 \
+ 727ea8f51f997bf65b95beacc5125757 \
+ 5e49f4c3f9076fe30ae207fe951f9195 \
+ bebc8338ae113a87a04564c97c1e3f0c \
+ b00352aced738d455145117157604783 \
+ 493a2f042d86baa5c6bac75202c64554 \
+ dd1e49c76e9d5853e673a3b41ba02917 \
+ b4e2b229c362ad0dd313ff631816d5db \
+ 1778d8ea77386492faeda052cf8bf991 \
+ 081ed755ceb8e0b7c78cffde40fd084d \
+ 1aef0dd636d3ef234e4f035fc26c0069 \
+ a0b45a97d7e59be69fc01c81a7043d46 \
+ 94f11861c538d1a2fd56c86d140e4358 \
+ 8dab3b3ec00dc56cffde0b0c410d47b5 \
+ 7ee8703970c3fa6a2e37893de742824b \
+ 7c292ae288fae4b3dd8f4871f7ec54e9 \
+ 49c7c8d8dff092a63277ed8d8a3b383b \
+ 54cfab480b7a5f7302eadf44129d3f4b \
+ dd7c80c2d04d2e9ceba82826cf69764d \
+ 97a2637a0640d4d651a8d35b25adde70 \
+ ad022ac5b47908c95c1651a8d62ed88b \
+ c1f94a657d4bdb95a0e12ec2a6426353 \
+ 1e60b156778db78ffe7d9095d8f7342f \
+ 0d991bccbcab9ef08e0ced7d6e4841ef \
+ a4273bf63b973ddde685042334801c68 \
+ f7fecaf94281c3341239b8e823e80c55 \
+ 848bd6f2a9fa60ed190bfc602551e532 \
+ 1d269082741f11824a96743b351aa899 \
+ 668f0eda79c119d7c79f1e49c0afbeeb \
+ 65cd30f86e785b77fd82e0693d126e26 \
+ 15d3113e5507c411419fa64f6b9d5349 \
+ 9db1c40cc98e60cc7bd6782249a0ba01 \
+ 33989ad81212aeba65187e3b69f2100a \
+ e7c07242a95ee1df865efe9534e10a34 \
+ 77b32468aa675971b9311b843c615889 \
+ e7a14bbddf5dd3b0cbc8eaa496b13c43 \
+ 62b3edf8c2db7fccb1a6a41134b84e62 \
+ 0372a8de508e57da4d4869f058bcb630 \
+ f60bc11bfd0b9268be13f6f0d1d0a65a \
+ d4310bba2bdd940077329f6fca3fde78 \
+ 0b7994d1256215201bdfb810a357ffa2 \
+ 95cc83c78cfa33dfc96428e0d2c605ee \
+ 55c7e8d666bc0f1353c063d87045c16d \
+ b2f9dc844fa0ff215f4b076df7656b30 \
+ e40d2efcee31e346fbc82277683422ea \
+ 87f62b583beb9f8c4e9b2c7b5f783f51 \
+ bb2582cae7b3d837f5da1df153001db5 \
+ 50620d22f8dba6006c490dc7905d4321 \
+ f50aaf5171cbc0327f8d18a4ec7405fb \
+ b77f75d6da2eedbad4f109a28b2ef24b \
+ 639af0cca65c012e6a028acfb657e417 \
+ 249e03f000851e7478883506cedffc50 \
+ 89e7b35f7757725508d1c39cd03937f1 \
+ f1c40b9836035b69e464df711a1d2950 \
+ 721a3e3f82633f6ed70a5abfe64c80bc \
+ 06e7dbde9932c6a9bac63d9288670678 \
+ 9d033cc2daa6924420a4a89e6705773f \
+ fba3b040a55c01be7376d3dd5c4d4920 \
+ 23cc9e52c52465f5b225e62ab7cc3457 \
+ 3c624253a5ec6c96fad20dcb8eaa242d \
+ 40e508baeee8cdccbc471489b0f449ff \
+ 4f72232c91aa665fcc186acb4f0b2ff8 \
+ 47580fad08273a52e998f84ef404912e \
+ 74df572cfd2c7f5d80cc201ad4b2c2b1 \
+ 1f27c83b74169711efaddda35c6a46fa \
+ 5ac809692422b722eaded90be3c4d9c2 \
+ d75b1c734f85b007c55ca84217df4201 \
+ a362e890dd0dfe51ecd95a4a1be6e28c \
+ f7bde0c2e5fd9542f7ccb5e6fc40eb04 \
+ 0d4dc4bd76fdb66114874a4afae6834b \
+ 257e573f323c639630b31f147671b627 \
+ f94f1f271803739855830e4351d4c30b \
+ 1fbbe598255c0addb31bdfbe3e76420d \
+ 4604959975c2154a14f6b5e97444e2c8 \
+ ff6c054468eab826f0dab7cc9a3fe557 \
+ 75b8063cab37a099b45204f2e6b1738f \
+ f9ddf92ded75c1df47b2dd1379a482fd \
+ 98b6f812f357ee3c9cf11d31ad98795c \
+ 420f93a43fa603c1253213bdf28983df \
+ a8ec1126ef06244ac1e3773981a005f1 \
+ c0e036fd990d0c9cae11b5876a5cb572 \
+ c36d452e37c73b1e99f40bae18cddfdb \
+ 797752fea1f2c8b458cf7383b61433c9 \
+ 653e04baa68a4484b3b839c19221e474 \
+ cd98de659bfeccf638775ff13259994c \
+ 8ee1436104d86d91d56bafc3b0322e4f \
+ 82887bf79a42c46bece8d18ca411587c \
+ f490982aceabdbd515348f63e638a782 \
+ 37cf6acd1c3259eefeba636e4cc9b365 \
+ 43e97206d08bfd1a23b2ed01fba95c69 \
+ 0cf1fcdb3e8eab7001792f4916516fc2 \
+ 222d8ac7246a639ff9858d12cbb40e54 \
+ a580658df3c2da1e8fed41a7a51389d0 \
+ 4964b67b085fa4433b67dbde4d986c31 \
+ fd3df95de65e4c1fe6c9c4a8399cb7e7 \
+ f27cbb8b66feb1cc9ab1b9af8a1a2c51 \
+ 1d8831e78ffe3b9e83c9b61d121445c0 \
+ 499155f20603f837aa2d4710a6ac38de \
+ c2cc635601bec2b666dec7dfb2591e12 \
+ 07c75fec267864bcbb800ca7709ceae2 \
+ a4ff7abd41c57dfd24bbd4b50edb848f \
+ 452ac8d7c004b02e1ec30a9e390f9625 \
+ 30d783a004d6ae43913983d49b8466c9 \
+ 59425b318d7a80253445671a9fda0aa4 \
+ 5298a9e684a0e914db1d93598950c6b4 \
+ 574452341c38f8d6d4a45c63ad2d7cc7 \
+ c7c38eb603bed6f42edbc4294806a44a \
+ e6fd8764e2acb835d7d2f04d052e30ce \
+ f7e37ccdafce0dcd2001cd78d2c4d169 \
+ 5ed07f9b5c13f3ef60ae85f36f832013 \
+ 3181dca31efe33cbed29a45d0ec67848 \
+ 3c1cc07f7d54984f8189eb08401b7a7e \
+ 3233400d1bc56e7c78d4d7564d8e5b74 \
+ 66d1cb32dce999907409f636f004b884 \
+ d5489ff3f6a307622ba98c4def55cdb5 \
+ 0a80ed36a125ac3cdfa09f8707055873 \
+ e30085994bbeb4b7f4895d48216d5476 \
+ a0f55fda89c0f97784edb18f4c253a49 \
+ ae5dab3db7dc317e16bb6f9e7eb15d14 \
+ b269356e8646f3184a0e8d52a58cee69 \
+ 792d44fd2c664a81c10d7b261c5fda06 \
+ 7b0715affe44616a992f113ad7ab7d50 \
+ 4a80ab58144fc731cd12abc6d5139d7f \
+ 95f4b6766a27d814b4e54d1ccb3b7fc9 \
+ 82401c70623ccc1bfc0bcb5c3b0ac8b7 \
+ 6b5c7401117316735435311bf551515b \
+ 0538d1da369f3e3f0412aa4d735c1b61 \
+ a69721c73263cd2040e1a5f120b03a6f \
+ 2d8d8b377d144f5e32b4f65a69eb0b24 \
+ fc60e4ecd18db5e582b9e7dd19dd62e4 \
+ f502bedab181bb8d078589b693d6ffad \
+ d8d8d451b56798b0485b1f21e31bfed2 \
+ 0560527756efc7df41b5a1c942a2e951 \
+ f0e967e704cbfb2cbb44836b54dc7ab5 \
+ ff1b5cc32f473ab905bb967083e8e5d1 \
+ 823b1a0c367f5bf34ff38a7148cab53a \
+ b1cace2e0c87bbbf5753996e28016787 \
+ 0be942062f164a7a1e46673c01c7d711 \
+ 6a06da34ef29beab908b8d6ab1d12b8a \
+ 24a2cb0b833248b34e11945ee3b7044d \
+ f9413de4f5ecd8f9bb3d0d7889a09aa4 \
+ a0539d2f4d916dc8e9b5afb32685ed4e \
+ 0c731adc101ba021096552e942999527 \
+ cfe9ae4d95fb48824e255ee207cf6a00 \
+ 82d98dc87dc8503400aa095f5aa70f13 \
+ 1a26e15d2933a6e0edc4f3f2c7b766b7 \
+ 9682f5ad8bf3cb03023039e13ba0ef73 \
+ 465e136d16fe7727ab34859d907b3751 \
+ 6e328718765f2352dd34f10215488fbb \
+ 8523ae19f02f159dd045de88cf0e06a4 \
+ ebdff467249aa3dca005a441dc824236 \
+ 0b8a5d001f8f677ca2cdab6f63be391d \
+ 9d66208e00715217a8c1f2e40efe4a0c \
+ 45fffe4a8cd1fc8903ca7a8e32815264 \
+ 7bfcad253aff26bc26c5e3521f3ba891 \
+ 8fe0817bd35c213633abd8ccb26f43d9 \
+ b3b797ef65183f3bae25d28e75f1ab94 \
+ e9bed1eda1859d980a69e0bd0edd9b0b \
+ 3d25d22837ead5c2992d58ed18283026 \
+ d0dc12993f0da380d2412d28fe5fc123 \
+ db6fe956ec67f88412df3a627158a7ba \
+ e5c372c6b0b7176304c5133ea0a2b045 \
+ 519bfbdd19531f1d7b775bfa7ce4ee80 \
+ 775bf8add6542d3a32abefd3a1e242dd \
+ b6ec1f066b7b85b38e1d01bf8ed97965 \
+ 8f1da9ba3b7b793efa8a39a159d06035 \
+ e876964c7b83db85fb7897bee7ad0f45 \
+ f73f968be695ed1bcdbb8ff19c989f8c \
+ 624d35cbc853aefbfc015584980d3890 \
+ 6cae4969689ecc3b4b4c31a9fb9539a6 \
+ 36cbce768155bdac8934efa262d75fe3 \
+ b3c895be51ad2941174aed33677be9c3 \
+ 10291d9a0022076bc0827250816d3476 \
+ 8cf3e6ccd359849ae4e88e0aa69ddae0 \
+ 087bfc476e9d73628cebd265590f11f7 \
+ eb721c4d9e5dba8f93e9de0a80036ec3 \
+ 60b1e46c5dd84e50d42cd5f68b041336 \
+ 1c446b05ba6899a5b5801b7d4aee465c \
+ 6708629acf3d2ecb7404e43255d2df85 \
+ 580dd7d12690c726da7d5075f3442a74 \
+ e334c03160b1e0989c2a71ca55f631fc \
+ ac3354e87d9573cad25ec9b4f8f31f00 \
+ a061ad1db3e0d839725b037ff8be84e7 \
+ 6e23e0eee42b1ba9ec61a6db7ec2dc08 \
+ c900e7dbce808ff8ced375077b17a163 \
+ db96b50050277bf05a3c68534bbb9586 \
+ b9e37d5fc4ad28b612b78ad37816684d \
+ 09de9d01e7331ff3da11f58be8bef0df \
+ b44489eb4799c4fabac3fceb48de54f7 \
+ 0498c4a11448bfc35dc7bb2caa64c753 \
+ 38346bab0933c9eb1e36d22fe4220ba7 \
+ 70c21cb103a0d2d5750fb9ca3eab2cd7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Pouria Rezaei"
+EMAIL="Pouria.rz@outlook.com"
diff --git a/development/mdbook/slack-desc b/development/mdbook/slack-desc
new file mode 100644
index 0000000000..cfdfab9848
--- /dev/null
+++ b/development/mdbook/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------------------------------------------------------|
+mdbook: mdbook (mdBook Rust Tool)
+mdbook:
+mdbook: Create book from markdown files, like Gitbook but implemented in Rust.
+mdbook:
+mdbook: Homepage: https://github.com/rust-lang/mdBook
+mdbook:
+mdbook:
+mdbook:
+mdbook:
+mdbook:
+mdbook:
diff --git a/development/medit/medit.SlackBuild b/development/medit/medit.SlackBuild
index 814848360e..dc693554ca 100644
--- a/development/medit/medit.SlackBuild
+++ b/development/medit/medit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for medit
@@ -26,28 +26,38 @@
# 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=medit
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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 -eu
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -101,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/medit/medit.info b/development/medit/medit.info
index d99018ad1f..2c78fe7e8b 100644
--- a/development/medit/medit.info
+++ b/development/medit/medit.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Edward W. Koenig"
-EMAIL="Kingbeowulf@gmail.com"
+EMAIL="Kingbeowulf@linuxgalaxy.org"
diff --git a/development/meld/meld.SlackBuild b/development/meld/meld.SlackBuild
index 86bd1ef895..6ec155c6bd 100644
--- a/development/meld/meld.SlackBuild
+++ b/development/meld/meld.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for meld
@@ -24,10 +24,13 @@
# 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=meld
VERSION=${VERSION:-1.8.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -81,4 +91,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/meld3/meld3.SlackBuild b/development/meld3/meld3.SlackBuild
index 7dc06d9f16..1177847317 100644
--- a/development/meld3/meld3.SlackBuild
+++ b/development/meld3/meld3.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for meld3
-# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meld3
SRCNAM=meld
-VERSION=${VERSION:-3.18.3}
+VERSION=${VERSION:-3.22.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -70,14 +77,26 @@ 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 {} \;
-python3 setup.py install --root=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/doc/$SRCNAM-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc/
-mv $PKG/usr/share/man $PKG/usr
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
rm -f $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
@@ -87,4 +106,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/meld3/meld3.info b/development/meld3/meld3.info
index d311d6f413..df8c888039 100644
--- a/development/meld3/meld3.info
+++ b/development/meld3/meld3.info
@@ -1,10 +1,10 @@
PRGNAM="meld3"
-VERSION="3.18.3"
+VERSION="3.22.2"
HOMEPAGE="http://meldmerge.org/"
-DOWNLOAD="https://download.gnome.org/sources/meld/3.18/meld-3.18.3.tar.xz"
-MD5SUM="81ab217622f856ee014f6b6c47a198f2"
+DOWNLOAD="https://download.gnome.org/sources/meld/3.22/meld-3.22.2.tar.xz"
+MD5SUM="89cbf062f9c0b49618ff2ccd33285077"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtksourceview3 pygobject3-python3"
+REQUIRES="gtksourceview4"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/memchan/memchan.SlackBuild b/development/memchan/memchan.SlackBuild
index 2762e2f0ed..e56cdc9c44 100644
--- a/development/memchan/memchan.SlackBuild
+++ b/development/memchan/memchan.SlackBuild
@@ -1,31 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Memchan
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=memchan
VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=Memchan
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -82,4 +92,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/menhir/menhir.SlackBuild b/development/menhir/menhir.SlackBuild
index 094a29eba9..6eff347741 100644
--- a/development/menhir/menhir.SlackBuild
+++ b/development/menhir/menhir.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for menhir
@@ -22,10 +22,13 @@
# 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=menhir
-VERSION=${VERSION:-20170101}
+VERSION=${VERSION:-20220210}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -56,16 +66,16 @@ fi
set -e
-# Fixed already installed menhirlib from findlib
-# This is needed for reinstallation/upgrade process
-cd /usr/lib${LIBDIRSUFFIX}/ocaml/site-lib/
-rm -rf menhirLib
+## Fixed already installed menhirlib from findlib
+## This is needed for reinstallation/upgrade process
+#cd /usr/lib${LIBDIRSUFFIX}/ocaml/site-lib/
+#rm -rf menhirLib
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -74,17 +84,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 {} \;
-# fix doc and man page path
-sed -i -e 's/share\/doc/doc\//' -e 's/share\/man/man\//' Makefile
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make -j1 PREFIX=/usr all
-make install PREFIX=$PKG/usr
-
-# "Installing MenhirLib via ocamlfind" ignores PREFIX= :-(
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/ocaml/site-lib
-mv /usr/lib${LIBDIRSUFFIX}/ocaml/site-lib/menhirLib $PKG/usr/lib${LIBDIRSUFFIX}/ocaml/site-lib/
+dune build
+dune install --prefix=$PKG/usr --libdir=lib$LIBDIRSUFFIX/ocaml
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
@@ -93,7 +94,10 @@ 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 CHANGES INSTALLATION LICENSE manual.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/usr/doc
+ mv $PRGNAM/* coq-menhirlib menhirLib menhirSdk $PKG/usr/doc/$PRGNAM-$VERSION/ )
+rm -fR $PKG/usr/doc/$PRGNAM
+cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -101,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/menhir/menhir.info b/development/menhir/menhir.info
index 1926acc370..dbd473b480 100644
--- a/development/menhir/menhir.info
+++ b/development/menhir/menhir.info
@@ -1,10 +1,10 @@
PRGNAM="menhir"
-VERSION="20170101"
+VERSION="20220210"
HOMEPAGE="http://cristal.inria.fr/~fpottier/menhir/"
-DOWNLOAD="http://cristal.inria.fr/~fpottier/menhir/menhir-20170101.tar.gz"
-MD5SUM="78128bc6935d7c40d5da919c502678c0"
+DOWNLOAD="https://gitlab.inria.fr/fpottier/menhir/-/archive/20220210/menhir-20220210.tar.bz2"
+MD5SUM="f7acec111c74555fdb1f2623183e30a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ocamlbuild ocaml-findlib"
+REQUIRES="dune ocaml-findlib"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/meson/README b/development/meson/README
deleted file mode 100644
index 6ead00c876..0000000000
--- a/development/meson/README
+++ /dev/null
@@ -1,9 +0,0 @@
-meson (The Meson Build System)
-
-Meson is an open source build system meant to be both extremely fast,
-and, even more importantly, as user friendly as possible.
-
-The main design point of Meson is that every moment a developer spends
-writing or debugging build definitions is a second wasted. So is every
-second spent waiting for the build system to actually start compiling
-code.
diff --git a/development/meson/meson.SlackBuild b/development/meson/meson.SlackBuild
deleted file mode 100644
index e1ef883991..0000000000
--- a/development/meson/meson.SlackBuild
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for meson
-
-# Copyright 2017-2020 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=meson
-VERSION=${VERSION:-0.55.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr/
-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.md PKG-INFO \
- $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:-tgz}
diff --git a/development/meson/meson.info b/development/meson/meson.info
deleted file mode 100644
index 7f656aa8af..0000000000
--- a/development/meson/meson.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="meson"
-VERSION="0.55.3"
-HOMEPAGE="http://mesonbuild.com"
-DOWNLOAD="https://github.com/mesonbuild/meson/releases/download/0.55.3/meson-0.55.3.tar.gz"
-MD5SUM="99777acd77838c8669e1421fda8e31c5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3 ninja"
-MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/development/meson/slack-desc b/development/meson/slack-desc
deleted file mode 100644
index e3e1d45d83..0000000000
--- a/development/meson/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------------------------------------------------------|
-meson: meson (The Meson Build System)
-meson:
-meson: Meson is an open source build system meant to be both extremely fast,
-meson: and, even more importantly, as user friendly as possible.
-meson:
-meson: The main design point of Meson is that every moment a developer spends
-meson: writing or debugging build definitions is a second wasted. So is every
-meson: second spent waiting for the build system to actually start compiling
-meson: code.
-meson:
-meson: HOMEPAGE: http://mesonbuild.com
diff --git a/development/metakit/README b/development/metakit/README
new file mode 100644
index 0000000000..877b55cae1
--- /dev/null
+++ b/development/metakit/README
@@ -0,0 +1,20 @@
+Metakit is an efficient embedded database library with a small
+footprint. It fills the gap between flat-file, relational,
+object-oriented, and tree-structured databases, supporting
+relational joins, serialization, nested structures, and instant schema
+evolution. There is a C++ API, a Python binding called Mk4py, and a Tcl
+binding called Mk4tcl. You can manipulate and exchange data between
+any of these.
+
+Data files are portable. The library has been used on Unix, Windows,
+Macintosh, VMS, and others, spanning a range of 16- to 64-bit
+architectures, from PDA's to S390's.
+
+Metakit is in use in various commercial projects and products on
+millions of desktops.
+
+This script builds libmk4, Mk4tcl (bindings for Tcl) and Mk4py
+(bindings for Python)
+If Mk4Py is not desired, the user may set WITH_PYTHON to "NO", e.g.:
+ WITH_PYTHON="NO" ./Mk4tcl.SlackBuild
+
diff --git a/development/metakit/metakit.SlackBuild b/development/metakit/metakit.SlackBuild
new file mode 100644
index 0000000000..cc5d75ac3b
--- /dev/null
+++ b/development/metakit/metakit.SlackBuild
@@ -0,0 +1,153 @@
+#!/bin/bash
+
+# Slackware build script for metakit
+
+# Based on the build script for Mk4tcl
+# Originally written by Zbigniew Baniewski <Zbigniew dot Baniewski [at] gmail [dot] com>
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20220731 from pacakge Mk4tcl:
+# * Updated download link
+# * Added (optional) Python support
+# * Removed Makefile patch (DESTDIR issue corrected via sed)
+# * Removed demo binaries (not needed)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=metakit
+VERSION=${VERSION:-2.4.9.8}
+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}
+unzip $CWD/${PRGNAM}-${VERSION}.zip
+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 {} \;
+
+# correct makefiles
+sed -i 's/DESTDIR=/DESTDIR ?=/' unix/Makefile.in
+sed -i 's/DESTDIR.*=/DESTDIR ?=/' tcl/Makefile.in
+
+mkdir -p builds
+cd builds
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../unix/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+[ "$ARCH" == "x86_64" ] && ENABLE_64BITS=--enable-64bits || ENABLE_64BITS=""
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+CC=g++ \
+../tcl/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-tcl=/usr/lib${LIBDIRSUFFIX} \
+ --with-tclinclude=/usr/include \
+ $ENABLE_64BITS \
+ --enable-threads \
+ --enable-shared \
+ --enable-load \
+ --build=$ARCH-slackware-linux
+
+make
+make install-binaries DESTDIR=$PKG
+rmdir $PKG/usr/bin
+
+WITH_PYTHON=${WITH_PYTHON:-"YES"}
+if [ "$WITH_PYTHON" != "NO" ]; then
+ cd ../python
+ python2 setup.py install --root=$PKG
+fi
+
+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 \
+ demos doc examples license.terms \
+ $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
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/metakit/metakit.info b/development/metakit/metakit.info
new file mode 100644
index 0000000000..d74365ceba
--- /dev/null
+++ b/development/metakit/metakit.info
@@ -0,0 +1,10 @@
+PRGNAM="metakit"
+VERSION="2.4.9.8"
+HOMEPAGE="https://equi4.com/metakit/"
+DOWNLOAD="https://git.jeelabs.org/metakit/snapshot/metakit-2.4.9.8.zip"
+MD5SUM="86b3b1c1aac302fd2218cae8aacd6b05"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/metakit/slack-desc b/development/metakit/slack-desc
new file mode 100644
index 0000000000..c1a2d2b516
--- /dev/null
+++ b/development/metakit/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------------------------------------------------------|
+metakit: metakit (embedded database library)
+metakit:
+metakit: Metakit is an efficient embedded database library with a small
+metakit: footprint. It fills the gap between flat-file, relational,
+metakit: object-oriented, and tree-structured databases, supporting relational
+metakit: joins, serialization, nested structures, and instant schema evolution.
+metakit: This package comprises the metakit library, Tcl and Python bindings.
+metakit: Data files are portable. The library has been used on Unix, Windows,
+metakit: Macintosh, VMS, and others.
+metakit:
+metakit: Homepage: https://equi4.com/metakit/
diff --git a/development/mg-openbsd/mg-openbsd.SlackBuild b/development/mg-openbsd/mg-openbsd.SlackBuild
index daf44a0c73..b5c6fbaea8 100644
--- a/development/mg-openbsd/mg-openbsd.SlackBuild
+++ b/development/mg-openbsd/mg-openbsd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mg-openbsd
@@ -22,26 +22,36 @@
# 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=mg-openbsd
VERSION=${VERSION:-5.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,7 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+sed -i "s|sys/sysctl|linux/sysctl|" compat/getentropy_linux.c
+
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CXXFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
MANDIR=/usr/man \
@@ -90,4 +102,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mg-openbsd/mg-openbsd.info b/development/mg-openbsd/mg-openbsd.info
index 2bf895eb65..5057ade0e4 100644
--- a/development/mg-openbsd/mg-openbsd.info
+++ b/development/mg-openbsd/mg-openbsd.info
@@ -1,7 +1,7 @@
PRGNAM="mg-openbsd"
VERSION="5.6.0"
HOMEPAGE="https://github.com/scott-parker/mg-openbsd"
-DOWNLOAD="https://github.com/scott-parker/mg-openbsd/archive/5.6.0.tar.gz"
+DOWNLOAD="https://github.com/scott-parker/mg-openbsd/archive/5.6.0/mg-openbsd-5.6.0.tar.gz"
MD5SUM="5bea24090965b3c0659156130b40c16e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/mg-troglobit/LICENSE b/development/mg-troglobit/LICENSE
new file mode 100644
index 0000000000..013168eb6a
--- /dev/null
+++ b/development/mg-troglobit/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019-2023 Marco Marini
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/development/mg-troglobit/README.md b/development/mg-troglobit/README.md
new file mode 100644
index 0000000000..9c75028302
--- /dev/null
+++ b/development/mg-troglobit/README.md
@@ -0,0 +1,14 @@
+# mg-troglobit.SlackBuild
+
+A SlackBuild for Joachim Wiberg (troglobit)'s fork of OpenBSD Mg (https://github.com/troglobit/mg)
+
+The usage is the very same of https://slackbuilds.org/howto/
+
+Get the Mg source code here: https://github.com/troglobit/mg/releases/download/v3.7/mg-3.7.tar.gz
+
+![Mg-troglobit on Slackware 14.0](https://i.postimg.cc/P5BKVR8N/mg37.png "Mg-troglobit on Slackware 14.0")
+
+## License
+Copyright (c) 2020-2023 Saidone
+
+Distributed under the MIT License
diff --git a/development/mg-troglobit/mg-troglobit.SlackBuild b/development/mg-troglobit/mg-troglobit.SlackBuild
index e3e5d6e67c..80017a05c4 100644
--- a/development/mg-troglobit/mg-troglobit.SlackBuild
+++ b/development/mg-troglobit/mg-troglobit.SlackBuild
@@ -1,33 +1,16 @@
-#!/bin/sh -e
+#!/bin/bash
# Slackware build script for Joachim Wiberg (troglobit)'s fork of OpenBSD Mg
-# saidone@saidone.org revision date 2020/08/24
-#
-# Copyright (c) 2019 Marco Marini
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-# SOFTWARE.
+# saidone@saidone.org revision date 2023/08/14
+# license (of this script and its accessories, not that of the application it will package): see LICENSE
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mg-troglobit
-SRCNAM=${PRGNAM%-*}
-VERSION=${VERSION:-3.4}
+VERSION=${VERSION:-3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -61,9 +51,10 @@ 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
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM/troglobit/}$VERSION.tar.gz
+mv ${PRGNAM/troglobit/}$VERSION $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -100,7 +91,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
gzip -9 $PKG/usr/doc/$PRGNAM-$VERSION/tutorial
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/{*.md,.mg}
+rm $PKG/usr/doc/$PRGNAM-$VERSION/*.md
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mg-troglobit/mg-troglobit.info b/development/mg-troglobit/mg-troglobit.info
index 86f5bd334b..d181bb1c74 100644
--- a/development/mg-troglobit/mg-troglobit.info
+++ b/development/mg-troglobit/mg-troglobit.info
@@ -1,8 +1,8 @@
PRGNAM="mg-troglobit"
-VERSION="3.4"
+VERSION="3.7"
HOMEPAGE="https://github.com/troglobit/mg"
-DOWNLOAD="https://github.com/troglobit/mg/releases/download/v3.4/mg-3.4.tar.gz"
-MD5SUM="6b79855d54770bcb23e5457ebde8296c"
+DOWNLOAD="https://github.com/troglobit/mg/releases/download/v3.7/mg-3.7.tar.gz"
+MD5SUM="0040c9e738bd204db26c6967bbb8be38"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/micro/README b/development/micro/README
new file mode 100644
index 0000000000..4030b374a7
--- /dev/null
+++ b/development/micro/README
@@ -0,0 +1,20 @@
+micro is a terminal-based text editor that aims to be easy to use
+and intuitive, while also taking advantage of the capabilities
+of modern terminals.
+
+As its name indicates, micro aims to be somewhat of a
+successor to the nano editor by being easy to install and use.
+It strives to be enjoyable as a full-time editor for people who
+prefer to work in a terminal, or those who regularly edit files
+over SSH.
+
+Optional Dependencies
+----------------------
+On Linux, clipboard support requires:
+
+ On X11, the xclip or xsel commands (Available on SBo)
+ On Wayland, the wl-clipboard command
+
+If you don't have these commands, micro will use an internal
+clipboard for copy and paste, but it won't work with
+external applications.
diff --git a/development/micro/doinst.sh b/development/micro/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/micro/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/micro/micro.SlackBuild b/development/micro/micro.SlackBuild
new file mode 100644
index 0000000000..5b3667a888
--- /dev/null
+++ b/development/micro/micro.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for micro editor
+
+# Copyright 2023 Matt Egger, USA
+# Copyright 2022 Brandon Pribula, BC Canada
+# 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=micro
+VERSION=${VERSION:-2.0.13}
+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 [ "$ARCH" != "i586" ] && [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH not supported"
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+if [ "$ARCH" = "i586" ]; then
+ tar xvf $CWD/$PRGNAM-$VERSION-linux32.tar.gz
+elif [ "$ARCH" = "x86_64" ]; then
+ tar xvf $CWD/$PRGNAM-$VERSION-linux64.tar.gz
+fi
+
+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 $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 -m 755 -D $PRGNAM $PKG/usr/bin/$PRGNAM
+install -m 644 -D ${PRGNAM}.1 $PKG/usr/man/man1/${PRGNAM}.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
+
+install -m 644 -D ${PRGNAM}.desktop $PKG/usr/share/applications/${PRGNAM}.desktop
+install -m 644 -D ${PRGNAM}.svg $PKG/usr/share/icons/hicolor/scalable/apps/${PRGNAM}.svg
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE LICENSE-THIRD-PARTY 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
+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/development/micro/micro.info b/development/micro/micro.info
new file mode 100644
index 0000000000..1b21caa33a
--- /dev/null
+++ b/development/micro/micro.info
@@ -0,0 +1,10 @@
+PRGNAM="micro"
+VERSION="2.0.13"
+HOMEPAGE="https://micro-editor.github.io/"
+DOWNLOAD="https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux32.tar.gz"
+MD5SUM="95406a4d8f4c4c2826da12e18231ae6f"
+DOWNLOAD_x86_64="https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux64.tar.gz"
+MD5SUM_x86_64="6af420fe103ef9d0fe3749d2fae724ab"
+REQUIRES=""
+MAINTAINER="Matt Egger"
+EMAIL="bru.barwal@sdf.org"
diff --git a/development/micro/slack-desc b/development/micro/slack-desc
new file mode 100644
index 0000000000..9e50772b14
--- /dev/null
+++ b/development/micro/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------------------------------------------------------|
+micro: micro (A modern and intuitive terminal-based text editor)
+micro:
+micro: As its name indicates, micro aims to be somewhat of a successor to
+micro: nano editor by being easy to install and use. It strives to be
+micro: enjoyable as a full-time editor for people who prefer to work in a
+micro: terminal, or those who regularly edit files over SSH.
+micro:
+micro:
+micro:
+micro: Home page: https://github.com/zyedidia/micro
+micro:
diff --git a/development/ming/README b/development/ming/README
deleted file mode 100644
index 02b3eb5f17..0000000000
--- a/development/ming/README
+++ /dev/null
@@ -1,9 +0,0 @@
-Ming is a Flash (SWF) output library. It can be used from PHP,
-Perl, Ruby, Python, C, C++, Java, and probably more on the way.
-It comprises a lot of Flash functionality, including features
-of Flash 6. Specifically, it lets you create: shapes (including
-morphs), text, sprites (aka movie clips), buttons, and actions
-in flash movies, plus more. The goal for Ming is to abstract
-away all of the mundane specifics of the SWF file format.
-
-This builds the c++, perl, python and tcl-plugin.
diff --git a/development/ming/doinst.sh b/development/ming/doinst.sh
deleted file mode 100644
index 79b0704b6c..0000000000
--- a/development/ming/doinst.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-#config etc/php.d/ming.ini.new
-
diff --git a/development/ming/ming.SlackBuild b/development/ming/ming.SlackBuild
deleted file mode 100644
index 9486503c6a..0000000000
--- a/development/ming/ming.SlackBuild
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ming
-
-# Copyright 2008-2017 Heinz Wiesinger, Amsterdam, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ming
-SRCNAM=libming-ming
-VERSION=${VERSION:-0.4.8}
-TARVERSION=$(echo $VERSION | tr . _)
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$TARVERSION
-tar xvf $CWD/$SRCNAM-$TARVERSION.tar.gz
-cd $SRCNAM-$TARVERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-autoreconf -vif
-
-# static library is activated because the perl extension needs it
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-static \
- --enable-tcl \
- --build=$ARCH-slackware-linux
-
-make -j1
-make install DESTDIR=$PKG
-
-# Building the php extension against a zts enabled php fails currently.
-# Feel free to uncomment this in case you have a normal php. -HW
-
-#cd php_ext
-# make install DESTDIR=$PKG
-#cd -
-
-# Install config file for PHP.
-#install -D -m 644 $CWD/ming.ini $PKG/etc/php.d/ming.ini.new
-
-cd py_ext
- python setup.py install --root=$PKG
-cd -
-
-cd perl_ext
- perl Makefile.PL INSTALLDIRS=vendor
- make
- make install DESTDIR=$PKG
-cd -
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-mkdir -p $PKG/usr/man/man3
-mv $PKG/usr/share/man/man3/* $PKG/usr/man/man3/
-rm -rf $PKG/usr/share
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-find $PKG -depth -type d -empty -delete || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS HISTORY INSTALL LICENSE* NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/ming/ming.info b/development/ming/ming.info
deleted file mode 100644
index 84fc164c45..0000000000
--- a/development/ming/ming.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ming"
-VERSION="0.4.8"
-HOMEPAGE="http://www.libming.org"
-DOWNLOAD="https://github.com/libming/libming/archive/ming-0_4_8/libming-ming-0_4_8.tar.gz"
-MD5SUM="70c28c1e41d5888aa158e6e15644b742"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/development/ming/ming.ini b/development/ming/ming.ini
deleted file mode 100644
index d73fcb9595..0000000000
--- a/development/ming/ming.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-; Enable ming extension module
-; extension=ming.so
diff --git a/development/ming/slack-desc b/development/ming/slack-desc
deleted file mode 100644
index d61b1a0c14..0000000000
--- a/development/ming/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------------------------------------------------------|
-ming: ming (swf output library)
-ming:
-ming: Ming is a Flash (SWF) output library. It can be used from PHP,
-ming: Perl, Ruby, Python, C, C++, Java, and probably more on the way.
-ming: It comprises a lot of Flash functionality, including features
-ming: of Flash 6. Specifically, it lets you create: shapes (including
-ming: morphs), text, sprites (aka movie clips), buttons, and actions
-ming: in flash movies, plus more. The goal for Ming is to abstract
-ming: away all of the mundane specifics of the SWF file format.
-ming:
-ming: Homepage: http://www.libming.org
diff --git a/development/minikube/minikube.SlackBuild b/development/minikube/minikube.SlackBuild
index bec7c01047..97bcd0d7ae 100644
--- a/development/minikube/minikube.SlackBuild
+++ b/development/minikube/minikube.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for minikube
@@ -22,10 +22,13 @@
# 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=minikube
VERSION=${VERSION:-1.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,13 +37,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -86,4 +96,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/minikube/minikube.info b/development/minikube/minikube.info
index e7547c3888..367c0130e2 100644
--- a/development/minikube/minikube.info
+++ b/development/minikube/minikube.info
@@ -2,7 +2,7 @@ PRGNAM="minikube"
VERSION="1.13.0"
HOMEPAGE="https://minikube.sigs.k8s.io"
DOWNLOAD="UNSUPPORTED"
-MD5SUM="UNSUPPORTED"
+MD5SUM=""
DOWNLOAD_x86_64="https://github.com/kubernetes/minikube/releases/download/v1.13.0/minikube-linux-amd64"
MD5SUM_x86_64="eca78bf9f8f653fd2c8301da12a51aa0"
REQUIRES=""
diff --git a/development/minimal-basic/README b/development/minimal-basic/README
new file mode 100644
index 0000000000..6e66cf04d3
--- /dev/null
+++ b/development/minimal-basic/README
@@ -0,0 +1,20 @@
+minimal-basic (compiler for ECMA-55 Minimal BASIC)
+
+This software is a compiler for 'Minimal BASIC' as specified by the
+ECMA-55 standard. The target is AMD64/EM64T/x86-64 machines running a
+modern Linux distribution.
+
+The compiler is called ecma55, but it's normally called via wrapper
+scripts called BASICC, BASICCS, or BASICCW. Man pages are included for
+all of these commands.
+
+There's sample code in /usr/share/minimal-basic, and quite a bit
+of documentation in /usr/doc/minimal-basic-$VERSION, including a
+copy of the language standard (ECMA-55.TXT) and a complete book
+(Learn_BASIC.pdf).
+
+Note: This will only compile on x86_64 because it's partly written in
+x86_64 assembly. No way will it ever compile for 32-bit x86 (or any
+ARM). Even if it would build on 32-bit, it would be a cross compiler:
+it only generates x86_64 code, which would not be very useful on an
+x86 system.
diff --git a/development/minimal-basic/examples/BAGELS.BAS b/development/minimal-basic/examples/BAGELS.BAS
new file mode 100644
index 0000000000..edd64d77a7
--- /dev/null
+++ b/development/minimal-basic/examples/BAGELS.BAS
@@ -0,0 +1,117 @@
+1 RANDOMIZE
+5 PRINT TAB(33);"BAGELS"
+10 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
+12 PRINT TAB(10);"ECMA-55 PORT BY. B. WATSON, URCHLAY AT SLACKWARE.UK"
+14 PRINT
+16 PRINT
+20 REM *** BAGELS NUMBER GUESSING GAME
+22 REM *** ORIGINAL SOURCE UNKNOWN BUT SUSPECTED TO BE
+25 REM *** LAWRENCE HALL OF SCIENCE, U.C. BERKELEY
+29 REM A = ACTUAL ANSWER, G = USER'S GUESS
+30 DIM A(3),G(3)
+40 LET Y=0
+50 PRINT
+55 PRINT
+60 PRINT
+70 PRINT "WOULD YOU LIKE THE RULES (1=YES, 0=NO)";
+80 INPUT N
+90 IF N=0 THEN 150
+100 PRINT
+105 PRINT "I AM THINKING OF A THREE-DIGIT NUMBER. TRY TO GUESS"
+110 PRINT "MY NUMBER AND I WILL GIVE YOU CLUES AS FOLLOWS:"
+120 PRINT " PICO - ONE DIGIT CORRECT BUT IN THE WRONG POSITION"
+130 PRINT " FERMI - ONE DIGIT CORRECT AND IN THE RIGHT POSITION"
+140 PRINT " BAGELS - NO DIGITS CORRECT"
+150 FOR I=1 TO 3
+160 LET A(I)=INT(10*RND)
+165 IF I-1=0 THEN 200
+170 FOR J=1 TO I-1
+180 IF A(I)=A(J) THEN 160
+190 NEXT J
+200 NEXT I
+210 PRINT
+215 PRINT "O.K. I HAVE A NUMBER IN MIND."
+220 FOR I=1 TO 20
+230 PRINT "GUESS #";I,
+240 INPUT N
+243 IF N>=1000 THEN 247
+245 IF N<0 THEN 247
+246 GOTO 250
+247 GOSUB 630
+248 GOTO 230
+250 LET G(1)=INT(N/100)
+260 LET G(2)=INT((N-G(1)*100)/10)
+270 LET G(3)=N-(G(1)*100+G(2)*10)
+290 REM UNCOMMENT NEXT LINE FOR DEBUGGING
+300 REM GOSUB 800
+320 LET F=0
+322 IF G(1)<>G(2) THEN 330
+325 LET F=1
+330 IF G(2)<>G(3) THEN 340
+335 LET F=1
+340 IF G(3)<>G(1) THEN 345
+342 LET F=1
+345 IF F=0 THEN 350
+347 GOSUB 650
+349 GOTO 230
+350 LET C=0
+355 LET D=0
+360 FOR J=1 TO 2
+370 IF A(J)<>G(J+1) THEN 390
+380 LET C=C+1
+390 IF A(J+1)<>G(J) THEN 410
+400 LET C=C+1
+410 NEXT J
+420 IF A(1)<>G(3) THEN 440
+430 LET C=C+1
+440 IF A(3)<>G(1) THEN 460
+450 LET C=C+1
+460 FOR J=1 TO 3
+470 IF A(J)<>G(J) THEN 490
+480 LET D=D+1
+490 NEXT J
+500 IF D=3 THEN 680
+505 IF C=0 THEN 545
+520 FOR J=1 TO C
+530 PRINT "PICO ";
+540 NEXT J
+545 IF D=0 THEN 580
+550 FOR J=1 TO D
+560 PRINT "FERMI ";
+570 NEXT J
+580 IF C+D<>0 THEN 600
+590 PRINT "BAGELS";
+600 PRINT
+605 NEXT I
+610 PRINT "OH WELL."
+612 PRINT "THAT'S TWENTY GUESSES. MY NUMBER WAS";100*A(1)+10*A(2)+A(3)
+614 LET N=100*A(1)+10*A(2)+A(3)
+615 IF N>=100 THEN 620
+617 PRINT "0";
+618 IF N>=10 THEN 620
+619 PRINT "0";
+620 PRINT N
+622 GOTO 700
+630 PRINT "TRY GUESSING A THREE-DIGIT NUMBER."
+635 RETURN
+650 PRINT "OH, I FORGOT TO TELL YOU THAT THE NUMBER I HAVE IN MIND"
+660 PRINT "HAS NO TWO DIGITS THE SAME."
+670 RETURN
+680 PRINT "YOU GOT IT!!!"
+685 PRINT
+690 LET Y=Y+1
+700 PRINT "PLAY AGAIN (1=YES, 0=NO)";
+710 INPUT N
+720 IF N<>0 THEN 150
+730 IF Y=0 THEN 750
+740 PRINT
+745 PRINT "A";Y;"POINT BAGELS BUFF!!"
+750 PRINT "HOPE YOU HAD FUN. BYE."
+760 GOTO 999
+799 REM CHEAT/DEBUG MODE. UNCOMMENT LINE 300 TO ACTIVATE THIS CODE
+800 PRINT "GUESS","ANSWER"
+805 FOR X=1 TO 3
+810 PRINT G(X),A(X)
+820 NEXT X
+830 RETURN
+999 END
diff --git a/development/minimal-basic/examples/HAMURABI.BAS b/development/minimal-basic/examples/HAMURABI.BAS
new file mode 100644
index 0000000000..7d8cf17976
--- /dev/null
+++ b/development/minimal-basic/examples/HAMURABI.BAS
@@ -0,0 +1,160 @@
+5 RANDOMIZE
+10 PRINT TAB(32);"HAMURABI"
+20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
+30 PRINT
+40 PRINT TAB(11);"ECMA-55 PORT BY B. WATSON, URCHLAY AT SLACKWARE.UK"
+50 PRINT
+80 PRINT "TRY YOUR HAND AT GOVERNING ANCIENT SUMERIA"
+90 PRINT "FOR A TEN-YEAR TERM OF OFFICE."
+92 PRINT
+95 LET D1=0
+97 LET P1=0
+100 LET Z=0
+102 LET P=95
+104 LET S=2800
+106 LET H=3000
+107 LET E=H-S
+110 LET Y=3
+120 LET A=H/Y
+130 LET I=5
+140 LET Q=1
+210 LET D=0
+215 PRINT
+216 PRINT
+217 PRINT "HAMURABI: I BEG TO REPORT TO YOU,"
+218 LET Z=Z+1
+220 PRINT "IN YEAR";Z;",";D;"PEOPLE STARVED,";I;"CAME TO THE CITY,"
+225 LET P=P+I
+227 IF Q>0 THEN 230
+228 LET P=INT(P/2)
+229 PRINT "A HORRIBLE PLAGUE STRUCK! HALF THE PEOPLE DIED."
+230 PRINT "POPULATION IS NOW";P
+232 PRINT "THE CITY NOW OWNS";A;"ACRES."
+235 PRINT "YOU HARVESTED";Y;"BUSHELS PER ACRE."
+250 PRINT "THE RATS ATE";E;"BUSHELS."
+260 PRINT "YOU NOW HAVE";S;"BUSHELS IN STORE."
+261 PRINT
+270 IF Z=11 THEN 860
+310 LET C=INT(10*RND)
+311 LET Y=C+17
+312 PRINT "LAND IS TRADING AT";Y;"BUSHELS PER ACRE."
+320 PRINT "HOW MANY ACRES DO YOU WISH TO BUY";
+321 INPUT Q
+322 IF Q<0 THEN 850
+323 IF Y*Q<=S THEN 330
+324 GOSUB 710
+325 GOTO 320
+330 IF Q=0 THEN 340
+331 LET A=A+Q
+332 LET S=S-Y*Q
+333 LET C=0
+334 GOTO 400
+340 PRINT "HOW MANY ACRES DO YOU WISH TO SELL";
+341 INPUT Q
+343 IF Q<0 THEN 850
+345 IF Q<A THEN 360
+347 GOSUB 720
+350 GOTO 340
+360 LET A=A-Q
+370 LET S=S+Y*Q
+380 LET C=0
+400 PRINT
+410 PRINT "HOW MANY BUSHELS DO YOU WISH TO FEED YOUR PEOPLE";
+411 INPUT Q
+412 IF Q<0 THEN 850
+418 REM *** TRYING TO USE MORE GRAIN THAN IS IN SILOS?
+420 IF Q<=S THEN 430
+421 GOSUB 710
+422 GOTO 410
+430 LET S=S-Q
+433 LET C=1
+435 PRINT
+440 PRINT "HOW MANY ACRES DO YOU WISH TO PLANT WITH SEED";
+442 INPUT D
+443 IF D=0 THEN 511
+444 IF D<0 THEN 850
+445 REM *** TRYING TO PLANT MORE ACRES THAN YOU OWN?
+446 IF D<=A THEN 450
+447 GOSUB 720
+448 GOTO 440
+449 REM *** ENOUGH GRAIN FOR SEED?
+450 IF INT(D/2)<=S THEN 455
+452 GOSUB 710
+453 GOTO 440
+454 REM *** ENOUGH PEOPLE TO TEND THE CROPS?
+455 IF D<10*P THEN 510
+460 PRINT "BUT YOU HAVE ONLY";P;"PEOPLE TO TEND THE FIELDS! NOW THEN,"
+470 GOTO 440
+510 LET S=S-INT(D/2)
+511 GOSUB 800
+512 REM *** A BOUNTIFUL HARVEST!
+515 LET Y=C
+518 LET H=D*Y
+520 LET E=0
+521 GOSUB 800
+522 IF INT(C/2)<>C/2 THEN 530
+523 REM *** RATS ARE RUNNING WILD!!
+525 LET E=INT(S/C)
+530 LET S=S-E+H
+531 GOSUB 800
+532 REM *** LET'S HAVE SOME BABIES
+533 LET I=INT(C*(20*A+S)/P/100+1)
+539 REM *** HOW MANY PEOPLE HAD FULL TUMMIES?
+540 LET C=INT(Q/20)
+541 REM *** HORROS, A 15% CHANCE OF PLAGUE
+542 LET Q=INT(10*(2*RND-.3))
+550 IF P<C THEN 210
+551 REM *** STARVE ENOUGH FOR IMPEACHMENT?
+552 LET D=P-C
+553 IF D>.45*P THEN 560
+555 LET P1=((Z-1)*P1+D*100/P)/Z
+556 LET P=C
+557 LET D1=D1+D
+558 GOTO 215
+560 PRINT
+562 PRINT "YOU STARVED";D;"PEOPLE IN ONE YEAR!!!"
+565 PRINT "DUE TO THIS EXTREME MISMANAGEMENT YOU HAVE NOT ONLY"
+566 PRINT "BEEN IMPEACHED AND THROWN OUT OF OFFICE BUT YOU HAVE"
+567 PRINT "ALSO BEEN DECLARED NATIONAL FINK!!!!"
+569 GOTO 990
+710 PRINT "HAMURABI: THINK AGAIN. YOU HAVE ONLY"
+711 PRINT S;"BUSHELS OF GRAIN. NOW THEN,"
+712 RETURN
+720 PRINT "HAMURABI: THINK AGAIN. YOU OWN ONLY";A;"ACRES. NOW THEN,"
+730 RETURN
+800 LET C=INT(RND*5)+1
+801 RETURN
+850 PRINT
+852 PRINT "HAMURABI: I CANNOT DO WHAT YOU WISH."
+855 PRINT "GET YOURSELF ANOTHER STEWARD!!!!!"
+857 GOTO 990
+860 PRINT "IN YOUR 10-YEAR TERM OF OFFICE,";P1;"PERCENT OF THE"
+862 PRINT "POPULATION STARVED PER YEAR ON THE AVERAGE, I.E. A TOTAL OF"
+865 PRINT D1;"PEOPLE DIED!!"
+867 LET L=A/P
+870 PRINT "YOU STARTED WITH 10 ACRES PER PERSON AND ENDED WITH"
+875 PRINT L;"ACRES PER PERSON."
+877 PRINT
+880 IF P1>33 THEN 565
+885 IF L<7 THEN 565
+890 IF P1>10 THEN 940
+892 IF L<9 THEN 940
+895 IF P1>3 THEN 960
+896 IF L<10 THEN 960
+900 PRINT "A FANTASTIC PERFORMANCE!!! CHARLEMANGE, DISRAELI, AND"
+905 PRINT "JEFFERSON COMBINED COULD NOT HAVE DONE BETTER!"
+910 GOTO 990
+940 PRINT "YOUR HEAVY-HANDED PERFORMANCE SMACKS OF NERO AND IVAN IV."
+945 PRINT "THE PEOPLE (REMAINING) FIND YOU AN UNPLEASANT RULER, AND,"
+950 PRINT "FRANKLY, HATE YOUR GUTS!!"
+955 GOTO 990
+960 PRINT "YOUR PERFORMANCE COULD HAVE BEEN SOMEWHAT BETTER, BUT"
+965 PRINT "REALLY WASN'T TOO BAD AT ALL. ";INT(P*.8*RND);"PEOPLE"
+970 PRINT "WOULD DEARLY LIKE TO SEE YOU ASSASSINATED BUT WE ALL HAVE"
+975 PRINT "OUR TRIVIAL PROBLEMS."
+989 REM BAS55 HAS NO CHR$() FUNCTION, NO WAY TO RING A BELL.
+990 REM 990 PRINT: FOR N=1 TO 10: PRINT CHR$(7);: NEXT N
+991 PRINT
+995 PRINT "SO LONG FOR NOW."
+997 PRINT
+999 END
diff --git a/development/minimal-basic/examples/PI.BAS b/development/minimal-basic/examples/PI.BAS
new file mode 100644
index 0000000000..8c79f03250
--- /dev/null
+++ b/development/minimal-basic/examples/PI.BAS
@@ -0,0 +1,42 @@
+1 REM PI CALCULATOR, B. WATSON, URCHLAY AT SLACKWARE.UK
+3 REM PORTED FROM PYTHON3, FROM "LEARNPYTHON" PROJECT ON GITHUB
+5 REM THE PYTHON VERSION IS MIT-LICENSED.
+10 PRINT "CALCULATE HOW MANY DIGITS OF PI";
+20 INPUT P
+25 LET P=INT(P)
+30 IF P>=1 THEN 60
+40 PRINT "PLEASE ENTER A POSITIVE NUMBER."
+50 GOTO 10
+60 IF P<20 THEN 100
+70 PRINT "WARNING: PROGRAM ONLY ACCURATE TO 20 DIGITS OR SO."
+100 LET Q=1
+110 LET R=0
+120 LET T=1
+130 LET K=1
+140 LET N=3
+150 LET L=3
+160 LET C=0
+200 IF (4*Q+R-T)>=(N*T) THEN 300
+210 PRINT N;
+215 IF C>0 THEN 220
+217 PRINT ".";
+220 LET C=C+1
+230 IF C=P THEN 500
+240 LET R1=10*(R-N*T)
+250 LET N=INT((10*(3*Q+R))/T)-10*N
+260 LET Q=Q*10
+270 LET R=R1
+280 GOTO 200
+300 LET R1=(2*Q+R)*L
+310 LET N1=INT((Q*(7*K)+2+(R*L))/(T*L))
+320 LET Q=Q*K
+330 LET T=T*L
+340 LET L=L+2
+350 LET K=K+1
+360 LET N=N1
+370 LET R=R1
+380 GOTO 200
+500 PRINT
+510 REM THE PRINT ABOVE IS NEEDED TO MAKE MINIMALBASIC FLUSH ITS
+520 REM OUTPUT BUFFER. OTHERWISE WE GET NO OUTPUT!
+9999 END
diff --git a/development/minimal-basic/minimal-basic.SlackBuild b/development/minimal-basic/minimal-basic.SlackBuild
new file mode 100644
index 0000000000..b72ea11cd6
--- /dev/null
+++ b/development/minimal-basic/minimal-basic.SlackBuild
@@ -0,0 +1,126 @@
+#!/bin/bash
+
+# Slackware build script for minimal-basic
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Notes:
+
+# Abandon all hope, ye who attempt to build this on non-x86_64
+# platforms. The ecma55 binary gets linked with a bunch of x86_64
+# object files in a directory named AMD64 (which ought to be a clue),
+# which are built from x86_64 assembly source (not C). Nothing you do
+# (hacking up the Makefile, etc) will let you link x86_64 objects with
+# non-x86_64 ones. Seriously. Do not email me asking for help with it.
+
+# Building on multilib should be possible, but I haven't tested it.
+# If you do, you can only build an x86_64 binary. See above.
+
+# There's a Makefile.clang, but it won't work on Slackware 15.0's
+# clang 13.x because it's too *new*. That's a rare situation in
+# Slackware...
+
+# There's also a Makefile.tcc, which actually does work with the
+# tcc in our repo (20220221_308d8d1), but I see no advantage to
+# building with tcc. And no, using tcc won't get around the "only
+# builds on x86_64" rule, either.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=minimal-basic
+SRCNAM=MinimalBASIC
+VERSION=${VERSION:-2.40}
+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" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ cat <<EOF
+
+**************************************************
+* Unsupported ARCH: $ARCH
+* MinimalBASIC only builds on x86_64, by design.
+**************************************************
+
+EOF
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+cd $SRCNAM-$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 {} \+
+
+runmake() {
+ make -f Makefile.gcc \
+ OPT="$SLKCFLAGS" \
+ PIE=1 \
+ LTO=1 \
+ DESTDIR=$PKG \
+ BINDIR=/usr/bin \
+ MANDIR=/usr/man/man1 \
+ "$@"
+}
+
+runmake
+strip ecma55
+runmake install
+
+# Sample code, including my own ports of Hamurabi and Bagels. They
+# came from http://vintage-basic.net/games.html (and before that, from
+# the book "101 BASIC Computer Games" by David Ahl, and before Ahl
+# collected them in his book, other people wrote them, but the mists
+# of time have obscured the details).
+
+# I modified them slightly to make them ECMA-55 compatible. They also
+# work in bas55, and may show up in a future release of it.
+
+# PI.BAS is my own BASIC port of pi.py from https://github.com/MrBlaise/learnpython/
+
+EXTRA=$PKG/usr/share/$PRGNAM/examples
+mkdir -p $EXTRA
+cp -a CSCLASSICS $PKG/usr/share/$PRGNAM
+install -m0644 -o root -g root $CWD/examples/*.BAS $EXTRA
+
+# *Lots* of documentation.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a COPYING ChangeLog CC0-1.0-Universal NEWS \
+ README TESTING THANKS TODO GNU_FDL \
+ *.pdf *.txt *.TXT *.dot BOOK/*.pdf \
+ $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/minimal-basic/minimal-basic.info b/development/minimal-basic/minimal-basic.info
new file mode 100644
index 0000000000..e257fc37b1
--- /dev/null
+++ b/development/minimal-basic/minimal-basic.info
@@ -0,0 +1,10 @@
+PRGNAM="minimal-basic"
+VERSION="2.40"
+HOMEPAGE="https://buraphakit.sourceforge.io/BASIC.shtml"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://downloads.sourceforge.net/project/buraphakit/ECMA55%20Minimal%20BASIC/MinimalBASIC-2.40.tar.xz"
+MD5SUM_x86_64="0276e6edcc70a6c343a9adb467df845b"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/minimal-basic/slack-desc b/development/minimal-basic/slack-desc
new file mode 100644
index 0000000000..391dee2fe5
--- /dev/null
+++ b/development/minimal-basic/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------------------------------------------------------|
+minimal-basic: minimal-basic (compiler for ECMA-55 Minimal BASIC)
+minimal-basic:
+minimal-basic: This software is a compiler for 'Minimal BASIC' as specified by the
+minimal-basic: ECMA-55 standard. The target is AMD64/EM64T/x86-64 machines running a
+minimal-basic: modern Linux distribution.
+minimal-basic:
+minimal-basic:
+minimal-basic:
+minimal-basic:
+minimal-basic:
+minimal-basic:
diff --git a/development/minipro/README b/development/minipro/README
new file mode 100644
index 0000000000..e3c6d0677f
--- /dev/null
+++ b/development/minipro/README
@@ -0,0 +1,23 @@
+minipro is an open source program for controlling the MiniPRO TL866xx
+series of chip programmers.
+
+This program exists because the manufacturer of the MiniPRO TL866xx
+series of chip programmers does not provide a program for use on Linux
+or other flavors of Unix. We who keep this project going prefer a
+simple, free, and open-source program that presents a command-line
+interface that allows for a GUI front-end if desired.
+
+Features
+
+- Native support for Linux, BSD, and other flavors of Unix.
+- Compatibility with Minipro TL866CS, TL866A, and TL866II+ from
+- Autoelectric (http://www.autoelectric.cn/en/tl866_main.html)
+- More than 13000 target devices (including AVRs, PICs, various BIOSes
+ and EEPROMs)
+- ZIF40 socket and ISP support
+- Vendor-specific MCU configuration bits
+- Chip ID verification
+- Overcurrent protection
+- System testing
+
+https://gitlab.com/DavidGriffith/minipro
diff --git a/development/minipro/minipro.SlackBuild b/development/minipro/minipro.SlackBuild
new file mode 100644
index 0000000000..17d2b9be07
--- /dev/null
+++ b/development/minipro/minipro.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for minipro
+
+# Copyright 2022 SPN Team
+# 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=minipro
+VERSION=${VERSION:-0.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+make SHARE_INSTDIR=$PKG/usr/share/minipro
+make install DESTDIR=$PKG PREFIX=/usr SHARE_INSTDIR=$PKG/usr/share/minipro
+mv $PKG/usr/share/man $PKG/usr/man
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+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
+
+rm -f $PKG/usr/info/dir
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md tl866iiplus.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/minipro/minipro.info b/development/minipro/minipro.info
new file mode 100644
index 0000000000..d64f7f1f69
--- /dev/null
+++ b/development/minipro/minipro.info
@@ -0,0 +1,10 @@
+PRGNAM="minipro"
+VERSION="0.5"
+HOMEPAGE="https://gitlab.com/DavidGriffith/minipro/"
+DOWNLOAD="https://gitlab.com/DavidGriffith/minipro/-/archive/0.5/minipro-0.5.tar.bz2"
+MD5SUM="94236db92e570719b864aeeff37ec91b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="SPN"
+EMAIL="pwmn-master@hotmail.com"
diff --git a/development/minipro/slack-desc b/development/minipro/slack-desc
new file mode 100644
index 0000000000..8f877ecccd
--- /dev/null
+++ b/development/minipro/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------------------------------------------------------|
+minipro: minipro (A program for the MiniPRO TL866xx chip programmers)
+minipro:
+minipro: This program exists because the manufacturer of the MiniPRO TL866xx
+minipro: series of chip programmers does not provide a program for use on
+minipro: Linux or other flavors of Unix. We who keep this project going
+minipro: prefer a simple, free, and open-source program that presents a
+minipro: command-line interface that allows for a GUI front-end if desired.
+minipro:
+minipro:
+minipro:
+minipro: https://gitlab.com/DavidGriffith/minipro
diff --git a/development/mit-scheme/README b/development/mit-scheme/README
index 0d0a722081..d11bcbad72 100644
--- a/development/mit-scheme/README
+++ b/development/mit-scheme/README
@@ -8,9 +8,8 @@ The following build options are available:
X11=yes|no Enable support for x11 (default: yes)
EDWIN=yes|no Enable support for the Edwin editor (default: yes)
IMAIL=yes|no Enable support for the Imail mail reader (default:
- no), implies Edwin support
- DOCS=yes|no Include html and pdf documentation (default: no),
- requires texlive
+ yes), implies Edwin support
+ DOCS=yes|no Include html and pdf documentation (default: yes)
where each build option may be passed to the slackbuild. Example of
disabling x11 and enabling documentation support:
diff --git a/development/mit-scheme/doinst.sh b/development/mit-scheme/doinst.sh
index 9670c925ff..c8319a5dfd 100644
--- a/development/mit-scheme/doinst.sh
+++ b/development/mit-scheme/doinst.sh
@@ -5,3 +5,17 @@ info_install() {
fi
}
+if [ -x /usr/bin/install-info ]; then
+ /usr/bin/install-info --info-dir=usr/info \
+ /usr/info/mit-scheme-ffi.info.gz \
+ /usr/info/mit-scheme-ref.info-1.gz \
+ /usr/info/mit-scheme-ref.info-3.gz \
+ /usr/info/mit-scheme-ref.info-5.gz \
+ /usr/info/mit-scheme-sos.info.gz \
+ /usr/info/mit-scheme-imail.info.gz \
+ /usr/info/mit-scheme-ref.info-2.gz \
+ /usr/info/mit-scheme-ref.info-4.gz \
+ /usr/info/mit-scheme-ref.info.gz \
+ /usr/info/mit-scheme-user.info.gz \
+ 1> /dev/null 2>&1
+fi
diff --git a/development/mit-scheme/mit-scheme.SlackBuild b/development/mit-scheme/mit-scheme.SlackBuild
index 99d541306f..bbc6082279 100644
--- a/development/mit-scheme/mit-scheme.SlackBuild
+++ b/development/mit-scheme/mit-scheme.SlackBuild
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mit-scheme
# Originally by Jockey S. Kyd (jockey dot kyd at gmail dot com)
#
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
# Copyright (C) 2018,2020 Jason Graham <jgraham@compukix.net>, USA
+# Copyright (C) 2023, Lockywolf (updated for version 12.1)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -25,10 +26,13 @@
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mit-scheme
-VERSION=${VERSION:-10.1.11}
+VERSION=${VERSION:-12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -38,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -63,7 +74,7 @@ fi
X11=${X11:-yes}
EDWIN=${EDWIN:-yes}
IMAIL=${IMAIL:-yes}
-DOCS=${DOCS:-no}
+DOCS=${DOCS:-yes}
# Sanitize build settings and set additional flags
[ "$X11" != "yes" ] && X11="no" || WITH_X="--with-x"
@@ -75,14 +86,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-$TARARCH.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-x86-64.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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
cd src
CFLAGS="$SLKCFLAGS" \
@@ -97,12 +108,12 @@ CFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux \
- --enable-default-plugins=no \
+ --enable-default-plugins=yes \
--enable-x11=${X11} \
--enable-edwin=${EDWIN} \
--enable-imail=${IMAIL} \
$WITH_X
-make
+make -j1
make install DESTDIR=$PKG
cd ../doc
@@ -123,7 +134,7 @@ CFLAGS="$SLKCFLAGS" \
--enable-pdf=${DOCS} \
--enable-ps=no
- make install DESTDIR=$PKG
+ make -j1 install DESTDIR=$PKG
cd ../
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -136,7 +147,7 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a changelog.txt src/COPYING src/README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a src/COPYING src/README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -146,4 +157,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
for i in usr/info/*.info*; do echo "info_install /$i" >> $PKG/install/doinst.sh; done
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mit-scheme/mit-scheme.info b/development/mit-scheme/mit-scheme.info
index 94ff1e3bd7..8328706437 100644
--- a/development/mit-scheme/mit-scheme.info
+++ b/development/mit-scheme/mit-scheme.info
@@ -1,10 +1,10 @@
PRGNAM="mit-scheme"
-VERSION="10.1.11"
+VERSION="12.1"
HOMEPAGE="http://www.gnu.org/software/mit-scheme/"
-DOWNLOAD="http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/10.1.11/mit-scheme-10.1.11-i386.tar.gz"
-MD5SUM="3881681eaaea80f765ebd28bd91f62b4"
-DOWNLOAD_x86_64="https://ftp.gnu.org/gnu/mit-scheme/stable.pkg/10.1.11/mit-scheme-10.1.11-x86-64.tar.gz"
-MD5SUM_x86_64="301453a99b6af9b521dd69d33ca8a547"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://ftp.gnu.org/gnu/mit-scheme/stable.pkg/12.1/mit-scheme-12.1-x86-64.tar.gz"
+MD5SUM_x86_64="45a83d61104f9e41c542a9732cea4e3c"
REQUIRES=""
-MAINTAINER="Jason Graham"
-EMAIL="jgraham@compukix.net"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.mit-scheme_2023-11-27@lockywolf.net"
diff --git a/development/mkchroot/mkchroot.SlackBuild b/development/mkchroot/mkchroot.SlackBuild
index 3c2346ef83..66b82cb8db 100644
--- a/development/mkchroot/mkchroot.SlackBuild
+++ b/development/mkchroot/mkchroot.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mkchroot
-# Copyright 2017 Duncan Roe Melbourne, Australia
+# Copyright 2017, 2022 Duncan Roe Melbourne, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +22,24 @@
# 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=mkchroot
-VERSION=${VERSION:-1.4}
+VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -67,4 +77,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mkchroot/mkchroot.info b/development/mkchroot/mkchroot.info
index be05882ce0..c0a1fbc513 100644
--- a/development/mkchroot/mkchroot.info
+++ b/development/mkchroot/mkchroot.info
@@ -1,8 +1,8 @@
PRGNAM="mkchroot"
-VERSION="1.4"
+VERSION="1.5"
HOMEPAGE="https://github.com/duncan-roe/mkchroot"
-DOWNLOAD="https://github.com/duncan-roe/mkchroot/archive/v1.4/mkchroot-1.4.tar.gz"
-MD5SUM="cc285715615c9f7be6ee0696021ff230"
+DOWNLOAD="https://github.com/duncan-roe/mkchroot/archive/v1.5/mkchroot-1.5.tar.gz"
+MD5SUM="b10764fb0fdae7f478efa18ae4d65cb7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/mle/README b/development/mle/README
new file mode 100644
index 0000000000..0b3894b6c9
--- /dev/null
+++ b/development/mle/README
@@ -0,0 +1,31 @@
+mle (flexible terminal-based text editor)
+
+mle is a small, flexible, terminal-based text editor written in C. It
+aims to keep its codebase small, minimize build-time and run-time
+dependencies, be extensible and configurable, favor simplicity over
+portability, and use shell commands to enhance functionality.
+
+Features:
+*Small codebase (~10k sloc)
+*Full UTF-8 support
+*Syntax highlighting
+*Stackable key maps (modes)
+*Extensible via Lua
+*Scriptable rc file
+*Key macros
+*Multiple splittable windows
+*Regex search and replace
+*Large file support
+*Incremental search
+*Linear undo and redo
+*Multiple cursors
+*Auto indent
+*Headless mode
+*Navigation via ctags
+*Movement via less
+*Fuzzy file search via fzf
+*File browsing via tree
+*File grep via grep
+*String manip via perl
+
+fzf is optional but needed if you wish to use fuzzy file search.
diff --git a/development/mle/mle.SlackBuild b/development/mle/mle.SlackBuild
new file mode 100644
index 0000000000..92de765edc
--- /dev/null
+++ b/development/mle/mle.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for mle
+
+# Copyright 2023 Samuel Young, MO, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mle
+VERSION=${VERSION:-1.7.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"
+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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make mle_vendor=1 -j1
+make install DESTDIR=$PKG prefix=/usr
+
+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/man/man1
+gzip -c9 $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mle/mle.info b/development/mle/mle.info
new file mode 100644
index 0000000000..79b97521cc
--- /dev/null
+++ b/development/mle/mle.info
@@ -0,0 +1,10 @@
+PRGNAM="mle"
+VERSION="1.7.2"
+HOMEPAGE="https://github.com/adsr/mle"
+DOWNLOAD="https://github.com/adsr/mle/releases/download/v1.7.2/mle-1.7.2.tar.gz"
+MD5SUM="9eb3abf2d5b26e9f8c2728208730501a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Samuel Young"
+EMAIL="samyoung12788@gmail.com"
diff --git a/development/mle/slack-desc b/development/mle/slack-desc
new file mode 100644
index 0000000000..4a1ac54022
--- /dev/null
+++ b/development/mle/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------------------------------------------------------|
+mle: mle (flexible terminal-based text editor)
+mle:
+mle: mle is a small, flexible, terminal-based text editor written in C. It
+mle: aims to keep its codebase small, minimize build-time and run-time
+mle: dependencies, be extensible and configurable, favor simplicity over
+mle: portability, and use shell commands to enhance functionality.
+mle:
+mle:
+mle:
+mle: Homepage: https://github.com/adsr/mle
+mle:
diff --git a/development/mlr/mlr.SlackBuild b/development/mlr/mlr.SlackBuild
index 90c8164734..f1c616a3b9 100644
--- a/development/mlr/mlr.SlackBuild
+++ b/development/mlr/mlr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for miller
# http://johnkerl.org/miller
@@ -23,10 +23,13 @@
# 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=mlr
VERSION=${VERSION:-5.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -100,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mlton/mlton.SlackBuild b/development/mlton/mlton.SlackBuild
index 823ca65d83..ca100e2a82 100644
--- a/development/mlton/mlton.SlackBuild
+++ b/development/mlton/mlton.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MLton
# Slackware build script for mlton
@@ -24,10 +24,13 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mlton
VERSION=${VERSION:-20180207}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PREBUILT=${PREBUILT:-$PRGNAM-$VERSION-1.amd64-linux}
ARCH=${ARCH:-$(uname -m)}
@@ -36,7 +39,14 @@ case "$ARCH" in
*) printf "This script only supports x86_64.\n" 1>&2; exit 1 ;;
esac
-CWD=$(pwd)
+# 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}
@@ -86,4 +96,4 @@ sed -i "s:^lib=.*:lib=/usr/lib64/mlton:" usr/bin/mlton
mkdir install
cat $CWD/slack-desc > install/slack-desc
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mm-common/mm-common.SlackBuild b/development/mm-common/mm-common.SlackBuild
index 637238281b..2dd37145cf 100644
--- a/development/mm-common/mm-common.SlackBuild
+++ b/development/mm-common/mm-common.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mm-common
@@ -26,20 +26,30 @@
# 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=mm-common
VERSION=${VERSION:-0.9.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,4 +104,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mmtf-cpp/README b/development/mmtf-cpp/README
new file mode 100644
index 0000000000..2ae471695e
--- /dev/null
+++ b/development/mmtf-cpp/README
@@ -0,0 +1,9 @@
+The MacroMolecular Transmission Format (MMTF) is a binary encoding of
+biological structures. It includes the coordinates, the topology and
+associated data. Specifically, a large subset of the data in mmCIF or
+PDB files can be represented. Pronounced goals are a reduced file size
+for efficient transmission over the Internet or from hard disk to
+memory and fast decoding/parsing speed.
+
+This slackbuild does not compile but install the C++ headers needed to
+compile sources that supports it, e.g. Avogadro 2.
diff --git a/development/mmtf-cpp/mmtf-cpp.SlackBuild b/development/mmtf-cpp/mmtf-cpp.SlackBuild
new file mode 100644
index 0000000000..deef578dfc
--- /dev/null
+++ b/development/mmtf-cpp/mmtf-cpp.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/bash
+
+# Slackware build script for mmtf-cpp
+
+# Copyright 2020-2024 Giancarlo Dessì, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mmtf-cpp
+VERSION=${VERSION:-1.1.0}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+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-$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 {} \;
+
+sed -i ./CMakeLists.txt -e "s/find_package(msgpack)/find_package(msgpack-cxx)/g"
+
+mkdir -p build
+cd build
+ cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr ..
+ DESTDIR=$PKG ninja install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE CHANGELOG.md 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/development/mmtf-cpp/mmtf-cpp.info b/development/mmtf-cpp/mmtf-cpp.info
new file mode 100644
index 0000000000..d6b2d66473
--- /dev/null
+++ b/development/mmtf-cpp/mmtf-cpp.info
@@ -0,0 +1,10 @@
+PRGNAM="mmtf-cpp"
+VERSION="1.1.0"
+HOMEPAGE="https://github.com/rcsb/mmtf-cpp"
+DOWNLOAD="https://github.com/rcsb/mmtf-cpp/archive/v1.1.0/mmtf-cpp-1.1.0.tar.gz"
+MD5SUM="ec961ff406a1636b4c5a25de7d9bd47b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="msgpack-c-cpp"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/development/mmtf-cpp/slack-desc b/development/mmtf-cpp/slack-desc
new file mode 100644
index 0000000000..e943666528
--- /dev/null
+++ b/development/mmtf-cpp/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------------------------------------------------------|
+mmtf-cpp: mmtf-cpp (pure C++ implementation of the MMTF API)
+mmtf-cpp:
+mmtf-cpp: The MacroMolecular Transmission Format (MMTF) is a binary encoding
+mmtf-cpp: of biological structures
+mmtf-cpp:
+mmtf-cpp:
+mmtf-cpp:
+mmtf-cpp:
+mmtf-cpp: homepage: https://github.com/rcsb/mmtf-cpp
+mmtf-cpp:
+mmtf-cpp:
diff --git a/development/mockpp/mockpp.SlackBuild b/development/mockpp/mockpp.SlackBuild
index a7bca34fd8..83e0d3a2a9 100644
--- a/development/mockpp/mockpp.SlackBuild
+++ b/development/mockpp/mockpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mockpp
@@ -22,10 +22,13 @@
# 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=mockpp
VERSION=${VERSION:-1.16.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -49,7 +52,14 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
+# 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}
@@ -88,8 +98,10 @@ 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
+rm -f $PKG/usr/lib*/*.la
+
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mold/README b/development/mold/README
new file mode 100644
index 0000000000..71edba8ec6
--- /dev/null
+++ b/development/mold/README
@@ -0,0 +1,6 @@
+mold - a faster drop-in replacement for existing Unix linkers
+
+It is several times faster than the LLVM lld linker, the
+second-fastest open-source linker which was created by the same author
+a few years ago. mold is designed to increase developer productivity by
+reducing build time, especially in rapid debug-edit-rebuild cycles.
diff --git a/development/mold/mold.SlackBuild b/development/mold/mold.SlackBuild
new file mode 100644
index 0000000000..c217619c76
--- /dev/null
+++ b/development/mold/mold.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for mold
+
+# Copyright 2022 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=mold
+VERSION=${VERSION:-2.30.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+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 build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -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
+
+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
+
+cp -a \
+ 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/development/mold/mold.info b/development/mold/mold.info
new file mode 100644
index 0000000000..7d13959d7b
--- /dev/null
+++ b/development/mold/mold.info
@@ -0,0 +1,10 @@
+PRGNAM="mold"
+VERSION="2.30.0"
+HOMEPAGE="https://github.com/rui314/mold"
+DOWNLOAD="https://github.com/rui314/mold/archive/v2.30.0/mold-2.30.0.tar.gz"
+MD5SUM="061da806be174abe79d87c3a439f982f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/development/mold/slack-desc b/development/mold/slack-desc
new file mode 100644
index 0000000000..4bb0cae52d
--- /dev/null
+++ b/development/mold/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------------------------------------------------------|
+mold: mold (a faster drop-in replacement for existing Unix linkers)
+mold:
+mold: It is several times faster than the LLVM lld linker, the
+mold: second-fastest open-source linker which was created by the same
+mold: author a few years ago. mold is designed to increase developer
+mold: productivity by reducing build time, especially in rapid
+mold: debug-edit-rebuild cycles.
+mold:
+mold:
+mold:
+mold:
diff --git a/development/mongodb-compass/mongodb-compass.SlackBuild b/development/mongodb-compass/mongodb-compass.SlackBuild
index 6feceba179..5c873ce37c 100644
--- a/development/mongodb-compass/mongodb-compass.SlackBuild
+++ b/development/mongodb-compass/mongodb-compass.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mongodb-compass
# Copyright 2017 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
-# Copyright 2020 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
@@ -23,10 +23,13 @@
# 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=mongodb-compass
-VERSION=${VERSION:-1.23.0}
+VERSION=${VERSION:-1.42.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -71,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mongodb-compass/mongodb-compass.info b/development/mongodb-compass/mongodb-compass.info
index 23d26c6bad..90f25cda2f 100644
--- a/development/mongodb-compass/mongodb-compass.info
+++ b/development/mongodb-compass/mongodb-compass.info
@@ -1,10 +1,10 @@
PRGNAM="mongodb-compass"
-VERSION="1.23.0"
+VERSION="1.42.5"
HOMEPAGE="https://www.mongodb.com/products/compass"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://downloads.mongodb.com/compass/mongodb-compass-1.23.0.x86_64.rpm"
-MD5SUM_x86_64="1c2e20c7d367409e7c06be5d33b26f02"
+DOWNLOAD_x86_64="https://downloads.mongodb.com/compass/mongodb-compass-1.42.5.x86_64.rpm"
+MD5SUM_x86_64="fa91dafb9ec7d7e2f4b03d4b017f7687"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/mongodb-shell/README b/development/mongodb-shell/README
new file mode 100644
index 0000000000..9d2cf326e3
--- /dev/null
+++ b/development/mongodb-shell/README
@@ -0,0 +1,6 @@
+MongoDB Shell is the quickest way to connect and work with MongoDB.
+
+Easily query data, configure settings, and execute other actions with
+this modern, extensible command-line interface - replete with syntax
+highlighting, intelligent autocomplete, contextual help, and
+error messages.
diff --git a/development/mongodb-shell/mongodb-shell.SlackBuild b/development/mongodb-shell/mongodb-shell.SlackBuild
new file mode 100644
index 0000000000..aa40b02031
--- /dev/null
+++ b/development/mongodb-shell/mongodb-shell.SlackBuild
@@ -0,0 +1,75 @@
+#!/bin/bash
+
+# Slackware build script for mongodb-shell
+
+# Copyright 2023-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# 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=mongodb-shell
+SRCNAM=mongosh
+VERSION=${VERSION:-2.2.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=x86_64
+
+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-linux-x64
+tar xvf $CWD/$SRCNAM-$VERSION-linux-x64.tgz
+cd $SRCNAM-$VERSION-linux-x64
+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/usr/bin $PKG/usr/man/man1 $PKG/usr/lib64
+cp bin/mongosh $PKG/usr/bin
+cp mongosh.1.gz $PKG/usr/man/man1/
+cp bin/mongosh_crypt_v1.so $PKG/usr/lib64/
+
+strip --strip-unneeded $PKG/usr/bin/mongosh $PKG/usr/lib64/mongosh_crypt_v1.so
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE* README THIRD_PARTY_NOTICES $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mongodb-shell/mongodb-shell.info b/development/mongodb-shell/mongodb-shell.info
new file mode 100644
index 0000000000..c797fc405b
--- /dev/null
+++ b/development/mongodb-shell/mongodb-shell.info
@@ -0,0 +1,10 @@
+PRGNAM="mongodb-shell"
+VERSION="2.2.1"
+HOMEPAGE="https://www.mongodb.com/try/download/shell"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://downloads.mongodb.com/compass/mongosh-2.2.1-linux-x64.tgz"
+MD5SUM_x86_64="524de3b897441d652bb8e33015b2b09a"
+REQUIRES=""
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/development/mongodb-shell/slack-desc b/development/mongodb-shell/slack-desc
new file mode 100644
index 0000000000..bfe4b83bef
--- /dev/null
+++ b/development/mongodb-shell/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------------------------------------------------------|
+mongodb-shell: mongodb-shell (MongoDB Shell)
+mongodb-shell:
+mongodb-shell: MongoDB Shell is the quickest way to connect and work with MongoDB.
+mongodb-shell: Easily query data, configure settings, and execute other actions with
+mongodb-shell: this modern, extensible CLI - replete with syntax highlighting,
+mongodb-shell: intelligent autocomplete, contextual help, and error messages.
+mongodb-shell:
+mongodb-shell:
+mongodb-shell:
+mongodb-shell:
+mongodb-shell:
diff --git a/development/monkey-studio/README b/development/monkey-studio/README
deleted file mode 100644
index 0d41c2749a..0000000000
--- a/development/monkey-studio/README
+++ /dev/null
@@ -1,30 +0,0 @@
-Monkey Studio is a free crossplatform IDE.
-
-The project was started by AZEVEDO Filipe for his personal use around
-end of June 2005, and when he found it useful he opened it to the
-community. The project has been well received and some guys join it or
-send feedbacks/new features.
-
-The current version is the v2 branch which succeed the v1 one and is
-dependent of Qt 4.4.0 minimum. It support Qt 4 projects management and
-embed Designer and Assistant to form a complete, fast and power full Qt
-4 IDE.
-
-It's based upon a powerful and flexible plugin system that allow to
-extend it in an infinite way, currently there's tons of plugins:
-
- PHP-Qt: Management of PHP-Qt project (Qt 4 bindings for php).
- PyQt: Management of PyQt projects (Qt 4 bindings for python).
- and many others...
-
-Monkey Studio is released under the GNU GPL. Its based on Qt 4.4.x and
-upper and is working on all majors OS's. It has been reported to work
-on : Windows 98 SE, XP and Vista, Mac OS X 10.3 and up, Mandriva, Suse,
-Fedora, Frugalware, Gentoo and debian/Ubuntu/Kubuntu.
-
-Same Development Environment on all Platforms!
-
-It's developed using the Qt library itself. So it should run on every
-platform that Qt 4 supports. This way you can work on your progress on
-every platforms in the same IDE. Developing cross-platform software can
-be so easy!
diff --git a/development/monkey-studio/monkey-studio.SlackBuild b/development/monkey-studio/monkey-studio.SlackBuild
deleted file mode 100644
index f650795af2..0000000000
--- a/development/monkey-studio/monkey-studio.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Monkey Studio IDE
-
-# Copyright 2015 Euan Thoms Singapore
-# 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.
-
-PRGNAM=monkey-studio
-VERSION=${VERSION:-1.9.0.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCTAR=mks_$VERSION-src
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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 $SRCTAR
-tar xvf $CWD/$SRCTAR.tar.gz
-cd $SRCTAR
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-qmake -r \
- prefix=/usr \
- libdir=/usr/lib${LIBDIRSUFFIX} \
- sysconfdir=/etc \
- localstatedir=/var \
- build=$ARCH-slackware-linux
-
-make
-INSTALL_ROOT=$PKG make install
-
-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 -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-
-# Move doc directory /usr/share/docs/monkeystudio to slackbuild standard directory
-# /usr/doc/$PRGNAM-$VERSION. Since docdir= isn't honoured by qmake.
-mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/doc/monkeystudio $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share/doc
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-# Make bin files executable
-chmod +x $PKG/usr/bin/*
-
-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:-tgz}
diff --git a/development/monkey-studio/monkey-studio.info b/development/monkey-studio/monkey-studio.info
deleted file mode 100644
index 10553aa049..0000000000
--- a/development/monkey-studio/monkey-studio.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="monkey-studio"
-VERSION="1.9.0.4"
-HOMEPAGE="https://monkeystudio.pasnox.com/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/mks_1.9.0.4-src.tar.gz"
-MD5SUM="1b76fdaf9293ab160ca90ff919440598"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Euan Thoms"
-EMAIL="euan at potensol dot com"
diff --git a/development/monkey-studio/slack-desc b/development/monkey-studio/slack-desc
deleted file mode 100644
index b840c733df..0000000000
--- a/development/monkey-studio/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------------------------------------------------------|
-monkey-studio: monkey-studio (Monkey Studio IDE)
-monkey-studio:
-monkey-studio: Monkey Studio (MkS) is a cross platform IDE written in C++/Qt 4.
-monkey-studio:
-monkey-studio: It's primary goal was to be a Qt 4 only IDE, but it evoluate a way
-monkey-studio: to support Qt development and any kind of project.
-monkey-studio:
-monkey-studio:
-monkey-studio:
-monkey-studio:
-monkey-studio:
diff --git a/development/mono-addins/mono-addins.SlackBuild b/development/mono-addins/mono-addins.SlackBuild
index e6708dbc73..c138faa83a 100644
--- a/development/mono-addins/mono-addins.SlackBuild
+++ b/development/mono-addins/mono-addins.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Mono.Addins
@@ -21,11 +21,15 @@
# 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=mono-addins
VERSION=${VERSION:-1.3.5}
COMMIT="c636f258d0a724e7c0de447ea717d18cb90bfb17"
+COMMIT2="d25dd923839404bd64cc63f420e75acf96fc75c4"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -59,9 +70,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$PRGNAM-$COMMIT
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
cd $PRGNAM-$COMMIT
+unzip $CWD/mono_msbuild_${COMMIT2}.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,6 +81,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 {} \;
+msbuild=$(pwd)/msbuild/MSBuild.exe
+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,15 +96,12 @@ MCS=/usr/bin/mcs \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-nuget restore Mono.Addins.sln
-make
-( cd bin
- ls Mono.*.dll |
- while read file;
- do
- sn -R $file ../mono-addins.snk;
- done
-)
+mono "${msbuild}" Mono.Addins/Mono.Addins.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.Gui/Mono.Addins.Gui.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.MSBuild/Mono.Addins.MSBuild.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.Setup/Mono.Addins.Setup.csproj /p:WarningLevel=0;Configuration=Release
+
make install DESTDIR=$PKG
# Fix pkg-config prefix
@@ -113,4 +124,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mono-addins/mono-addins.info b/development/mono-addins/mono-addins.info
index e32c1a3336..74b4a59a53 100644
--- a/development/mono-addins/mono-addins.info
+++ b/development/mono-addins/mono-addins.info
@@ -1,10 +1,12 @@
PRGNAM="mono-addins"
VERSION="1.3.5"
HOMEPAGE="https://github.com/mono/mono-addins"
-DOWNLOAD="https://github.com/mono/mono-addins/archive/c636f258d0a724e7c0de447ea717d18cb90bfb17/mono-addins-1.3.5.tar.gz"
-MD5SUM="64dc3e784fdc373e78021ec096c9179b"
+DOWNLOAD="https://github.com/mono/mono-addins/archive/c636f258d0a724e7c0de447ea717d18cb90bfb17/mono-addins-c636f258d0a724e7c0de447ea717d18cb90bfb17.tar.gz \
+ https://github.com/Microsoft/msbuild/releases/download/mono-hosted-msbuild-v0.03/mono_msbuild_d25dd923839404bd64cc63f420e75acf96fc75c4.zip"
+MD5SUM="64dc3e784fdc373e78021ec096c9179b \
+ 14345c2f2dc53aa902a89419e234d2d4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtk-sharp nuget"
+REQUIRES="gtk-sharp"
MAINTAINER="Andre Barboza"
EMAIL="bmg.andre@gmail.com"
diff --git a/development/mono-basic/mono-basic.SlackBuild b/development/mono-basic/mono-basic.SlackBuild
index 1032e21437..7cf714e267 100644
--- a/development/mono-basic/mono-basic.SlackBuild
+++ b/development/mono-basic/mono-basic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mono-basic
@@ -21,10 +21,13 @@
# 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=mono-basic
-VERSION=${VERSION:-4.6}
+VERSION=${VERSION:-20200408_bdb5276}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -59,7 +69,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mono-basic/mono-basic.info b/development/mono-basic/mono-basic.info
index b41aa264b8..11080d577d 100644
--- a/development/mono-basic/mono-basic.info
+++ b/development/mono-basic/mono-basic.info
@@ -1,8 +1,8 @@
PRGNAM="mono-basic"
-VERSION="4.6"
+VERSION="20200408_bdb5276"
HOMEPAGE="http://www.mono-project.com/VisualBasic.NET_support"
-DOWNLOAD="http://download.mono-project.com/sources/mono-basic/mono-basic-4.6.tar.bz2"
-MD5SUM="7e6a4799c2780ed9f0798373a0523162"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/mono-basic-20200408_bdb5276.tar.xz"
+MD5SUM="14331ae294c555c6488bb1d3a877205f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtk-sharp"
diff --git a/development/mono-debugger/README b/development/mono-debugger/README
deleted file mode 100644
index 87d2521308..0000000000
--- a/development/mono-debugger/README
+++ /dev/null
@@ -1 +0,0 @@
-Mono-specific debuggers: hard debugger and soft debugger.
diff --git a/development/mono-debugger/glib-single-include.patch b/development/mono-debugger/glib-single-include.patch
deleted file mode 100644
index 4c5e1e51be..0000000000
--- a/development/mono-debugger/glib-single-include.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: mono-debugger-2.10/sysdeps/server/breakpoints.c
-===================================================================
---- mono-debugger-2.10.orig/sysdeps/server/breakpoints.c
-+++ mono-debugger-2.10/sysdeps/server/breakpoints.c
-@@ -1,6 +1,6 @@
- #include <server.h>
- #include <breakpoints.h>
--#include <glib/gthread.h>
-+#include <glib.h>
- #include <sys/stat.h>
- #include <signal.h>
- #ifdef HAVE_UNISTD_H
diff --git a/development/mono-debugger/mono-debugger.SlackBuild b/development/mono-debugger/mono-debugger.SlackBuild
deleted file mode 100644
index 0db9e8cb59..0000000000
--- a/development/mono-debugger/mono-debugger.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Mono Debugger
-
-# Written by André Barboza <bmg.andre@gmail.com>
-
-# 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.
-
-PRGNAM=mono-debugger
-VERSION=${VERSION:-2.10}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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 {} \;
-
-# Starting with glib 2.32 it is now mandatory to
-# include glib.h instead of individual headers.
-patch -p1 -i $CWD/glib-single-include.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-MCS=/usr/bin/mcs \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make -j1
-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 AUTHORS COPYING ChangeLog NEWS README doc/FAQ.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:-tgz}
diff --git a/development/mono-debugger/mono-debugger.info b/development/mono-debugger/mono-debugger.info
deleted file mode 100644
index 6a80e55661..0000000000
--- a/development/mono-debugger/mono-debugger.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mono-debugger"
-VERSION="2.10"
-HOMEPAGE="http://www.mono-project.com/Debugger"
-DOWNLOAD="http://download.mono-project.com/sources/mono-debugger/mono-debugger-2.10.tar.bz2"
-MD5SUM="02ee485f2aae279f2fa3a7051c7d580e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="mono"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/mono-debugger/slack-desc b/development/mono-debugger/slack-desc
deleted file mode 100644
index 9850947086..0000000000
--- a/development/mono-debugger/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------------------------------------------------------|
-mono-debugger: mono-debugger (Mono-specific debuggers)
-mono-debugger:
-mono-debugger: Mono-specific debuggers: hard debugger and soft debugger.
-mono-debugger:
-mono-debugger:
-mono-debugger:
-mono-debugger:
-mono-debugger:
-mono-debugger:
-mono-debugger: Homepage: http://www.mono-project.com/Debugger
-mono-debugger:
diff --git a/development/mono/README b/development/mono/README
index e8f1d719d4..ce39213c0a 100644
--- a/development/mono/README
+++ b/development/mono/README
@@ -13,3 +13,6 @@ Note:
This is considered a "slightly more risky approach" to build Mono.
So, besides Mono sources, this SlackBuild uses a full featured
and precompiled Mono Compiler to bootstrap.
+
+ - After installing, it's recommended to run this command
+ /usr/bin/cert-sync /etc/ssl/certs/ca-certificates.crt
diff --git a/development/mono/doinst.sh b/development/mono/doinst.sh
index 543cb6f4c9..20f7c6c342 100644
--- a/development/mono/doinst.sh
+++ b/development/mono/doinst.sh
@@ -29,6 +29,3 @@ config etc/mono/4.5/machine.config.new
config etc/mono/4.5/settings.map.new
config etc/mono/4.5/web.config.new
config etc/mono/4.5/Browsers/Compat.browser.new
-
-usr/bin/mono-sgen usr/lib/mono/4.5/cert-sync.exe /etc/ssl/certs/ca-certificates.crt
-
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild
index 00681d3d7e..001fa62c3c 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -1,15 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mono
-# Written by Sebastián Salazar Molina <ssalazar@orangepeople.cl>
+
+# Copright 2023-2024 Steven Voges <Oregon, USA>
+# Written by Sebastián Salazar Molina <ssalazar@orangepeople.cl>
# Updated by Andre Barboza <bmg.andre@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mono
-VERSION=${VERSION:-5.0.1.1}
-MAJORVERSION=${MAJORVERSION:-5.0.1.1}
-BIN_VERSION=${BIN_VERSION:-4.4.2.11}
+VERSION=${VERSION:-6.12.0.205}
+BOOTSTRAP=${BOOTSTRAP:-4.4.2.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -27,19 +53,19 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- BOOTSTRAP_ARCH=i586
+ BOOTSTRAPARCH=i586
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- BOOTSTRAP_ARCH=i586
+ BOOTSTRAPARCH=i586
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- BOOTSTRAP_ARCH=x86_64
+ BOOTSTRAPARCH=x86_64
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
- BOOTSTRAP_ARCH=i586
+ BOOTSTRAPARCH=i586
fi
set -e
@@ -48,8 +74,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$MAJORVERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -60,9 +86,9 @@ find -L . \
# Use full featured precompiled mono version instead of monolite
pushd $TMP
-rm -rf $PRGNAM-$BIN_VERSION-$BOOTSTRAP_ARCH
-tar xvf $CWD/$PRGNAM-$BIN_VERSION-$BOOTSTRAP_ARCH.tar.bz2
-export PATH="$TMP/$PRGNAM-$BIN_VERSION-$BOOTSTRAP_ARCH/usr/bin:$PATH"
+rm -rf $PRGNAM-$BOOTSTRAP-$BOOTSTRAPARCH
+tar xvf $CWD/$PRGNAM-$BOOTSTRAP-$BOOTSTRAPARCH.tar.bz2
+export PATH="$TMP/$PRGNAM-$BOOTSTRAP-$BOOTSTRAPARCH/usr/bin:$PATH"
popd
CFLAGS="$SLKCFLAGS" \
@@ -75,10 +101,12 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.a
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Don't clobber the config files
@@ -112,12 +140,15 @@ 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 -ar COPYING.LIB LICENSE NEWS README.md docs $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.md COPYING.LIB LICENSE NEWS docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/docs/abc-removal.txt
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mono/mono.info b/development/mono/mono.info
index fa7740dbef..312a8bcadb 100644
--- a/development/mono/mono.info
+++ b/development/mono/mono.info
@@ -1,14 +1,14 @@
PRGNAM="mono"
-VERSION="5.0.1.1"
+VERSION="6.12.0.205"
HOMEPAGE="https://www.mono-project.com/"
-DOWNLOAD="http://download.mono-project.com/sources/mono/mono-5.0.1.1.tar.bz2 \
- http://sourceforge.net/projects/slackbuildsdirectlinks/files/mono/mono-4.4.2.11-i586.tar.bz2"
-MD5SUM="17692c7a797f95ee6f9a0987fda3d486 \
+DOWNLOAD="https://download.mono-project.com/sources/mono/preview/mono-6.12.0.205.tar.xz \
+ http://sourceforge.net/projects/svoges-sbo/files/mono/mono-4.4.2.11-i586.tar.bz2"
+MD5SUM="413a241298161da75f8a34a0791cdd67 \
3f974dba179a452bdcd94659ddc47e33"
-DOWNLOAD_x86_64="http://download.mono-project.com/sources/mono/mono-5.0.1.1.tar.bz2 \
- http://sourceforge.net/projects/slackbuildsdirectlinks/files/mono/mono-4.4.2.11-x86_64.tar.bz2"
-MD5SUM_x86_64="17692c7a797f95ee6f9a0987fda3d486 \
+DOWNLOAD_x86_64="https://download.mono-project.com/sources/mono/preview/mono-6.12.0.205.tar.xz \
+ http://sourceforge.net/projects/svoges-sbo/files/mono/mono-4.4.2.11-x86_64.tar.bz2"
+MD5SUM_x86_64="413a241298161da75f8a34a0791cdd67 \
daba2c08651c68566ee1214e03d5a080"
REQUIRES="libgdiplus"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/development/mono/slack-desc b/development/mono/slack-desc
index 5122d7b719..afddd556cc 100644
--- a/development/mono/slack-desc
+++ b/development/mono/slack-desc
@@ -13,7 +13,7 @@ mono: create cross platform applications.
mono: It is an open source implementation of Microsoft's .Net Framework
mono: based on the ECMA standards for C# and the Common Language Runtime.
mono:
-mono: Last information can be found at
-mono: https://www.mono-project.com/
+mono: Homepage: https://www.mono-project.com
+mono:
mono:
mono:
diff --git a/development/monodevelop/README b/development/monodevelop/README
deleted file mode 100644
index e079b6a90e..0000000000
--- a/development/monodevelop/README
+++ /dev/null
@@ -1,14 +0,0 @@
-MonoDevelop is a cross-platform IDE primarily designed for C# and
-other .NET languages. MonoDevelop enables developers to quickly write
-desktop and ASP.NET Web applications on Linux, Windows and Mac OSX.
-MonoDevelop makes it easy for developers to port .NET applications
-created with Visual Studio to Linux and Mac OSX maintaining a single
-code base for all platforms.
-
-Note: oxygen-gtk causes MonoDevelop source editor to be blank.
-A workaround is to use a different GTK2 Theme; Adwaita,
-Oxygen-Molecule, QtCurve, etc.
-Another workaround is to set OXYGEN_DISABLE_INNER_SHADOWS_HACK=1
-environment variable.
-
-This script will build with GIT support alongside with default SVN.
diff --git a/development/monodevelop/doinst.sh b/development/monodevelop/doinst.sh
deleted file mode 100644
index 0fb9c8b686..0000000000
--- a/development/monodevelop/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/development/monodevelop/fix-nuget-mgm.patch b/development/monodevelop/fix-nuget-mgm.patch
deleted file mode 100644
index 17a83aab11..0000000000
--- a/development/monodevelop/fix-nuget-mgm.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur monodevelop.old/main/monodevelop.desktop monodevelop/main/monodevelop.desktop
---- monodevelop.old/main/monodevelop.desktop 2017-04-12 10:50:03.000000000 -0300
-+++ monodevelop/main/monodevelop.desktop 2017-07-09 19:04:01.306846766 -0300
-@@ -6,7 +6,7 @@
- GenericName[ja]=統合開発環境
- Comment=Develop .NET applications in an Integrated Development Environment
- Comment[ja]=.NETアプリケーション開発を行うための統合開発環境
--Exec=monodevelop %F
-+Exec=env MONO_TLS_PROVIDER=legacy monodevelop %F
- TryExec=monodevelop
- Icon=monodevelop
- StartupNotify=true
diff --git a/development/monodevelop/monodevelop.SlackBuild b/development/monodevelop/monodevelop.SlackBuild
deleted file mode 100644
index 9e08c4c385..0000000000
--- a/development/monodevelop/monodevelop.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for MonoDevelop
-
-# Written by Andre Barboza <bmg.andre@gmail.com>
-
-# 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.
-
-PRGNAM=monodevelop
-VERSION=${VERSION:-6.3.0.864}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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
-mkdir $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 --strip-components 1 -C $PRGNAM-$VERSION
-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 {} \;
-
-# https://bugzilla.xamarin.com/show_bug.cgi?id=57019
-patch -p 1 < ${CWD}/fix-nuget-mgm.patch
-
-pushd main
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-release \
- --enable-git \
- --disable-update-mimedb \
- --disable-update-desktopdb
-
-make -j1
-make install DESTDIR=$PKG
-
-# Fix pkg-config prefix
-if [ "$ARCH" = "x86_64" ]; then
- mkdir -p $PKG/usr/lib64
- mv $PKG/usr/lib/pkgconfig $PKG/usr/lib64/pkgconfig
-fi
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING TUTORIALS 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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/monodevelop/monodevelop.info b/development/monodevelop/monodevelop.info
deleted file mode 100644
index 6e70cd6348..0000000000
--- a/development/monodevelop/monodevelop.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="monodevelop"
-VERSION="6.3.0.864"
-HOMEPAGE="http://monodevelop.com/"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/monodevelop/monodevelop-6.3.0.864.tar.bz2"
-MD5SUM="24591aefcf745f511d83513ef211d374"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="gnome-sharp nuget fsharp referenceassemblies-pcl"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/monodevelop/slack-desc b/development/monodevelop/slack-desc
deleted file mode 100644
index a349edef32..0000000000
--- a/development/monodevelop/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------------------------------------------------------|
-monodevelop: monodevelop (IDE for .NET languages)
-monodevelop:
-monodevelop: MonoDevelop is a cross-platform IDE primarily designed for C# and
-monodevelop: other .NET languages. MonoDevelop enables developers to quickly write
-monodevelop: desktop and ASP.NET Web applications on Linux, Windows and Mac OSX.
-monodevelop: MonoDevelop makes it easy for developers to port .NET applications
-monodevelop: created with Visual Studio to Linux and Mac OSX maintaining a single
-monodevelop: code base for all platforms.
-monodevelop:
-monodevelop: Homepage: http://monodevelop.com/
-monodevelop:
diff --git a/development/monodevelop/srcpkg/makepkg.sh b/development/monodevelop/srcpkg/makepkg.sh
deleted file mode 100644
index ccb2e3dc18..0000000000
--- a/development/monodevelop/srcpkg/makepkg.sh
+++ /dev/null
@@ -1,83 +0,0 @@
-#! /bin/bash
-
-# Written by Andre Barboza <bmg.andre@gmail.com>
-
-# 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.
-
-PRGNAM=monodevelop
-VERSION=${VERSION:-6.3.0.864}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo/sources}
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-mkdir -p $TMP
-cd $TMP
-
-if [ ! -d "$PRGNAM" ]; then
- git clone https://github.com/mono/monodevelop.git
-else
- pushd $PRGNAM
- git clean -dfx
- git reset --hard
- git submodule foreach --recursive git reset --hard
- git submodule foreach --recursive git clean -dfx
- git fetch
- popd #$PRGNAM
-fi
-
-cd $PRGNAM
-git submodule update --init --recursive
-git checkout tags/${PRGNAM}-${VERSION}
-scripts/configure.sh gen-buildinfo main
-
-./configure \
- --profile=stable \
- --enable-release \
- --prefix=/usr
-
-pushd main
- nuget restore
-
- for top_dir in external contrib src/addins src/core
- do
- pushd $top_dir
- find . -type d -maxdepth 1 |
- while read dir
- do
- pushd $dir
- nuget restore || :
- popd #$dir
- done
- popd #$top_dir
- done
-
- pushd external/fsharpbinding
- mono .paket/paket.bootstrapper.exe
- popd
-popd #main
-
-cd $TMP
-tar -cvjf $OUTPUT/$PRGNAM-$VERSION.tar.bz2 \
- --exclude $PRGNAM/.git \
- --exclude $PRGNAM/*.gitted \
- --ignore-case --exclude $PRGNAM/*/resources/*.git \
- --ignore-case --exclude $PRGNAM/*/resources/*dot_git \
- $PRGNAM
diff --git a/development/mosml/mosml.SlackBuild b/development/mosml/mosml.SlackBuild
index d9530d26b2..00131787cb 100644
--- a/development/mosml/mosml.SlackBuild
+++ b/development/mosml/mosml.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Moscow ML
# Copyright 2015 Roberto Metere, Cagliari (CA), Italy <roberto@metere.it>
@@ -21,26 +21,36 @@
# 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=mosml
VERSION=${VERSION:-2.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mosml/mosml.info b/development/mosml/mosml.info
index baeb1511db..5593b0af82 100644
--- a/development/mosml/mosml.info
+++ b/development/mosml/mosml.info
@@ -1,7 +1,7 @@
PRGNAM="mosml"
VERSION="2.10.1"
HOMEPAGE="http://mosml.org/"
-DOWNLOAD="https://github.com/kfl/mosml/archive/ver-2.10.1.tar.gz"
+DOWNLOAD="https://github.com/kfl/mosml/archive/ver-2.10.1/mosml-ver-2.10.1.tar.gz"
MD5SUM="40426700791760ec25aaecc06dcfc2d9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/mozjs/README b/development/mozjs/README
deleted file mode 100644
index bd78678034..0000000000
--- a/development/mozjs/README
+++ /dev/null
@@ -1,3 +0,0 @@
-SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It
-is used in various Mozilla products, including Firefox, and is
-available under the MPL2.
diff --git a/development/mozjs/mozjs.SlackBuild b/development/mozjs/mozjs.SlackBuild
deleted file mode 100644
index 036763d89f..0000000000
--- a/development/mozjs/mozjs.SlackBuild
+++ /dev/null
@@ -1,143 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mozjs
-# Copyright 2018 David Woodfall <dave@slackbuilds.org>
-# 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.
-
-PRGNAM=mozjs
-VERSION=${VERSION:-45.0.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-patch -p1 --verbose <$CWD/patches/moz38-dont-hardcode-libc-soname.patch
-
-cd js/src
-
-# Going with the gentoo ebuild options. They completely disable all
-# optimisation so we'll see how that works out.
-# --enable-optimize="-O2" \
-# They have also enabled thread safety.
-
-MOZ_MAKE_FLAGS="$SLKCFLAGS" \
-MOZ_OPTIMIZE_FLAGS="" \
-MOZ_DEBUG_FLAGS="" \
-HOST_OPTIMIZE_FLAGS="" \
-MODULE_OPTIMIZE_FLAGS="" \
-MOZ_PGO_OPTIMIZE_FLAGS="" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-jemalloc \
- --enable-threadsafe \
- --with-system-nspr \
- --enable-system-ffi \
- --enable-readline \
- --disable-optimize \
- --with-intl-api \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Get rid of any static libs
-find $PKG -iname '*.a' -o -iname '*.ajs' -delete
-
-# We don't want to clobber the stock js185 so we'll rename 'js' to 'mozjs' etc.
-(
- cd $PKG/usr/bin
- for bin in *
- do
- mv -v $bin moz$bin
- done
-)
-
-# Thanks to Arch
-# Resolve symlinks so they donʼt point to $srcdir
-for l in $(find "$PKG/usr/include/" -type l); do
- cp --remove-destination $(readlink $l) $l
-done
-
-# Fix to get elinks to build against it. Disabled for now.
-#sed -i "s%<cmath>%<cmath.h>%" $PKG/usr/include/mozjs-45/mozilla/MathAlgorithms.h
-#sed -i "s%<limits>%<limits.h>%" $PKG/usr/include/mozjs-45/js/Value.h
-#sed -i "/#include <new>/d" $PKG/usr/include/mozjs-45/js/Utility.h
-#sed -i "/#include <new>/d" $PKG/usr/include/mozjs-45/mozilla/Vector.h
-
-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
-
-cd ../..
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- INSTALL LICENSE README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/mozjs/mozjs.info b/development/mozjs/mozjs.info
deleted file mode 100644
index f8415c2950..0000000000
--- a/development/mozjs/mozjs.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mozjs"
-VERSION="45.0.2"
-HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey"
-DOWNLOAD="https://ftp.mozilla.org/pub/spidermonkey/releases/45.0.2/mozjs-45.0.2.tar.bz2"
-MD5SUM="2ca34f998d8b5ea79d8616dd26b5fbab"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/development/mozjs/patches/moz38-dont-hardcode-libc-soname.patch b/development/mozjs/patches/moz38-dont-hardcode-libc-soname.patch
deleted file mode 100644
index 708c749697..0000000000
--- a/development/mozjs/patches/moz38-dont-hardcode-libc-soname.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2018-01-12 12:21:16.764318254 -0500
-+++ b/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2018-01-12 12:22:23.392069398 -0500
-@@ -93,10 +93,11 @@
-
- if info['os'] == 'linux':
- import ctypes
-+ import ctypes.util
- import errno
- PR_SET_SECCOMP = 22
- SECCOMP_MODE_FILTER = 2
-- ctypes.CDLL("libc.so.6", use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0)
-+ ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0)
- info['has_sandbox'] = ctypes.get_errno() == errno.EFAULT
- else:
- info['has_sandbox'] = True
diff --git a/development/mozjs/slack-desc b/development/mozjs/slack-desc
deleted file mode 100644
index 0f9f7248d2..0000000000
--- a/development/mozjs/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 ':'.
-
- |-----handy-ruler------------------------------------------------------|
-mozjs: mozjs (Mozilla's JavaScript engine)
-mozjs:
-mozjs: SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It
-mozjs: is used in various Mozilla products, including Firefox, and is
-mozjs: available under the MPL2.
-mozjs:
-mozjs:
-mozjs:
-mozjs:
-mozjs:
-mozjs:
diff --git a/development/mphidflash/mphidflash.SlackBuild b/development/mphidflash/mphidflash.SlackBuild
index a5b7dc2533..899536b664 100644
--- a/development/mphidflash/mphidflash.SlackBuild
+++ b/development/mphidflash/mphidflash.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <mphidflash>
@@ -22,26 +22,36 @@
# 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=mphidflash
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -102,4 +112,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mrustc/README b/development/mrustc/README
deleted file mode 100644
index d539994b67..0000000000
--- a/development/mrustc/README
+++ /dev/null
@@ -1,4 +0,0 @@
-mrustc - alternative rust compiler
-
-This project is an attempt at creating a simple rust compiler in C++,
-with the ultimate goal of being a separate re-implementation.
diff --git a/development/mrustc/mrustc.SlackBuild b/development/mrustc/mrustc.SlackBuild
deleted file mode 100644
index 75ace16a32..0000000000
--- a/development/mrustc/mrustc.SlackBuild
+++ /dev/null
@@ -1,175 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mrustc
-
-# Copyright 2017-2020 Andrew Clemons, Wellington New Zealand
-# 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.
-
-PRGNAM=mrustc
-VERSION=${VERSION:-0.9}
-RUSTCVERSION=${RUSTCVERSION:-1.19.0}
-MRUSTCTARGETVERSION=${MRUSTCTARGETVERSION:-1.19}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- RUSTC_TARGET="i586-unknown-linux-gnu"
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- RUSTC_TARGET="i686-unknown-linux-gnu"
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- RUSTC_TARGET="x86_64-unknown-linux-gnu"
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "arm" ] ; then
- if readelf -h /bin/bash | grep Flags | grep hard > /dev/null 2>&1 ; then
- # hardfloat
- RUSTC_TARGET="armv7-unknown-linux-gnueabihf"
- SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
- else
- # softfloat
- RUSTC_TARGET="arm-unknown-linux-gnueabi"
- SLKCFLAGS="-O2 -march=armv5te"
- fi
-
- LIBDIRSUFFIX=""
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-
-tar -xf "$CWD/rustc-$RUSTCVERSION-src.tar.xz"
-
-(
- cd "rustc-$RUSTCVERSION-src"
- patch -p0 < ../"rustc-$RUSTCVERSION-src.patch"
- echo "$RUSTCVERSION" > dl-version
-)
-
-sed -i 's/\(TargetVersion.*TargetVersion.*=.*\)TargetVersion::Rustc1_29/\1TargetVersion::Rustc1_19/' src/main.cpp
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-RUSTC_VERSION="$RUSTCVERSION" \
-MRUSTC_TARGET_VER="$MRUSTCTARGETVERSION" \
-OUTDIR_SUF="" \
-CC=gcc \
-CXX=g++ \
-make RUSTC_TARGET="$RUSTC_TARGET"
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-RUSTC_VERSION="$RUSTCVERSION" \
-MRUSTC_TARGET_VER="$MRUSTCTARGETVERSION" \
-OUTDIR_SUF="" \
-CC=gcc \
-CXX=g++ \
-make -f minicargo.mk LIBS RUSTC_TARGET="$RUSTC_TARGET"
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-RUSTC_VERSION="$RUSTCVERSION" \
-MRUSTC_TARGET_VER="$MRUSTCTARGETVERSION" \
-OUTDIR_SUF="" \
-CC=gcc \
-CXX=g++ \
-make -C tools/minicargo RUSTC_TARGET="$RUSTC_TARGET"
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-RUSTC_VERSION="$RUSTCVERSION" \
-MRUSTC_TARGET_VER="$MRUSTCTARGETVERSION" \
-OUTDIR_SUF="" \
-CC=gcc \
-CXX=g++ \
-make test RUSTC_TARGET="$RUSTC_TARGET"
-
-mkdir -p $PKG/usr/bin
-install -m 0755 bin/mrustc $PKG/usr/bin/mrustc
-install -m 0755 tools/bin/minicargo $PKG/usr/bin/minicargo
-
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/
-cp -a output $PKG/usr/lib$LIBDIRSUFFIX/mrust
-
-find $PKG/usr/lib$LIBDIRSUFFIX -name '*.txt' -print0 | xargs -0 rm
-
-mkdir -p $PKG/usr/share/mrustc/run_rustc
-
-install -m 0644 run_rustc/Makefile $PKG/usr/share/mrustc/run_rustc/Makefile
-
-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/etc/profile.d
-cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh
-#!/bin/csh
-setenv MRUSTC_PATH=/usr/bin/mrustc
-EOF
-
-cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh
-#!/bin/sh
-export MRUSTC_PATH=/usr/bin/mrustc
-EOF
-
-chmod 0755 $PKG/etc/profile.d/*
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENCE-MIT 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:-tgz}
diff --git a/development/mrustc/mrustc.info b/development/mrustc/mrustc.info
deleted file mode 100644
index 09931e4e42..0000000000
--- a/development/mrustc/mrustc.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="mrustc"
-VERSION="0.9"
-HOMEPAGE="https://github.com/thepowersgang/mrustc"
-DOWNLOAD="https://github.com/thepowersgang/mrustc/archive/v0.9/mrustc-0.9.tar.gz \
- https://static.rust-lang.org/dist/rustc-1.19.0-src.tar.xz"
-MD5SUM="4195695805ddfaf7cb2f4088760b26d0 \
- e9af5bb321c0cad44ea0e3e2c644ab2f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/development/mrustc/slack-desc b/development/mrustc/slack-desc
deleted file mode 100644
index d087965b44..0000000000
--- a/development/mrustc/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------------------------------------------------------|
-mrustc: mrustc (Alternative rust compiler)
-mrustc:
-mrustc: Mutabah's Rust Compiler
-mrustc:
-mrustc: In-progress alternative rust compiler.
-mrustc:
-mrustc: https://github.com/thepowersgang/mrustc
-mrustc:
-mrustc:
-mrustc:
-mrustc:
diff --git a/development/msbasic2ascii/README b/development/msbasic2ascii/README
new file mode 100644
index 0000000000..d4ea3d4295
--- /dev/null
+++ b/development/msbasic2ascii/README
@@ -0,0 +1,14 @@
+msbasic2ascii (detokenizers for MS BASIC variants)
+
+This package contains detokenizers for 12 different flavors of
+Microsoft BASIC. They convert the binary SAVE format to human
+readable BASIC source. Supported BASICs include TSR-80 Model I Level
+II (trs80ascii) and Model 4 (trsm4ascii), MSX (msxascii), GW-BASIC
+(gwascii), MS-BASIC for CP/M (cpmascii), Tandy CoCo (cocoascii),
+Dragon 32/64 (drascii).
+
+Also, experimental unsupported detokenizers are included for
+OSI 8K BASIC (osiascii), Exidy Sorceror (sorcascii), Nascom
+BASIC (nscmascii), Crytal BASIC (xtalascii), and Compucolor
+(compucolorascii). Some of these are known to be incomplete, and some
+just need testing against real-world code.
diff --git a/development/msbasic2ascii/compile_fixes.diff b/development/msbasic2ascii/compile_fixes.diff
new file mode 100644
index 0000000000..5881359d1f
--- /dev/null
+++ b/development/msbasic2ascii/compile_fixes.diff
@@ -0,0 +1,63 @@
+diff -Naur msbasic2ascii-0.2/Makefile msbasic2ascii-0.2.patched/Makefile
+--- msbasic2ascii-0.2/Makefile 2020-12-21 16:15:34.000000000 -0500
++++ msbasic2ascii-0.2.patched/Makefile 2023-04-28 01:00:17.275684858 -0400
+@@ -47,7 +47,7 @@
+ MOD4 = trsm4.o
+ COCO = coco.o
+ DRAG = dragon.o
+-SOR = sorcerer.o
++SORC = sorcerer.o
+ OSI = osi.o
+ NSC = nascom.o
+ XTL = xtal.o
+diff -Naur msbasic2ascii-0.2/gwbasic.h msbasic2ascii-0.2.patched/gwbasic.h
+--- msbasic2ascii-0.2/gwbasic.h 2020-12-21 16:15:34.000000000 -0500
++++ msbasic2ascii-0.2.patched/gwbasic.h 2023-04-28 00:54:13.835719062 -0400
+@@ -26,6 +26,15 @@
+ #include <errno.h>
+ #include <stdarg.h>
+
++#include <stdlib.h>
++#include <unistd.h>
++#include <string.h>
++
++extern void gwb_dprintf(char *format, ...);
++extern int gx_process();
++extern int ge_new(char *buf);
++extern char *gets(char *s);
++
+ /* On the NeXT the basic curses is lame! */
+ #if defined(NeXT)
+ #include <ncurses.h>
+diff -Naur msbasic2ascii-0.2/nascom.h msbasic2ascii-0.2.patched/nascom.h
+--- msbasic2ascii-0.2/nascom.h 2020-12-21 16:15:34.000000000 -0500
++++ msbasic2ascii-0.2.patched/nascom.h 2023-04-28 01:01:22.307678738 -0400
+@@ -8,17 +8,17 @@
+
+
+ gwb_optable gwb_ops[] = {
+-0x80,"END"
+-0x81,"FOR"
+-0x82,"NEXT"
+-0x83,"DATA"
+-0x84,"INPUT"
+-0x85,"DIM"
+-0x86,"READ"
+-0x87,"LET"
+-0x88,"GOTO"
+-0x89,"RUN"
+-0x8a,"IF"
++0x80,"END",
++0x81,"FOR",
++0x82,"NEXT",
++0x83,"DATA",
++0x84,"INPUT",
++0x85,"DIM",
++0x86,"READ",
++0x87,"LET",
++0x88,"GOTO",
++0x89,"RUN",
++0x8a,"IF",
+ 0x8b,"RESTORE",
+ 0x8c,"GOSUB",
+ 0x8d,"RETURN",
diff --git a/development/msbasic2ascii/msbasic2ascii.SlackBuild b/development/msbasic2ascii/msbasic2ascii.SlackBuild
new file mode 100644
index 0000000000..853be6b0db
--- /dev/null
+++ b/development/msbasic2ascii/msbasic2ascii.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/bash
+
+# Slackware build script for msbasic2ascii
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=msbasic2ascii
+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"
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Fixes for modern compilers. Actually some of this stuff would be broken
+# on 2000-era gcc, even.
+patch -p1 < $CWD/compile_fixes.diff
+
+sed -i "/^CFLAGS/s,-g,$SLKCFLAGS," Makefile
+make
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1
+make install INSTDIR=$PKG/usr/bin
+
+# 'make install' doesn't build/install these. Include them in case someone
+# needs them. They ain't no man pages for 'em, but *shrug*.
+make untst
+cp -a osiascii sorcascii nscmascii xtalascii compucolorascii $PKG/usr/bin
+
+strip $PKG/usr/bin/*
+cp -a *.1 $PKG/usr/man/man1
+gzip $PKG/usr/man/man1/*.1
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a CHANGES COPYRIGHT README* TODO $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/msbasic2ascii/msbasic2ascii.info b/development/msbasic2ascii/msbasic2ascii.info
new file mode 100644
index 0000000000..097ecf1770
--- /dev/null
+++ b/development/msbasic2ascii/msbasic2ascii.info
@@ -0,0 +1,10 @@
+PRGNAM="msbasic2ascii"
+VERSION="0.2"
+HOMEPAGE="http://web.archive.org/web/20231001092017/http://edmond.orignac.pagesperso-orange.fr/detokenizer.html"
+DOWNLOAD="https://slackware.uk/~urchlay/src/msbasic2ascii-0.2.tar.gz"
+MD5SUM="d9a3f779892aa9277b154beccae74bf5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/msbasic2ascii/slack-desc b/development/msbasic2ascii/slack-desc
new file mode 100644
index 0000000000..058afa5e44
--- /dev/null
+++ b/development/msbasic2ascii/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------------------------------------------------------|
+msbasic2ascii: msbasic2ascii (detokenizers for MS BASIC variants)
+msbasic2ascii:
+msbasic2ascii: This package contains detokenizers for 12 different flavors of
+msbasic2ascii: Microsoft BASIC. They convert the binary SAVE format to human readable
+msbasic2ascii: BASIC source. Supported BASICs include TSR-80 (Model I Level II, Model
+msbasic2ascii: 4), MSX, GW-BASIC, MS-BASIC for CP/M, Tandy CoCo, Dragon 32/64.
+msbasic2ascii:
+msbasic2ascii: Also, experimental unsupported detokenizers are included for
+msbasic2ascii: OSI 8K BASIC, Exidy Sorceror, Nascom BASIC, Crytal BASIC, and
+msbasic2ascii: Compucolor. Some of these are known to be incomplete, and some just
+msbasic2ascii: need testing against real-world code.
diff --git a/development/mspgcc-legacy/mspgcc-legacy.SlackBuild b/development/mspgcc-legacy/mspgcc-legacy.SlackBuild
index 2805268aa0..f2f50e0109 100644
--- a/development/mspgcc-legacy/mspgcc-legacy.SlackBuild
+++ b/development/mspgcc-legacy/mspgcc-legacy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mspgcc-legacy
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mspgcc-legacy
VERSION=${VERSION:-20120406}
@@ -35,6 +37,7 @@ MSP430LIBCVERSION=20120224
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PREFIX=${PREFIX:-/opt/$PRGNAM}
@@ -46,7 +49,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -165,4 +175,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mstch/mstch.SlackBuild b/development/mstch/mstch.SlackBuild
index c61a7b3437..b84cdc24dc 100644
--- a/development/mstch/mstch.SlackBuild
+++ b/development/mstch/mstch.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mstch
@@ -22,10 +22,13 @@
# 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=mstch
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mtasc/mtasc.SlackBuild b/development/mtasc/mtasc.SlackBuild
index 2e8115b53b..d9b3583161 100644
--- a/development/mtasc/mtasc.SlackBuild
+++ b/development/mtasc/mtasc.SlackBuild
@@ -1,31 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MTASC
# Written by Andres Fuentes (rafu@riseup.net)
# This script is public domain
-# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mtasc
VERSION=${VERSION:-1.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
SRCTAR="$PRGNAM-$VERSION-linux.tgz"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
@@ -66,4 +74,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mtd-utils/mtd-utils.SlackBuild b/development/mtd-utils/mtd-utils.SlackBuild
index c41c8eb84f..7391ce9a85 100644
--- a/development/mtd-utils/mtd-utils.SlackBuild
+++ b/development/mtd-utils/mtd-utils.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mtd-utils
@@ -22,26 +22,36 @@
# 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=mtd-utils
-VERSION=${VERSION:-1.5.2}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,11 +80,19 @@ find -L . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
- make \
- MANDIR=/usr/man
-make install \
- MANDIR=/usr/man \
- DESTDIR=$PKG
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -89,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mtd-utils/mtd-utils.info b/development/mtd-utils/mtd-utils.info
index b46428fc59..66f410e695 100644
--- a/development/mtd-utils/mtd-utils.info
+++ b/development/mtd-utils/mtd-utils.info
@@ -1,8 +1,8 @@
PRGNAM="mtd-utils"
-VERSION="1.5.2"
+VERSION="2.1.2"
HOMEPAGE="http://www.linux-mtd.infradead.org/"
-DOWNLOAD="ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.5.2.tar.bz2"
-MD5SUM="596bc7b20a6d4fb86d63fc9b8af674d6"
+DOWNLOAD="ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-2.1.2.tar.bz2"
+MD5SUM="19191bc0195a779c0bd1284c886084ab"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/muon/README b/development/muon/README
new file mode 100644
index 0000000000..61a6583405
--- /dev/null
+++ b/development/muon/README
@@ -0,0 +1,6 @@
+muon (implementation of the meson build system)
+
+muon is an implementation of the meson build system in c99 with
+minimal dependencies. It isn't quite a drop-in replacement for the
+standard meson command; specifically, it doesn't support the
+"meson .." syntax used in most SlackBuild scripts.
diff --git a/development/muon/muon.SlackBuild b/development/muon/muon.SlackBuild
new file mode 100644
index 0000000000..4c913fb6a3
--- /dev/null
+++ b/development/muon/muon.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for muon
+
+# Copyright 2023 Charadon US
+# Copyright 2023 B. Watson
+# 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.
+
+# 20230829 bkw: BUILD=2
+# - take over maintenance.
+# - add a couple *.md files to the doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=muon
+VERSION=${VERSION:-0.2.0}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ 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
+
+# There isn't a URL that gives the same filename with or without
+# content-disposition...
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+
+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 {} +
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dlibcurl=enabled \
+ -Dlibarchive=enabled \
+ -Dlibpkgconf=enabled \
+ -Dsamurai=disabled \
+ -Dbestline=disabled \
+ -Dstatic=false \
+ -Ddocs=enabled \
+ -Dwebsite=false \
+ -Dtracy=disabled
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+gzip -9 $PKG/usr/man/man*/*
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a *.md LICENSES/* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/muon/muon.info b/development/muon/muon.info
new file mode 100644
index 0000000000..3b4fc8c7af
--- /dev/null
+++ b/development/muon/muon.info
@@ -0,0 +1,10 @@
+PRGNAM="muon"
+VERSION="0.2.0"
+HOMEPAGE="https://git.sr.ht/~lattis/muon"
+DOWNLOAD="https://git.sr.ht/~lattis/muon/archive/0.2.0.tar.gz"
+MD5SUM="979c60b157018a34bb552dea830bb67e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pkgconf scdoc"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/muon/slack-desc b/development/muon/slack-desc
new file mode 100644
index 0000000000..6ddf0ed4ad
--- /dev/null
+++ b/development/muon/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------------------------------------------------------|
+muon: muon (implementation of the meson build system)
+muon:
+muon: muon is an implementation of the meson build system in c99 with
+muon: minimal dependencies. It isn't quite a drop-in replacement for the
+muon: standard meson command; specifically, it doesn't support the
+muon: "meson .." syntax used in most SlackBuild scripts.
+muon:
+muon:
+muon:
+muon:
+muon:
diff --git a/development/mutagen/README b/development/mutagen/README
index b22c7ff981..78a4496dec 100644
--- a/development/mutagen/README
+++ b/development/mutagen/README
@@ -1,4 +1,4 @@
-mutagen (Python 2/3 module for handling audio metadata)
+mutagen (Python 3 module for handling audio metadata)
Mutagen is a Python module to handle audio metadata. It supports ASF,
FLAC, MP4, Monkey's Audio, MP3, Musepack, Ogg Opus, Ogg FLAC, Ogg
@@ -11,7 +11,5 @@ bitrate and length of MP3s. ID3 and APEv2 tags can be edited
regardless of audio format. It can also manipulate Ogg streams on an
individual packet/page level.
-Mutagen works with Python 2.7, 3.3+ and has no dependencies outside
-the Python standard library.
-
-Optional dependency: python3
+Mutagen works with Python 3.7+ and has no dependencies outside
+the Python standard library. (except build dependencies)
diff --git a/development/mutagen/mutagen.SlackBuild b/development/mutagen/mutagen.SlackBuild
index 8e01169988..5b7e28665a 100644
--- a/development/mutagen/mutagen.SlackBuild
+++ b/development/mutagen/mutagen.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
-#
+#!/bin/bash
+
# Slackware build script for mutagen.
-#
+
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2016-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2016 Dugan Chen (thedoogster [at] gmail [dot] [com])
# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
@@ -13,21 +14,27 @@
# 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.
+# 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.
+
+# 20221015 46and2: Updated version, changed build process.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mutagen
-VERSION=${VERSION:-1.43.0}
-BUILD=${BUILD:-2}
+SRCNAM=$(echo ${PRGNAM}-release)
+VERSION=${VERSION:-1.47.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -51,35 +62,31 @@ 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=""
fi
-SRCVER="release-$VERSION"
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-mv $PRGNAM-$SRCVER $PRGNAM-$VERSION
-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 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-python setup.py install --root $PKG
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# Install python3 bindings.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
# Move man page(s) to correct location:
mv $PKG/usr/share/man $PKG/usr/man
@@ -96,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mutagen/mutagen.info b/development/mutagen/mutagen.info
index db5233ace2..bab8ea168e 100644
--- a/development/mutagen/mutagen.info
+++ b/development/mutagen/mutagen.info
@@ -1,10 +1,10 @@
PRGNAM="mutagen"
-VERSION="1.43.0"
+VERSION="1.47.0"
HOMEPAGE="https://github.com/quodlibet/mutagen"
-DOWNLOAD="https://github.com/quodlibet/mutagen/archive/release-1.43.0/mutagen-release-1.43.0.tar.gz"
-MD5SUM="04111a3df37e5b7f0f3dcffdb4b3ad70"
+DOWNLOAD="https://github.com/quodlibet/mutagen/archive/release-1.47.0/mutagen-release-1.47.0.tar.gz"
+MD5SUM="b4a74aed4edce5414e147b86d5e517e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
+REQUIRES="python3-build python3-wheel"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/development/mutagen/slack-desc b/development/mutagen/slack-desc
index 4513a7abc2..b10eff0271 100644
--- a/development/mutagen/slack-desc
+++ b/development/mutagen/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-mutagen: mutagen (Python 2/3 module for handling audio metadata)
+mutagen: mutagen (Python 3 module for handling audio metadata)
mutagen:
mutagen: Mutagen is a Python module to handle audio metadata. It supports ASF,
mutagen: FLAC, MP4, Monkey's Audio, MP3, Musepack, Ogg Opus, Ogg FLAC, Ogg
diff --git a/development/mysql-pinba/README b/development/mysql-pinba/README
deleted file mode 100644
index 6a0b8b401f..0000000000
--- a/development/mysql-pinba/README
+++ /dev/null
@@ -1,14 +0,0 @@
-Pinba (PHP Is Not A Bottleneck Anymore) is a statistics server
-using MySQL as an interface. It accumulates and processes data
-sent over UDP by multiple PHP processes and displays statistics
-in a nice human-readable form of simple "reports", also providing
-read-only interface to the raw data in order to make possible
-generation of more sophisticated reports.
-
-Upstream recommends using a different memory allocator than the
-default one to cut down on memory usage. You can specify which
-one you want to use by passing either MALLOC="hoard" or
-MALLOC="jemalloc" to the script. This depends on hoard or jemalloc
-respectively. By default the default memory allocator is used.
-
-The pinba storage plugin works with both mysql and mariadb.
diff --git a/development/mysql-pinba/mysql-pinba.SlackBuild b/development/mysql-pinba/mysql-pinba.SlackBuild
deleted file mode 100644
index cdf19f5036..0000000000
--- a/development/mysql-pinba/mysql-pinba.SlackBuild
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mysql-pinba
-
-# Copyright 2012 Heinz Wiesinger, Amsterdam, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=mysql-pinba
-SRCNAM=pinba_engine
-VERSION=${VERSION:-1.0.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-MALLOC=${MALLOC:-"default"}
-
-if [ "$MALLOC" = "hoard" ]; then
- malloc_lib="-lhoard"
-elif [ "$MALLOC" = "jemalloc" ]; then
- malloc_lib="-ljemalloc"
-else
- malloc_lib=""
-fi
-
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-autoreconf -vif
-
-# fix paths to private headers
-sed -i "s|sql/mysql_priv.h|mysql_priv.h|" ./configure
-sed -i "s|include/my|my|g" ./configure
-sed -i "s|mysql/plugin.h|plugin.h|" ./configure
-sed -i "s|-I\$with_mysql/include|-I\$with_mysql -I\$with_mysql/private|g" ./configure
-
-sed -i "s|include/mysql_version.h|mysql_version.h|" src/{data,ha_pinba}.cc
-sed -i "s|sql/field.h|field.h|" src/ha_pinba.cc
-sed -i "s|sql/structs.h|structs.h|" src/ha_pinba.cc
-sed -i "s|sql/handler.h|handler.h|" src/ha_pinba.cc
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-LIBS="$malloc_lib" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX/mysql/plugin/ \
- --sysconfdir=/etc \
- --enable-shared \
- --disable-static \
- --localstatedir=/var \
- --with-mysql=/usr/include/mysql \
- --build=$ARCH-slackware-linux
-
-sed -i "s|-L/usr/lib|-L/usr/lib$LIBDIRSUFFIX|g" ./src/Makefile
-sed -i "s|rpath,/usr/lib|rpath,/usr/lib$LIBDIRSUFFIX|g" ./src/Makefile
-
-make
-make install DESTDIR=$PKG
-
-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 COPYING README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/mysql-pinba/mysql-pinba.info b/development/mysql-pinba/mysql-pinba.info
deleted file mode 100644
index 4312bb3bde..0000000000
--- a/development/mysql-pinba/mysql-pinba.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mysql-pinba"
-VERSION="1.0.0"
-HOMEPAGE="http://pinba.org/"
-DOWNLOAD="http://pinba.org/files/pinba_engine-1.0.0.tar.gz"
-MD5SUM="d0dc3dcf6adeb07bef1603d334770879"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="protobuf"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/development/mysql-pinba/slack-desc b/development/mysql-pinba/slack-desc
deleted file mode 100644
index ed469889a6..0000000000
--- a/development/mysql-pinba/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------------------------------------------------------|
-mysql-pinba: mysql-pinba (PHP Statistics Server - DB part)
-mysql-pinba:
-mysql-pinba: Pinba (PHP Is Not A Bottleneck Anymore) is a statistics server
-mysql-pinba: using MySQL as an interface. It accumulates and processes data
-mysql-pinba: sent over UDP by multiple PHP processes and displays statistics
-mysql-pinba: in a nice human-readable form of simple "reports", also providing
-mysql-pinba: read-only interface to the raw data in order to make possible
-mysql-pinba: generation of more sophisticated reports.
-mysql-pinba:
-mysql-pinba: Homepage: http://pinba.org/
-mysql-pinba:
diff --git a/development/mysql-workbench/0003-include-list.patch b/development/mysql-workbench/0003-include-list.patch
new file mode 100644
index 0000000000..7bd7b762c1
--- /dev/null
+++ b/development/mysql-workbench/0003-include-list.patch
@@ -0,0 +1,12 @@
+diff --git a/library/parsers/mysql/MySQLBaseLexer.h b/library/parsers/mysql/MySQLBaseLexer.h
+index 1a8b9ac..8bd3d57 100644
+--- a/library/parsers/mysql/MySQLBaseLexer.h
++++ b/library/parsers/mysql/MySQLBaseLexer.h
+@@ -26,6 +26,7 @@
+ #include "Lexer.h"
+ #include "MySQLRecognizerCommon.h"
+ #include "mysql-recognition-types.h"
++#include <list>
+
+ namespace antlr4 {
+ class PARSERS_PUBLIC_TYPE Lexer;
diff --git a/development/mysql-workbench/0004-libxml2.patch b/development/mysql-workbench/0004-libxml2.patch
new file mode 100644
index 0000000000..aa1f7aad9a
--- /dev/null
+++ b/development/mysql-workbench/0004-libxml2.patch
@@ -0,0 +1,39 @@
+From a9885c2feb3ec5addfd3d76928844042d014a595 Mon Sep 17 00:00:00 2001
+From: Anton Zhukharev <ancieg@altlinux.org>
+Date: Wed, 27 Dec 2023 16:15:23 +0300
+Subject: [PATCH] fix usage of libxml2
+
+---
+ mysql-workbench-community/library/grt/src/grt.h | 2 +-
+ mysql-workbench-community/library/grt/src/unserializer.cpp | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/library/grt/src/grt.h b/library/grt/src/grt.h
+index 47bfd637..43c1e612 100644
+--- a/library/grt/src/grt.h
++++ b/library/grt/src/grt.h
+@@ -34,7 +34,7 @@
+ #include <vector>
+ #include <stdexcept>
+ #include <boost/function.hpp>
+-#include <libxml/xmlmemory.h>
++#include <libxml/tree.h>
+ #include "base/threading.h"
+ #include <string>
+ #include <gmodule.h>
+diff --git a/library/grt/src/unserializer.cpp b/library/grt/src/unserializer.cpp
+index 6dda76d6..8f44c33a 100644
+--- a/library/grt/src/unserializer.cpp
++++ b/library/grt/src/unserializer.cpp
+@@ -401,7 +401,7 @@ ValueRef internal::Unserializer::unserialize_xmldata(const char *data, size_t si
+ xmlDocPtr doc = xmlReadMemory(data, (int)size, NULL, NULL, XML_PARSE_NOENT);
+
+ if (!doc) {
+- xmlErrorPtr error = xmlGetLastError();
++ const xmlError *error = xmlGetLastError();
+
+ if (error)
+ throw std::runtime_error(base::strfmt("Could not parse XML data. Line %d, %s", error->line, error->message));
+--
+2.42.1
+
diff --git a/development/mysql-workbench/README b/development/mysql-workbench/README
index 6acb10bc12..06243cfa67 100644
--- a/development/mysql-workbench/README
+++ b/development/mysql-workbench/README
@@ -16,3 +16,7 @@ Remove or comment this line: SKIP="--skip-networking" and then do:
Note: MySQL Workbench will be built against Python 2.7 even when
Python 3.x is installed on your system
+
+NOTE: You may need to run mysql_upgrade if mysql-workbench could not
+fetch your metadata. You may need to add this into /etc/ld.so.conf:
+/usr/lib{64}/mysql-workbench
diff --git a/development/mysql-workbench/add-option-to-hide-nonstandard-server-warning.patch b/development/mysql-workbench/add-option-to-hide-nonstandard-server-warning.patch
deleted file mode 100644
index 31471fa9c6..0000000000
--- a/development/mysql-workbench/add-option-to-hide-nonstandard-server-warning.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From cca769c75b9421f8ef5090848cea6162ccd85ba7 Mon Sep 17 00:00:00 2001
-From: Christian Hesse <mail@eworm.de>
-Date: Wed, 8 Feb 2017 09:42:29 +0100
-Subject: [PATCH 1/1] add option to hide nonstandard server warning
-
-Signed-off-by: Christian Hesse <mail@eworm.de>
----
- backend/wbprivate/workbench/wb_context.cpp | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/backend/wbprivate/workbench/wb_context.cpp b/backend/wbprivate/workbench/wb_context.cpp
-index f06ff99..f89006b 100644
---- a/backend/wbprivate/workbench/wb_context.cpp
-+++ b/backend/wbprivate/workbench/wb_context.cpp
-@@ -3038,7 +3038,7 @@ std::shared_ptr<SqlEditorForm> WBContext::add_new_query_window(const db_mgmt_Con
- logError("Unsupported server version: %s %s\n", form->connection_details()["dbmsProductName"].c_str(),
- form->connection_details()["dbmsProductVersion"].c_str());
-
-- if (mforms::Utilities::show_warning(
-+ if (mforms::Utilities::show_message_and_remember(
- base::strfmt("Connection Warning (%s)", targetConnection->name().c_str()),
- base::strfmt(
- "Incompatible/nonstandard server version or connection protocol detected (%s).\n\n"
-@@ -3046,7 +3046,8 @@ std::shared_ptr<SqlEditorForm> WBContext::add_new_query_window(const db_mgmt_Con
- "properly since the database is not fully compatible with the supported versions of MySQL.\n\n"
- "MySQL Workbench is developed and tested for MySQL Server versions 5.1, 5.5, 5.6 and 5.7",
- bec::sanitize_server_version_number(form->connection_details()["dbmsProductVersion"]).c_str()),
-- "Continue Anyway", "Cancel") != mforms::ResultOk) {
-+ "Continue Anyway", "Cancel", "", "wb.supported_server_check.suppress_warning",
-+ "Don't show this message again") != mforms::ResultOk) {
- _frontendCallbacks->show_status_text(_("Unsupported server"));
- return SqlEditorForm::Ref();
- }
---
-2.11.1
-
diff --git a/development/mysql-workbench/boost-1.73.0.patch b/development/mysql-workbench/boost-1.73.0.patch
new file mode 100644
index 0000000000..85825f14c0
--- /dev/null
+++ b/development/mysql-workbench/boost-1.73.0.patch
@@ -0,0 +1,123 @@
+Patch from Alt Linux as provided in https://bugs.gentoo.org/723432
+
+diff --git a/library/forms/swig/mforms.i b/library/forms/swig/mforms.i
+index cb74ba41..05535e56 100644
+--- a/library/forms/swig/mforms.i
++++ b/library/forms/swig/mforms.i
+@@ -3,6 +3,7 @@
+ #pragma SWIG nowarn=401,402,509
+
+ %{
++#include <boost/bind.hpp>
+ #include <boost/signals2/signal.hpp>
+ #include <sstream>
+ #include <frameobject.h>
+diff --git a/modules/db.mysql.sqlparser/src/mysql_invalid_sql_parser.cpp b/modules/db.mysql.sqlparser/src/mysql_invalid_sql_parser.cpp
+index 24db3d63..d997c410 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_invalid_sql_parser.cpp
++++ b//modules/db.mysql.sqlparser/src/mysql_invalid_sql_parser.cpp
+@@ -31,6 +31,7 @@
+ #include "base/string_utilities.h"
+ #include <sstream>
+ #include <boost/lambda/bind.hpp>
++#include <boost/bind.hpp>
+
+ using namespace grt;
+ using namespace base;
+diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_inserts_loader.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_inserts_loader.cpp
+index 3da58757..a9b082ac 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_sql_inserts_loader.cpp
++++ b/modules/db.mysql.sqlparser/src/mysql_sql_inserts_loader.cpp
+@@ -27,6 +27,7 @@
+
+ #include "mysql_sql_inserts_loader.h"
+ #include "mysql_sql_parser_utils.h"
++#include <boost/bind.hpp>
+ #include <boost/foreach.hpp>
+
+ using namespace grt;
+diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_normalizer.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_normalizer.cpp
+index 0c0f72bc..baf3d897 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_sql_normalizer.cpp
++++ b/modules/db.mysql.sqlparser/src/mysql_sql_normalizer.cpp
+@@ -22,6 +22,7 @@
+ */
+
+ #include <glib.h>
++#include <boost/bind.hpp>
+ #include <boost/signals2.hpp>
+ #include <cctype>
+
+diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_parser.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_parser.cpp
+index ef51d77c..68f397ae 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_sql_parser.cpp
++++ b/modules/db.mysql.sqlparser/src/mysql_sql_parser.cpp
+@@ -39,6 +39,7 @@
+ #include "base/string_utilities.h"
+ #include <sstream>
+ #include <iterator>
++#include <boost/bind.hpp>
+ #include <boost/lambda/bind.hpp>
+
+ using namespace grt;
+diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_parser_utils.h b/modules/db.mysql.sqlparser/src/mysql_sql_parser_utils.h
+index 9e790dfb..2addd87e 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_sql_parser_utils.h
++++ b/modules/db.mysql.sqlparser/src/mysql_sql_parser_utils.h
+@@ -30,6 +30,8 @@
+
+ #include "base/string_utilities.h"
+
++#include <boost/bind.hpp>
++
+ using namespace grt;
+
+ template <typename T>
+diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_schema_rename.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_schema_rename.cpp
+index 617487b5..9614ad9c 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_sql_schema_rename.cpp
++++ b/modules/db.mysql.sqlparser/src/mysql_sql_schema_rename.cpp
+@@ -22,6 +22,7 @@
+ */
+
+ #include <glib.h>
++#include <boost/bind.hpp>
+ #include <boost/signals2.hpp>
+
+ #include "mysql_sql_schema_rename.h"
+diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_specifics.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_specifics.cpp
+index bbbb733a..51c3215d 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_sql_specifics.cpp
++++ b/modules/db.mysql.sqlparser/src/mysql_sql_specifics.cpp
+@@ -28,6 +28,7 @@
+ #include "mysql_sql_parser_fe.h"
+ #include "grtdb/charset_utils.h"
+ #include "base/string_utilities.h"
++#include <boost/bind.hpp>
+ #include <boost/scoped_array.hpp>
+ #include <sstream>
+
+diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_statement_decomposer.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_statement_decomposer.cpp
+index b87535a0..3900b7a8 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_sql_statement_decomposer.cpp
++++ b/modules/db.mysql.sqlparser/src/mysql_sql_statement_decomposer.cpp
+@@ -29,6 +29,7 @@
+ #include "mysql_sql_parser_fe.h"
+ #include "base/string_utilities.h"
+ #include <boost/foreach.hpp>
++#include <boost/bind.hpp>
+ #include <boost/lambda/bind.hpp>
+
+ using namespace grt;
+diff --git a/modules/db.mysql.sqlparser/src/mysql_sql_syntax_check.cpp b/modules/db.mysql.sqlparser/src/mysql_sql_syntax_check.cpp
+index 0f9f80ad..1cb5f78a 100644
+--- a/modules/db.mysql.sqlparser/src/mysql_sql_syntax_check.cpp
++++ b/modules/db.mysql.sqlparser/src/mysql_sql_syntax_check.cpp
+@@ -28,6 +28,7 @@
+ #include "mysql_sql_parser_fe.h"
+ #include "grtdb/charset_utils.h"
+ #include "base/string_utilities.h"
++#include <boost/bind.hpp>
+ #include <boost/lambda/bind.hpp>
+
+ using namespace grt;
diff --git a/development/mysql-workbench/copytable.patch b/development/mysql-workbench/copytable.patch
deleted file mode 100644
index 3a061cd6d0..0000000000
--- a/development/mysql-workbench/copytable.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- mysql-workbench-community-6.3.9-src/plugins/migration/copytable/copytable.cpp.orig 2017-02-08 22:15:34.084153506 +0700
-+++ mysql-workbench-community-6.3.9-src/plugins/migration/copytable/copytable.cpp 2017-02-08 22:23:01.194114625 +0700
-@@ -2611,14 +2606,7 @@
- // This is needed because the escaping depends on the character set in use by the server
- unsigned long ret_length = 0;
-
--#if MYSQL_CHECK_VERSION(5, 7, 6)
-- if (_target->is_mysql_version_at_least(5, 7, 6))
-- ret_length += mysql_real_escape_string_quote(_mysql, buffer + length, data, (unsigned long)dlength, '"');
-- else
-- ret_length += mysql_real_escape_string(_mysql, buffer + length, data, (unsigned long)dlength);
--#else
- ret_length += mysql_real_escape_string(_mysql, buffer + length, data, (unsigned long)dlength);
--#endif
-
- if (ret_length != (unsigned long)-1)
- length += ret_length;
diff --git a/development/mysql-workbench/disable-unsupported-operating-system-warning.patch b/development/mysql-workbench/disable-unsupported-operating-system-warning.patch
deleted file mode 100644
index 56aef14132..0000000000
--- a/development/mysql-workbench/disable-unsupported-operating-system-warning.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 784599e99ee97574798512f6daf987cab8fd4cdf Mon Sep 17 00:00:00 2001
-From: Christian Hesse <mail@eworm.de>
-Date: Wed, 8 Feb 2017 09:12:24 +0100
-Subject: [PATCH 1/1] disable unsupported operating system warning
-
-Signed-off-by: Christian Hesse <mail@eworm.de>
----
- backend/wbprivate/workbench/wb_context.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/backend/wbprivate/workbench/wb_context.cpp b/backend/wbprivate/workbench/wb_context.cpp
-index 82c0fa6..f06ff99 100644
---- a/backend/wbprivate/workbench/wb_context.cpp
-+++ b/backend/wbprivate/workbench/wb_context.cpp
-@@ -1009,9 +1009,11 @@ void WBContext::init_finish_(WBOptions *options) {
-
- _frontendCallbacks->show_status_text(_("Ready."));
-
-+#if 0
- if (options->open_at_startup_type !=
- "run-script") // <--- so that our runtime tests don't lock up when a modal warning dialog is displayed
- warnIfRunningOnUnsupportedOS();
-+#endif
-
- try {
- // execute action requested from command line
---
-2.11.1
-
diff --git a/development/mysql-workbench/fix-build-for-i686.patch b/development/mysql-workbench/fix-build-for-i686.patch
deleted file mode 100644
index e25411cbc5..0000000000
--- a/development/mysql-workbench/fix-build-for-i686.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From af2bff95077b376a21ba815505589f4ad6b62140 Mon Sep 17 00:00:00 2001
-From: Christian Hesse <mail@eworm.de>
-Date: Tue, 7 Feb 2017 23:10:23 +0100
-Subject: [PATCH 1/1] fix build for i686
-
-Signed-off-by: Christian Hesse <mail@eworm.de>
----
- library/base/jsonparser.cpp | 6 ++++--
- library/forms/jsonview.cpp | 12 ++++++++++++
- 2 files changed, 16 insertions(+), 2 deletions(-)
-
-diff --git a/library/base/jsonparser.cpp b/library/base/jsonparser.cpp
-index 6ed4b3f..fb4e055 100644
---- a/library/base/jsonparser.cpp
-+++ b/library/base/jsonparser.cpp
-@@ -343,7 +343,7 @@ namespace JsonParser {
- */
- JsonValue &JsonArray::at(SizeType pos) {
- if (pos > _data.size())
-- throw std::out_of_range(base::strfmt("Index '%lu' is out of range.", pos));
-+ throw std::out_of_range(base::strfmt("Index '%zu' is out of range.", pos));
- return _data.at(pos);
- }
-
-@@ -358,7 +358,7 @@ namespace JsonParser {
- */
- const JsonValue &JsonArray::at(SizeType pos) const {
- if (pos > _data.size())
-- throw std::out_of_range(base::strfmt("Index '%lu' is out of range.", pos));
-+ throw std::out_of_range(base::strfmt("Index '%zu' is out of range.", pos));
- return _data.at(pos);
- }
-
-@@ -1668,12 +1668,14 @@ namespace JsonParser {
- case VDouble:
- _output += std::to_string((double)value);
- break;
-+#ifdef DEFINE_UINT64_T_FUNCTIONS
- case VInt64:
- _output += std::to_string((int64_t)value);
- break;
- case VUint64:
- _output += std::to_string((uint64_t)value);
- break;
-+#endif
- case VObject:
- write((JsonObject)value);
- break;
---
-2.11.1
-
diff --git a/development/mysql-workbench/gcc13.patch b/development/mysql-workbench/gcc13.patch
new file mode 100644
index 0000000000..ce31bf0405
--- /dev/null
+++ b/development/mysql-workbench/gcc13.patch
@@ -0,0 +1,30 @@
+--- mysql-workbench-community-8.0.34-src/library/cdbc/src/driver_manager.h.orig 2023-07-19 21:15:37.648964114 +0700
++++ mysql-workbench-community-8.0.34-src/library/cdbc/src/driver_manager.h 2023-07-19 21:15:45.990061252 +0700
+@@ -32,6 +32,7 @@
+
+ #include "grts/structs.db.mgmt.h"
+ #include <cppconn/connection.h>
++#include <cstdint> // for std::uint64_t
+
+ namespace wb {
+ class SSHTunnel;
+--- mysql-workbench-community-8.0.34-src/library/forms/mforms/treeview.h.orig 2023-07-19 21:35:04.750432184 +0700
++++ mysql-workbench-community-8.0.34-src/library/forms/mforms/treeview.h 2023-07-19 21:35:20.883616910 +0700
+@@ -24,6 +24,7 @@
+ #pragma once
+
+ #include <mforms/view.h>
++#include <cstdint> // for std::uint64_t
+
+ /**
+ * Implementation of a control class for a treeview control based on node objects.
+--- mysql-workbench-community-8.0.34-src/backend/wbpublic/sqlide/sqlide_generics_private.h.orig 2023-07-20 08:32:18.189780564 +0700
++++ mysql-workbench-community-8.0.34-src/backend/wbpublic/sqlide/sqlide_generics_private.h 2023-07-20 08:32:48.522168445 +0700
+@@ -30,6 +30,7 @@
+ #include <sqlite/query.hpp>
+ #include <sqlite/execute.hpp>
+ #include <ctime>
++#include <cstdint> // for std::uint64_t
+
+ namespace sqlide {
+
diff --git a/development/mysql-workbench/gdal-2.2.0.patch b/development/mysql-workbench/gdal-2.2.0.patch
deleted file mode 100644
index 666184753c..0000000000
--- a/development/mysql-workbench/gdal-2.2.0.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 97d26e5edfccead3fe3a10b732de51caa427eb60 Mon Sep 17 00:00:00 2001
-From: Christian Hesse <mail@eworm.de>
-Date: Tue, 16 May 2017 09:31:39 +0200
-Subject: [PATCH 1/1] gdal: use CPLFree()
-
-OGRFree() is deprecated as of gdal 2.2.0, so use CPLFree() instead.
-
-Signed-off-by: Christian Hesse <mail@eworm.de>
----
- backend/wbpublic/grt/spatial_handler.cpp | 4 ++--
- backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp | 6 +++---
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/backend/wbpublic/grt/spatial_handler.cpp b/backend/wbpublic/grt/spatial_handler.cpp
-index 9b357603..ee36fa03 100644
---- a/backend/wbpublic/grt/spatial_handler.cpp
-+++ b/backend/wbpublic/grt/spatial_handler.cpp
-@@ -443,7 +443,7 @@ spatial::Importer::Importer() : _geometry(NULL), _interrupt(false), _srid(0) {
-
- spatial::Importer::~Importer() {
- if (_geometry != NULL)
-- OGRFree(_geometry);
-+ CPLFree(_geometry);
- }
-
- OGRGeometry *spatial::Importer::steal_data() {
-@@ -495,7 +495,7 @@ std::string spatial::Importer::as_wkt() {
- logError("Error exporting data to WKT (%i)\n", err);
- } else {
- std::string tmp(data);
-- OGRFree(data);
-+ CPLFree(data);
- return tmp;
- }
- }
-diff --git a/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp b/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp
-index d2eb8495..7a7948bf 100644
---- a/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp
-+++ b/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp
-@@ -47,7 +47,7 @@ static grt::StringRef getGeoRepresentation(grt::StringRef data, bool outputAsJso
- OGRGeometryFactory::createFromWkb((unsigned char *)const_cast<char *>(&(*((*data).begin() + 4))), NULL, &geometry);
- if (ret_val != OGRERR_NONE) {
- if (geometry)
-- OGRFree(geometry);
-+ CPLFree(geometry);
- throw std::exception();
- }
-
-@@ -61,8 +61,8 @@ static grt::StringRef getGeoRepresentation(grt::StringRef data, bool outputAsJso
-
- if (err == OGRERR_NONE && data != NULL) {
- grt::StringRef tmp(data);
-- OGRFree(data);
-- OGRFree(geometry);
-+ CPLFree(data);
-+ CPLFree(geometry);
- return tmp;
- } else
- throw std::runtime_error("Conversion of OGR geometry data failed");
---
-2.13.0
-
-
diff --git a/development/mysql-workbench/mysql-workbench-gnome-keyring.patch b/development/mysql-workbench/mysql-workbench-gnome-keyring.patch
deleted file mode 100644
index 006cfec504..0000000000
--- a/development/mysql-workbench/mysql-workbench-gnome-keyring.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/frontend/linux/workbench/mysql-workbench.in b/frontend/linux/workbench/mysql-workbench.in
-index 02a8061..f8176f6 100755
---- a/frontend/linux/workbench/mysql-workbench.in
-+++ b/frontend/linux/workbench/mysql-workbench.in
-@@ -4,6 +4,12 @@
- # This will cause passwords to be stored only temporarily for the session.
- #WB_NO_GNOME_KEYRING=1
-
-+# Looks like WB expects gnome-keyring to be present as soon as XDG_RUNTIME_DIR
-+# environment variable is set. Do an extra check here...
-+if ! type gnome-keyring-daemon >/dev/null 2>/dev/null; then
-+ export WB_NO_GNOME_KEYRING=1
-+fi
-+
- # force disable the Mac style single menu hack in Ubuntu Unity
- export UBUNTU_MENUPROXY=0
-
diff --git a/development/mysql-workbench/mysql-workbench-no-json.patch b/development/mysql-workbench/mysql-workbench-no-json.patch
deleted file mode 100644
index 100b27a48e..0000000000
--- a/development/mysql-workbench/mysql-workbench-no-json.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- mysql-workbench-community-6.3.9-src/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp.orig 2017-02-08 22:24:43.203746527 +0700
-+++ mysql-workbench-community-6.3.9-src/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp 2017-02-08 22:25:07.878416096 +0700
-@@ -314,9 +314,6 @@
- case sql::DataType::SET:
- type = "string";
- break;
-- case sql::DataType::JSON:
-- type = "json";
-- break;
- case sql::DataType::SQLNULL:
- type = "null";
- break;
---- mysql-workbench-community-6.3.9-src/plugins/migration/copytable/copytable.cpp.orig 2017-02-08 22:15:34.084153506 +0700
-+++ mysql-workbench-community-6.3.9-src/plugins/migration/copytable/copytable.cpp 2017-02-08 22:23:01.194114625 +0700
-@@ -109,8 +109,6 @@
- return "MYSQL_TYPE_STRING";
- case MYSQL_TYPE_GEOMETRY:
- return "MYSQL_TYPE_GEOMETRY";
-- case MYSQL_TYPE_JSON:
-- return "MYSQL_TYPE_JSON";
- default:
- return "UNKNOWN";
- }
-@@ -295,7 +293,6 @@
- case MYSQL_TYPE_STRING:
- case MYSQL_TYPE_VAR_STRING:
- case MYSQL_TYPE_BIT:
-- case MYSQL_TYPE_JSON:
- if (!col->is_long_data)
- bind.buffer_length = (unsigned)col->source_length + 1;
-
-@@ -1391,8 +1388,7 @@
- if (rowbuffer[index].buffer_type == MYSQL_TYPE_TINY_BLOB ||
- rowbuffer[index].buffer_type == MYSQL_TYPE_MEDIUM_BLOB ||
- rowbuffer[index].buffer_type == MYSQL_TYPE_LONG_BLOB || rowbuffer[index].buffer_type == MYSQL_TYPE_BLOB ||
-- rowbuffer[index].buffer_type == MYSQL_TYPE_STRING ||
-- rowbuffer[index].buffer_type == MYSQL_TYPE_GEOMETRY || rowbuffer[index].buffer_type == MYSQL_TYPE_JSON) {
-+ rowbuffer[index].buffer_type == MYSQL_TYPE_STRING) {
- if (rowbuffer[index].buffer_length)
- free(rowbuffer[index].buffer);
-
-@@ -2162,7 +2158,6 @@
- case MYSQL_TYPE_STRING:
- case MYSQL_TYPE_ENUM:
- case MYSQL_TYPE_SET:
-- case MYSQL_TYPE_JSON:
- _bulk_insert_record.append("'", 1);
- ret_val = _bulk_insert_record.append_escaped((char *)(*_row_buffer)[col_index].buffer,
- *(*_row_buffer)[col_index].length);
diff --git a/development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch b/development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch
deleted file mode 100644
index 69242c507b..0000000000
--- a/development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/plugins/wb.admin/frontend/wb_admin_export.py b/plugins/wb.admin/frontend/wb_admin_export.py
-index 40f5167..ebf6c3d 100644
---- a/plugins/wb.admin/frontend/wb_admin_export.py
-+++ b/plugins/wb.admin/frontend/wb_admin_export.py
-@@ -1858,8 +1858,6 @@ class WbAdminExportTab(WbAdminSchemaListTab):
- args.append("--ssl-cipher=%s" % conn["sslCipher"])
-
- # Sets the compatibility parameters if needed
-- if self._compatibility_params:
-- args.append("--set-gtid-purged=OFF")
- if conn.get("OPT_ENABLE_CLEARTEXT_PLUGIN", ""):
- args.append("--enable-cleartext-plugin")
-
-diff --git a/plugins/wb.admin/frontend/wb_admin_export_options.py b/plugins/wb.admin/frontend/wb_admin_export_options.py
-index e9ec2e7..653f531 100644
---- a/plugins/wb.admin/frontend/wb_admin_export_options.py
-+++ b/plugins/wb.admin/frontend/wb_admin_export_options.py
-@@ -53,9 +53,9 @@ export_options = {
- "order-by-primary":["Dump each table's rows sorted by its primary key, or by its first unique index.","FALSE"],
- "dump-date":["Include dump date as \"Dump completed on\" comment if --comments is given.","TRUE"],
- "$internal$show-internal-schemas":["Show internal MySQL schemas (mysql, information_schema, performance_schema) in the export schema list.","FALSE"],
-- "tz-utc":["Add SET TIME_ZONE='+00:00' to the dump file.","TRUE"],
-+ "tz-utc":["Add SET TIME_ZONE='+00:00' to the dump file.","TRUE"]
- # "xml":["Produce XML output.","FALSE"]
-- "set-gtid-purged":["Add 'SET @@GLOBAL.GTID_PURGED' to the output.","AUTO","STR",("5.6.9", None)]
-+# "set-gtid-purged":["Add 'SET @@GLOBAL.GTID_PURGED' to the output.","AUTO","STR",("5.6.9", None)]
- }
-
- }
diff --git a/development/mysql-workbench/mysql-workbench.SlackBuild b/development/mysql-workbench/mysql-workbench.SlackBuild
index b2344f4ef3..34a26bb7e1 100644
--- a/development/mysql-workbench/mysql-workbench.SlackBuild
+++ b/development/mysql-workbench/mysql-workbench.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mysql-workbench
# Originally written by Andre Geraldo Vieira <andre.geraldo@gmail.com>
-# Copyright 2013-2017 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
@@ -23,12 +23,21 @@
# 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=mysql-workbench
-PRGNAM2=antlr
-VERSION=${VERSION:-6.3.10}
-ANTLRVER=3.4
+PRGNAM2=mysql
+VERSION=${VERSION:-8.0.36}
+VERSION_MYSQL=8.3.0
+PRGNAM3=boost
+VERSION_BOOST=1_77_0
+PRGNAM4=mysql-connector-c++
+VERSION_MYSQL_CONNECTOR=8.3.0
+PRGNAM5=gdal
+VERSION_GDAL=3.8.3
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$VERSION-src
@@ -40,7 +49,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -61,9 +74,104 @@ fi
set -e
-rm -rf $PKG
+rm -rf $PKG $TMP/install-bundle
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
+
+# Extract Boost
+rm -rf ${PRGNAM3}_${VERSION_BOOST}
+tar xvf $CWD/${PRGNAM3}_${VERSION_BOOST}.tar.bz2
+
+# Building MySQL
+rm -rf $PRGNAM2-${VERSION_MYSQL}
+tar xvf $CWD/$PRGNAM2-${VERSION_MYSQL}.tar.gz
+cd $PRGNAM2-${VERSION_MYSQL}
+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 {} \+
+
+SLKCFLAGS+=" -Wno-error"
+
+mkdir -p build
+cd build
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DWITHOUT_SERVER=ON \
+ -DBUILD_CONFIG=mysql_release \
+ -DINSTALL_LIBDIR="lib${LIBDIRSUFFIX}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSYSCONFDIR=/etc/mysql \
+ -DMYSQL_DATADIR=/var/lib/mysql \
+ -DWITH_BOOST=$TMP/${PRGNAM3}_${VERSION_BOOST} \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+make
+make install DESTDIR=$TMP/install-bundle
+
+cd ../..
+
+# Building mysql-connector-c++
+rm -rf $PRGNAM4-$VERSION-src
+tar xvf $CWD/${PRGNAM4}-${VERSION_MYSQL_CONNECTOR}-src.tar.gz
+cd $PRGNAM4-${VERSION_MYSQL_CONNECTOR}-src
+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" \
+ -Wno-dev \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_JDBC=ON \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DINSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
+ -DMYSQL_DIR="$TMP/install-bundle/" \
+ -DMYSQL_CONFIG_EXECUTABLE="$TMP/install-bundle/usr/bin/mysql_config" \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+make
+make install DESTDIR=$TMP/install-bundle
+
+cd ../..
+
+# Building gdal
+rm -rf ${PRGNAM5}-${VERSION_GDAL}
+tar xvf $CWD/${PRGNAM5}-${VERSION_GDAL}.tar.xz
+cd ${PRGNAM5}-${VERSION_GDAL}
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DGDAL_USE_JASPER='OFF' \
+ -DGDAL_USE_MYSQL='OFF' \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+make LD_LIBRARY_PATH="$TMP/install-bundle/usr/lib${LIBDIRSUFFIX}/"
+make LD_LIBRARY_PATH="$TMP/install-bundle/usr/lib${LIBDIRSUFFIX}/" DESTDIR="$TMP/install-bundle/" install
+cd ../../
+
+# Building mysql-workbench
rm -rf $PRGNAM-community-$SRCVERSION
tar xvf $CWD/$PRGNAM-community-$SRCVERSION.tar.gz
cd $PRGNAM-community-$SRCVERSION
@@ -74,95 +182,99 @@ 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 {} \;
+# From Archlinux: GCC 7.x complains about an unsupported flag; it also
+# introduced some new warnings, remove '-Werror' for the build to complete
+sed -i 's|-Wno-deprecated-register||' ext/scintilla/gtk/CMakeLists.txt
+sed -i '/^\s*set/s| -Werror||' CMakeLists.txt
+
# Patch from Ponce
patch -p1 < $CWD/config_and_ifconfig_paths.patch
-# Patch to fix gdal include path
-sed -i '/#include/s|gdal/||' \
- backend/wbpublic/grtui/geom_draw_box.h \
- backend/wbpublic/grt/spatial_handler.h \
- backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp
+# GCC 7.x complains about unsupported flag
+sed -i 's|-Wno-deprecated-register||' ext/scintilla/gtk/CMakeLists.txt
-# mysqldump from mariadb does not support --set-gtid-purged
-patch -p1 < $CWD/mysql-workbench-no-set-gtid-purged.patch
+# disable stringop-truncation for GCC 8.x
+sed -i '/^set/s|-Wall|-Wall -Wno-stringop-truncation|' CMakeLists.txt
-# fix gnome-keyring
-# this is reserved for future gnome-keyring releases, but harmless for
-# gnome-keyring package in stable release as well
-patch -p1 < $CWD/mysql-workbench-gnome-keyring.patch
+# make sure to link against bundled libraries
+sed -i "/target_link_libraries/s|\\$|-L$TMP/install-bundle/usr/lib${LIBDIRSUFFIX}/ \\$|" backend/wbpublic/CMakeLists.txt
-# Patch to remove JSON support
-# MariaDB support for JSON started at 10.2
-patch -p1 < $CWD/mysql-workbench-no-json.patch
+# Fix boost 1.73
+patch -p1 < $CWD/boost-1.73.0.patch
-# Self-made patch
-# Used to avoid differences between MariaDB and MySQL 5.7
-# mysql_real_escape_string_quote is available in MySQL 5.7.6 and above
-# https://dev.mysql.com/doc/refman/5.7/en/mysql-real-escape-string-quote.html
-patch -p1 < $CWD/copytable.patch
+patch -Np1 < $CWD/0003-include-list.patch
-# Patch to disable warning on Slackware and fix for x86
-# Taken from ARCH Linux
-patch -p1 < $CWD/disable-unsupported-operating-system-warning.patch
-patch -p1 < $CWD/add-option-to-hide-nonstandard-server-warning.patch
-patch -p1 < $CWD/fix-build-for-i686.patch
+# Install antlr Java JAR
+cp $CWD/antlr-4.13.0-complete.jar $TMP/install-bundle/antlr-4.13.0-complete.jar
-install -D $CWD/$PRGNAM2-$ANTLRVER-complete.jar $TMP/linux-res/bin/$PRGNAM2-$ANTLRVER-complete.jar
+sed -i 's|4.11.1|4.13.0|' CMakeLists.txt
-# make cmake happy with mariadb
-sed -i '/^find_package(MySQL /c find_package(MySQL REQUIRED)' CMakeLists.txt
+# patch for GCC 13.0
+patch -p1 < $CWD/gcc13.patch
-# save this for GCC 7.0
-#sed -i "s|std=c++11|std=c++11 -Wno-error=implicit-fallthrough -Wno-error=strict-aliasing -Wno-error=format-overflow|" CMakeLists.txt
-
-# patch for gdal 2.2.0
-patch -p1 < $CWD/gdal-2.2.0.patch
+# Patch for libxml2
+patch -p1 < $CWD/0004-libxml2.patch
mkdir -p wb-build
cd wb-build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX \
- -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 \
- -DPYTHON_LIBRARY:FILEPATH=/usr/lib$LIBDIRSUFFIX/libpython2.7.so \
- -DGDAL_INCLUDE_DIR=/usr/include \
- -DCMAKE_CXX_FLAGS="-std=c++11" \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -D_GLIBCXX_USE_CXX11_ABI=1" \
+ -Wno-dev \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_CXX_FLAGS="-std=c++17" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DMySQL_CONFIG_PATH="$TMP/install-bundle/usr/bin/mysql_config" \
+ -DMySQLCppConn_LIBRARY="$TMP/install-bundle/usr/lib${LIBDIRSUFFIX}/libmysqlcppconn.so" \
+ -DMySQLCppConn_INCLUDE_DIR="$TMP/install-bundle/usr/include/jdbc" \
+ -DGDAL_INCLUDE_DIR="$TMP/install-bundle/usr/include" \
+ -DGDAL_LIBRARY="$TMP/install-bundle/usr/lib${LIBDIRSUFFIX}/libgdal.so" \
+ -DWITH_ANTLR_JAR="$TMP/install-bundle/antlr-4.13.0-complete.jar" \
+ -DUNIXODBC_CONFIG_PATH="/usr/bin/odbc_config" \
+ -DUNIXODBC_INCLUDE_DIRS="/usr/include" \
+ -DUSE_BUNDLED_MYSQLDUMP=1 \
+ ..
-make
+make -j1
+make install DESTDIR=$PKG
-# we will remove it later after installation
-# without these document, it will fail to build
-touch $TMP/$PRGNAM-community-$SRCVERSION/LICENSE.mysql
+cd ..
-make install DESTDIR=$PKG
+# Add Slackware Linux Profile
+install -m0644 $CWD/slackware_linux_profile.xml $PKG/usr/share/mysql-workbench/mysql.profiles/Slackware_Linux_15.0_\(MySQL_5.6_Package\).xml
+
+# install bundled mysql and mysqldump
+install -m0755 "$TMP/install-bundle/usr/bin/mysql"{,dump} $PKG/usr/lib${LIBDIRSUFFIX}/mysql-workbench/
-# Add Slackware Linux
-install -m0644 $CWD/slackware_linux_profile.xml $PKG/usr/share/mysql-workbench/mysql.profiles/Slackware_Linux_14.1_\(MariaDB_5.5_Package\).xml
+# icons
+for SIZE in 16 24 32 48 64 96 128; do
+# set modify/create for reproducible builds
+ convert -scale ${SIZE} +set date:create +set date:modify \
+ "images/icons/MySQLWorkbench-128.png" \
+ "mysql-workbench.png"
+ install -D -m0644 "mysql-workbench.png" "$PKG/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/mysql-workbench.png"
+done
+
+# install bundled libraries
+for LIBRARY in $(find "$TMP/install-bundle/usr/lib${LIBDIRSUFFIX}/" -type f -regex '.*/lib\(gdal\|mysql\(client\|cppconn\)\)\.so\..*'); do
+ BASENAME="$(basename "${LIBRARY}")"
+ SONAME="$(readelf -d "${LIBRARY}" | grep -Po '(?<=(Library soname: \[)).*(?=\])')"
+ install -D -m0755 "${LIBRARY}" "$PKG"/usr/lib${LIBDIRSUFFIX}/mysql-workbench/"${BASENAME}"
+ ln -s "${BASENAME}" "$PKG"/usr/lib${LIBDIRSUFFIX}/mysql-workbench/"${SONAME}"
+done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* ChangeLog README INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
+mv AUTHORS *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# remove unnecessary empty document
-rm -f $TMP/$PRGNAM-$SRCVERSION/LICENSE.mysql
-
-# Fix missing shared library libwbbase
-(
- cd $PKG/usr/lib${LIBDIRSUFFIX}
- rm -f libwbbase.so*
- ln -s mysql-workbench/libwbbase.so .
- ln -s libwbbase.so libwbbase.so.${VERSION}
-)
+rm -rf $PKG/usr/share/doc
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mysql-workbench/mysql-workbench.info b/development/mysql-workbench/mysql-workbench.info
index 667f8bd5ea..30e9184250 100644
--- a/development/mysql-workbench/mysql-workbench.info
+++ b/development/mysql-workbench/mysql-workbench.info
@@ -1,12 +1,20 @@
PRGNAM="mysql-workbench"
-VERSION="6.3.10"
+VERSION="8.0.36"
HOMEPAGE="https://www.mysql.com/downloads/workbench/"
-DOWNLOAD="http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQLGUITools/mysql-workbench-community-6.3.10-src.tar.gz \
- http://www.antlr3.org/download/antlr-3.4-complete.jar"
-MD5SUM="565e52097c58a663d3498bb740eaefe5 \
- 1b91dea1c7d480b3223f7c8a9aa0e172"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="tinyxml mysql-connector-c++ vsqlite++ ctemplate paramiko pexpect lua wxPython gdal libantlr3c jdk unixODBC"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://cdn.mysql.com//Downloads/MySQLGUITools/mysql-workbench-community-8.0.36-src.tar.gz \
+ https://cdn.mysql.com//Downloads/MySQL-8.3/mysql-8.3.0.tar.gz \
+ https://sourceforge.net/projects/boost/files/boost/1.77.0/boost_1_77_0.tar.bz2 \
+ https://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-8.3.0-src.tar.gz \
+ https://download.osgeo.org/gdal/3.8.3/gdal-3.8.3.tar.xz \
+ https://www.antlr.org/download/antlr-4.13.0-complete.jar"
+MD5SUM_x86_64="c66df533723fa37c1dca6afd7a1b61d7 \
+ f41557d70f4ba990ac0cd6fa32c3a313 \
+ 09dc857466718f27237144c6f2432d86 \
+ 4255b2b2582b284445c11254f34991e3 \
+ a4c8d86db4c80a46dd6ad2fee6ad632f \
+ c9c8b566a7fcf8ef80e229f14b154a26"
+REQUIRES="antlr4 ctemplate proj python2-paramiko vsqlite++ jdk19 unixODBC rapidjson"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/mysql-workbench/slackware_linux_profile.xml b/development/mysql-workbench/slackware_linux_profile.xml
index 4b81576509..a3556bf945 100644
--- a/development/mysql-workbench/slackware_linux_profile.xml
+++ b/development/mysql-workbench/slackware_linux_profile.xml
@@ -2,7 +2,7 @@
<data>
<value type="dict">
- <value type="string" key="sys.config.path">/etc/my.cnf</value>
+ <value type="string" key="sys.config.path">/etc/my.cnf.d/server.cnf</value>
<value type="string" key="sys.config.section">mysqld</value>
<value type="string" key="sys.mysqld.start">/etc/rc.d/rc.mysqld start</value>
@@ -11,6 +11,6 @@
<value type="int" key="sys.usesudo">0</value>
<value type="string" key="sys.system">Linux</value>
- <value type="string" key="serverVersion">10.0</value>
+ <value type="string" key="serverVersion">10.5</value>
</value>
</data>
diff --git a/development/nant/nant.SlackBuild b/development/nant/nant.SlackBuild
index 43e0cb2a0f..568f898e2a 100644
--- a/development/nant/nant.SlackBuild
+++ b/development/nant/nant.SlackBuild
@@ -1,23 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nant
# Written by (Asaf) (asaf@lingnu.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nant
VERSION=${VERSION:-0.92}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -54,4 +64,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/nchexedit/nchexedit.SlackBuild b/development/nchexedit/nchexedit.SlackBuild
index 1e0c6b13b7..199b37f875 100644
--- a/development/nchexedit/nchexedit.SlackBuild
+++ b/development/nchexedit/nchexedit.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nchexedit
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -13,10 +13,15 @@
# We're using most of Debian's patches, the _5 in VERSION is their
# patchlevel.
+# 20210905 bkw: update for v0.9.7_7.1, fix -current segfault issue.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nchexedit
-VERSION=${VERSION:-0.9.7_5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.7_7.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=hexedit
SRCVER="$( echo $VERSION | cut -d_ -f1 )"
@@ -31,7 +36,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -71,7 +80,8 @@ rm -f debian/patches/fix_hexedit_references.patch \
debian/patches/info_dir_section.patch \
debian/patches/rename_binaries.patch \
debian/patches/autoconf_2.69.patch \
- debian/patches/fix_its_typo.patch
+ debian/patches/fix_its_typo.patch \
+ debian/patches/fix_spelling_errors.patch
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -80,7 +90,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
# Apply the patches we didn't rm.
for i in $( cat debian/patches/series ); do
P=debian/patches/$i
- [ -e $P ] && patch -p1 < $P
+ [ -e $P ] && echo "=== $P" && patch -p1 < $P
done
# Reworked version of Debian patch.
@@ -91,15 +101,21 @@ sed -i \
-e 's/hexedit/nchexedit/g' \
-e 's/Hexedit/NCHexedit/g' \
-e 's/HEXEDIT/NCHEXEDIT/g' \
- -e '/utexas\.edu/s#{http[^}]*}#{http://www.rogoyski.com/adam/programs/hexedit/}#' \
+ -e '/utexas\.edu/s#{http[^}]*}#{https://www.rogoyski.com/adam/programs/hexedit/}#' \
docs/$SRCNAM.1
# ...nor the info file.
sed -i \
-e 's/hexedit/nchexedit/g' \
- -e '/utexas\.edu/s#{http[^}]*}#{http://www.rogoyski.com/adam/programs/hexedit/}#' \
+ -e '/utexas\.edu/s#{http[^}]*}#{https://www.rogoyski.com/adam/programs/hexedit/}#' \
docs/$SRCNAM.texinfo
+# 20210905 bkw: required for -current (but why?). Without this, it segfaults
+# on startup.
+sed -i 's,-lncurses,-lncursesw,g' configure
+
+SLKCFLAGS+=" -fcommon"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -128,4 +144,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/nchexedit/nchexedit.info b/development/nchexedit/nchexedit.info
index 29cfa1ad79..b60a877636 100644
--- a/development/nchexedit/nchexedit.info
+++ b/development/nchexedit/nchexedit.info
@@ -1,12 +1,12 @@
PRGNAM="nchexedit"
-VERSION="0.9.7_5"
-HOMEPAGE="http://www.rogoyski.com/adam/programs/hexedit/"
-DOWNLOAD="http://www.rogoyski.com/adam/programs/hexedit/hexedit-0.9.7.tar.gz \
- https://slackware.uk/~urchlay/src/ncurses-hexedit_0.9.7+orig-5.debian.tar.xz"
+VERSION="0.9.7_7.1"
+HOMEPAGE="https://www.rogoyski.com/adam/programs/hexedit/"
+DOWNLOAD="https://www.rogoyski.com/adam/programs/hexedit/hexedit-0.9.7.tar.gz \
+ https://slackware.uk/~urchlay/src/ncurses-hexedit_0.9.7+orig-7.1.debian.tar.xz"
MD5SUM="2658b81ab1bd0813c0117e9459071c13 \
- 7fb8575f4709067a06895ca2fdc9712a"
+ 36cfa014777ee632876d8c89f89dfbb1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/ne/README b/development/ne/README
deleted file mode 100644
index d0188a7b90..0000000000
--- a/development/ne/README
+++ /dev/null
@@ -1,6 +0,0 @@
-ne is a free (GPL'd) text editor based on the POSIX standard that
-runs on almost any UN*X machine. ne is easy to use for the beginner,
-but powerful and fully configurable for the wizard, and most sparing
-in its resource usage. If you have the resources and the patience to
-use emacs or the right mental twist to use vi then probably ne is
-not for you.
diff --git a/development/ne/ne.SlackBuild b/development/ne/ne.SlackBuild
deleted file mode 100644
index b48d8b208b..0000000000
--- a/development/ne/ne.SlackBuild
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ne
-
-# Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ne
-VERSION=${VERSION:-2.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-
-sed -i "/^PREFIX/s/usr\/local/usr/;
- s@share/doc/$PRGNAM@doc/$PRGNAM-$VERSION@g;
- s@share/man@man@g;
- s@share/info@info@g" makefile
-
-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
-
-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
-
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
-
-mkdir -p $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:-tgz}
diff --git a/development/ne/ne.info b/development/ne/ne.info
deleted file mode 100644
index bfe1a7d55f..0000000000
--- a/development/ne/ne.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ne"
-VERSION="2.6"
-HOMEPAGE="http://ne.di.unimi.it"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/ne-2.6.tar.gz"
-MD5SUM="ec8070e13fdff4bef77239007455bd45"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
diff --git a/development/ne/slack-desc b/development/ne/slack-desc
deleted file mode 100644
index 762e2d270b..0000000000
--- a/development/ne/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------------------------------------------------------|
-ne: ne (Nice Editor)
-ne:
-ne: ne is a free (GPL'd) text editor based on the POSIX standard that
-ne: runs on almost any UN*X machine. ne is easy to use for the beginner,
-ne: but powerful and fully configurable for the wizard, and most sparing
-ne: in its resource usage. If you have the resources and the patience to
-ne: use emacs or the right mental twist to use vi then probably ne is
-ne: not for you.
-ne:
-ne: Homepage: http://ne.di.unimi.it
-ne:
diff --git a/development/nedit/nedit.SlackBuild b/development/nedit/nedit.SlackBuild
index 5c4b43825a..dab267f908 100644
--- a/development/nedit/nedit.SlackBuild
+++ b/development/nedit/nedit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nedit
@@ -24,11 +24,14 @@
# 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=nedit
VERSION=${VERSION:-5.6a}
NUMVER=$(echo $VERSION | tr -d '[:alpha:]')
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -104,4 +114,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/neko/README b/development/neko/README
new file mode 100644
index 0000000000..91701b2170
--- /dev/null
+++ b/development/neko/README
@@ -0,0 +1,7 @@
+Neko is a high-level dynamically typed programming language. It can
+be used as an embedded scripting language.
+It has been designed to provide a common runtime for several different
+languages. Learning and using Neko is very easy.
+You can easily extend the language with C libraries.
+You can also write generators from your own language to Neko and then
+use the Neko Runtime to compile, run, and access existing libraries.
diff --git a/development/neko/neko.SlackBuild b/development/neko/neko.SlackBuild
new file mode 100644
index 0000000000..d4397e8c53
--- /dev/null
+++ b/development/neko/neko.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for neko
+
+# Copyright 2023 rc-05 <rc_o5@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=neko
+VERSION=${VERSION:-2.3.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+DIST_VER=${VERSION//./-}
+
+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-$DIST_VER
+tar xvf $CWD/$PRGNAM-$DIST_VER.tar.gz
+cd $PRGNAM-$DIST_VER
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/neko/neko.info b/development/neko/neko.info
new file mode 100644
index 0000000000..c8be0bcd0f
--- /dev/null
+++ b/development/neko/neko.info
@@ -0,0 +1,10 @@
+PRGNAM="neko"
+VERSION="2.3.0"
+HOMEPAGE="https://nekovm.org"
+DOWNLOAD="https://github.com/HaxeFoundation/neko/archive/v2-3-0/neko-2-3-0.tar.gz"
+MD5SUM="0156b9220b5173137855ca2c34f9370c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="mbedtls"
+MAINTAINER="rc-05"
+EMAIL="rc_o5@protonmail.com"
diff --git a/development/neko/slack-desc b/development/neko/slack-desc
new file mode 100644
index 0000000000..beb7072d44
--- /dev/null
+++ b/development/neko/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------------------------------------------------------|
+neko: neko (Neko Programming Language)
+neko:
+neko: Neko is a high-level dynamically typed programming language.
+neko: It can be used as an embedded scripting language. It has been
+neko: designed to provide a common runtime for several different languages.
+neko: Learning and using Neko is very easy. You can easily extend the
+neko: language with C libraries. You can also write generators from your
+neko: own language to Neko and then use the Neko Runtime to compile, run,
+neko: and access existing libraries.
+neko:
+neko: Homepage: https://nekovm.org
diff --git a/development/neovim-qt/doinst.sh b/development/neovim-qt/doinst.sh
index 9a8ded3c60..aea0f894eb 100644
--- a/development/neovim-qt/doinst.sh
+++ b/development/neovim-qt/doinst.sh
@@ -5,3 +5,9 @@ fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/neovim-qt/neovim-qt.SlackBuild b/development/neovim-qt/neovim-qt.SlackBuild
index 7db592bf85..43b62e0d6c 100644
--- a/development/neovim-qt/neovim-qt.SlackBuild
+++ b/development/neovim-qt/neovim-qt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for neovim-qt
@@ -22,10 +22,13 @@
# 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=neovim-qt
-VERSION=${VERSION:-0.2.16.1}
+VERSION=${VERSION:-0.2.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -97,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/neovim-qt/neovim-qt.info b/development/neovim-qt/neovim-qt.info
index 32dc863fd7..2ad16efd0e 100644
--- a/development/neovim-qt/neovim-qt.info
+++ b/development/neovim-qt/neovim-qt.info
@@ -1,10 +1,10 @@
PRGNAM="neovim-qt"
-VERSION="0.2.16.1"
+VERSION="0.2.18"
HOMEPAGE="https://github.com/equalsraf/neovim-qt"
-DOWNLOAD="https://github.com/equalsraf/neovim-qt/archive/v0.2.16.1/neovim-qt-0.2.16.1.tar.gz"
-MD5SUM="92db4d57a11b51d47d31ef2ae6c75ff9"
+DOWNLOAD="https://github.com/equalsraf/neovim-qt/archive/v0.2.18/neovim-qt-0.2.18.tar.gz"
+MD5SUM="0f3afd10f24fbbd751406440c88800ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="neovim qt5"
+REQUIRES="neovim"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
diff --git a/development/neovim-remote/README b/development/neovim-remote/README
index b2d9c28ded..dff9a31920 100644
--- a/development/neovim-remote/README
+++ b/development/neovim-remote/README
@@ -1,3 +1 @@
Control nvim processes using "nvr" commandline tool.
-
-Dependencies should be built with python3 support.
diff --git a/development/neovim-remote/neovim-remote.SlackBuild b/development/neovim-remote/neovim-remote.SlackBuild
index ff6e203f8f..490fba47ed 100644
--- a/development/neovim-remote/neovim-remote.SlackBuild
+++ b/development/neovim-remote/neovim-remote.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for neovim-remote
-# Copyright 2020, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2020-2022, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=neovim-remote
-VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.5.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -74,8 +81,8 @@ python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/etc/bash_completion.d
-cp contrib/completion.bash $PKG/etc/bash_completion.d/neovim-remote.new
+mkdir -p $PKG/usr/share/bash-completion/completions
+cp contrib/completion.bash $PKG/usr/share/bash-completion/completions/neovim-remote
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
@@ -86,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/neovim-remote/neovim-remote.info b/development/neovim-remote/neovim-remote.info
index 2e84053d0d..4e2e9022a9 100644
--- a/development/neovim-remote/neovim-remote.info
+++ b/development/neovim-remote/neovim-remote.info
@@ -1,10 +1,10 @@
PRGNAM="neovim-remote"
-VERSION="2.4.0"
+VERSION="2.5.1"
HOMEPAGE="https://github.com/mhinz/neovim-remote"
-DOWNLOAD="https://github.com/mhinz/neovim-remote/archive/v2.4.0/neovim-remote-2.4.0.tar.gz"
-MD5SUM="c49c70b8f4725bf69aed152db62d593c"
+DOWNLOAD="https://github.com/mhinz/neovim-remote/archive/v2.5.1/neovim-remote-2.5.1.tar.gz"
+MD5SUM="a30ea48264ca459df2c488009d1cffd0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 python-neovim psutil"
+REQUIRES="python3-neovim python3-psutil"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/development/neovim/README b/development/neovim/README
index ee3c7e4d5d..f5294d4ff6 100644
--- a/development/neovim/README
+++ b/development/neovim/README
@@ -2,6 +2,12 @@ Neovim is a project that seeks to aggressively refactor Vim in order to:
* Simplify maintenance and encourage contributions
* Split the work between multiple developers
-* Enable the implementation of new/modern user interfaces without any
- modifications to the core source
-* Improve extensibility with a new plugin architecture
+* Enable advanced UIs without modifications to the core
+* Maximize extensibility
+
+Optional run-time dependencies:
+* python3-neovim and python2-neovim: for python 3/2 plugin support;
+* xclip or xsel: for X11 clipboard support;
+* wl-clipboard: for clipboard support on wayland
+
+lua, lua-mpack, lua-lpeg, LuaBitOp are needed only at build time.
diff --git a/development/neovim/doinst.sh b/development/neovim/doinst.sh
index 5fb28930db..fd1bca3b49 100644
--- a/development/neovim/doinst.sh
+++ b/development/neovim/doinst.sh
@@ -1,3 +1,8 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/neovim/neovim.SlackBuild b/development/neovim/neovim.SlackBuild
index 56a824ddf4..09b6b4a417 100644
--- a/development/neovim/neovim.SlackBuild
+++ b/development/neovim/neovim.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for neovim
-# Copyright 2014-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2021-2022 Ruben Schuller <sb@rbn.im>
+# Copyright 2023-2024 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +24,16 @@
# 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=neovim
-VERSION=${VERSION:-0.4.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.9.5}
+LuaJIT=03c31124cc3b521ef54fe398e10fa55660a5057d
+luv="1.45.0-0"
+luacompat53="0.9"
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -61,7 +73,19 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+
+mkdir -p $PRGNAM-$VERSION/.deps/build/src
+
+cd $PRGNAM-$VERSION/.deps/build/src
+tar xvf $CWD/LuaJIT-$LuaJIT.tar.gz
+mv LuaJIT-$LuaJIT luajit
+tar xvf $CWD/luv-$luv.tar.gz
+mv luv-$luv luv
+tar xvf $CWD/lua-compat-5.3-$luacompat53.tar.gz
+mv lua-compat-5.3-$luacompat53 lua-compat-5.3
+
+cd $TMP/$PRGNAM-$VERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,17 +93,23 @@ 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 {} \;
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIBUV_LIBRARY=/usr/lib${LIBDIRSUFFIX}/libuv.so \
+export NVIM_LOG_FILE=$TMP/$PRGNAM-$VERSION/log
+make \
+ CMAKE_INSTALL_PREFIX=/usr \
+ CMAKE_EXTRA_FLAGS=" \
-DCMAKE_INSTALL_MANDIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release \
- ..
- make install DESTDIR=$PKG
-cd ..
+ -DCMAKE_C_FLAGS:STRING=\"$SLKCFLAGS\"" \
+ BUNDLED_CMAKE_FLAG=" \
+ -DUSE_EXISTING_SRC_DIR=ON \
+ -DUSE_BUNDLED=OFF \
+ -DUSE_BUNDLED_LUV=ON \
+ -DUSE_BUNDLED_LUAJIT=ON" \
+ CMAKE_BUILD_TYPE=Release
+make install DESTDIR=$PKG
+
+rmdir $PKG/usr/lib${LIBDIRSUFFIX}/nvim $PKG/usr/lib${LIBDIRSUFFIX}
+
+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
@@ -88,9 +118,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 \
- CONTRIBUTING.md README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -98,4 +126,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/neovim/neovim.info b/development/neovim/neovim.info
index 68d72ac878..cc1632f7d2 100644
--- a/development/neovim/neovim.info
+++ b/development/neovim/neovim.info
@@ -1,10 +1,16 @@
PRGNAM="neovim"
-VERSION="0.4.4"
-HOMEPAGE="http://neovim.org/"
-DOWNLOAD="https://github.com/neovim/neovim/archive/v0.4.4/neovim-0.4.4.tar.gz"
-MD5SUM="526e6a9194d6d65fd5e7faa4b506e7c8"
+VERSION="0.9.5"
+HOMEPAGE="https://neovim.io"
+DOWNLOAD="https://github.com/neovim/neovim/archive/v0.9.5/neovim-0.9.5.tar.gz \
+ https://github.com/LuaJIT/LuaJIT/archive/03c3112/LuaJIT-03c31124cc3b521ef54fe398e10fa55660a5057d.tar.gz \
+ https://github.com/luvit/luv/archive/1.45.0-0/luv-1.45.0-0.tar.gz \
+ https://github.com/keplerproject/lua-compat-5.3/archive/v0.9/lua-compat-5.3-0.9.tar.gz"
+MD5SUM="106932337799a21cf8d28d488c7fc702 \
+ b795ec5d435b01e00d8378ace040c382 \
+ dacbb69541c8d30705c5bb138cd204e0 \
+ 7c0530123479804e40971b069ea6b0da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="msgpack-c lua-mpack lua-lpeg lua-luv libtermkey libvterm"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="lua-mpack lua-lpeg LuaBitOp msgpack-c-c libtermkey libvterm tree-sitter"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/development/neovim/slack-desc b/development/neovim/slack-desc
index 59a0ea0dcf..c70f007271 100644
--- a/development/neovim/slack-desc
+++ b/development/neovim/slack-desc
@@ -15,5 +15,5 @@ neovim: clever-but none are Vim. Neovim is built for users who want the good
neovim: parts of Vim, and more.
neovim:
neovim: See a list of differences at :help vim-differences.
-neovim:
+neovim: Homepage: https://neovim.io
neovim:
diff --git a/development/netbeans/netbeans.SlackBuild b/development/netbeans/netbeans.SlackBuild
index bc1c19244b..e57d60093c 100644
--- a/development/netbeans/netbeans.SlackBuild
+++ b/development/netbeans/netbeans.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netbeans
@@ -21,16 +21,26 @@
# 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=netbeans
-VERSION=${VERSION:-11.3}
+VERSION=${VERSION:-13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
PKGNAM=netbeans-${VERSION}-bin.zip
-CWD=$(pwd)
+# 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}
@@ -81,4 +91,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/netbeans/netbeans.info b/development/netbeans/netbeans.info
index 780e5d5f6d..564f3945b9 100644
--- a/development/netbeans/netbeans.info
+++ b/development/netbeans/netbeans.info
@@ -1,10 +1,10 @@
PRGNAM="netbeans"
-VERSION="11.3"
+VERSION="13"
HOMEPAGE="https://netbeans.apache.org/"
-DOWNLOAD="https://www-eu.apache.org/dist/netbeans/netbeans/11.3/netbeans-11.3-bin.zip"
-MD5SUM="50f9a3424d85f730ca817a5ccb19e23f"
+DOWNLOAD="https://archive.apache.org/dist/netbeans/netbeans/13/netbeans-13-bin.zip"
+MD5SUM="3bcb0cdf36f976be6265915520b97bce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Sukma Wardana"
-EMAIL="sukma.wardana@mail.com"
+REQUIRES="zulu-openjdk8"
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/development/newlib/newlib.SlackBuild b/development/newlib/newlib.SlackBuild
index bb756f2a17..622e9e4e55 100644
--- a/development/newlib/newlib.SlackBuild
+++ b/development/newlib/newlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for newlib-headers
@@ -22,10 +22,13 @@
# 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=newlib
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -91,7 +101,7 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
--with-gnu-ld
make
-make install DESTDIR=$PKG
+make -j1 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
@@ -104,4 +114,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/newlisp/README b/development/newlisp/README
index 47af4b1ab5..9d83a77091 100644
--- a/development/newlisp/README
+++ b/development/newlisp/README
@@ -1,4 +1,9 @@
-newLISP is a Lisp-like, general-purpose scripting language. It has all
-the magic of traditional Lisp but is easier to learn and use. newLISP
-is friendly, fast, and small. Most of the functions you will ever need
-are already built in. newLISP runs on most operating systems.
+newLISP is a Lisp-like, general-purpose scripting language. It is
+especially well-suited for applications in AI, simulation, natural
+language processing, big data, machine learning and statistics.
+Because of its small resource requirements, newLISP is excellent for
+embedded systems applications. Most of the functions you will ever
+need are already built in. This includes networking functions,
+support for distributed and multicore processing, and Bayesian
+statistics.
+
diff --git a/development/newlisp/newlisp.SlackBuild b/development/newlisp/newlisp.SlackBuild
index f12d6a5ff8..6cf18b82ae 100644
--- a/development/newlisp/newlisp.SlackBuild
+++ b/development/newlisp/newlisp.SlackBuild
@@ -1,32 +1,59 @@
-#!/bin/sh
+#!/bin/bash
#
-# Written by Jockey S. Kyd (jockey dot kyd at gmail dot com)
+# Slackware build script for newlisp
#
-# Latest version by Markus Hutmacher (markus dot hutmacher at gmail dot com)
-# May 2013
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
#
-# Public domain
+# 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.
+
+# 2011: Written by Jockey S. Kyd <jockey.kyd@gmail.com>
+# 2012-2022: Updated by Matteo Bernardini <ponce@slackbuilds.org>
+# and Markus Hutmacher <markus.hutmacher@gmail.com>
+# 2022: Updated by Juan M. Lasca <juanmlasca@gmail.com>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=newlisp
-VERSION=${VERSION:-10.6.2}
+VERSION=${VERSION:-10.7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -57,6 +84,7 @@ find -L . \
./configure-alt \
--prefix=/usr \
--mandir=/usr/man \
+ --datadir=/usr/share \
--docdir=/usr/doc/$PRGNAM-$VERSION
make
make install DESTDIR=$PKG
@@ -76,11 +104,25 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
fi
done
)
-cp -a README examples $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+
+# copy relevant files to pkg's doc dir, avoiding unnecessary ones
+(
+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples;
+ cd examples;
+ for i in $(cut -f1 -d' ' README.txt); do
+ cp -a $i $PKG/usr/doc/$PRGNAM-$VERSION/examples/;
+ done;
+ chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/examples/*;
+)
+
+# remove install instructions from $PKG/doc
+rm $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL;
+
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/newlisp/newlisp.info b/development/newlisp/newlisp.info
index af157241a5..645ef98180 100644
--- a/development/newlisp/newlisp.info
+++ b/development/newlisp/newlisp.info
@@ -1,10 +1,10 @@
PRGNAM="newlisp"
-VERSION="10.6.2"
+VERSION="10.7.5"
HOMEPAGE="http://www.newlisp.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/newlisp-10.6.2.tgz"
-MD5SUM="c680a5da323d0c07eaf985663a96ec51"
+DOWNLOAD="http://www.newlisp.org/downloads/newlisp-10.7.5.tgz"
+MD5SUM="e3fa56cf45af8853ff8a3182b79e1b61"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Hutmacher"
-EMAIL="mailing@markhu.de"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/nexus/nexus.SlackBuild b/development/nexus/nexus.SlackBuild
index 12bb12ed35..3b3546863b 100644
--- a/development/nexus/nexus.SlackBuild
+++ b/development/nexus/nexus.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Sonatype Nexus Repository OSS
-# Copyright 2019 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2023 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=nexus
-VERSION=${VERSION:-3.15.2_01}
+VERSION=${VERSION:-3.63.0_01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$(echo $VERSION | tr _ -)
if [ -z "$ARCH" ]; then
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -91,14 +101,13 @@ ln -sf ../../tmp/$PRGNAM tmp
cd $TMP
cp sonatype-work/nexus3/log/.placeholder $PKG/var/log/$PRGNAM
cp sonatype-work/nexus3/tmp/.placeholder $PKG/var/tmp/$PRGNAM
-cp -r sonatype-work/nexus3/orient $PKG/var/lib/$PRGNAM
cp sonatype-work/nexus3/clean_cache $PKG/var/lib/$PRGNAM
# Fix configuration files
sed -i $PKG/usr/share/$PRGNAM/bin/$PRGNAM.rc \
-e "s:#run_as_user=\"\":run_as_user=\"nexus\":g"
sed -i $PKG/usr/share/$PRGNAM/bin/$PRGNAM \
- -e "s:# INSTALL4J_JAVA_HOME_OVERRIDE=:INSTALL4J_JAVA_HOME_OVERRIDE=\"/usr/lib${LIBDIRSUFFIX}/java\":g"
+ -e "s:# INSTALL4J_JAVA_HOME_OVERRIDE=:INSTALL4J_JAVA_HOME_OVERRIDE=\"/usr/lib${LIBDIRSUFFIX}/zulu-openjdk8\":g"
sed -i $PKG/usr/share/$PRGNAM/bin/$PRGNAM.vmoptions \
-e "s\-XX:LogFile=../sonatype-work/nexus3/log/jvm.log\-XX:LogFile=/var/lib/nexus/log/jvm.log\g" \
-e "s:-Dkaraf.data=../sonatype-work/nexus3:-Dkaraf.data=/var/lib/nexus:g" \
@@ -123,4 +132,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/nexus/nexus.info b/development/nexus/nexus.info
index 3c817fde7c..79490e95f3 100644
--- a/development/nexus/nexus.info
+++ b/development/nexus/nexus.info
@@ -1,10 +1,10 @@
PRGNAM="nexus"
-VERSION="3.15.2_01"
+VERSION="3.63.0_01"
HOMEPAGE="https://www.sonatype.com/nexus-repository-oss"
-DOWNLOAD="https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.15.2-01-unix.tar.gz"
-MD5SUM="cd032359593564ee75e5c78c74001c7b"
+DOWNLOAD="https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.63.0-01-unix.tar.gz"
+MD5SUM="d03a60873e4d81500607bcc829aa5d6e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="openjdk8"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/development/nickle/nickle.SlackBuild b/development/nickle/nickle.SlackBuild
index d3a4895edc..aa18e82f04 100644
--- a/development/nickle/nickle.SlackBuild
+++ b/development/nickle/nickle.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nickle.
@@ -22,26 +22,36 @@
# 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=nickle
-VERSION=${VERSION:-2.77}
+VERSION=${VERSION:-2.90}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,4 +106,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/nickle/nickle.info b/development/nickle/nickle.info
index e1fc37d03c..280dbe5590 100644
--- a/development/nickle/nickle.info
+++ b/development/nickle/nickle.info
@@ -1,8 +1,8 @@
PRGNAM="nickle"
-VERSION="2.77"
+VERSION="2.90"
HOMEPAGE="http://nickle.org"
-DOWNLOAD="http://nickle.org/release/nickle-2.77.tar.gz"
-MD5SUM="22f9775f069be403d110c72c8e888a55"
+DOWNLOAD="http://nickle.org/release/nickle-2.90.tar.gz"
+MD5SUM="a72717dd1b322d0f32f62ce8c91529ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/nim/nim.SlackBuild b/development/nim/nim.SlackBuild
index b2e061c5b8..d60a0557e6 100644
--- a/development/nim/nim.SlackBuild
+++ b/development/nim/nim.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nim
-# Maintained 2020 by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022 by Ruben Schuller <sb@rbn.im>
+# Maintained 2020-2021 by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=nim
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.6.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -110,4 +121,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/nim/nim.info b/development/nim/nim.info
index 0532add2f7..d7d8a94336 100644
--- a/development/nim/nim.info
+++ b/development/nim/nim.info
@@ -1,10 +1,10 @@
PRGNAM="nim"
-VERSION="1.4.0"
+VERSION="1.6.8"
HOMEPAGE="https://nim-lang.org"
-DOWNLOAD="https://nim-lang.org/download/nim-1.4.0.tar.xz"
-MD5SUM="62da3ad38c792726df3eae912d8c216b"
+DOWNLOAD="https://nim-lang.org/download/nim-1.6.8.tar.xz"
+MD5SUM="d2a445ba7deeb27375e145826f35033e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Ruben Schuller"
+EMAIL="sb@rbn.im"
diff --git a/development/ninja-ide/ninja-ide.SlackBuild b/development/ninja-ide/ninja-ide.SlackBuild
index 49cffef7b3..5cedda5472 100644
--- a/development/ninja-ide/ninja-ide.SlackBuild
+++ b/development/ninja-ide/ninja-ide.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ninja-ide
# Copyright 2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
-# Copyright 2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2017-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,13 @@
# 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=ninja-ide
-VERSION=${VERSION:-2.3}
+VERSION=${VERSION:-2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -48,7 +58,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -57,7 +67,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 -O1
+# This was missed in the v2.4 backport (Thanks aur repository)
+ sed -r "s/(print) ('.+')$/\1\(\2\)/" \
+ -i "ninja_tests/core/examples/file_for_tests.py"
+
+# Work around not being prepared for python 3.8 (Thanks aur repository)
+ sed -e "s/_ast.Num/_ast.Constant/" \
+ -e "/_ast.Str/ s/^/#/" \
+ -i ninja_ide/tools/introspection.py \
+ ninja_ide/tools/completion/analyzer.py
+
+python3 setup.py install --root=$PKG -O1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -77,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ninja-ide/ninja-ide.info b/development/ninja-ide/ninja-ide.info
index f2bc75af87..eb4d637973 100644
--- a/development/ninja-ide/ninja-ide.info
+++ b/development/ninja-ide/ninja-ide.info
@@ -1,10 +1,10 @@
PRGNAM="ninja-ide"
-VERSION="2.3"
+VERSION="2.4"
HOMEPAGE="http://ninja-ide.org/"
-DOWNLOAD="https://github.com/ninja-ide/ninja-ide/archive/v2.3.tar.gz"
-MD5SUM="196d0374eaef5ea35cd8612869d90016"
+DOWNLOAD="https://github.com/ninja-ide/ninja-ide/archive/v2.4/ninja-ide-2.4.tar.gz"
+MD5SUM="d819fb54309e632420219b1d1e5e930f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyinotify"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/ninja/README b/development/ninja/README
deleted file mode 100644
index 6f1c62d7da..0000000000
--- a/development/ninja/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Ninja is a small build system with a focus on speed. It differs from
-other build systems in two major respects: it is designed to have
-its input files generated by a higher-level build system, and it is
-designed to run builds as fast as possible.
diff --git a/development/ninja/ninja.SlackBuild b/development/ninja/ninja.SlackBuild
deleted file mode 100644
index aca4714cc4..0000000000
--- a/development/ninja/ninja.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ninja
-
-# Copyright 2015 Markus Rinne Finland
-# 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.
-
-PRGNAM=ninja
-VERSION=${VERSION:-1.10.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CXXFLAGS="$SLKCFLAGS" \
-CFLAGS="$SLKCFLAGS" \
- python configure.py --bootstrap
-
-install -D -m0755 ninja $PKG/usr/bin/ninja
-install -D -m0644 misc/bash-completion $PKG/usr/share/bash-completion/completions/ninja
-install -D -m0644 misc/zsh-completion $PKG/usr/share/zsh/site-functions/_ninja
-install -D -m0644 misc/ninja.vim $PKG/usr/share/vim/vimfiles/syntax/ninja.vim
-install -D -m0644 misc/ninja-mode.el $PKG/usr/share/emacs/site-lisp/ninja-mode.el
-
-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* RELEASING \
- $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:-tgz}
diff --git a/development/ninja/ninja.info b/development/ninja/ninja.info
deleted file mode 100644
index 62989ad3f3..0000000000
--- a/development/ninja/ninja.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ninja"
-VERSION="1.10.1"
-HOMEPAGE="https://ninja-build.org/"
-DOWNLOAD="https://github.com/ninja-build/ninja/archive/v1.10.1/ninja-1.10.1.tar.gz"
-MD5SUM="05c1bb5ef41c85057fa6abdffa243dcd"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Markus Rinne"
-EMAIL="markus.ka.rinne@gmail.com"
diff --git a/development/ninja/slack-desc b/development/ninja/slack-desc
deleted file mode 100644
index 35a65f0947..0000000000
--- a/development/ninja/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------------------------------------------------------|
-ninja: ninja (build system with a focus on speed)
-ninja:
-ninja: Ninja is a small build system with a focus on speed. It differs from
-ninja: other build systems in two major respects: it is designed to have its
-ninja: input files generated by a higher-level build system, and it is
-ninja: designed to run builds as fast as possible.
-ninja:
-ninja:
-ninja:
-ninja:
-ninja:
diff --git a/development/nodeenv/README b/development/nodeenv/README
new file mode 100644
index 0000000000..43330ff901
--- /dev/null
+++ b/development/nodeenv/README
@@ -0,0 +1,14 @@
+Node.js virtual environment
+===========================
+
+``nodeenv`` (node.js virtual environment) is a tool to create isolated
+node.js environments.
+
+It creates an environment that has its own installation directories,
+that doesn't share libraries with other node.js virtual environments.
+
+Also the new environment can be integrated with the environment which
+was built by virtualenv_ (python).
+
+
+
diff --git a/development/nodeenv/nodeenv.SlackBuild b/development/nodeenv/nodeenv.SlackBuild
new file mode 100644
index 0000000000..e72eb4c1bb
--- /dev/null
+++ b/development/nodeenv/nodeenv.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# Slackware build script for nodeenv
+
+# Author: Lockywolf, 2023
+#
+# 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=nodeenv
+SRCNAM=nodeenv
+VERSION=${VERSION:-1.6.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 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 $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
+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 {} \;
+
+python3 setup.py install --optimize=1 --root="$PKG"
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE README.rst CHANGES README.ru.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/nodeenv/nodeenv.info b/development/nodeenv/nodeenv.info
new file mode 100644
index 0000000000..4f9bfc4c59
--- /dev/null
+++ b/development/nodeenv/nodeenv.info
@@ -0,0 +1,10 @@
+PRGNAM="nodeenv"
+VERSION="1.6.0"
+HOMEPAGE="http://ekalinin.github.io/nodeenv/"
+DOWNLOAD="https://github.com/ekalinin/nodeenv/archive/1.6.0/nodeenv-1.6.0.tar.gz"
+MD5SUM="77ca9ce25841f3aafec7b702e8bfb5d5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.nodeenv_2023-05-11@lockywolf.net"
diff --git a/development/nodeenv/slack-desc b/development/nodeenv/slack-desc
new file mode 100644
index 0000000000..54ba27c419
--- /dev/null
+++ b/development/nodeenv/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------------------------------------------------------|
+nodeenv: nodeenv (Node.js virtual environment)
+nodeenv:
+nodeenv: nodeenv is a tool to create isolated node.js environments, similar
+nodeenv: to python's venv and virtualenv.
+nodeenv:
+nodeenv:
+nodeenv:
+nodeenv:
+nodeenv:
+nodeenv:
+nodeenv:
diff --git a/development/nodejs-bin/README b/development/nodejs-bin/README
deleted file mode 100644
index 24aa9a0c04..0000000000
--- a/development/nodejs-bin/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
-
-Node.js uses an event-driven, non-blocking I/O model that makes it
-lightweight and efficient. Node.js' package ecosystem, npm, is the
-largest ecosystem of open source libraries in the world.
-
-This meta-package uses binary x86_64 distribution as a temporary
-workaround for the lack of Node.js 10+ in Slackware 14.2.
diff --git a/development/nodejs-bin/nodejs-bin.SlackBuild b/development/nodejs-bin/nodejs-bin.SlackBuild
deleted file mode 100644
index 56bf4e9abd..0000000000
--- a/development/nodejs-bin/nodejs-bin.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware repackaging script for nodejs binary for x86_64
-# Thanks to: Audrius Kažukauskas
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-
-# Copyright 2019 Marcin Szychowski <szycha@gmail.com>, Poland
-# 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.
-
-PRGNAM=nodejs-bin
-SRCNAM=node
-VERSION=${VERSION:-10.16.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586
- echo x86 is not supported
- exit
- ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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-$VERSION
-tar xvf $CWD/node-v$VERSION-linux-x64.tar.xz
-cd node-v$VERSION-linux-x64
-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 $PKG/usr
-mv bin/ include/ lib/ share/ $PKG/usr/
-mv $PKG/usr/share/man $PKG/usr/share/doc $PKG/usr/
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-## Add bash completion file for npm.
-install -D -m 644 $CWD/npm.sh $PKG/usr/share/bash-completion/completions/npm
-
-## Remove unneeded files.
-find $PKG/usr \( -name '.git*' -not -name '.github' \) -exec rm -rf {} \;
-
-## Set NODE_PATH to look for globally installed modules.
-mkdir -p $PKG/etc/profile.d
-cat > $PKG/etc/profile.d/${SRCNAM}.csh << EOF
-#!/bin/csh
-setenv NODE_PATH /usr/lib${LIBDIRSUFFIX}/node_modules
-EOF
-cat > $PKG/etc/profile.d/${SRCNAM}.sh << EOF
-#!/bin/sh
-export NODE_PATH=/usr/lib${LIBDIRSUFFIX}/node_modules
-EOF
-chmod 0755 $PKG/etc/profile.d/*
-
-# Fix some files path
-mv $PKG/usr/doc/node $PKG/usr/share/nodejs
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/nodejs-bin/nodejs-bin.info b/development/nodejs-bin/nodejs-bin.info
deleted file mode 100644
index e6ba87e892..0000000000
--- a/development/nodejs-bin/nodejs-bin.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="nodejs-bin"
-VERSION="10.16.0"
-HOMEPAGE="https://nodejs.org/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="http://nodejs.org/dist/v10.16.0/node-v10.16.0-linux-x64.tar.xz"
-MD5SUM_x86_64="c8222839f80ea586aa24d1ee792e1d93"
-REQUIRES=""
-MAINTAINER="Marcin Szychowski"
-EMAIL="szycha@gmail.com"
diff --git a/development/nodejs-bin/npm.sh b/development/nodejs-bin/npm.sh
deleted file mode 100644
index 25bef2c17b..0000000000
--- a/development/nodejs-bin/npm.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/bash
-###-begin-npm-completion-###
-#
-# npm command completion script
-#
-# Installation: npm completion >> ~/.bashrc (or ~/.zshrc)
-# Or, maybe: npm completion > /usr/local/etc/bash_completion.d/npm
-#
-
-if type complete &>/dev/null; then
- _npm_completion () {
- local words cword
- if type _get_comp_words_by_ref &>/dev/null; then
- _get_comp_words_by_ref -n = -n @ -w words -i cword
- else
- cword="$COMP_CWORD"
- words=("${COMP_WORDS[@]}")
- fi
-
- local si="$IFS"
- IFS=$'\n' COMPREPLY=($(COMP_CWORD="$cword" \
- COMP_LINE="$COMP_LINE" \
- COMP_POINT="$COMP_POINT" \
- npm completion -- "${words[@]}" \
- 2>/dev/null)) || return $?
- IFS="$si"
- }
- complete -o default -F _npm_completion npm
-elif type compdef &>/dev/null; then
- _npm_completion() {
- local si=$IFS
- compadd -- $(COMP_CWORD=$((CURRENT-1)) \
- COMP_LINE=$BUFFER \
- COMP_POINT=0 \
- npm completion -- "${words[@]}" \
- 2>/dev/null)
- IFS=$si
- }
- compdef _npm_completion npm
-elif type compctl &>/dev/null; then
- _npm_completion () {
- local cword line point words si
- read -Ac words
- read -cn cword
- let cword-=1
- read -l line
- read -ln point
- si="$IFS"
- IFS=$'\n' reply=($(COMP_CWORD="$cword" \
- COMP_LINE="$line" \
- COMP_POINT="$point" \
- npm completion -- "${words[@]}" \
- 2>/dev/null)) || return $?
- IFS="$si"
- }
- compctl -K _npm_completion npm
-fi
-###-end-npm-completion-###
diff --git a/development/nodejs-bin/slack-desc b/development/nodejs-bin/slack-desc
deleted file mode 100644
index 3a91cde192..0000000000
--- a/development/nodejs-bin/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-nodejs-bin: nodejs-bin (JavaScript runtime)
-nodejs-bin:
-nodejs-bin: Node.js is a JavaScript runtime built on Chrome's V8 JavaScript
-nodejs-bin: engine.
-nodejs-bin:
-nodejs-bin: nodejs-bin is a binary-only x86_64-only repackaging script for binary
-nodejs-bin: distribution packages aiming towards closing the gap before Slackware
-nodejs-bin: version 15 with OpenSSL 1.1 is out.
-nodejs-bin:
-nodejs-bin: https://nodejs.org/
-nodejs-bin:
diff --git a/development/nodejs/nodejs.SlackBuild b/development/nodejs/nodejs.SlackBuild
index a74f249860..ae3f7134e5 100644
--- a/development/nodejs/nodejs.SlackBuild
+++ b/development/nodejs/nodejs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nodejs
# Thanks to Audrius Kažukauskas
@@ -24,11 +24,14 @@
# along with this program (most likely, a file named COPYING). If
# not, see <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nodejs
SRCNAM=node
-VERSION=${VERSION:-12.16.3}
+VERSION=${VERSION:-20.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -63,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-v$VERSION
-tar xvf $CWD/$SRCNAM-v$VERSION.tar.xz
+tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
cd $SRCNAM-v$VERSION
chown -R root:root .
find -L . \
@@ -74,17 +81,20 @@ find -L . \
## Fix man page path.
sed -i 's|share/||' tools/install.py
-sed -i '/var manRoot/ s/"share",//' deps/npm/lib/{,un}build.js
## Fix libdir for 64-bit.
sed -i "s|lib/|lib${LIBDIRSUFFIX}/|g" tools/install.py
-sed -i "s/'lib'/'lib${LIBDIRSUFFIX}'/" lib/module.js
-sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" deps/npm/lib/npm.js
+sed -i "s/'lib'/'lib${LIBDIRSUFFIX}'/" \
+ lib/module.js \
+ lib/internal/modules/cjs/loader.js \
+ deps/npm/lib/npm.js
sed -i "s|math.h|cmath|" src/node_crypto.cc
./configure \
--prefix=/usr \
- --shared-zlib
+ --shared-zlib \
+ --shared-openssl \
+ --ninja
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
@@ -98,31 +108,12 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
## Add bash completion file for npm.
install -D -m 644 $CWD/npm.sh $PKG/usr/share/bash-completion/completions/npm
-## Remove unneeded files.
-find $PKG/usr \( -name '.git*' \) -exec rm -f {} \;
-
-## Set NODE_PATH to look for globally installed modules.
-mkdir -p $PKG/etc/profile.d
-cat > $PKG/etc/profile.d/${SRCNAM}.csh << EOF
-#!/bin/csh
-setenv NODE_PATH /usr/lib${LIBDIRSUFFIX}/node_modules
-EOF
-cat > $PKG/etc/profile.d/${SRCNAM}.sh << EOF
-#!/bin/sh
-export NODE_PATH=/usr/lib${LIBDIRSUFFIX}/node_modules
-EOF
-chmod 0755 $PKG/etc/profile.d/*
-
-# Fix some files path
-mv $PKG/usr/doc/node $PKG/usr/share/nodejs
-mv $PKG/usr/systemtap $PKG/usr/share/systemtap
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/nodejs/nodejs.info b/development/nodejs/nodejs.info
index afe36a9f52..bb0150cf94 100644
--- a/development/nodejs/nodejs.info
+++ b/development/nodejs/nodejs.info
@@ -1,8 +1,8 @@
PRGNAM="nodejs"
-VERSION="12.16.3"
+VERSION="20.12.2"
HOMEPAGE="https://nodejs.org/"
-DOWNLOAD="https://nodejs.org/dist/v12.16.3/node-v12.16.3.tar.xz"
-MD5SUM="3f23ba05c01f6f03170059057a7bd727"
+DOWNLOAD="https://nodejs.org/dist/v20.12.2/node-v20.12.2.tar.gz"
+MD5SUM="4b68baf3c2938a30a89603d24104e434"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/nose/nose.SlackBuild b/development/nose/nose.SlackBuild
index b3f4cea1c3..b7075b396b 100644
--- a/development/nose/nose.SlackBuild
+++ b/development/nose/nose.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nose
@@ -22,20 +22,30 @@
# 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=nose
VERSION=${VERSION:-1.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -71,5 +81,5 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/notepadnext/README b/development/notepadnext/README
new file mode 100644
index 0000000000..72781528b3
--- /dev/null
+++ b/development/notepadnext/README
@@ -0,0 +1,4 @@
+A cross-platform, reimplementation of Notepad++.
+
+Though the application overall is stable and usable, it should not be
+considered safe for critically important work.
diff --git a/development/notepadnext/doinst.sh b/development/notepadnext/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/notepadnext/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/notepadnext/notepadnext.SlackBuild b/development/notepadnext/notepadnext.SlackBuild
new file mode 100644
index 0000000000..58d1e714cb
--- /dev/null
+++ b/development/notepadnext/notepadnext.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for notepadnext
+
+# Copyright 2023 Damian Perticone, Berisso,Argentina
+# 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=notepadnext
+SRCNAM=NotepadNext
+VERSION=${VERSION:-0.6.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+QSIMPLEUPDATER=62e0ce7dde4c76e7533f2f0ee53f19ee1690c8dd
+QT_ADVANCED_DOCKING_SYSTEM=89ff0ad311ec0cba7e7685c070d3be3a055cce71
+SINGLEAPPLICATION=d0c43a51ad7d4f74ae5cff8d8cbf8aba0cf5e51c
+EDITORCONFIG_CORE_QT=52820d59769fcba6d0ed94f685406c0383fe1a30
+UCHARDET=ab1d2f1120297af6537f2a0d09dca589d4c3ea3b
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+tar xvzf $CWD/QSimpleUpdater-$QSIMPLEUPDATER.tar.gz --strip-components=1 -C src/QSimpleUpdater/
+tar xvzf $CWD/Qt-Advanced-Docking-System-$QT_ADVANCED_DOCKING_SYSTEM.tar.gz --strip-components=1 -C src/ads/
+tar xvzf $CWD/SingleApplication-$SINGLEAPPLICATION.tar.gz --strip-components=1 -C src/singleapplication/
+tar xvzf $CWD/editorconfig-core-qt-$EDITORCONFIG_CORE_QT.tar.gz --strip-components=1 -C src/editorconfig-core-qt/
+tar xvzf $CWD/uchardet-$UCHARDET.tar.gz --strip-components=1 -C src/uchardet/
+
+mkdir -p build
+cd build
+qmake-qt5 ../src/NotepadNext.pro
+make
+make INSTALL_ROOT=$PKG 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
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+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
+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/development/notepadnext/notepadnext.info b/development/notepadnext/notepadnext.info
new file mode 100644
index 0000000000..7a4d002e47
--- /dev/null
+++ b/development/notepadnext/notepadnext.info
@@ -0,0 +1,20 @@
+PRGNAM="notepadnext"
+VERSION="0.6.3"
+HOMEPAGE="https://github.com/dail8859/NotepadNext"
+DOWNLOAD="https://github.com/dail8859/NotepadNext/archive/v0.6.3/NotepadNext-0.6.3.tar.gz \
+ https://github.com/alex-spataru/QSimpleUpdater/archive/62e0ce7dde4c76e7533f2f0ee53f19ee1690c8dd/QSimpleUpdater-62e0ce7dde4c76e7533f2f0ee53f19ee1690c8dd.tar.gz \
+ https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/archive/89ff0ad/Qt-Advanced-Docking-System-89ff0ad.tar.gz \
+ https://github.com/editorconfig/editorconfig-core-qt/archive/52820d59769fcba6d0ed94f685406c0383fe1a30/editorconfig-core-qt-52820d59769fcba6d0ed94f685406c0383fe1a30.tar.gz \
+ https://github.com/itay-grudev/SingleApplication/archive/d0c43a5/SingleApplication-d0c43a5.tar.gz \
+ https://gitlab.freedesktop.org/uchardet/uchardet/-/archive/ab1d2f1120297af6537f2a0d09dca589d4c3ea3b/uchardet-ab1d2f1120297af6537f2a0d09dca589d4c3ea3b.tar.gz"
+MD5SUM="8595b6a484ff76f6d3f468e481020dcd \
+ e63ec431c53a6d00706974cbce8060ae \
+ 8ff00e5d0422569bb14fd090800956d4 \
+ 71cd96440b84645f059295a7bbd4b1a0 \
+ d2a3d9d9a4be6461b88768f1101adf7b \
+ fdb4220f7901387c289474e3f261ed86"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/development/notepadnext/slack-desc b/development/notepadnext/slack-desc
new file mode 100644
index 0000000000..3ed4bb74cb
--- /dev/null
+++ b/development/notepadnext/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------------------------------------------------------|
+notepadnext: notepadnext (Cross-platform reimplementation of Notepad++)
+notepadnext:
+notepadnext: NotepadNext is a cross-platform reimplementation of Notepad++. It aims
+notepadnext: to provide a similar user experience on Linux and other platforms.
+notepadnext:
+notepadnext:
+notepadnext:
+notepadnext:
+notepadnext:
+notepadnext: Website: https://github.com/dail8859/NotepadNext
+notepadnext:
diff --git a/development/notepadqq/notepadqq.SlackBuild b/development/notepadqq/notepadqq.SlackBuild
index 4038ed8334..7b44d43a0b 100644
--- a/development/notepadqq/notepadqq.SlackBuild
+++ b/development/notepadqq/notepadqq.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for notepadqq
-# Copyright 2018 Antonio Leal, Porto Salvo, Oeiras, Portugal
+# Copyright 2022 Antonio Leal, Porto Salvo, Oeiras, Portugal
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=notepadqq
-VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.4.0}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -56,7 +63,6 @@ else
fi
set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -73,23 +79,17 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix /opt/notepadqq \
+ --prefix /usr \
--qmake /usr/lib$LIBDIRSUFFIX/qt5/bin/qmake
make
make install DESTDIR=$PKG INSTALL_ROOT=$PKG
-# Allow the binary to be found somewhere in $PATH
-mkdir -p $PKG/usr/bin
-ln -s /opt/notepadqq/bin/$PRGNAM $PKG/usr/bin/$PRGNAM
+patch $PKG/usr/share/applications/notepadqq.desktop $CWD/notepadqq.desktop.patch
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/share
-mv $PKG/opt/notepadqq/share/icons/ $PKG/usr/share/
-mv $PKG/opt/notepadqq/share/applications/ $PKG/usr/share/
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CONTRIBUTING.md COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -99,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/notepadqq/notepadqq.desktop.patch b/development/notepadqq/notepadqq.desktop.patch
new file mode 100644
index 0000000000..df197f26c4
--- /dev/null
+++ b/development/notepadqq/notepadqq.desktop.patch
@@ -0,0 +1,30 @@
+--- notepadqq.desktop 2022-06-10 15:08:20.381029816 +0100
++++ notepadqq.desktop.new 2022-06-19 15:08:52.798842702 +0100
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Notepadqq
+ Name[de_DE]=Notepadqq
+ Name[fr]=Notepadqq
+@@ -24,7 +23,7 @@
+ StartupNotify=false
+ MimeType=text/plain;text/html;text/x-php;text/x-c;text/x-shellscript;
+ Icon=notepadqq
+-Categories=Development;Utility;TextEditor;
++Categories=Qt;KDE;Utility;TextEditor;
+ Actions=Window;Document;
+
+ [Desktop Action Window]
+@@ -77,7 +76,6 @@
+ Name[zh_HK]=開啟新的視窗
+ Name[zh_TW]=開啟新的視窗
+ Exec=notepadqq --new-window
+-OnlyShowIn=Unity;
+
+ [Desktop Action Document]
+ Name=Open a New Document
+@@ -129,4 +127,3 @@
+ Name[zh_HK]=開啟新的文件
+ Name[zh_TW]=開啟新的文件
+ Exec=notepadqq
+-OnlyShowIn=Unity;
diff --git a/development/notepadqq/notepadqq.info b/development/notepadqq/notepadqq.info
index 117dc57c7e..ceb3329bea 100644
--- a/development/notepadqq/notepadqq.info
+++ b/development/notepadqq/notepadqq.info
@@ -1,10 +1,10 @@
PRGNAM="notepadqq"
-VERSION="1.2.0"
-HOMEPAGE="http://notepadqq.altervista.org"
-DOWNLOAD="https://github.com/notepadqq/notepadqq/archive/v1.2.0/notepadqq-1.2.0.tar.gz"
-MD5SUM="8114b25ae89c75037da8f65676443f23"
+VERSION="1.4.0"
+HOMEPAGE="https://notepadqq.com"
+DOWNLOAD="https://github.com/notepadqq/notepadqq/archive/v1.4.0/notepadqq-1.4.0.tar.gz"
+MD5SUM="67e1ec78abb43ab29d8650c4eef0356b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit"
+REQUIRES=""
MAINTAINER="Antonio Leal"
EMAIL="antonioleal@yahoo.com"
diff --git a/development/noweb/make_cleanup.diff b/development/noweb/make_cleanup.diff
deleted file mode 100644
index a574778b38..0000000000
--- a/development/noweb/make_cleanup.diff
+++ /dev/null
@@ -1,1661 +0,0 @@
-diff --git a/Makefile b/Makefile
---- a/Makefile
-+++ b/Makefile
-@@ -9,14 +9,16 @@
- CINAME=-Nv`echo $(VERSION) | tr . _`
- CIMSG=-f -m'standard checkin preparing to export version $(VERSION)'
-
--source: ; for i in src; do (cd $$i; make source); done
--www: ; for i in src/xdoc examples; do (cd $$i; make www); done
-+source:
-+ for i in src; do ($(MAKE) -C $$i source); done
-+www:
-+ for i in src/xdoc examples; do ($(MAKE) -C $$i www); done
-
- clean:
-- for i in src examples contrib; do (cd $$i; make clean); done
-- rm -f nwsrcfilter *~ */*~
-+ for i in src examples contrib; do ($(MAKE) -C $$i clean); done
-+ $(RM) nwsrcfilter *~ */*~
- clobber: clean
-- for i in src examples contrib; do (cd $$i; make clobber); done
-+ for i in src examples contrib; do ($(MAKE) -C $$i clobber); done
-
- DATE:
- (./echo -n "Version $(VERSION) of "; date) > DATE
-@@ -36,14 +38,14 @@
- tarnames: clean source nwsrcfilter DATE
- find . -not -type d -not -name FAQ.old -print | ./nwsrcfilter
-
--tar: clean source nwsrcfilter DATE emacscheck
-+tar: clean source nwsrcfilter DATE emacscheck
- chmod +w src/Makefile
- rm -rf /tmp/noweb-$(VERSION)
-- mkdir /tmp/noweb-$(VERSION)
-+ mkdir -p /tmp/noweb-$(VERSION)
- tar cvf - `find . ! -type d -not -name FAQ.old -print | ./nwsrcfilter` | (cd /tmp/noweb-$(VERSION) ; tar xf - )
- (cd /tmp; tar cf - noweb-$(VERSION) ) | gzip -v > ../noweb-$(VERSION).tgz
-- rm -f ../noweb.tgz
-- (cd .. ; ln -s noweb-$(VERSION).tgz noweb.tgz)
-+ $(RM) ../noweb.tgz
-+ (cd .. && ln -s noweb-$(VERSION).tgz noweb.tgz)
- chmod -w src/Makefile
-
- emacscheck:
-@@ -51,6 +53,4 @@
- diff src/elisp/noweb-mode.el $(HOME)/emacs/noweb-mode.el
-
- checkin:
-- (cd src; make "CINAME=$(CINAME)" "CIMSG=$(CIMSG)" checkin)
--
--
-+ ($(MAKE) -C src "CINAME=$(CINAME)" "CIMSG=$(CIMSG)" checkin)
-diff --git a/contrib/Makefile b/contrib/Makefile
---- a/contrib/Makefile
-+++ b/contrib/Makefile
-@@ -5,9 +5,12 @@
-
- # don't do kostas; it requires gnu make (ugh)
-
--all: ; for i in $(DIRS); do (cd $$i; make ICONC=$(ICONC) all); done
--install: ; for i in $(DIRS); do (cd $$i; make LIB=$(LIB) BIN=$(BIN) install); done
--source: ; for i in $(DIRS); do (cd $$i; make source); done
--clean: ; for i in $(DIRS); do (cd $$i; make clean); done
-+all:
-+ for i in $(DIRS); do ($(MAKE) -C $$i ICONC=$(ICONC) all); done
-+install:
-+ for i in $(DIRS); do ($(MAKE) -C $$i LIB=$(LIB) BIN=$(BIN) install); done
-+source:
-+ for i in $(DIRS); do ($(MAKE) -C $$i source); done
-+clean:
-+ for i in $(DIRS); do ($(MAKE) -C $$i clean); done
- clobber: clean
--
-diff --git a/contrib/conrado/Makefile b/contrib/conrado/Makefile
---- a/contrib/conrado/Makefile
-+++ b/contrib/conrado/Makefile
-@@ -1,7 +1,8 @@
- LIB=/dev/null # to be overridden by install
-
- .SUFFIXES: .nw .icn
--.nw.icn: ; notangle -L'#line %-1L "%F"%N' $*.nw | cpif $*.icn
-+.nw.icn:
-+ notangle -L'#line %-1L "%F"%N' $*.nw | cpif $*.icn
-
- all: d2tex
- source: d2tex
-@@ -10,6 +11,6 @@
-
- # TeX files.
- hospital.tex: hospital.nw d2tex
-- noweave -delay -filter ./d2tex hospital.nw > hospital.tex
-+ noweave -delay -filter $^ > $@
- clean:
-- /bin/rm -f hospital.tex *.dvi *.aux *.log *.blg *.bbl *~
-+ $(RM) hospital.tex *.dvi *.aux *.log *.blg *.bbl *~
-diff --git a/contrib/davelove/Makefile b/contrib/davelove/Makefile
---- a/contrib/davelove/Makefile
-+++ b/contrib/davelove/Makefile
-@@ -3,4 +3,4 @@
- source:
- install:
- clean:
-- /bin/rm -f *.dvi *.log *.aux
-+ $(RM) *.dvi *.log *.aux
-diff --git a/contrib/jobling/Makefile b/contrib/jobling/Makefile
---- a/contrib/jobling/Makefile
-+++ b/contrib/jobling/Makefile
-@@ -1,9 +1,9 @@
- PROG = correct-refs
--DOCSRC = $(PROG).tex
--PROGSRC = $(PROG).csh
-+DOCSRC = $(PROG).tex
-+PROGSRC = $(PROG).csh
- SCRIPTS = list-anchors.awk awk-scripts.awk
-
--all: correct-refs.tex correct-refs.csh all-scripts
-+all: correct-refs.tex correct-refs.csh all-scripts
-
- correct-refs.tex: correct-refs.nw
- noweave -delay -index $< > $@
-@@ -22,13 +22,13 @@
- cp *.awk $(HOME)/lib
-
- tidy:
-- -rm *~ *% *.bak *.log *.blg
-+ $(RM) *~ *% *.bak *.log *.blg
-
- clean: tidy
-- -rm *.ps *.dvi *.toc *.aux *.bbl *.dep $(PROG).shar
-+ $(RM) *.ps *.dvi *.toc *.aux *.bbl *.dep $(PROG).shar
-
- realclean: clean
-- -rm $(DOCSRC) $(PROGSRC) $(SCRIPTS)
-+ $(RM) $(DOCSRC) $(PROGSRC) $(SCRIPTS)
-
- shar:
- shar README Makefile $(PROG).nw > $(PROG).shar
-diff --git a/contrib/jonkrom/Makefile b/contrib/jonkrom/Makefile
---- a/contrib/jonkrom/Makefile
-+++ b/contrib/jonkrom/Makefile
-@@ -9,7 +9,7 @@
- source: noxref.krom
-
- noxref.krom: noxref.nw
-- notangle -Rnoxref noxref.nw > noxref.krom
-+ notangle -Rnoxref $< > $@
-
- clean:
-- /bin/rm -f *.tex *.dvi *.ilg *.idx *.aux *.log *.blg *.bbl *~ *.ind noxref.krom
-+ $(RM) *.tex *.dvi *.ilg *.idx *.aux *.log *.blg *.bbl *~ *.ind noxref.krom
-diff --git a/contrib/kostas/Makefile.make b/contrib/kostas/Makefile.make
---- a/contrib/kostas/Makefile.make
-+++ b/contrib/kostas/Makefile.make
-@@ -10,8 +10,8 @@
- .SUFFIXES: .nw .icn .tex .dvi
-
-
--all: C.filter C++.filter icon.filter oot.filter math.filter\
-- autodefs.oot autodefs.math
-+all: C.filter C++.filter icon.filter oot.filter math.filter \
-+ autodefs.oot autodefs.math
-
- install:
- mv *.filter $(LIB)
-@@ -22,7 +22,7 @@
- %.tex : %.nw
- $(WEAVE) $< > $@
- pp.tex: pp.nw
-- noweave -delay -autodefs icon -filter icon.filter -index pp.nw > pp.tex
-+ noweave -delay -autodefs icon -filter icon.filter -index $< > $@
- %.dvi : %.tex
- latex $<
- # Don't delete the intermediate .tex file.
-@@ -31,15 +31,15 @@
-
- # Icon files.
- C.icn: pp.nw C_translation_table
-- $(TANGLE) -R"C" pp.nw > $@
-+ $(TANGLE) -R"C" $< > $@
- C++.icn: pp.nw C++_translation_table
-- $(TANGLE) -R"C++" pp.nw > $@
-+ $(TANGLE) -R"C++" $< > $@
- icon.icn: pp.nw icon_translation_table
-- $(TANGLE) -R"Icon" pp.nw > $@
-+ $(TANGLE) -R"Icon" $< > $@
- oot.icn: pp.nw oot_translation_table
-- $(TANGLE) -R"OOT" pp.nw > $@
--math.icn: pp.nw math_translation_table
-- $(TANGLE) -R"Mathematica" pp.nw > $@
-+ $(TANGLE) -R"OOT" $< > $@
-+math.icn: pp.nw math_translation_table
-+ $(TANGLE) -R"Mathematica" $< > $@
-
- ootdefs.icn: ootdefs.nw
- $(TANGLE) $< $(defns) > $@
-@@ -48,14 +48,14 @@
-
-
- # Executables: filters.
--%.filter : %.icn
-+%.filter: %.icn
- $(ICONC) -o $@ $<
-
- # Executables: autodefs.
- autodefs.oot: ootdefs.icn
-- $(ICONC) -o autodefs.oot ootdefs.icn
-+ $(ICONC) -o $@ $<
- autodefs.math: mathdefs.icn
-- $(ICONC) -o autodefs.math mathdefs.icn
-+ $(ICONC) -o $@ $<
-
-
- # Cleaning: remove all files that can be recreated from noweb sources.
-@@ -69,7 +69,4 @@
-
- # Also remove the Icon files for the filters.
- clean:
-- -rm -f $(rem) C.icn C++.icn icon.icn oot.icn math.icn *.filter autodefs.*
--
--
--
-+ $(RM) $(rem) C.icn C++.icn icon.icn oot.icn math.icn *.filter autodefs.*
-diff --git a/contrib/leew/Makefile b/contrib/leew/Makefile
---- a/contrib/leew/Makefile
-+++ b/contrib/leew/Makefile
-@@ -3,4 +3,4 @@
- install:
- source:
- clean:
-- /bin/rm -f nocond *.dvi *.log *.aux *.toc *.tex *.tex nocond.1
-+ $(RM) nocond *.dvi *.log *.aux *.toc *.tex *.tex nocond.1
-diff --git a/contrib/norman/Makefile b/contrib/norman/Makefile
---- a/contrib/norman/Makefile
-+++ b/contrib/norman/Makefile
-@@ -1,10 +1,14 @@
- LIB=/dev/null # to be overridden
- DIRS=numarkup
-
--all: ; for i in $(DIRS); do (cd $$i; make ICONC=$(ICONC) ICONT=$(ICONT) all); done
--install: ; for i in $(DIRS); do (cd $$i; make LIB=$(LIB) BIN=$(BIN) install); done
--source: ; for i in $(DIRS); do (cd $$i; make source); done
--clean: ; for i in $(DIRS); do (cd $$i; make clean); done
-+all:
-+ for i in $(DIRS); do ($(MAKE) -C $$i ICONC=$(ICONC) ICONT=$(ICONT) all); done
-+install:
-+ for i in $(DIRS); do ($(MAKE) -C $$i LIB=$(LIB) BIN=$(BIN) install); done
-+source:
-+ for i in $(DIRS); do ($(MAKE) -C $$i source); done
-+clean:
-+ for i in $(DIRS); do ($(MAKE) -C $$i clean); done
- iconlib: # cheap hack for slackmake
- true
-
-diff --git a/contrib/norman/numarkup/Makefile b/contrib/norman/numarkup/Makefile
---- a/contrib/norman/numarkup/Makefile
-+++ b/contrib/norman/numarkup/Makefile
-@@ -6,23 +6,25 @@
- OBJS = main.o pass1.o latex.o input.o scraps.o names.o arena.o global.o
-
- .SUFFIXES: .nw
--.nw.c: ; notangle -R"$@"'*' -L $< | cpif $@
--.nw.h: ; notangle -R"$@" $< | cpif $@
-+.nw.c:
-+ notangle -R"$@"'*' -L $< | cpif $@
-+.nw.h:
-+ notangle -R"$@" $< | cpif $@
-
--all:
-+all:
- noweb -t numarkup.nw
-- make $(TARGET)
-+ $(MAKE) $(TARGET)
-
- install:
- noweb -t numarkup.nw
-- make $(TARGET)
-+ $(MAKE) $(TARGET)
- strip $(TARGET)
- cp $(TARGET) $(LIB)
-
- source: main.c pass1.c latex.c input.c scraps.c names.c arena.c global.c
-
- clean:
-- rm -f *.o *.c *.h *.tex *.log *.dvi *~ *.blg $(TARGET) *.html *~
-+ $(RM) *.o *.c *.h *.tex *.log *.dvi *~ *.blg $(TARGET) *.html *~
-
- $(OBJS): global.h
-
-@@ -30,8 +32,7 @@
- $(CC) -o $(TARGET) $(OBJS)
-
- numarkup.html: numarkup.nw
-- noweave -filter l2h -html -index numarkup.nw > numarkup.html
-+ noweave -filter l2h -html -index $< > $@
-
- numarkup.tex: numarkup.nw
-- noweb -o numarkup.nw
--
-+ noweb -o $@
-diff --git a/contrib/ydirson/Makefile b/contrib/ydirson/Makefile
---- a/contrib/ydirson/Makefile
-+++ b/contrib/ydirson/Makefile
-@@ -1,6 +1,6 @@
--LIB=/dev/null # to be overridden
-+LIB=/dev/null # to be overridden
-
--FILTERS = guesslang inheritlang enscript-html
-+FILTERS = guesslang inheritlang enscript-html
-
- # nothing to tangle or weave
- all:
-diff --git a/examples/Makefile b/examples/Makefile
---- a/examples/Makefile
-+++ b/examples/Makefile
-@@ -4,14 +4,19 @@
- NOWEAVE=noweave
-
- .SUFFIXES: .i3 .m3 .nw .tex .dvi .html
--.nw.html: ; $(NOWEAVE) -filter l2h -filter btdefn -index -html $*.nw > $*.html
--.nw.tex: ; $(NOWEAVE) -index -filter btdefn $*.nw > $*.tex
--.nw.i3: ; $(NOTANGLE) -Rinterface -L'<* LINE %L "%F" *>%N' $*.nw > $*.i3
--.nw.m3: ; $(NOTANGLE) -L'<* LINE %L "%F" *>%N' $*.nw > $*.m3
--.tex.dvi: ; latex '\scrollmode \input '"$*"; while grep -s 'Rerun to get cross-references right' $*.log; do latex '\scrollmode \input '"$*"; done
-+.nw.html:
-+ $(NOWEAVE) -filter l2h -filter btdefn -index -html $*.nw > $*.html
-+.nw.tex:
-+ $(NOWEAVE) -index -filter btdefn $*.nw > $*.tex
-+.nw.i3:
-+ $(NOTANGLE) -Rinterface -L'<* LINE %L "%F" *>%N' $*.nw > $*.i3
-+.nw.m3:
-+ $(NOTANGLE) -L'<* LINE %L "%F" *>%N' $*.nw > $*.m3
-+.tex.dvi:
-+ latex '\scrollmode \input '"$*"; while grep -s 'Rerun to get cross-references right' $*.log; do latex '\scrollmode \input '"$*"; done
-
- HTML=breakmodel.html compress.html dag.html graphs.html mipscoder.html primes.html \
-- scanner.html test.html tree.html wc.html wcni.html
-+ scanner.html test.html tree.html wc.html wcni.html
-
-
- www: $(HTML)
-@@ -19,37 +24,37 @@
- copy -v README.h $(WWW)/index.html
-
- clean:
-- rm -f *~ *.aux *.tex *.dvi *.log *.html *.toc
-+ $(RM) *~ *.aux *.tex *.dvi *.log *.html *.toc
-
- clobber: clean
-
- compress.html: compress.nw
-- $(NOWEAVE) -filter l2h -index -autodefs c -html compress.nw > compress.html
-+ $(NOWEAVE) -filter l2h -index -autodefs c -html $< > $@
- compress.tex: compress.nw
-- $(NOWEAVE) -index -autodefs c compress.nw > compress.tex
-+ $(NOWEAVE) -index -autodefs c $< > $@
- dag.html: dag.nw
-- $(NOWEAVE) -filter l2h -index -autodefs icon -html dag.nw > dag.html
-+ $(NOWEAVE) -filter l2h -index -autodefs icon -html $< > $@
- dag.tex: dag.nw
-- $(NOWEAVE) -index -autodefs icon dag.nw > dag.tex
-+ $(NOWEAVE) -index -autodefs icon $< > $@
- mipscoder.html: mipscoder.nw
-- $(NOWEAVE) -filter l2h -index -autodefs sml -html mipscoder.nw > mipscoder.html
-+ $(NOWEAVE) -filter l2h -index -autodefs sml -html $< > $@
- mipscoder.tex: mipscoder.nw
-- $(NOWEAVE) -autodefs sml -index mipscoder.nw > mipscoder.tex
-+ $(NOWEAVE) -autodefs sml -index $< > $@
- scanner.html: scanner.nw
-- $(NOWEAVE) -filter l2h -index -autodefs c -autodefs yacc -html scanner.nw > scanner.html
-+ $(NOWEAVE) -filter l2h -index -autodefs c -autodefs yacc -html $< > $@
- scanner.tex: scanner.nw
-- $(NOWEAVE) -index -autodefs c -autodefs yacc scanner.nw > scanner.tex
-+ $(NOWEAVE) -index -autodefs c -autodefs yacc $< > $@
- tree.html: tree.nw
-- $(NOWEAVE) -filter l2h -index -autodefs icon -html tree.nw > tree.html
-+ $(NOWEAVE) -filter l2h -index -autodefs icon -html $< > $@
- tree.tex: tree.nw
-- $(NOWEAVE) -index -autodefs icon tree.nw > tree.tex
-+ $(NOWEAVE) -index -autodefs icon $< > $@
- test.html: test.nw
-- $(NOWEAVE) -filter l2h -html test.nw > test.html
-+ $(NOWEAVE) -filter l2h -html $< > $@
- test.tex: test.nw
-- $(NOWEAVE) test.nw > test.tex
-+ $(NOWEAVE) $< > $@
- wc.html: wc.nw2html
-- $(NOWEAVE) -autodefs c -filter btdefn -index -html -n wc.nw2html > wc.html
-+ $(NOWEAVE) -autodefs c -filter btdefn -index -html -n $< > $@
- wcni.html: wc.nw2html
-- $(NOWEAVE) -filter btdefn -x -html -n wc.nw2html > wcni.html
-+ $(NOWEAVE) -filter btdefn -x -html -n $< > $@
- wc.tex: wc.nw
-- $(NOWEAVE) -autodefs c -filter btdefn -index wc.nw > wc.tex
-+ $(NOWEAVE) -autodefs c -filter btdefn -index $< > $@
-diff --git a/examples/Makefile.awk b/examples/Makefile.awk
---- a/examples/Makefile.awk
-+++ b/examples/Makefile.awk
-@@ -4,14 +4,19 @@
- NOWEAVE=noweave
-
- .SUFFIXES: .i3 .m3 .nw .tex .dvi .html
--.nw.html: ; $(NOWEAVE) -filter btdefn -index -html $*.nw > $*.html
--.nw.tex: ; $(NOWEAVE) -index -filter btdefn $*.nw > $*.tex
--.nw.i3: ; $(NOTANGLE) -Rinterface -L'<* LINE %L "%F" *>%N' $*.nw > $*.i3
--.nw.m3: ; $(NOTANGLE) -L'<* LINE %L "%F" *>%N' $*.nw > $*.m3
--.tex.dvi: ; latex '\scrollmode \input '"$*"; while grep -s 'Rerun to get cross-references right' $*.log; do latex '\scrollmode \input '"$*"; done
-+.nw.html:
-+ $(NOWEAVE) -filter btdefn -index -html $*.nw > $*.html
-+.nw.tex:
-+ $(NOWEAVE) -index -filter btdefn $*.nw > $*.tex
-+.nw.i3:
-+ $(NOTANGLE) -Rinterface -L'<* LINE %L "%F" *>%N' $*.nw > $*.i3
-+.nw.m3:
-+ $(NOTANGLE) -L'<* LINE %L "%F" *>%N' $*.nw > $*.m3
-+.tex.dvi:
-+ latex '\scrollmode \input '"$*"; while grep -s 'Rerun to get cross-references right' $*.log; do latex '\scrollmode \input '"$*"; done
-
- HTML=breakmodel.html compress.html dag.html graphs.html mipscoder.html primes.html \
-- scanner.html test.html tree.html wc.html wcni.html
-+ scanner.html test.html tree.html wc.html wcni.html
- DVI=compress.dvi dag.dvi mipscoder.dvi scanner.dvi tree.dvi test.dvi wc.dvi
-
-
-@@ -22,37 +27,37 @@
- copy -v README.h $(WWW)/index.html
-
- clean:
-- rm -f *~ *.aux *.tex *.dvi *.log *.html *.toc
-+ $(RM) *~ *.aux *.tex *.dvi *.log *.html *.toc
-
- clobber: clean
-
- compress.html: compress.nw
-- $(NOWEAVE) -index -html compress.nw > compress.html
-+ $(NOWEAVE) -index -html $< > $@
- compress.tex: compress.nw
-- $(NOWEAVE) -index compress.nw > compress.tex
-+ $(NOWEAVE) -index $< > $@
- dag.html: dag.nw
-- $(NOWEAVE) -index -html dag.nw > dag.html
-+ $(NOWEAVE) -index -html $< > $@
- dag.tex: dag.nw
-- $(NOWEAVE) -index dag.nw > dag.tex
-+ $(NOWEAVE) -index $< > $@
- mipscoder.html: mipscoder.nw
-- $(NOWEAVE) -index -html mipscoder.nw > mipscoder.html
-+ $(NOWEAVE) -index -html $< > $@
- mipscoder.tex: mipscoder.nw
-- $(NOWEAVE) -index mipscoder.nw > mipscoder.tex
-+ $(NOWEAVE) -index $< > $@
- scanner.html: scanner.nw
-- $(NOWEAVE) -index -html scanner.nw > scanner.html
-+ $(NOWEAVE) -index -html $< > $@
- scanner.tex: scanner.nw
-- $(NOWEAVE) -index scanner.nw > scanner.tex
-+ $(NOWEAVE) -index $< > $@
- tree.html: tree.nw
-- $(NOWEAVE) -index -html tree.nw > tree.html
-+ $(NOWEAVE) -index -html $< > $@
- tree.tex: tree.nw
-- $(NOWEAVE) -index tree.nw > tree.tex
-+ $(NOWEAVE) -index $< > $@
- test.html: test.nw
-- $(NOWEAVE) -html test.nw > test.html
-+ $(NOWEAVE) -html $< > $@
- test.tex: test.nw
-- $(NOWEAVE) test.nw > test.tex
-+ $(NOWEAVE) $< > $@
- wc.html: wc.nw2html
-- $(NOWEAVE) -filter btdefn -index -html -n wc.nw2html > wc.html
-+ $(NOWEAVE) -filter btdefn -index -html -n $< > $@
- wcni.html: wc.nw2html
-- $(NOWEAVE) -filter btdefn -x -html -n wc.nw2html > wcni.html
-+ $(NOWEAVE) -filter btdefn -x -html -n $< > $@
- wc.tex: wc.nw
-- $(NOWEAVE) -filter btdefn -index wc.nw > wc.tex
-+ $(NOWEAVE) -filter btdefn -index $< > $@
-diff --git a/src/Makefile b/src/Makefile
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -27,7 +27,7 @@
- ELISP=/dev/null
-
- # change WEAVE if you want a different version of noweave to be installed
--WEAVE=noweave
-+WEAVE=noweave
-
- # Stop editing. No user-serviceable parts below.
- SHELL=/bin/sh
-@@ -37,183 +37,181 @@
- MAN7DIR=$(MAN)/man$(MAN7EXT)
- CATDIR=$(MAN)/cat$(MANEXT)
- CAT7DIR=$(MAN)/cat$(MAN7EXT)
--LIBNAME=$(LIB)
--TEXNAME=$(TEXINPUTS)
-
--all:
-- cd c; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" all
-- for i in shell lib xdoc tex; do (cd $$i; make all); done
-- cd $(LIBSRC); make "ICONT=$(ICONT)" "ICONC=$(ICONC)" all
-+all:
-+ $(MAKE) -C c "CC=$(CC)" "CFLAGS=$(CFLAGS)" all
-+ for i in shell lib xdoc tex; do ($(MAKE) -C $$i all); done
-+ $(MAKE) -C $(LIBSRC) "ICONT=$(ICONT)" "ICONC=$(ICONC)" all
-
- FAQ: FAQ.html
-- sleep 1; html2ascii FAQ.html > FAQ
-+ sleep 1; html2ascii $< > $@
-
- FAQ.html: $(HOME)/www/noweb/FAQ.html
-- rm -f FAQ.html
-- /bin/cp $(HOME)/www/noweb/FAQ.html FAQ.html
-- chmod -w FAQ.html
-+ $(RM) $@
-+ cp $< $@
-+ chmod -w $@
-
- install: install-code install-man install-tex install-elisp
- uninstall: uninstall-code uninstall-man uninstall-tex uninstall-elisp
-- -rmdir $(BIN) $(LIB) 2>/dev/null
-+ -rmdir $(DESTDIR)$(BIN) $(DESTDIR)$(LIB) 2>/dev/null
-
- install-shell:
-- -mkdir $(BIN) $(LIB) 2>/dev/null
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/noweb > $(BIN)/noweb
-- chmod +x $(BIN)/noweb
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/notangle > $(BIN)/notangle
-- chmod +x $(BIN)/notangle
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/$(WEAVE) > $(BIN)/$(WEAVE)
-- chmod +x $(BIN)/$(WEAVE)
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/nountangle > $(BIN)/nountangle
-- chmod +x $(BIN)/nountangle
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/nodefs > $(BIN)/nodefs
-- chmod +x $(BIN)/nodefs
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/noroots > $(BIN)/noroots
-- chmod +x $(BIN)/noroots
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/nuweb2noweb > $(BIN)/nuweb2noweb
-- chmod +x $(BIN)/nuweb2noweb
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/cpif > $(BIN)/cpif
-- chmod +x $(BIN)/cpif
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/htmltoc > $(BIN)/htmltoc
-- chmod +x $(BIN)/htmltoc
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/noroff > $(BIN)/noroff
-- chmod +x $(BIN)/noroff
-- sed "s@|LIBDIR|@$(LIBNAME)@" shell/toroff > $(LIB)/toroff
-- chmod +x $(LIB)/toroff
-- cp shell/tmac.w $(LIB)
-+ mkdir -p $(DESTDIR)$(BIN) $(DESTDIR)$(LIB)
-+ sed "s@|LIBDIR|@$(LIB)@" shell/noweb > $(DESTDIR)$(BIN)/noweb
-+ chmod +x $(DESTDIR)$(BIN)/noweb
-+ sed "s@|LIBDIR|@$(LIB)@" shell/notangle > $(DESTDIR)$(BIN)/notangle
-+ chmod +x $(DESTDIR)$(BIN)/notangle
-+ sed "s@|LIBDIR|@$(LIB)@" shell/$(WEAVE) > $(DESTDIR)$(BIN)/$(WEAVE)
-+ chmod +x $(DESTDIR)$(BIN)/$(WEAVE)
-+ sed "s@|LIBDIR|@$(LIB)@" shell/nountangle > $(DESTDIR)$(BIN)/nountangle
-+ chmod +x $(DESTDIR)$(BIN)/nountangle
-+ sed "s@|LIBDIR|@$(LIB)@" shell/nodefs > $(DESTDIR)$(BIN)/nodefs
-+ chmod +x $(DESTDIR)$(BIN)/nodefs
-+ sed "s@|LIBDIR|@$(LIB)@" shell/noroots > $(DESTDIR)$(BIN)/noroots
-+ chmod +x $(DESTDIR)$(BIN)/noroots
-+ sed "s@|LIBDIR|@$(LIB)@" shell/nuweb2noweb > $(DESTDIR)$(BIN)/nuweb2noweb
-+ chmod +x $(DESTDIR)$(BIN)/nuweb2noweb
-+ sed "s@|LIBDIR|@$(LIB)@" shell/cpif > $(DESTDIR)$(BIN)/cpif
-+ chmod +x $(DESTDIR)$(BIN)/cpif
-+ sed "s@|LIBDIR|@$(LIB)@" shell/htmltoc > $(DESTDIR)$(BIN)/htmltoc
-+ chmod +x $(DESTDIR)$(BIN)/htmltoc
-+ sed "s@|LIBDIR|@$(LIB)@" shell/noroff > $(DESTDIR)$(BIN)/noroff
-+ chmod +x $(DESTDIR)$(BIN)/noroff
-+ sed "s@|LIBDIR|@$(LIB)@" shell/toroff > $(DESTDIR)$(LIB)/toroff
-+ chmod +x $(DESTDIR)$(LIB)/toroff
-+ cp shell/tmac.w $(DESTDIR)$(LIB)
-
- uninstall-shell:
-- rm -f $(BIN)/noweb
-- rm -f $(BIN)/notangle
-- rm -f $(BIN)/$(WEAVE)
-- rm -f $(BIN)/nountangle
-- rm -f $(BIN)/nodefs
-- rm -f $(BIN)/noroots
-- rm -f $(BIN)/nuweb2noweb
-- rm -f $(BIN)/cpif
-- rm -f $(BIN)/htmltoc
-- rm -f $(BIN)/noroff
-- rm -f $(LIB)/toroff
-- rm $(LIB)/tmac.w
-+ $(RM) $(DESTDIR)$(BIN)/noweb
-+ $(RM) $(DESTDIR)$(BIN)/notangle
-+ $(RM) $(DESTDIR)$(BIN)/$(WEAVE)
-+ $(RM) $(DESTDIR)$(BIN)/nountangle
-+ $(RM) $(DESTDIR)$(BIN)/nodefs
-+ $(RM) $(DESTDIR)$(BIN)/noroots
-+ $(RM) $(DESTDIR)$(BIN)/nuweb2noweb
-+ $(RM) $(DESTDIR)$(BIN)/cpif
-+ $(RM) $(DESTDIR)$(BIN)/htmltoc
-+ $(RM) $(DESTDIR)$(BIN)/noroff
-+ $(RM) $(DESTDIR)$(LIB)/toroff
-+ $(RM) $(DESTDIR)$(LIB)/tmac.w
-
- install-code: install-shell
-- -mkdir $(BIN) $(LIB) 2>/dev/null
-+ mkdir -p $(DESTDIR)$(BIN) $(DESTDIR)$(LIB)
- strip c/nt c/markup c/mnt c/finduses
-- cp c/nt c/markup c/mnt c/finduses $(LIB)
-- cd $(LIBSRC); make ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) install
-- cd lib; make LIB=$(LIB) install
-+ cp c/nt c/markup c/mnt c/finduses $(DESTDIR)$(LIB)
-+ $(MAKE) -C $(LIBSRC) DESTDIR=$(DESTDIR) ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) install
-+ $(MAKE) -C lib DESTDIR=$(DESTDIR) LIB=$(LIB) install
-
- uninstall-code: uninstall-shell
-- rm $(LIB)/nt $(LIB)/markup $(LIB)/mnt $(LIB)/finduses
-- cd $(LIBSRC); make ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) uninstall
-- cd lib; make LIB=$(LIB) uninstall
-+ $(RM) $(DESTDIR)$(LIB)/nt $(DESTDIR)$(LIB)/markup $(DESTDIR)$(LIB)/mnt $(DESTDIR)$(LIB)/finduses
-+ $(MAKE) -C $(LIBSRC) DESTDIR=$(DESTDIR) ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) uninstall
-+ $(MAKE) -C lib DESTDIR=$(DESTDIR) LIB=$(LIB) uninstall
- install-man:
-- -mkdir $(MAN) $(MANDIR) $(MAN7DIR) 2>/dev/null
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/cpif.1 > $(MANDIR)/cpif.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nodefs.1 > $(MANDIR)/nodefs.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroots.1 > $(MANDIR)/noroots.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noweb.1 > $(MANDIR)/noweb.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noindex.1 > $(MANDIR)/noindex.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nuweb2noweb.1 > $(MANDIR)/nuweb2noweb.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/notangle.1 > $(MANDIR)/notangle.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroff.1 > $(MANDIR)/noroff.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/sl2h.1 > $(MANDIR)/sl2h.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/htmltoc.1 > $(MANDIR)/htmltoc.$(MANEXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebstyle.7 > $(MAN7DIR)/nowebstyle.$(MAN7EXT)
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebfilters.7 > $(MAN7DIR)/nowebfilters.$(MAN7EXT)
-- rm -f $(MANDIR)/noweave.$(MANEXT)
-- (cd $(MANDIR); ln notangle.$(MANEXT) noweave.$(MANEXT))
-- rm -f $(MANDIR)/nountangle.$(MANEXT)
-- (cd $(MANDIR); ln notangle.$(MANEXT) nountangle.$(MANEXT))
-+ mkdir -p $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/cpif.1 > $(DESTDIR)$(MANDIR)/cpif.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nodefs.1 > $(DESTDIR)$(MANDIR)/nodefs.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroots.1 > $(DESTDIR)$(MANDIR)/noroots.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noweb.1 > $(DESTDIR)$(MANDIR)/noweb.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noindex.1 > $(DESTDIR)$(MANDIR)/noindex.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nuweb2noweb.1 > $(DESTDIR)$(MANDIR)/nuweb2noweb.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/notangle.1 > $(DESTDIR)$(MANDIR)/notangle.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroff.1 > $(DESTDIR)$(MANDIR)/noroff.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/sl2h.1 > $(DESTDIR)$(MANDIR)/sl2h.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/htmltoc.1 > $(DESTDIR)$(MANDIR)/htmltoc.$(MANEXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebstyle.7 > $(DESTDIR)$(MAN7DIR)/nowebstyle.$(MAN7EXT)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebfilters.7 > $(DESTDIR)$(MAN7DIR)/nowebfilters.$(MAN7EXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/noweave.$(MANEXT)
-+ (cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT) noweave.$(MANEXT))
-+ $(RM) $(DESTDIR)$(MANDIR)/nountangle.$(MANEXT)
-+ (cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT) nountangle.$(MANEXT))
- uninstall-man:
-- rm -f $(MANDIR)/cpif.$(MANEXT)
-- rm -f $(MANDIR)/nodefs.$(MANEXT)
-- rm -f $(MANDIR)/noroots.$(MANEXT)
-- rm -f $(MANDIR)/noweb.$(MANEXT)
-- rm -f $(MANDIR)/noindex.$(MANEXT)
-- rm -f $(MANDIR)/nuweb2noweb.$(MANEXT)
-- rm -f $(MANDIR)/notangle.$(MANEXT)
-- rm -f $(MANDIR)/noroff.$(MANEXT)
-- rm -f $(MANDIR)/sl2h.$(MANEXT)
-- rm -f $(MANDIR)/htmltoc.$(MANEXT)
-- rm -f $(MAN7DIR)/nowebstyle.$(MAN7EXT)
-- rm -f $(MAN7DIR)/nowebfilters.$(MAN7EXT)
-- rm -f $(MANDIR)/noweave.$(MANEXT)
-- rm -f $(MANDIR)/nountangle.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/cpif.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/nodefs.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/noroots.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/noweb.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/noindex.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/nuweb2noweb.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/notangle.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/noroff.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/sl2h.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/htmltoc.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MAN7DIR)/nowebstyle.$(MAN7EXT)
-+ $(RM) $(DESTDIR)$(MAN7DIR)/nowebfilters.$(MAN7EXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/noweave.$(MANEXT)
-+ $(RM) $(DESTDIR)$(MANDIR)/nountangle.$(MANEXT)
- install-gzipped-man:
-- -mkdir $(MAN) $(MANDIR) $(MAN7DIR) 2>/dev/null
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/cpif.1 | gzip -9 > $(MANDIR)/cpif.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nodefs.1 | gzip -9 > $(MANDIR)/nodefs.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroots.1 | gzip -9 > $(MANDIR)/noroots.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noweb.1 | gzip -9 > $(MANDIR)/noweb.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noindex.1 | gzip -9 > $(MANDIR)/noindex.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nuweb2noweb.1 | gzip -9 > $(MANDIR)/nuweb2noweb.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/notangle.1 | gzip -9 > $(MANDIR)/notangle.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroff.1 | gzip -9 > $(MANDIR)/noroff.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/sl2h.1 | gzip -9 > $(MANDIR)/sl2h.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/htmltoc.1 | gzip -9 > $(MANDIR)/htmltoc.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebstyle.7 | gzip -9 > $(MAN7DIR)/nowebstyle.$(MAN7EXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebfilters.7 | gzip -9 > $(MAN7DIR)/nowebfilters.$(MAN7EXT).gz
-- rm -f $(MANDIR)/noweave.$(MANEXT).gz
-- (cd $(MANDIR); ln notangle.$(MANEXT).gz noweave.$(MANEXT).gz)
-- rm -f $(MANDIR)/nountangle.$(MANEXT).gz
-- (cd $(MANDIR); ln notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
-+ mkdir -p $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/cpif.1 | gzip -9 > $(DESTDIR)$(MANDIR)/cpif.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nodefs.1 | gzip -9 > $(DESTDIR)$(MANDIR)/nodefs.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroots.1 | gzip -9 > $(DESTDIR)$(MANDIR)/noroots.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noweb.1 | gzip -9 > $(DESTDIR)$(MANDIR)/noweb.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noindex.1 | gzip -9 > $(DESTDIR)$(MANDIR)/noindex.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nuweb2noweb.1 | gzip -9 > $(DESTDIR)$(MANDIR)/nuweb2noweb.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/notangle.1 | gzip -9 > $(DESTDIR)$(MANDIR)/notangle.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroff.1 | gzip -9 > $(DESTDIR)$(MANDIR)/noroff.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/sl2h.1 | gzip -9 > $(DESTDIR)$(MANDIR)/sl2h.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/htmltoc.1 | gzip -9 > $(DESTDIR)$(MANDIR)/htmltoc.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebstyle.7 | gzip -9 > $(DESTDIR)$(MAN7DIR)/nowebstyle.$(MAN7EXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebfilters.7 | gzip -9 > $(DESTDIR)$(MAN7DIR)/nowebfilters.$(MAN7EXT).gz
-+ $(RM) $(DESTDIR)$(MANDIR)/noweave.$(MANEXT).gz
-+ (cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT).gz noweave.$(MANEXT).gz)
-+ $(RM) $(DESTDIR)$(MANDIR)/nountangle.$(MANEXT).gz
-+ (cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
- install-preformat-man:
- -echo "Warning: install-preformat-man is obsolete, even on Slackware systems" 1>&2
-- -mkdir $(MAN) $(CATDIR) $(CAT7DIR) 2>/dev/null
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/cpif.txt | gzip > $(CATDIR)/cpif.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nodefs.txt | gzip > $(CATDIR)/nodefs.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroots.txt | gzip > $(CATDIR)/noroots.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noweb.txt | gzip > $(CATDIR)/noweb.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noindex.txt | gzip > $(CATDIR)/noindex.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nuweb2noweb.txt | gzip > $(CATDIR)/nuweb2noweb.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/notangle.txt | gzip > $(CATDIR)/notangle.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroff.txt | gzip > $(CATDIR)/noroff.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/sl2h.txt | gzip > $(CATDIR)/sl2h.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/htmltoc.txt | gzip > $(CATDIR)/htmltoc.$(MANEXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebstyle.txt | gzip > $(CAT7DIR)/nowebstyle.$(MAN7EXT).gz
-- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebfilters.txt | gzip > $(CAT7DIR)/nowebfilters.$(MAN7EXT).gz
-- rm -f $(CATDIR)/noweave.$(MANEXT).gz
-- (cd $(CATDIR); ln notangle.$(MANEXT).gz noweave.$(MANEXT).gz)
-- rm -f $(CATDIR)/nountangle.$(MANEXT).gz
-- (cd $(CATDIR); ln notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
-+ mkdir -p $(DESTDIR)$(CATDIR) $(DESTDIR)$(CAT7DIR)
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/cpif.txt | gzip > $(DESTDIR)$(CATDIR)/cpif.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nodefs.txt | gzip > $(DESTDIR)$(CATDIR)/nodefs.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroots.txt | gzip > $(DESTDIR)$(CATDIR)/noroots.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noweb.txt | gzip > $(DESTDIR)$(CATDIR)/noweb.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noindex.txt | gzip > $(DESTDIR)$(CATDIR)/noindex.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nuweb2noweb.txt | gzip > $(DESTDIR)$(CATDIR)/nuweb2noweb.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/notangle.txt | gzip > $(DESTDIR)$(CATDIR)/notangle.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroff.txt | gzip > $(DESTDIR)$(CATDIR)/noroff.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/sl2h.txt | gzip > $(DESTDIR)$(CATDIR)/sl2h.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/htmltoc.txt | gzip > $(DESTDIR)$(CATDIR)/htmltoc.$(MANEXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebstyle.txt | gzip > $(DESTDIR)$(CAT7DIR)/nowebstyle.$(MAN7EXT).gz
-+ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebfilters.txt | gzip > $(DESTDIR)$(CAT7DIR)/nowebfilters.$(MAN7EXT).gz
-+ $(RM) $(DESTDIR)$(CATDIR)/noweave.$(MANEXT).gz
-+ (cd $(DESTDIR)$(CATDIR) && ln -s notangle.$(MANEXT).gz noweave.$(MANEXT).gz)
-+ $(RM) $(DESTDIR)$(CATDIR)/nountangle.$(MANEXT).gz
-+ (cd $(DESTDIR)$(CATDIR) && ln -s notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
- install-tex:
-- -mkdir $(TEXINPUTS) 2>/dev/null
-- cp tex/nwmac.tex tex/noweb.sty $(TEXINPUTS)
-+ mkdir -p $(DESTDIR)$(TEXINPUTS)
-+ cp tex/nwmac.tex tex/noweb.sty $(DESTDIR)$(TEXINPUTS)
- -texhash || echo "Program texhash not found or failed"
-
- uninstall-tex:
-- rm -f $(TEXINPUTS)/nwmac.tex $(TEXINPUTS)/noweb.sty
-+ $(RM) $(DESTDIR)$(TEXINPUTS)/nwmac.tex $(DESTDIR)$(TEXINPUTS)/noweb.sty
-
- install-elisp:
-- -mkdir $(ELISP) 2>/dev/null
-- cp elisp/noweb-mode.el $(ELISP)
-+ mkdir -p $(DESTDIR)$(ELISP)
-+ cp elisp/noweb-mode.el $(DESTDIR)$(ELISP)
-
- uninstall-elisp:
-- rm -f $(ELISP)/noweb-mode.el
-+ $(RM) $(DESTDIR)$(ELISP)/noweb-mode.el
- checkin:
-- for i in lib tex xdoc; do (cd $$i; make "CINAME=$(CINAME)" "CIMSG=$(CIMSG)" checkin); done
-+ for i in lib tex xdoc; do ($(MAKE) -C $$i "CINAME=$(CINAME)" "CIMSG=$(CIMSG)" checkin); done
- for i in c icon awk; do (cd $$i; ci -l $(CINAME) $(CIMSG) *.nw Makefile); done
- (cd elisp; ci -l $(CINAME) $(CIMSG) *.el)
- ci -l $(CINAME) $(CIMSG) Makefile.nw INSTALL INSTALL.DOS README FAQ COPYRIGHT nwmake *.nw
-
- source: FAQ
-- for i in c shell lib xdoc icon awk tex; do (cd $$i; make CPIF=">" source); done
-+ for i in c shell lib xdoc icon awk tex; do ($(MAKE) -C $$i CPIF=">" source); done
- sleep 1
-- for i in c shell lib xdoc icon awk tex; do (cd $$i; make touch); done
-+ for i in c shell lib xdoc icon awk tex; do ($(MAKE) -C $$i touch); done
- touch:
- touch FAQ
-- for i in c shell lib xdoc icon awk tex; do (cd $$i; make touch); done
-+ for i in c shell lib xdoc icon awk tex; do ($(MAKE) -C $$i touch); done
- clean:
-- for i in c shell lib xdoc icon awk tex; do (cd $$i; make clean); done
-- rm -f nwsrcfilter *~ */*~
-+ for i in c shell lib xdoc icon awk tex; do ($(MAKE) -C $$i clean); done
-+ $(RM) nwsrcfilter *~ */*~
-
- clobber: clean
-- for i in c lib icon awk xdoc; do (cd $$i; make clobber); done
-+ for i in c lib icon awk xdoc; do ($(MAKE) -C $$i clobber); done
-
- Makefile: Makefile.nw
-- chmod +w Makefile
-- notangle -R'script' Makefile.nw | sh > Makefile
-- chmod -w Makefile
-+ chmod +w $@
-+ notangle -R'script' $< | sh > $@
-+ chmod -w $@
-
-diff --git a/src/Makefile.nw b/src/Makefile.nw
---- a/src/Makefile.nw
-+++ b/src/Makefile.nw
-@@ -32,7 +32,7 @@
- ELISP=/dev/null
-
- # change WEAVE if you want a different version of noweave to be installed
--WEAVE=noweave
-+WEAVE=noweave
-
- # Stop editing. No user-serviceable parts below.
- SHELL=/bin/sh
-@@ -42,46 +42,44 @@
- MAN7DIR=$(MAN)/man$(MAN7EXT)
- CATDIR=$(MAN)/cat$(MANEXT)
- CAT7DIR=$(MAN)/cat$(MAN7EXT)
--LIBNAME=$(LIB)
--TEXNAME=$(TEXINPUTS)
-
--all:
-- cd c; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" all
-- for i in shell lib xdoc tex; do (cd $$i; make all); done
-- cd $(LIBSRC); make "ICONT=$(ICONT)" "ICONC=$(ICONC)" all
-+all:
-+ $(MAKE) -C c "CC=$(CC)" "CFLAGS=$(CFLAGS)" all
-+ for i in shell lib xdoc tex; do ($(MAKE) -C $$i all); done
-+ $(MAKE) -C $(LIBSRC) "ICONT=$(ICONT)" "ICONC=$(ICONC)" all
-
- FAQ: FAQ.html
-- sleep 1; html2ascii FAQ.html > FAQ
-+ sleep 1; html2ascii $< > $@
-
- FAQ.html: $(HOME)/www/noweb/FAQ.html
-- rm -f FAQ.html
-- /bin/cp $(HOME)/www/noweb/FAQ.html FAQ.html
-- chmod -w FAQ.html
-+ $(RM) $@
-+ cp $< $@
-+ chmod -w $@
-
- install: install-code install-man install-tex install-elisp
- uninstall: uninstall-code uninstall-man uninstall-tex uninstall-elisp
-- -rmdir $(BIN) $(LIB) 2>/dev/null
-+ -rmdir $(DESTDIR)$(BIN) $(DESTDIR)$(LIB) 2>/dev/null
-
- install-shell:
-- -mkdir $(BIN) $(LIB) 2>/dev/null
-+ mkdir -p $(DESTDIR)$(BIN) $(DESTDIR)$(LIB)
- <<shell binaries>>
-- cp shell/tmac.w $(LIB)
-+ cp shell/tmac.w $(DESTDIR)$(LIB)
-
- uninstall-shell:
- <<uninstall shell binaries>>
-- rm $(LIB)/tmac.w
-+ $(RM) $(DESTDIR)$(LIB)/tmac.w
-
- install-code: install-shell
-- -mkdir $(BIN) $(LIB) 2>/dev/null
-+ mkdir -p $(DESTDIR)$(BIN) $(DESTDIR)$(LIB)
- strip c/nt c/markup c/mnt c/finduses
-- cp c/nt c/markup c/mnt c/finduses $(LIB)
-- cd $(LIBSRC); make ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) install
-- cd lib; make LIB=$(LIB) install
-+ cp c/nt c/markup c/mnt c/finduses $(DESTDIR)$(LIB)
-+ $(MAKE) -C $(LIBSRC) DESTDIR=$(DESTDIR) ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) install
-+ $(MAKE) -C lib DESTDIR=$(DESTDIR) LIB=$(LIB) install
-
- uninstall-code: uninstall-shell
-- rm $(LIB)/nt $(LIB)/markup $(LIB)/mnt $(LIB)/finduses
-- cd $(LIBSRC); make ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) uninstall
-- cd lib; make LIB=$(LIB) uninstall
-+ $(RM) $(DESTDIR)$(LIB)/nt $(DESTDIR)$(LIB)/markup $(DESTDIR)$(LIB)/mnt $(DESTDIR)$(LIB)/finduses
-+ $(MAKE) -C $(LIBSRC) DESTDIR=$(DESTDIR) ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) uninstall
-+ $(MAKE) -C lib DESTDIR=$(DESTDIR) LIB=$(LIB) uninstall
- @ I do the [[<<shell binaries>>]] before [[$(LIBSRC)]] so that the
- Icon version of [[htmltoc]], if present, will overwrite the Perl
- version.
-@@ -91,36 +89,36 @@
- noroff
- do
- echo '@<<shell binaries@>>='
-- echo 'sed "s@|LIBDIR|@$(LIBNAME)@"' "shell/$i" '> $(BIN)/'"$i"
-- echo 'chmod +x $(BIN)/'"$i"
-+ echo 'sed "s@|LIBDIR|@$(LIB)@"' "shell/$i" '> $(DESTDIR)$(BIN)/'"$i"
-+ echo 'chmod +x $(DESTDIR)$(BIN)/'"$i"
- echo '@<<uninstall shell binaries@>>='
-- echo 'rm -f $(BIN)/'"$i"
-+ echo '$(RM) $(DESTDIR)$(BIN)/'"$i"
- done
- for i in toroff
- do
- echo '@<<shell binaries@>>='
-- echo 'sed "s@|LIBDIR|@$(LIBNAME)@"' "shell/$i" '> $(LIB)/'"$i"
-- echo 'chmod +x $(LIB)/'"$i"
-+ echo 'sed "s@|LIBDIR|@$(LIB)@"' "shell/$i" '> $(DESTDIR)$(LIB)/'"$i"
-+ echo 'chmod +x $(DESTDIR)$(LIB)/'"$i"
- echo '@<<uninstall shell binaries@>>='
-- echo 'rm -f $(LIB)/'"$i"
-+ echo '$(RM) $(DESTDIR)$(LIB)/'"$i"
- done
- <<*>>=
- install-man:
-- -mkdir $(MAN) $(MANDIR) $(MAN7DIR) 2>/dev/null
-+ mkdir -p $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR)
- <<ordinary pages>>
- uninstall-man:
- <<uninstall ordinary pages>>
--@
-+@
- Slackware no longer uses preformatted compressed pages, just
- compressed pages.
- <<*>>=
- install-gzipped-man:
-- -mkdir $(MAN) $(MANDIR) $(MAN7DIR) 2>/dev/null
-+ mkdir -p $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR)
- <<compressed pages>>
- <<*>>=
- install-preformat-man:
- -echo "Warning: install-preformat-man is obsolete, even on Slackware systems" 1>&2
-- -mkdir $(MAN) $(CATDIR) $(CAT7DIR) 2>/dev/null
-+ mkdir -p $(DESTDIR)$(CATDIR) $(DESTDIR)$(CAT7DIR)
- <<preformatted compressed pages>>
- <<generate chunks>>=
- NORMALPAGES="cpif nodefs noroots noweb noindex nuweb2noweb notangle noroff sl2h htmltoc"
-@@ -130,96 +128,96 @@
-
- for i in $NORMALPAGES; do
- echo '@<<ordinary pages@>>='
-- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
-- "xdoc/$i.1" '> $(MANDIR)/'"$i"'.$(MANEXT)'
-+ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
-+ "xdoc/$i.1" '> $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT)'
- echo '@<<uninstall ordinary pages@>>='
-- echo 'rm -f $(MANDIR)/'"$i"'.$(MANEXT)'
-+ echo '$(RM) $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT)'
- done
- for i in $NORMAL7PAGES; do
- echo '@<<ordinary pages@>>='
-- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
-- "xdoc/$i.7" '> $(MAN7DIR)/'"$i"'.$(MAN7EXT)'
-+ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
-+ "xdoc/$i.7" '> $(DESTDIR)$(MAN7DIR)/'"$i"'.$(MAN7EXT)'
- echo '@<<uninstall ordinary pages@>>='
-- echo 'rm -f $(MAN7DIR)/'"$i"'.$(MAN7EXT)'
-+ echo '$(RM) $(DESTDIR)$(MAN7DIR)/'"$i"'.$(MAN7EXT)'
- done
-
- for i in $LINKPAGES; do
- echo '@<<ordinary pages@>>='
-- echo 'rm -f $(MANDIR)/'"$i"'.$(MANEXT)'
-- echo '(cd $(MANDIR); ln notangle.$(MANEXT)' "$i"'.$(MANEXT))'
-+ echo '$(RM) $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT)'
-+ echo '(cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT)' "$i"'.$(MANEXT))'
- echo '@<<uninstall ordinary pages@>>='
-- echo 'rm -f $(MANDIR)/'"$i"'.$(MANEXT)'
-+ echo '$(RM) $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT)'
- done
-
- echo '@<<compressed pages@>>='
-
- for i in $NORMALPAGES; do
-- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
-- "xdoc/$i.1" ' | gzip -9 > $(MANDIR)/'"$i"'.$(MANEXT).gz'
-+ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
-+ "xdoc/$i.1" ' | gzip -9 > $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT).gz'
- done
- for i in $NORMAL7PAGES; do
-- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
-- "xdoc/$i.7" ' | gzip -9 > $(MAN7DIR)/'"$i"'.$(MAN7EXT).gz'
-+ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
-+ "xdoc/$i.7" ' | gzip -9 > $(DESTDIR)$(MAN7DIR)/'"$i"'.$(MAN7EXT).gz'
- done
-
- for i in $LINKPAGES; do
-- echo 'rm -f $(MANDIR)/'"$i"'.$(MANEXT).gz'
-- echo '(cd $(MANDIR); ln notangle.$(MANEXT).gz' "$i"'.$(MANEXT).gz)'
-+ echo '$(RM) $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT).gz'
-+ echo '(cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT).gz' "$i"'.$(MANEXT).gz)'
- done
-
- echo '@<<preformatted compressed pages@>>='
-
- for i in $NORMALPAGES; do
-- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
-- "xdoc/$i.txt" ' | gzip > $(CATDIR)/'"$i"'.$(MANEXT).gz'
-+ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
-+ "xdoc/$i.txt" ' | gzip > $(DESTDIR)$(CATDIR)/'"$i"'.$(MANEXT).gz'
- done
- for i in $NORMAL7PAGES; do
-- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
-- "xdoc/$i.txt" ' | gzip > $(CAT7DIR)/'"$i"'.$(MAN7EXT).gz'
-+ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
-+ "xdoc/$i.txt" ' | gzip > $(DESTDIR)$(CAT7DIR)/'"$i"'.$(MAN7EXT).gz'
- done
-
- for i in $LINKPAGES; do
-- echo 'rm -f $(CATDIR)/'"$i"'.$(MANEXT).gz'
-- echo '(cd $(CATDIR); ln notangle.$(MANEXT).gz' "$i"'.$(MANEXT).gz)'
-+ echo '$(RM) $(DESTDIR)$(CATDIR)/'"$i"'.$(MANEXT).gz'
-+ echo '(cd $(DESTDIR)$(CATDIR) && ln -s notangle.$(MANEXT).gz' "$i"'.$(MANEXT).gz)'
- done
- <<*>>=
- install-tex:
-- -mkdir $(TEXINPUTS) 2>/dev/null
-- cp tex/nwmac.tex tex/noweb.sty $(TEXINPUTS)
-+ mkdir -p $(DESTDIR)$(TEXINPUTS)
-+ cp tex/nwmac.tex tex/noweb.sty $(DESTDIR)$(TEXINPUTS)
- -texhash || echo "Program texhash not found or failed"
-
- uninstall-tex:
-- rm -f $(TEXINPUTS)/nwmac.tex $(TEXINPUTS)/noweb.sty
-+ $(RM) $(DESTDIR)$(TEXINPUTS)/nwmac.tex $(DESTDIR)$(TEXINPUTS)/noweb.sty
-
- install-elisp:
-- -mkdir $(ELISP) 2>/dev/null
-- cp elisp/noweb-mode.el $(ELISP)
-+ mkdir -p $(DESTDIR)$(ELISP)
-+ cp elisp/noweb-mode.el $(DESTDIR)$(ELISP)
-
- uninstall-elisp:
-- rm -f $(ELISP)/noweb-mode.el
--@
-+ $(RM) $(DESTDIR)$(ELISP)/noweb-mode.el
-+@
- <<*>>=
- checkin:
-- for i in lib tex xdoc; do (cd $$i; make "CINAME=$(CINAME)" "CIMSG=$(CIMSG)" checkin); done
-+ for i in lib tex xdoc; do ($(MAKE) -C $$i "CINAME=$(CINAME)" "CIMSG=$(CIMSG)" checkin); done
- for i in c icon awk; do (cd $$i; ci -l $(CINAME) $(CIMSG) *.nw Makefile); done
- (cd elisp; ci -l $(CINAME) $(CIMSG) *.el)
- ci -l $(CINAME) $(CIMSG) Makefile.nw INSTALL INSTALL.DOS README FAQ COPYRIGHT nwmake *.nw
-
- source: FAQ
-- for i in c shell lib xdoc icon awk tex; do (cd $$i; make CPIF=">" source); done
-+ for i in c shell lib xdoc icon awk tex; do ($(MAKE) -C $$i CPIF=">" source); done
- sleep 1
-- for i in c shell lib xdoc icon awk tex; do (cd $$i; make touch); done
-+ for i in c shell lib xdoc icon awk tex; do ($(MAKE) -C $$i touch); done
- touch:
- touch FAQ
-- for i in c shell lib xdoc icon awk tex; do (cd $$i; make touch); done
-+ for i in c shell lib xdoc icon awk tex; do ($(MAKE) -C $$i touch); done
- clean:
-- for i in c shell lib xdoc icon awk tex; do (cd $$i; make clean); done
-- rm -f nwsrcfilter *~ */*~
-+ for i in c shell lib xdoc icon awk tex; do ($(MAKE) -C $$i clean); done
-+ $(RM) nwsrcfilter *~ */*~
-
- clobber: clean
-- for i in c lib icon awk xdoc; do (cd $$i; make clobber); done
-+ for i in c lib icon awk xdoc; do ($(MAKE) -C $$i clobber); done
-
- Makefile: Makefile.nw
-- chmod +w Makefile
-- notangle -R'script' Makefile.nw | sh > Makefile
-- chmod -w Makefile
-+ chmod +w $@
-+ notangle -R'script' $< | sh > $@
-+ chmod -w $@
-diff --git a/src/awk/Makefile b/src/awk/Makefile
---- a/src/awk/Makefile
-+++ b/src/awk/Makefile
-@@ -6,33 +6,34 @@
- SHELL=/bin/sh
-
- LIBEXECS=totex noidx tohtml
--BINEXECS=noindex
-+BINEXECS=noindex
- EXECS=$(BINEXECS) $(LIBEXECS)
-
--all: $(EXECS)
-+all: $(EXECS)
- chmod +x $(EXECS)
- sources: $(EXECS)
- touch: $(EXECS)
- touch $(EXECS)
-
- install: all
-- cp $(LIBEXECS) $(LIB)
-- cp $(BINEXECS) $(BIN)
-+ cp $(LIBEXECS) $(DESTDIR)$(LIB)
-+ cp $(BINEXECS) $(DESTDIR)$(BIN)
-
- source: $(EXECS)
-
- totex: totex.nw
-- notangle -Rtotex totex.nw > totex
-+ notangle -Rtotex $< > $@
-
- noidx: noidx.nw
-- notangle noidx.nw > noidx
-+ notangle $< > $@
-
- tohtml: tohtml.nw
-- notangle tohtml.nw > tohtml
-+ notangle $< > $@
-
--noindex: noindex.nw
-- notangle -Rnoindex noindex.nw > noindex
-+noindex: noindex.nw
-+ notangle -Rnoindex $< > $@
-
--clean: ; rm -f *.log *.blg *.dvi *.toc *.aux *.tex *~ *.html
-+clean:
-+ $(RM) *.log *.blg *.dvi *.toc *.aux *.tex *~ *.html
- clobber: clean
-- rm -f totex noidx tohtml noindex
-+ $(RM) totex noidx tohtml noindex
-diff --git a/src/c/Makefile b/src/c/Makefile
---- a/src/c/Makefile
-+++ b/src/c/Makefile
-@@ -14,15 +14,15 @@
- main.o errors.o columns.o
- MARKUPOBJS=markmain.o strsave.o markup.o errors.o getline.o columns.o
- FILES=markmain.nw markup.nw \
-- main.nw notangle.nw match.nw mnt.nw modules.nw modtrees.nw \
-- finduses.nw recognize.nw \
-- getline.nw columns.nw errors.nw strsave.nw
-+ main.nw notangle.nw match.nw mnt.nw modules.nw modtrees.nw \
-+ finduses.nw recognize.nw \
-+ getline.nw columns.nw errors.nw strsave.nw
-
- SRCS=columns.h errors.h getline.h markup.h match.h modtrees.h \
- modules.h notangle.h recognize.h strsave.h \
- columns.c errors.c getline.c finduses.c main.c markmain.c markup.c match.c \
- mnt.c modtrees.c modules.c notangle.c readme.c recognize.c strsave.c \
-- markup.ps
-+ markup.ps
- NAME='name of RCS version'
-
- NOTANGLE=notangle
-@@ -32,76 +32,76 @@
- CPIF=>
-
- .SUFFIXES: .nw .tex .dvi .h
--.nw.tex: ; noweave $*.nw >$*.tex
--.nw.c: ; $(NOTANGLE) -L $*.nw >$*.c
--.nw.o: ; $(NOTANGLE) -L $*.nw >$*.c
-- $(CC) $(CFLAGS) -c $*.c
--.nw.h: ; $(NOTANGLE) -Rheader $*.nw $(CPIF) $*.h
-+.nw.tex:
-+ noweave $*.nw >$*.tex
-+.nw.c:
-+ $(NOTANGLE) -L $*.nw >$*.c
-+.nw.o:
-+ $(NOTANGLE) -L $*.nw >$*.c
-+ $(CC) $(CFLAGS) -c $*.c
-+.nw.h:
-+ $(NOTANGLE) -Rheader $*.nw $(CPIF) $*.h
-
--all: nt markup mnt finduses
-+all: nt markup mnt finduses
-
--nt: $(TANGLEOBJS)
-- $(CC) $(CFLAGS) -o nt $(TANGLEOBJS)
-+nt: $(TANGLEOBJS)
-+ $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
-
--finduses: $(FINDUSESOBJS)
-- $(CC) $(CFLAGS) -o finduses $(FINDUSESOBJS)
-+finduses: $(FINDUSESOBJS)
-+markup: $(MARKUPOBJS)
-+mnt: $(MNTOBJS)
-
--markup: $(MARKUPOBJS)
-- $(CC) $(CFLAGS) -o markup $(MARKUPOBJS)
--
--mnt: $(MNTOBJS)
-- $(CC) $(CFLAGS) -o mnt $(MNTOBJS)
--
--source: $(SRCS)
-+source: $(SRCS)
- touch: $(SRCS)
- touch $(SRCS)
-
--clean: ; rm -f nt markup mnt finduses fakepretty
-- rm -f core *.makelog *.tex *.log *.blg *.dvi *.o *.toc *~
-- rm -f *.atac *.trace *.html
-+clean:
-+ $(RM) nt markup mnt finduses fakepretty
-+ $(RM) core *.makelog *.tex *.log *.blg *.dvi *.o *.toc *~
-+ $(RM) *.atac *.trace *.html
-
--clobber: clean
-- rm -f $(SRCS) fakepretty.c pretty.[ch]
-+clobber: clean
-+ $(RM) $(SRCS) fakepretty.c pretty.[ch]
-
--checkin: $(FILES) doc.nw
-- ci $(CINAME) $(CIMSG) -l $(FILES) doc.nw
-+checkin: $(FILES) doc.nw
-+ ci $(CINAME) $(CIMSG) -l $(FILES) doc.nw
-
--doc.tex: doc.nw
-- cp doc.nw doc.tex
-+doc.tex: doc.nw
-+ cp $< $@
-
- allcode.tex: $(FILES)
-- noweave -n -index $(FILES) > allcode.tex
-+ noweave -n -index $^ > $@
-
--doc.dvi: doc.tex allcode.tex
-- latex doc; latex doc; latex doc
-+doc.dvi: doc.tex allcode.tex
-+ latex doc
-+ latex doc
-+ latex doc
-
- doc.ps: doc.dvi
- dvips doc
-
- markup.ps: markmain.nw
-- notangle -Rmarkup.dot markmain.nw | dot -Tps > markup.ps
-+ notangle -Rmarkup.dot $< | dot -Tps > $@
-
- FPOBJS=fakepretty.o pretty.o errors.o getline.o match.o strsave.o columns.o
-
- fakepretty.o: pretty.h
-
- fakepretty: $(FPOBJS)
-- $(CC) $(CFLAGS) -o fakepretty $(FPOBJS)
-
--
--columns.o: columns.h
--errors.o: errors.h
--finduses.o: errors.h match.h getline.h recognize.h
--getline.o: columns.h errors.h getline.h
-+columns.o: columns.h
-+errors.o: errors.h
-+finduses.o: errors.h match.h getline.h recognize.h
-+getline.o: columns.h errors.h getline.h
- main.o: notangle.h errors.h columns.h modules.h modtrees.h
--markmain.o: errors.h markup.h getline.h columns.h
--markup.o: markup.h strsave.h errors.h
--match.o: match.h
--mnt.o: modules.h modtrees.h notangle.h errors.h columns.h strsave.h
--modtrees.o: strsave.h modules.h modtrees.h errors.h
--modules.o: modules.h modtrees.h errors.h columns.h strsave.h
--notangle.o: strsave.h getline.h modules.h modtrees.h errors.h match.h notangle.h
--pretty.o: getline.h match.h errors.h pretty.h strsave.h
--readme.o:
--recognize.o:
--strsave.o: strsave.h errors.h
-+markmain.o: errors.h markup.h getline.h columns.h
-+markup.o: markup.h strsave.h errors.h
-+match.o: match.h
-+mnt.o: modules.h modtrees.h notangle.h errors.h columns.h strsave.h
-+modtrees.o: strsave.h modules.h modtrees.h errors.h
-+modules.o: modules.h modtrees.h errors.h columns.h strsave.h
-+notangle.o: strsave.h getline.h modules.h modtrees.h errors.h match.h notangle.h
-+pretty.o: getline.h match.h errors.h pretty.h strsave.h
-+readme.o:
-+recognize.o:
-+strsave.o: strsave.h errors.h
-diff --git a/src/icon/Makefile b/src/icon/Makefile
---- a/src/icon/Makefile
-+++ b/src/icon/Makefile
-@@ -6,13 +6,13 @@
- CPIF=| cpif # change to ">" to insure all sources always made
-
- LIBEXECS=totex disambiguate noidx tohtml elide l2h docs2comments \
-- autodefs.tex autodefs.icon autodefs.yacc autodefs.sml autodefs.pascal \
-+ autodefs.tex autodefs.icon autodefs.yacc autodefs.sml autodefs.pascal \
- autodefs.promela autodefs.lrtl autodefs.asdl autodefs.mmix xchunks pipedocs
- LIBSPECIAL=autodefs.cee
- BINEXECS=noindex sl2h htmltoc
- EXECS=$(LIBEXECS) $(BINEXECS) $(LIBSPECIAL)
- SRCS=totex.icn disambiguate.icn noidx.icn texdefs.icn icondefs.icn \
-- yaccdefs.icn noindex.icn smldefs.icn tohtml.icn cdefs.icn elide.icn \
-+ yaccdefs.icn noindex.icn smldefs.icn tohtml.icn cdefs.icn elide.icn \
- l2h.icn sl2h.icn pascaldefs.icn promeladefs.icn lrtldefs.icn asdldefs.icn \
- mmixdefs.icn htmltoc.icn xchunks.icn
-
-@@ -32,112 +32,112 @@
- touch $(SRCS)
-
- install: $(EXECS)
-- cp $(LIBEXECS) $(LIB)
-- cp $(BINEXECS) $(BIN)
-- cp $(LIBSPECIAL) $(LIB)/autodefs.c
-+ cp $(LIBEXECS) $(DESTDIR)$(LIB)
-+ cp $(BINEXECS) $(DESTDIR)$(BIN)
-+ cp $(LIBSPECIAL) $(DESTDIR)$(LIB)/autodefs.c
-
- clean:
-- /bin/rm -f *.tex *.dvi *.aux *.log *.blg *.bbl *~ *.toc *.html *.u1 *.u2
-- /bin/rm -f *.[ch] *.ps *.gz
-- /bin/rm -f $(EXECS)
-- /bin/rm -f sl2h
-+ $(RM) *.tex *.dvi *.aux *.log *.blg *.bbl *~ *.toc *.html *.u1 *.u2
-+ $(RM) *.[ch] *.ps *.gz
-+ $(RM) $(EXECS)
-+ $(RM) sl2h
-
- clobber: clean
-- /bin/rm -f *.icn
-+ $(RM) *.icn
-
- texdefs.icn: texdefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' texdefs.nw defns.nw $(CPIF) texdefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- icondefs.icn: icondefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' icondefs.nw defns.nw $(CPIF) icondefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- yaccdefs.icn: yaccdefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' yaccdefs.nw defns.nw $(CPIF) yaccdefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- smldefs.icn: smldefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' smldefs.nw defns.nw $(CPIF) smldefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- cdefs.icn: cdefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' cdefs.nw defns.nw $(CPIF) cdefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- pascaldefs.icn: pascaldefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' pascaldefs.nw defns.nw $(CPIF) pascaldefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- promeladefs.icn: promeladefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' promeladefs.nw defns.nw $(CPIF) promeladefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- lrtldefs.icn: lrtldefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' lrtldefs.nw defns.nw $(CPIF) lrtldefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- asdldefs.icn: asdldefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' asdldefs.nw defns.nw $(CPIF) asdldefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
- mmixdefs.icn: mmixdefs.nw defns.nw
-- notangle -L'#line %-1L "%F"%N' mmixdefs.nw defns.nw $(CPIF) mmixdefs.icn
-+ notangle -L'#line %-1L "%F"%N' $^ $(CPIF) $@
-
- autodefs.tex: texdefs.icn
-- $(ICONT) -o autodefs.tex texdefs.icn
-+ $(ICONT) -o $@ $<
-
- autodefs.icon: icondefs.icn
-- $(ICONC) -o autodefs.icon icondefs.icn
-+ $(ICONC) -o $@ $<
-
- autodefs.yacc: yaccdefs.icn
-- $(ICONT) -o autodefs.yacc yaccdefs.icn
-+ $(ICONT) -o $@ $<
-
- autodefs.sml: smldefs.icn
-- $(ICONT) -o autodefs.sml smldefs.icn
-+ $(ICONT) -o $@ $<
-
- autodefs.cee: cdefs.icn
-- $(ICONT) -o autodefs.cee cdefs.icn
-+ $(ICONT) -o $@ $<
-
- autodefs.pascal: pascaldefs.icn
-- $(ICONT) -o autodefs.pascal pascaldefs.icn
-+ $(ICONT) -o $@ $<
-
- autodefs.promela: promeladefs.icn
-- $(ICONT) -o autodefs.promela promeladefs.icn
-+ $(ICONT) -o $@ $<
-
- autodefs.lrtl: lrtldefs.icn
-- $(ICONT) -o autodefs.lrtl lrtldefs.icn
-+ $(ICONT) -o $@ $<
-
- autodefs.asdl: asdldefs.icn
-- $(ICONT) -o autodefs.asdl asdldefs.icn
-+ $(ICONT) -o $@ $<
-
- autodefs.mmix: mmixdefs.icn
-- $(ICONT) -o autodefs.mmix mmixdefs.icn
-+ $(ICONT) -o $@ $<
-
- totex: totex.icn
-- $(ICONC) totex.icn
-+ $(ICONC) $<
-
- totexnr: totexnr.icn
-- $(ICONT) totexnr.icn
-+ $(ICONT) $<
-
- tohtml: tohtml.icn
-- $(ICONC) tohtml.icn
-+ $(ICONC) $<
-
- docs2comments: docs2comments.icn
-- $(ICONT) docs2comments.icn # no longer compiles with iconc
-+ $(ICONT) $< # no longer compiles with iconc
-
- xchunks: xchunks.icn
-- $(ICONT) xchunks.icn
-+ $(ICONT) $<
-
- l2h.icn: l2h.nw
-- notangle -L'#line %-1L "%F"%N' -R'l2h.icn' l2h.nw $(CPIF) l2h.icn
-+ notangle -L'#line %-1L "%F"%N' -R'l2h.icn' $< $(CPIF) $@
- l2h: l2h.icn
-- $(ICONT) -o l2h l2h.icn # no longer compiles with iconc
-+ $(ICONT) -o $@ $< # no longer compiles with iconc
-
- sl2h.icn: l2h.nw
-- notangle -L'#line %-1L "%F"%N' -R'sl2h.icn' l2h.nw $(CPIF) sl2h.icn
-+ notangle -L'#line %-1L "%F"%N' -R'sl2h.icn' $< $(CPIF) $@
- sl2h: sl2h.icn
-- $(ICONT) -o sl2h sl2h.icn # no longer compiles with iconc
-+ $(ICONT) -o $@ $< # no longer compiles with iconc
-
- noindex: noindex.icn
-- $(ICONT) noindex.icn
-+ $(ICONT) $<
-
- noidx: noidx.icn
-- $(ICONT) noidx.icn # no longer compiles with iconc
-+ $(ICONT) $< # no longer compiles with iconc
-
- elide: elide.icn
-- $(ICONT) elide.icn
-+ $(ICONT) $<
-
- pipedocs: pipedocs.icn
-- $(ICONT) pipedocs.icn
-+ $(ICONT) $<
-
- pdcached: pdcached.icn
-- $(ICONT) pdcached.icn
-+ $(ICONT) $<
-
- disambiguate: disambiguate.icn
-- $(ICONT) disambiguate.icn
-+ $(ICONT) $<
-
- htmltoc: htmltoc.icn
-- $(ICONT) htmltoc.icn
-+ $(ICONT) $<
-diff --git a/src/lib/Makefile b/src/lib/Makefile
---- a/src/lib/Makefile
-+++ b/src/lib/Makefile
-@@ -11,9 +11,9 @@
- chmod +x unmarkup emptydefn toascii nwmtime pipedocs h2a btdefn
-
- install: all
-- cp unmarkup emptydefn toascii nwmtime h2a btdefn $(LIB)
-- sed 's@|LIBDIR|@$(LIB)@g' pipedocs > $(LIB)/pipedocs
-- chmod +x $(LIB)/pipedocs
-+ cp unmarkup emptydefn toascii nwmtime h2a btdefn $(DESTDIR)$(LIB)
-+ sed 's@|LIBDIR|@$(LIB)@g' pipedocs > $(DESTDIR)$(LIB)/pipedocs
-+ chmod +x $(DESTDIR)$(LIB)/pipedocs
-
- checkin:
- ci -l $(CINAME) $(CIMSG) $(RCSFILES)
-@@ -23,8 +23,9 @@
- touch toascii
-
- toascii: toascii.nw
-- notangle -Rtoascii toascii.nw > toascii
-+ notangle -Rtoascii $< > $@
-
--clean: ; rm -f *.log *.blg *.dvi *.toc *.aux *.tex *~
-+clean:
-+ $(RM) *.log *.blg *.dvi *.toc *.aux *.tex *~
- clobber: clean
-- rm -f toascii
-+ $(RM) toascii
-diff --git a/src/shell/Makefile b/src/shell/Makefile
---- a/src/shell/Makefile
-+++ b/src/shell/Makefile
-@@ -9,25 +9,27 @@
- CINAME=
- CIMSG=
-
--all: $(SRCS)
-+all: $(SRCS)
- source: $(SRCS)
--touch: $(SRCS)
-+touch: $(SRCS)
- touch $(SRCS)
-
- checkin:
- ci -l $(CINAME) $(CIMSG) $(RCSFILES)
-
- noweave: noweave.nw
-- notangle -Rnoweave noweave.nw > noweave
-+ notangle -Rnoweave $< > $@
-
- notangle: notangle.nw
-- notangle -Rnotangle notangle.nw > notangle
-+ notangle -Rnotangle $< > $@
-
--noweb: noweb.nw
-- notangle -Rnoweb noweb.nw > noweb
-+noweb: noweb.nw
-+ notangle -Rnoweb $< > $@
-
- noroff toroff tmac.w: roff.nw
-- noweb -t roff.nw
-+ noweb -t $<
-
--clean: ; rm -f *.log *.blg *.dvi *.toc *.aux *.tex *~
--clobber: clean ; rm -f $(SRCS)
-+clean:
-+ $(RM) *.log *.blg *.dvi *.toc *.aux *.tex *~
-+clobber: clean
-+ $(RM) $(SRCS)
-diff --git a/src/tex/Makefile b/src/tex/Makefile
---- a/src/tex/Makefile
-+++ b/src/tex/Makefile
-@@ -12,14 +12,14 @@
- ci -l $(CINAME) $(CIMSG) $(RCSFILES)
-
- nwmac.tex: support.nw
-- notangle -Rnwmac.tex support.nw > nwmac.tex
-+ notangle -Rnwmac.tex $< > $@
-
- noweb.sty: support.nw
-- notangle -Rnoweb.sty support.nw > noweb.sty
-+ notangle -Rnoweb.sty $< > $@
-
- support.tex: support.nw
-- noweave -delay -x support.nw > support.tex
-+ noweave -delay -x $< > $@
-
--clean:
-- /bin/rm -f *~ *.dvi *.aux *.log *.blg *.bbl *.toc
-- /bin/rm -f support.tex
-+clean:
-+ $(RM) *~ *.dvi *.aux *.log *.blg *.bbl *.toc
-+ $(RM) support.tex
-diff --git a/src/xdoc/Makefile b/src/xdoc/Makefile
---- a/src/xdoc/Makefile
-+++ b/src/xdoc/Makefile
-@@ -1,16 +1,20 @@
- WWW=$(HOME)/www/noweb
- SHELL=/bin/sh
- .SUFFIXES: .1 .7 .txt .ps
--.1.txt: ; nroff -man $*.1 > $*.txt
--.1.ps: ; psroff -t -man $*.1 > $*.ps
--.7.txt: ; nroff -man $*.7 > $*.txt
--.7.ps: ; psroff -t -man $*.7 > $*.ps
-+.1.txt:
-+ nroff -man $*.1 > $*.txt
-+.1.ps:
-+ psroff -t -man $*.1 > $*.ps
-+.7.txt:
-+ nroff -man $*.7 > $*.txt
-+.7.ps:
-+ psroff -t -man $*.7 > $*.ps
-
- MANPAGES=notangle.1 cpif.1 noweb.1 nodefs.1 noroots.1 noindex.1 \
-- nowebstyle.7 nowebfilters.7 nuweb2noweb.1 sl2h.1 htmltoc.1 \
-+ nowebstyle.7 nowebfilters.7 nuweb2noweb.1 sl2h.1 htmltoc.1 \
- noroff.1
- TXTPAGES=notangle.txt cpif.txt noweb.txt nodefs.txt noroots.txt noindex.txt \
-- nowebstyle.txt nowebfilters.txt nuweb2noweb.txt sl2h.txt htmltoc.txt \
-+ nowebstyle.txt nowebfilters.txt nuweb2noweb.txt sl2h.txt htmltoc.txt \
- noroff.txt
- SRCS=$(MANPAGES) $(TXTPAGES)
-
-@@ -30,52 +34,52 @@
- ci -l $(CINAME) $(CIMSG) $(RCSFILES)
-
- $(WWW)/onepage.ps: onepage.ps
-- cp onepage.ps $(WWW)
-+ cp $< $@
-
- $(WWW)/guide.ps: guide.ps
-- cp guide.ps $(WWW)
-+ cp $< $@
-
- $(WWW)/guide.html: guide.html
-- cp guide.html $(WWW)
-+ cp $< $@
-
- notangle.1: manpage.nw ../shell/noweave.nw docdate.nw
-- notangle -t8 -Rnotangle.1 manpage.nw ../shell/noweave.nw docdate.nw | $(DOVERSION) > notangle.1
-+ notangle -t8 -Rnotangle.1 $^ | $(DOVERSION) > $@
-
- nowebstyle.7: manpage.nw ../tex/support.nw docdate.nw
-- notangle -t8 -Rnowebstyle.7 manpage.nw ../tex/support.nw docdate.nw | $(DOVERSION) > nowebstyle.7
-+ notangle -t8 -Rnowebstyle.7 $^ | $(DOVERSION) > $@
-
- nowebfilters.7: nowebfilters.nw docdate.nw
-- notangle -t8 nowebfilters.nw docdate.nw | $(DOVERSION) > nowebfilters.7
-+ notangle -t8 $^ | $(DOVERSION) > $@
-
- noweb.1: manpage.nw docdate.nw
-- notangle -t8 -Rnoweb.1 manpage.nw docdate.nw | $(DOVERSION) > noweb.1
-+ notangle -t8 -Rnoweb.1 $^ | $(DOVERSION) > $@
-
- nodefs.1: nodefs.nw docdate.nw
-- notangle -t8 nodefs.nw docdate.nw | $(DOVERSION) > nodefs.1
-+ notangle -t8 $^ | $(DOVERSION) > $@
-
- noroots.1: noroots.nw docdate.nw
-- notangle -t8 noroots.nw docdate.nw | $(DOVERSION) > noroots.1
-+ notangle -t8 $^ | $(DOVERSION) > $@
-
- noindex.1: noindex.nw docdate.nw
-- notangle -t8 noindex.nw docdate.nw | $(DOVERSION) > noindex.1
-+ notangle -t8 $^ | $(DOVERSION) > $@
-
- sl2h.1: sl2h.nw docdate.nw
-- notangle -t8 sl2h.nw docdate.nw | $(DOVERSION) > sl2h.1
-+ notangle -t8 $^ | $(DOVERSION) > $@
-
- htmltoc.1: htmltoc.nw docdate.nw
-- notangle -t8 htmltoc.nw docdate.nw | $(DOVERSION) > htmltoc.1
-+ notangle -t8 $^ | $(DOVERSION) > $@
-
- cpif.1: manpage.nw docdate.nw
-- notangle -t8 -Rcpif.1 manpage.nw docdate.nw | $(DOVERSION) > cpif.1
-+ notangle -t8 -Rcpif.1 $^ | $(DOVERSION) > $@
-
- nuweb2noweb.1: manpage.nw docdate.nw
-- notangle -t8 -Rnuweb2noweb.1 manpage.nw docdate.nw | $(DOVERSION) > nuweb2noweb.1
-+ notangle -t8 -Rnuweb2noweb.1 $^ | $(DOVERSION) > $@
-
- noroff.1: noroff.nw docdate.nw
-- notangle -t8 noroff.nw docdate.nw | $(DOVERSION) > noroff.1
-+ notangle -t8 $^ | $(DOVERSION) > $@
-
- wc.tex: ../../examples/wc.nw
-- (cd ../../examples; noweave -n -index wc.nw) > wc.tex
-+ (cd ../../examples; noweave -n -index wc.nw) > $@
-
- techrep.dvi: techrep.tex wc.tex
- latex '\scrollmode \input '"techrep"
-@@ -86,23 +90,23 @@
- while grep -s 'Rerun to get cross-references right' onepage.log; do latex '\scrollmode \input '"onepage"; done
-
- onepage.ps: onepage.dvi
-- dvips -P cmz -o onepage.ps onepage
-+ dvips -P cmz -o $@ onepage
-
- guide.dvi: guide.tex
- latex '\scrollmode \input '"guide"
- while grep -s 'Rerun to get cross-references right' guide.log; do latex '\scrollmode \input '"guide"; done
-
- guide.ps: guide.dvi
-- dvips -P cmz -o guide.ps guide
-+ dvips -P cmz -o $@ guide
-
- guide.uu: guide.ps
- gzip < guide.ps > guide.ps.gz
-- uuencode guide.ps.gz < guide.ps.gz > guide.uu
-+ uuencode guide.ps.gz < guide.ps.gz > $@
-
- guide.html: guide.dvi
-- sl2h guide.tex | htmltoc > guide.html
-+ sl2h guide.tex | htmltoc > $@
-
--clean: ; /bin/rm -f *.dvi *.log *.blg *~ wc.tex *.ps *.gz *.uu *.html
-+clean:
-+ $(RM) *.dvi *.log *.blg *~ wc.tex *.ps *.gz *.uu *.html
- clobber: clean
-- rm -f *.1 *.7 *.txt
--
-+ $(RM) *.1 *.7 *.txt
diff --git a/development/noweb/noweb.SlackBuild b/development/noweb/noweb.SlackBuild
index 983b479015..a974ed2fd8 100644
--- a/development/noweb/noweb.SlackBuild
+++ b/development/noweb/noweb.SlackBuild
@@ -1,40 +1,67 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for noweb
-# Written by Kyle Guinn <elyk03@gmail.com>
+
+# Copyright 2010-2024 Kyle Guinn <elyk03@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=noweb
-VERSION=${VERSION:-2.11b}
+VERSION=${VERSION:-2.13}
+SRCVER=$(echo $VERSION | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
- esac
+ 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="CHANGES COPYRIGHT DATE README examples/"
+DOCS="CHANGES COPYRIGHT LICENSE README examples/"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
@@ -42,18 +69,14 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
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 {} \;
+chmod -R u+w,go-w,a+rX-st .
-# Adds destdir support along with various other simplifications
-patch -p1 < $CWD/make_cleanup.diff
+# Adds PREFIX and DESTDIR support along with various other simplifications
+patch -p1 < $CWD/patches/make_cleanup.diff
# Postpone texhash until doinst.sh
sed -i 's/texhash/true/g' src/Makefile
@@ -61,18 +84,34 @@ sed -i 's/texhash/true/g' src/Makefile
# Does something like s/nawk/awk/ on several scripts
(cd src && ./awkname awk)
+# Fix timestamps. The general problem is that noweb's sources (and even
+# a Makefile) are written in noweb syntax and need to be "tangled" (code
+# chunks extracted to an ordinary source file) using notangle, requiring
+# a working version of noweb to already be installed. To bootstrap, the
+# tarball provides pre-tangled files that we must `touch` so that `make`
+# does not regenerate them. We assume the touched files are up-to-date,
+# which may not always be true. This script does not attempt rebuilding
+# the package to fix any such issues.
+#
+# First, prevent Makefile from regenerating itself before `make boot`.
+touch src/Makefile
+# Now `make boot` should touch the remaining files needed to bootstrap.
+# Beware, this may touch files not provided in the tarball (typically
+# documentation), creating empty files that will not be properly
+# generated later. Before version 2.13, this included the man pages.
+make -C src boot
+
make -j1 -C src all install \
- ICONC="icont" \
- LIBSRC="icon" \
- BIN="/usr/bin" \
- LIB="/usr/libexec/$PRGNAM" \
- MAN="/usr/man" \
- TEXINPUTS="/usr/share/texmf-local/tex/latex/$PRGNAM" \
- ELISP="/usr/share/emacs/site-lisp" \
- CFLAGS="$SLKCFLAGS -DTEMPNAM" \
- DESTDIR="$PKG"
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+ ICONC="icont" \
+ LIBSRC="icon" \
+ PREFIX="/usr" \
+ MAN="/usr/man" \
+ TEXINPUTS="/usr/share/texmf-local/tex/latex/$PRGNAM" \
+ ELISP="/usr/share/emacs/site-lisp" \
+ CFLAGS="$SLKCFLAGS" \
+ 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
@@ -84,4 +123,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/noweb/noweb.info b/development/noweb/noweb.info
index 6a410783c8..5167063fef 100644
--- a/development/noweb/noweb.info
+++ b/development/noweb/noweb.info
@@ -1,8 +1,8 @@
PRGNAM="noweb"
-VERSION="2.11b"
-HOMEPAGE="http://www.cs.tufts.edu/~nr/noweb/"
-DOWNLOAD="ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz"
-MD5SUM="1df580723497b2f2efde07646abf764c"
+VERSION="2.13"
+HOMEPAGE="https://www.cs.tufts.edu/~nr/noweb/"
+DOWNLOAD="https://github.com/nrnrnr/noweb/archive/v2_13/noweb-2_13.tar.gz"
+MD5SUM="66cb386801305c64699cf4af73cb0eaf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="icon"
diff --git a/development/noweb/patches/make_cleanup.diff b/development/noweb/patches/make_cleanup.diff
new file mode 100644
index 0000000000..157361d5e8
--- /dev/null
+++ b/development/noweb/patches/make_cleanup.diff
@@ -0,0 +1,733 @@
+diff --git a/contrib/Makefile b/contrib/Makefile
+--- a/contrib/Makefile
++++ b/contrib/Makefile
+@@ -7,7 +7,7 @@
+ all:
+ for i in $(DIRS); do (cd $$i && $(MAKE) $@); done
+ install:
+- for i in $(DIRS); do (cd $$i && $(MAKE) LIB=$(LIB) $@); done
++ for i in $(DIRS); do (cd $$i && $(MAKE) LIB=$(LIB) BIN=$(BIN) $@); done
+ source:
+ for i in $(DIRS); do (cd $$i && $(MAKE) $@); done
+ clean:
+diff --git a/contrib/conrado/Makefile b/contrib/conrado/Makefile
+--- a/contrib/conrado/Makefile
++++ b/contrib/conrado/Makefile
+@@ -6,8 +6,8 @@
+
+ all: d2tex
+ source: d2tex
+-install:
+- cp d2tex $(LIB)/dijkstra.filter
++install: all
++ cp d2tex $(DESTDIR)$(LIB)/dijkstra.filter
+
+ # TeX files.
+ hospital.tex: hospital.nw d2tex
+diff --git a/contrib/jobling/Makefile b/contrib/jobling/Makefile
+--- a/contrib/jobling/Makefile
++++ b/contrib/jobling/Makefile
+@@ -1,3 +1,5 @@
++BIN=/dev/null # to be overridden
++LIB=/dev/null # to be overridden
+ PROG=correct-refs
+ SCRIPTS=list-anchors.awk awk-scripts.awk
+
+@@ -17,8 +19,8 @@
+ notangle -R$@ correct-refs.nw | cpif $@
+
+ install: correct-refs.csh $(SCRIPTS)
+- cp correct-refs.csh $(HOME)/bin
+- cp $(SCRIPTS) $(HOME)/lib
++ cp correct-refs.csh $(DESTDIR)$(BIN)
++ cp $(SCRIPTS) $(DESTDIR)$(LIB)
+
+ tidy:
+ rm -f *~ *% *.bak *.log *.blg
+diff --git a/contrib/jonkrom/Makefile b/contrib/jonkrom/Makefile
+--- a/contrib/jonkrom/Makefile
++++ b/contrib/jonkrom/Makefile
+@@ -2,8 +2,8 @@
+ SHELL=/bin/sh
+ all: noxref.krom
+
+-install:
+- cp noxref.krom $(LIB)
++install: all
++ cp noxref.krom $(DESTDIR)$(LIB)
+
+ source: noxref.krom
+
+diff --git a/contrib/kostas/Makefile b/contrib/kostas/Makefile
+--- a/contrib/kostas/Makefile
++++ b/contrib/kostas/Makefile
+@@ -1,6 +1,6 @@
+ # Only works with Gnu make.
+
+-LIB=/opt/noweb/lib
++LIB=/dev/null # to be overridden
+ ICONC=icont
+ # This is supposed to be the defns.nw file in the icon directory of the distribution.
+ defns=defns.nw
+@@ -13,9 +13,9 @@
+ all: C.filter C++.filter icon.filter oot.filter math.filter \
+ autodefs.oot autodefs.math
+
+-install:
+- mv *.filter $(LIB)
+- mv autodefs.* $(LIB)
++install: all
++ cp *.filter $(DESTDIR)$(LIB)
++ cp autodefs.* $(DESTDIR)$(LIB)
+
+
+ # TeX files.
+diff --git a/contrib/norman/Makefile b/contrib/norman/Makefile
+--- a/contrib/norman/Makefile
++++ b/contrib/norman/Makefile
+@@ -4,7 +4,7 @@
+ all:
+ for i in $(DIRS); do (cd $$i && $(MAKE) $@); done
+ install:
+- for i in $(DIRS); do (cd $$i && $(MAKE) LIB=$(LIB) $@); done
++ for i in $(DIRS); do (cd $$i && $(MAKE) LIB=$(LIB) BIN=$(BIN) $@); done
+ source:
+ for i in $(DIRS); do (cd $$i && $(MAKE) $@); done
+ clean:
+diff --git a/contrib/norman/numarkup/Makefile b/contrib/norman/numarkup/Makefile
+--- a/contrib/norman/numarkup/Makefile
++++ b/contrib/norman/numarkup/Makefile
+@@ -15,11 +15,9 @@
+ noweb -t numarkup.nw
+ $(MAKE) $(TARGET)
+
+-install:
+- noweb -t numarkup.nw
+- $(MAKE) $(TARGET)
++install: all
+ strip $(TARGET)
+- cp $(TARGET) $(LIB)
++ cp $(TARGET) $(DESTDIR)$(LIB)
+
+ source: main.c pass1.c latex.c input.c scraps.c names.c arena.c global.c
+
+diff --git a/contrib/ydirson/Makefile b/contrib/ydirson/Makefile
+--- a/contrib/ydirson/Makefile
++++ b/contrib/ydirson/Makefile
+@@ -8,4 +8,4 @@
+ clean:
+
+ install:
+- cp -p $(FILTERS) $(LIB)
++ cp -p $(FILTERS) $(DESTDIR)$(LIB)
+diff --git a/src/Makefile b/src/Makefile
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -19,12 +19,13 @@
+ # MAN7EXT is the extension for the nowebstyle man page (usually 7)
+ # TEXINPUTS is the directory for TeX macro files
+ # ELISP is the directory for emacs lisp files, or /dev/null not to install
+-BIN=/usr/local/noweb
+-LIB=/usr/local/noweb/lib
+-MAN=/usr/local/noweb/man
++PREFIX=/usr/local
++BIN=$(PREFIX)/bin
++LIB=$(PREFIX)/libexec/noweb
++MAN=$(PREFIX)/share/man
+ MANEXT=1
+ MAN7EXT=7
+-TEXINPUTS=/usr/local/tex/inputs
++TEXINPUTS=$(PREFIX)/tex/inputs
+ ELISP=/dev/null
+
+ # change WEAVE if you want a different version of noweave to be installed
+@@ -38,8 +39,6 @@
+ MAN7DIR=$(MAN)/man$(MAN7EXT)
+ CATDIR=$(MAN)/cat$(MANEXT)
+ CAT7DIR=$(MAN)/cat$(MAN7EXT)
+-LIBNAME=$(LIB)
+-TEXNAME=$(TEXINPUTS)
+
+ all:
+ (cd c && $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" $@)
+@@ -56,145 +55,144 @@
+
+ install: install-code install-man install-tex install-elisp
+ uninstall: uninstall-code uninstall-man uninstall-tex uninstall-elisp
+- rmdir $(BIN) $(LIB) 2>/dev/null || true
++ rmdir $(DESTDIR)$(BIN) $(DESTDIR)$(LIB) 2>/dev/null || true
+
+ install-shell:
+- mkdir -p $(BIN) $(LIB)
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/noweb > $(BIN)/noweb
+- chmod +x $(BIN)/noweb
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/notangle > $(BIN)/notangle
+- chmod +x $(BIN)/notangle
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/$(WEAVE) > $(BIN)/$(WEAVE)
+- chmod +x $(BIN)/$(WEAVE)
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/nountangle > $(BIN)/nountangle
+- chmod +x $(BIN)/nountangle
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/nodefs > $(BIN)/nodefs
+- chmod +x $(BIN)/nodefs
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/noroots > $(BIN)/noroots
+- chmod +x $(BIN)/noroots
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/nuweb2noweb > $(BIN)/nuweb2noweb
+- chmod +x $(BIN)/nuweb2noweb
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/cpif > $(BIN)/cpif
+- chmod +x $(BIN)/cpif
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/htmltoc > $(BIN)/htmltoc
+- chmod +x $(BIN)/htmltoc
+- sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@" shell/noroff > $(BIN)/noroff
+- chmod +x $(BIN)/noroff
+- sed "s@|LIBDIR|@$(LIBNAME)@" shell/toroff > $(LIB)/toroff
+- chmod +x $(LIB)/toroff
+- cp shell/tmac.w $(LIB)
++ mkdir -p $(DESTDIR)$(BIN) $(DESTDIR)$(LIB)
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/noweb > $(DESTDIR)$(BIN)/noweb
++ chmod +x $(DESTDIR)$(BIN)/noweb
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/notangle > $(DESTDIR)$(BIN)/notangle
++ chmod +x $(DESTDIR)$(BIN)/notangle
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/$(WEAVE) > $(DESTDIR)$(BIN)/$(WEAVE)
++ chmod +x $(DESTDIR)$(BIN)/$(WEAVE)
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/nountangle > $(DESTDIR)$(BIN)/nountangle
++ chmod +x $(DESTDIR)$(BIN)/nountangle
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/nodefs > $(DESTDIR)$(BIN)/nodefs
++ chmod +x $(DESTDIR)$(BIN)/nodefs
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/noroots > $(DESTDIR)$(BIN)/noroots
++ chmod +x $(DESTDIR)$(BIN)/noroots
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/nuweb2noweb > $(DESTDIR)$(BIN)/nuweb2noweb
++ chmod +x $(DESTDIR)$(BIN)/nuweb2noweb
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/cpif > $(DESTDIR)$(BIN)/cpif
++ chmod +x $(DESTDIR)$(BIN)/cpif
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/htmltoc > $(DESTDIR)$(BIN)/htmltoc
++ chmod +x $(DESTDIR)$(BIN)/htmltoc
++ sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@" shell/noroff > $(DESTDIR)$(BIN)/noroff
++ chmod +x $(DESTDIR)$(BIN)/noroff
++ sed "s@|LIBDIR|@$(LIB)@" shell/toroff > $(DESTDIR)$(LIB)/toroff
++ chmod +x $(DESTDIR)$(LIB)/toroff
++ cp shell/tmac.w $(DESTDIR)$(LIB)
+
+ uninstall-shell:
+- rm -f $(BIN)/noweb
+- rm -f $(BIN)/notangle
+- rm -f $(BIN)/$(WEAVE)
+- rm -f $(BIN)/nountangle
+- rm -f $(BIN)/nodefs
+- rm -f $(BIN)/noroots
+- rm -f $(BIN)/nuweb2noweb
+- rm -f $(BIN)/cpif
+- rm -f $(BIN)/htmltoc
+- rm -f $(BIN)/noroff
+- rm -f $(LIB)/toroff
+- rm -f $(LIB)/tmac.w
++ rm -f $(DESTDIR)$(BIN)/noweb
++ rm -f $(DESTDIR)$(BIN)/notangle
++ rm -f $(DESTDIR)$(BIN)/$(WEAVE)
++ rm -f $(DESTDIR)$(BIN)/nountangle
++ rm -f $(DESTDIR)$(BIN)/nodefs
++ rm -f $(DESTDIR)$(BIN)/noroots
++ rm -f $(DESTDIR)$(BIN)/nuweb2noweb
++ rm -f $(DESTDIR)$(BIN)/cpif
++ rm -f $(DESTDIR)$(BIN)/htmltoc
++ rm -f $(DESTDIR)$(BIN)/noroff
++ rm -f $(DESTDIR)$(LIB)/toroff
++ rm -f $(DESTDIR)$(LIB)/tmac.w
+
+ install-code: install-shell
+- mkdir -p $(BIN) $(LIB)
++ mkdir -p $(DESTDIR)$(BIN) $(DESTDIR)$(LIB)
+ strip c/nt c/markup c/mnt c/finduses c/nwmktemp
+- cp c/nt c/markup c/mnt c/finduses c/nwmktemp $(LIB)
++ cp c/nt c/markup c/mnt c/finduses c/nwmktemp $(DESTDIR)$(LIB)
+ (cd $(LIBSRC) && $(MAKE) "ICONT=$(ICONT)" "ICONC=$(ICONC)" LIB=$(LIB) BIN=$(BIN) install)
+ (cd lib && $(MAKE) LIB=$(LIB) install)
+
+ uninstall-code: uninstall-shell
+- rm -f $(LIB)/nt $(LIB)/markup $(LIB)/mnt $(LIB)/finduses
++ rm -f $(DESTDIR)$(LIB)/nt $(DESTDIR)$(LIB)/markup $(DESTDIR)$(LIB)/mnt $(DESTDIR)$(LIB)/finduses $(DESTDIR)$(LIB)/nwmktemp
+ (cd $(LIBSRC) && $(MAKE) "ICONT=$(ICONT)" "ICONC=$(ICONC)" LIB=$(LIB) BIN=$(BIN) uninstall)
+ (cd lib && $(MAKE) LIB=$(LIB) uninstall)
+ install-man:
+- mkdir -p $(MANDIR) $(MAN7DIR)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/cpif.1 > $(MANDIR)/cpif.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nodefs.1 > $(MANDIR)/nodefs.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroots.1 > $(MANDIR)/noroots.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noweb.1 > $(MANDIR)/noweb.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noindex.1 > $(MANDIR)/noindex.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nuweb2noweb.1 > $(MANDIR)/nuweb2noweb.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/notangle.1 > $(MANDIR)/notangle.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroff.1 > $(MANDIR)/noroff.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/sl2h.1 > $(MANDIR)/sl2h.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/htmltoc.1 > $(MANDIR)/htmltoc.$(MANEXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebstyle.7 > $(MAN7DIR)/nowebstyle.$(MAN7EXT)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebfilters.7 > $(MAN7DIR)/nowebfilters.$(MAN7EXT)
+- rm -f $(MANDIR)/noweave.$(MANEXT)
+- (cd $(MANDIR) && ln notangle.$(MANEXT) noweave.$(MANEXT))
+- rm -f $(MANDIR)/nountangle.$(MANEXT)
+- (cd $(MANDIR) && ln notangle.$(MANEXT) nountangle.$(MANEXT))
++ mkdir -p $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/cpif.1 > $(DESTDIR)$(MANDIR)/cpif.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nodefs.1 > $(DESTDIR)$(MANDIR)/nodefs.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroots.1 > $(DESTDIR)$(MANDIR)/noroots.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noweb.1 > $(DESTDIR)$(MANDIR)/noweb.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noindex.1 > $(DESTDIR)$(MANDIR)/noindex.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nuweb2noweb.1 > $(DESTDIR)$(MANDIR)/nuweb2noweb.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/notangle.1 > $(DESTDIR)$(MANDIR)/notangle.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroff.1 > $(DESTDIR)$(MANDIR)/noroff.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/sl2h.1 > $(DESTDIR)$(MANDIR)/sl2h.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/htmltoc.1 > $(DESTDIR)$(MANDIR)/htmltoc.$(MANEXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebstyle.7 > $(DESTDIR)$(MAN7DIR)/nowebstyle.$(MAN7EXT)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebfilters.7 > $(DESTDIR)$(MAN7DIR)/nowebfilters.$(MAN7EXT)
++ rm -f $(DESTDIR)$(MANDIR)/noweave.$(MANEXT)
++ (cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT) noweave.$(MANEXT))
++ rm -f $(DESTDIR)$(MANDIR)/nountangle.$(MANEXT)
++ (cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT) nountangle.$(MANEXT))
+ uninstall-man:
+- rm -f $(MANDIR)/cpif.$(MANEXT)
+- rm -f $(MANDIR)/nodefs.$(MANEXT)
+- rm -f $(MANDIR)/noroots.$(MANEXT)
+- rm -f $(MANDIR)/noweb.$(MANEXT)
+- rm -f $(MANDIR)/noindex.$(MANEXT)
+- rm -f $(MANDIR)/nuweb2noweb.$(MANEXT)
+- rm -f $(MANDIR)/notangle.$(MANEXT)
+- rm -f $(MANDIR)/noroff.$(MANEXT)
+- rm -f $(MANDIR)/sl2h.$(MANEXT)
+- rm -f $(MANDIR)/htmltoc.$(MANEXT)
+- rm -f $(MAN7DIR)/nowebstyle.$(MAN7EXT)
+- rm -f $(MAN7DIR)/nowebfilters.$(MAN7EXT)
+- rm -f $(MANDIR)/noweave.$(MANEXT)
+- rm -f $(MANDIR)/nountangle.$(MANEXT)
+- rmdir $(MANDIR) $(MAN7DIR) $(MAN) 2>/dev/null || true
++ rm -f $(DESTDIR)$(MANDIR)/cpif.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/nodefs.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/noroots.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/noweb.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/noindex.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/nuweb2noweb.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/notangle.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/noroff.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/sl2h.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/htmltoc.$(MANEXT)
++ rm -f $(DESTDIR)$(MAN7DIR)/nowebstyle.$(MAN7EXT)
++ rm -f $(DESTDIR)$(MAN7DIR)/nowebfilters.$(MAN7EXT)
++ rm -f $(DESTDIR)$(MANDIR)/noweave.$(MANEXT)
++ rm -f $(DESTDIR)$(MANDIR)/nountangle.$(MANEXT)
++ rmdir $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR) $(DESTDIR)$(MAN) 2>/dev/null || true
+ install-gzipped-man:
+- mkdir -p $(MANDIR) $(MAN7DIR)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/cpif.1 | gzip -9 > $(MANDIR)/cpif.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nodefs.1 | gzip -9 > $(MANDIR)/nodefs.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroots.1 | gzip -9 > $(MANDIR)/noroots.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noweb.1 | gzip -9 > $(MANDIR)/noweb.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noindex.1 | gzip -9 > $(MANDIR)/noindex.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nuweb2noweb.1 | gzip -9 > $(MANDIR)/nuweb2noweb.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/notangle.1 | gzip -9 > $(MANDIR)/notangle.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroff.1 | gzip -9 > $(MANDIR)/noroff.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/sl2h.1 | gzip -9 > $(MANDIR)/sl2h.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/htmltoc.1 | gzip -9 > $(MANDIR)/htmltoc.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebstyle.7 | gzip -9 > $(MAN7DIR)/nowebstyle.$(MAN7EXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebfilters.7 | gzip -9 > $(MAN7DIR)/nowebfilters.$(MAN7EXT).gz
+- rm -f $(MANDIR)/noweave.$(MANEXT).gz
+- (cd $(MANDIR) && ln notangle.$(MANEXT).gz noweave.$(MANEXT).gz)
+- rm -f $(MANDIR)/nountangle.$(MANEXT).gz
+- (cd $(MANDIR) && ln notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
++ mkdir -p $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/cpif.1 | gzip -9 > $(DESTDIR)$(MANDIR)/cpif.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nodefs.1 | gzip -9 > $(DESTDIR)$(MANDIR)/nodefs.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroots.1 | gzip -9 > $(DESTDIR)$(MANDIR)/noroots.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noweb.1 | gzip -9 > $(DESTDIR)$(MANDIR)/noweb.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noindex.1 | gzip -9 > $(DESTDIR)$(MANDIR)/noindex.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nuweb2noweb.1 | gzip -9 > $(DESTDIR)$(MANDIR)/nuweb2noweb.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/notangle.1 | gzip -9 > $(DESTDIR)$(MANDIR)/notangle.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroff.1 | gzip -9 > $(DESTDIR)$(MANDIR)/noroff.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/sl2h.1 | gzip -9 > $(DESTDIR)$(MANDIR)/sl2h.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/htmltoc.1 | gzip -9 > $(DESTDIR)$(MANDIR)/htmltoc.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebstyle.7 | gzip -9 > $(DESTDIR)$(MAN7DIR)/nowebstyle.$(MAN7EXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebfilters.7 | gzip -9 > $(DESTDIR)$(MAN7DIR)/nowebfilters.$(MAN7EXT).gz
++ rm -f $(DESTDIR)$(MANDIR)/noweave.$(MANEXT).gz
++ (cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT).gz noweave.$(MANEXT).gz)
++ rm -f $(DESTDIR)$(MANDIR)/nountangle.$(MANEXT).gz
++ (cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
+ install-preformat-man:
+ -echo "Warning: install-preformat-man is obsolete, even on Slackware systems" 1>&2
+- mkdir -p $(CATDIR) $(CAT7DIR)
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/cpif.txt | gzip > $(CATDIR)/cpif.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nodefs.txt | gzip > $(CATDIR)/nodefs.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroots.txt | gzip > $(CATDIR)/noroots.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noweb.txt | gzip > $(CATDIR)/noweb.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noindex.txt | gzip > $(CATDIR)/noindex.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nuweb2noweb.txt | gzip > $(CATDIR)/nuweb2noweb.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/notangle.txt | gzip > $(CATDIR)/notangle.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/noroff.txt | gzip > $(CATDIR)/noroff.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/sl2h.txt | gzip > $(CATDIR)/sl2h.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/htmltoc.txt | gzip > $(CATDIR)/htmltoc.$(MANEXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebstyle.txt | gzip > $(CAT7DIR)/nowebstyle.$(MAN7EXT).gz
+- sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebfilters.txt | gzip > $(CAT7DIR)/nowebfilters.$(MAN7EXT).gz
+- rm -f $(CATDIR)/noweave.$(MANEXT).gz
+- (cd $(CATDIR) && ln notangle.$(MANEXT).gz noweave.$(MANEXT).gz)
+- rm -f $(CATDIR)/nountangle.$(MANEXT).gz
+- (cd $(CATDIR) && ln notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
++ mkdir -p $(DESTDIR)$(CATDIR) $(DESTDIR)$(CAT7DIR)
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/cpif.txt | gzip > $(DESTDIR)$(CATDIR)/cpif.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nodefs.txt | gzip > $(DESTDIR)$(CATDIR)/nodefs.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroots.txt | gzip > $(DESTDIR)$(CATDIR)/noroots.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noweb.txt | gzip > $(DESTDIR)$(CATDIR)/noweb.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noindex.txt | gzip > $(DESTDIR)$(CATDIR)/noindex.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nuweb2noweb.txt | gzip > $(DESTDIR)$(CATDIR)/nuweb2noweb.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/notangle.txt | gzip > $(DESTDIR)$(CATDIR)/notangle.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/noroff.txt | gzip > $(DESTDIR)$(CATDIR)/noroff.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/sl2h.txt | gzip > $(DESTDIR)$(CATDIR)/sl2h.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/htmltoc.txt | gzip > $(DESTDIR)$(CATDIR)/htmltoc.$(MANEXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebstyle.txt | gzip > $(DESTDIR)$(CAT7DIR)/nowebstyle.$(MAN7EXT).gz
++ sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@" xdoc/nowebfilters.txt | gzip > $(DESTDIR)$(CAT7DIR)/nowebfilters.$(MAN7EXT).gz
++ rm -f $(DESTDIR)$(CATDIR)/noweave.$(MANEXT).gz
++ (cd $(DESTDIR)$(CATDIR) && ln -s notangle.$(MANEXT).gz noweave.$(MANEXT).gz)
++ rm -f $(DESTDIR)$(CATDIR)/nountangle.$(MANEXT).gz
++ (cd $(DESTDIR)$(CATDIR) && ln -s notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
+ install-tex:
+- mkdir -p $(TEXINPUTS)
+- sed "s@|GITVERSION|@$(GITVERSION)@" tex/nwmac.tex > $(TEXINPUTS)/nwmac.tex
+- sed "s@|GITVERSION|@$(GITVERSION)@" tex/noweb.sty > $(TEXINPUTS)/noweb.sty
++ mkdir -p $(DESTDIR)$(TEXINPUTS)
++ sed "s@|GITVERSION|@$(GITVERSION)@" tex/nwmac.tex > $(DESTDIR)$(TEXINPUTS)/nwmac.tex
++ sed "s@|GITVERSION|@$(GITVERSION)@" tex/noweb.sty > $(DESTDIR)$(TEXINPUTS)/noweb.sty
+ -texhash || echo "Program texhash not found or failed"
+
+ uninstall-tex:
+- rm -f $(TEXINPUTS)/nwmac.tex
+- rm -f $(TEXINPUTS)/noweb.sty
++ rm -f $(DESTDIR)$(TEXINPUTS)/nwmac.tex
++ rm -f $(DESTDIR)$(TEXINPUTS)/noweb.sty
+ install-elisp:
+- if [ "/dev/null" != "$(ELISP)" ]; then mkdir -p $(ELISP); fi
+- cp elisp/noweb-mode.el $(ELISP)
++ if [ "/dev/null" != "$(ELISP)" ]; then mkdir -p $(DESTDIR)$(ELISP) && cp elisp/noweb-mode.el $(DESTDIR)$(ELISP); fi
+
+ uninstall-elisp:
+- rm -f $(ELISP)/noweb-mode.el
++ if [ "/dev/null" != "$(ELISP)" ]; then rm -f $(DESTDIR)$(ELISP)/noweb-mode.el; fi
+ source: FAQ
+ for i in c shell lib xdoc icon awk tex; do (cd $$i && $(MAKE) CPIF=">" $@); done
+ sleep 1
+diff --git a/src/Makefile.nw b/src/Makefile.nw
+--- a/src/Makefile.nw
++++ b/src/Makefile.nw
+@@ -24,12 +24,13 @@
+ # MAN7EXT is the extension for the nowebstyle man page (usually 7)
+ # TEXINPUTS is the directory for TeX macro files
+ # ELISP is the directory for emacs lisp files, or /dev/null not to install
+-BIN=/usr/local/noweb
+-LIB=/usr/local/noweb/lib
+-MAN=/usr/local/noweb/man
++PREFIX=/usr/local
++BIN=$(PREFIX)/bin
++LIB=$(PREFIX)/libexec/noweb
++MAN=$(PREFIX)/share/man
+ MANEXT=1
+ MAN7EXT=7
+-TEXINPUTS=/usr/local/tex/inputs
++TEXINPUTS=$(PREFIX)/tex/inputs
+ ELISP=/dev/null
+
+ # change WEAVE if you want a different version of noweave to be installed
+@@ -43,8 +44,6 @@
+ MAN7DIR=$(MAN)/man$(MAN7EXT)
+ CATDIR=$(MAN)/cat$(MANEXT)
+ CAT7DIR=$(MAN)/cat$(MAN7EXT)
+-LIBNAME=$(LIB)
+-TEXNAME=$(TEXINPUTS)
+
+ all:
+ (cd c && $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" $@)
+@@ -61,26 +60,26 @@
+
+ install: install-code install-man install-tex install-elisp
+ uninstall: uninstall-code uninstall-man uninstall-tex uninstall-elisp
+- rmdir $(BIN) $(LIB) 2>/dev/null || true
++ rmdir $(DESTDIR)$(BIN) $(DESTDIR)$(LIB) 2>/dev/null || true
+
+ install-shell:
+- mkdir -p $(BIN) $(LIB)
++ mkdir -p $(DESTDIR)$(BIN) $(DESTDIR)$(LIB)
+ <<shell binaries>>
+- cp shell/tmac.w $(LIB)
++ cp shell/tmac.w $(DESTDIR)$(LIB)
+
+ uninstall-shell:
+ <<uninstall shell binaries>>
+- rm -f $(LIB)/tmac.w
++ rm -f $(DESTDIR)$(LIB)/tmac.w
+
+ install-code: install-shell
+- mkdir -p $(BIN) $(LIB)
++ mkdir -p $(DESTDIR)$(BIN) $(DESTDIR)$(LIB)
+ strip c/nt c/markup c/mnt c/finduses c/nwmktemp
+- cp c/nt c/markup c/mnt c/finduses c/nwmktemp $(LIB)
++ cp c/nt c/markup c/mnt c/finduses c/nwmktemp $(DESTDIR)$(LIB)
+ (cd $(LIBSRC) && $(MAKE) "ICONT=$(ICONT)" "ICONC=$(ICONC)" LIB=$(LIB) BIN=$(BIN) install)
+ (cd lib && $(MAKE) LIB=$(LIB) install)
+
+ uninstall-code: uninstall-shell
+- rm -f $(LIB)/nt $(LIB)/markup $(LIB)/mnt $(LIB)/finduses
++ rm -f $(DESTDIR)$(LIB)/nt $(DESTDIR)$(LIB)/markup $(DESTDIR)$(LIB)/mnt $(DESTDIR)$(LIB)/finduses $(DESTDIR)$(LIB)/nwmktemp
+ (cd $(LIBSRC) && $(MAKE) "ICONT=$(ICONT)" "ICONC=$(ICONC)" LIB=$(LIB) BIN=$(BIN) uninstall)
+ (cd lib && $(MAKE) LIB=$(LIB) uninstall)
+ @ I do the [[<<shell binaries>>]] before [[$(LIBSRC)]] so that the
+@@ -92,37 +91,37 @@
+ noroff
+ do
+ echo '@<<shell binaries@>>='
+- echo 'sed "s@|LIBDIR|@$(LIBNAME)@;s@|GITVERSION|@$(GITVERSION)@"' "shell/$i" '> $(BIN)/'"$i"
+- echo 'chmod +x $(BIN)/'"$i"
++ echo 'sed "s@|LIBDIR|@$(LIB)@;s@|GITVERSION|@$(GITVERSION)@"' "shell/$i" '> $(DESTDIR)$(BIN)/'"$i"
++ echo 'chmod +x $(DESTDIR)$(BIN)/'"$i"
+ echo '@<<uninstall shell binaries@>>='
+- echo 'rm -f $(BIN)/'"$i"
++ echo 'rm -f $(DESTDIR)$(BIN)/'"$i"
+ done
+ for i in toroff
+ do
+ echo '@<<shell binaries@>>='
+- echo 'sed "s@|LIBDIR|@$(LIBNAME)@"' "shell/$i" '> $(LIB)/'"$i"
+- echo 'chmod +x $(LIB)/'"$i"
++ echo 'sed "s@|LIBDIR|@$(LIB)@"' "shell/$i" '> $(DESTDIR)$(LIB)/'"$i"
++ echo 'chmod +x $(DESTDIR)$(LIB)/'"$i"
+ echo '@<<uninstall shell binaries@>>='
+- echo 'rm -f $(LIB)/'"$i"
++ echo 'rm -f $(DESTDIR)$(LIB)/'"$i"
+ done
+ <<*>>=
+ install-man:
+- mkdir -p $(MANDIR) $(MAN7DIR)
++ mkdir -p $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR)
+ <<ordinary pages>>
+ uninstall-man:
+ <<uninstall ordinary pages>>
+- rmdir $(MANDIR) $(MAN7DIR) $(MAN) 2>/dev/null || true
++ rmdir $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR) $(DESTDIR)$(MAN) 2>/dev/null || true
+ @
+ Slackware no longer uses preformatted compressed pages, just
+ compressed pages.
+ <<*>>=
+ install-gzipped-man:
+- mkdir -p $(MANDIR) $(MAN7DIR)
++ mkdir -p $(DESTDIR)$(MANDIR) $(DESTDIR)$(MAN7DIR)
+ <<compressed pages>>
+ <<*>>=
+ install-preformat-man:
+ -echo "Warning: install-preformat-man is obsolete, even on Slackware systems" 1>&2
+- mkdir -p $(CATDIR) $(CAT7DIR)
++ mkdir -p $(DESTDIR)$(CATDIR) $(DESTDIR)$(CAT7DIR)
+ <<preformatted compressed pages>>
+ <<generate chunks>>=
+ NORMALPAGES="cpif nodefs noroots noweb noindex nuweb2noweb notangle noroff sl2h htmltoc"
+@@ -132,61 +131,61 @@
+
+ for i in $NORMALPAGES; do
+ echo '@<<ordinary pages@>>='
+- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
+- "xdoc/$i.1" '> $(MANDIR)/'"$i"'.$(MANEXT)'
++ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
++ "xdoc/$i.1" '> $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT)'
+ echo '@<<uninstall ordinary pages@>>='
+- echo 'rm -f $(MANDIR)/'"$i"'.$(MANEXT)'
++ echo 'rm -f $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT)'
+ done
+ for i in $NORMAL7PAGES; do
+ echo '@<<ordinary pages@>>='
+- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
+- "xdoc/$i.7" '> $(MAN7DIR)/'"$i"'.$(MAN7EXT)'
++ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
++ "xdoc/$i.7" '> $(DESTDIR)$(MAN7DIR)/'"$i"'.$(MAN7EXT)'
+ echo '@<<uninstall ordinary pages@>>='
+- echo 'rm -f $(MAN7DIR)/'"$i"'.$(MAN7EXT)'
++ echo 'rm -f $(DESTDIR)$(MAN7DIR)/'"$i"'.$(MAN7EXT)'
+ done
+
+ for i in $LINKPAGES; do
+ echo '@<<ordinary pages@>>='
+- echo 'rm -f $(MANDIR)/'"$i"'.$(MANEXT)'
+- echo '(cd $(MANDIR) && ln notangle.$(MANEXT)' "$i"'.$(MANEXT))'
++ echo 'rm -f $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT)'
++ echo '(cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT)' "$i"'.$(MANEXT))'
+ echo '@<<uninstall ordinary pages@>>='
+- echo 'rm -f $(MANDIR)/'"$i"'.$(MANEXT)'
++ echo 'rm -f $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT)'
+ done
+
+ echo '@<<compressed pages@>>='
+
+ for i in $NORMALPAGES; do
+- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
+- "xdoc/$i.1" ' | gzip -9 > $(MANDIR)/'"$i"'.$(MANEXT).gz'
++ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
++ "xdoc/$i.1" ' | gzip -9 > $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT).gz'
+ done
+ for i in $NORMAL7PAGES; do
+- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
+- "xdoc/$i.7" ' | gzip -9 > $(MAN7DIR)/'"$i"'.$(MAN7EXT).gz'
++ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
++ "xdoc/$i.7" ' | gzip -9 > $(DESTDIR)$(MAN7DIR)/'"$i"'.$(MAN7EXT).gz'
+ done
+
+ for i in $LINKPAGES; do
+- echo 'rm -f $(MANDIR)/'"$i"'.$(MANEXT).gz'
+- echo '(cd $(MANDIR) && ln notangle.$(MANEXT).gz' "$i"'.$(MANEXT).gz)'
++ echo 'rm -f $(DESTDIR)$(MANDIR)/'"$i"'.$(MANEXT).gz'
++ echo '(cd $(DESTDIR)$(MANDIR) && ln -s notangle.$(MANEXT).gz' "$i"'.$(MANEXT).gz)'
+ done
+
+ echo '@<<preformatted compressed pages@>>='
+
+ for i in $NORMALPAGES; do
+- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
+- "xdoc/$i.txt" ' | gzip > $(CATDIR)/'"$i"'.$(MANEXT).gz'
++ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
++ "xdoc/$i.txt" ' | gzip > $(DESTDIR)$(CATDIR)/'"$i"'.$(MANEXT).gz'
+ done
+ for i in $NORMAL7PAGES; do
+- echo 'sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@"' \
+- "xdoc/$i.txt" ' | gzip > $(CAT7DIR)/'"$i"'.$(MAN7EXT).gz'
++ echo 'sed -e "s@|LIBDIR|@$(LIB)@" -e "s@|TEXINPUTS|@$(TEXINPUTS)@"' \
++ "xdoc/$i.txt" ' | gzip > $(DESTDIR)$(CAT7DIR)/'"$i"'.$(MAN7EXT).gz'
+ done
+
+ for i in $LINKPAGES; do
+- echo 'rm -f $(CATDIR)/'"$i"'.$(MANEXT).gz'
+- echo '(cd $(CATDIR) && ln notangle.$(MANEXT).gz' "$i"'.$(MANEXT).gz)'
++ echo 'rm -f $(DESTDIR)$(CATDIR)/'"$i"'.$(MANEXT).gz'
++ echo '(cd $(DESTDIR)$(CATDIR) && ln -s notangle.$(MANEXT).gz' "$i"'.$(MANEXT).gz)'
+ done
+ <<*>>=
+ install-tex:
+- mkdir -p $(TEXINPUTS)
++ mkdir -p $(DESTDIR)$(TEXINPUTS)
+ <<tex installation>>
+ -texhash || echo "Program texhash not found or failed"
+
+@@ -196,17 +195,16 @@
+ for i in nwmac.tex noweb.sty
+ do
+ echo '@<<tex installation@>>='
+- echo 'sed "s@|GITVERSION|@$(GITVERSION)@"' "tex/$i" '> $(TEXINPUTS)/'"$i"
++ echo 'sed "s@|GITVERSION|@$(GITVERSION)@"' "tex/$i" '> $(DESTDIR)$(TEXINPUTS)/'"$i"
+ echo '@<<tex uninstallation@>>='
+- echo 'rm -f $(TEXINPUTS)/'"$i"
++ echo 'rm -f $(DESTDIR)$(TEXINPUTS)/'"$i"
+ done
+ <<*>>=
+ install-elisp:
+- if [ "/dev/null" != "$(ELISP)" ]; then mkdir -p $(ELISP); fi
+- cp elisp/noweb-mode.el $(ELISP)
++ if [ "/dev/null" != "$(ELISP)" ]; then mkdir -p $(DESTDIR)$(ELISP) && cp elisp/noweb-mode.el $(DESTDIR)$(ELISP); fi
+
+ uninstall-elisp:
+- rm -f $(ELISP)/noweb-mode.el
++ if [ "/dev/null" != "$(ELISP)" ]; then rm -f $(DESTDIR)$(ELISP)/noweb-mode.el; fi
+ @
+ <<*>>=
+ source: FAQ
+diff --git a/src/awk/Makefile b/src/awk/Makefile
+--- a/src/awk/Makefile
++++ b/src/awk/Makefile
+@@ -19,13 +19,13 @@
+ touch $(EXECS)
+
+ install: all
+- cp $(LIBEXECSBARE) $(LIB)
+- for i in $(LIBEXECSDEP); do sed "s@|LIBDIR|@$(LIB)@" "$$i" > $(LIB)/"$$i"; chmod +x $(LIB)/$$i; done
+- cp $(BINEXECS) $(BIN)
++ cp $(LIBEXECSBARE) $(DESTDIR)$(LIB)
++ for i in $(LIBEXECSDEP); do sed "s@|LIBDIR|@$(LIB)@" "$$i" > $(DESTDIR)$(LIB)/"$$i"; chmod +x $(DESTDIR)$(LIB)/$$i; done
++ cp $(BINEXECS) $(DESTDIR)$(BIN)
+
+ uninstall:
+- for i in $(LIBEXECS); do rm -f $(LIB)/$$i; done
+- for i in $(BINEXECS); do rm -f $(BIN)/$$i; done
++ for i in $(LIBEXECS); do rm -f $(DESTDIR)$(LIB)/$$i; done
++ for i in $(BINEXECS); do rm -f $(DESTDIR)$(BIN)/$$i; done
+
+ source: $(EXECS)
+
+diff --git a/src/icon/Makefile b/src/icon/Makefile
+--- a/src/icon/Makefile
++++ b/src/icon/Makefile
+@@ -34,15 +34,15 @@
+ boot:
+ touch $(SRCS)
+
+-install: $(EXECS)
+- cp $(LIBEXECS) $(LIB)
+- cp $(BINEXECS) $(BIN)
+- cp $(LIBSPECIAL) $(LIB)/autodefs.c
++install: all
++ cp $(LIBEXECS) $(DESTDIR)$(LIB)
++ cp $(BINEXECS) $(DESTDIR)$(BIN)
++ cp $(LIBSPECIAL) $(DESTDIR)$(LIB)/autodefs.c
+
+ uninstall:
+- for i in $(LIBEXECS); do rm -f $(LIB)/$$i; done
+- for i in $(BINEXECS); do rm -f $(BIN)/$$i; done
+- rm -f $(LIB)/autodefs.c
++ for i in $(LIBEXECS); do rm -f $(DESTDIR)$(LIB)/$$i; done
++ for i in $(BINEXECS); do rm -f $(DESTDIR)$(BIN)/$$i; done
++ rm -f $(DESTDIR)$(LIB)/autodefs.c
+
+ clean:
+ rm -f *.tex *.dvi *.aux *.log *.blg *.bbl *~ *.toc *.html *.u1 *.u2
+diff --git a/src/lib/Makefile b/src/lib/Makefile
+--- a/src/lib/Makefile
++++ b/src/lib/Makefile
+@@ -11,15 +11,14 @@
+ chmod +x unmarkup emptydefn toascii nwmtime pipedocs h2a btdefn
+
+ install: all
+- cp unmarkup emptydefn nwmtime btdefn $(LIB)
+- sed 's@|LIBDIR|@$(LIB)@g' pipedocs > $(LIB)/pipedocs
+- sed 's@|LIBDIR|@$(LIB)@g' toascii > $(LIB)/toascii
+- sed 's@|LIBDIR|@$(LIB)@g' h2a > $(LIB)/h2a
+- chmod +x $(LIB)/pipedocs $(LIB)/toascii $(LIB)/h2a
++ cp unmarkup emptydefn nwmtime btdefn $(DESTDIR)$(LIB)
++ sed 's@|LIBDIR|@$(LIB)@g' pipedocs > $(DESTDIR)$(LIB)/pipedocs
++ sed 's@|LIBDIR|@$(LIB)@g' toascii > $(DESTDIR)$(LIB)/toascii
++ sed 's@|LIBDIR|@$(LIB)@g' h2a > $(DESTDIR)$(LIB)/h2a
++ chmod +x $(DESTDIR)$(LIB)/pipedocs $(DESTDIR)$(LIB)/toascii $(DESTDIR)$(LIB)/h2a
+
+ uninstall:
+- for i in unmarkup emptydefn toascii nwmtime h2a btdefn; do rm -f $(LIB)/$$i; done
+- rm -f $(LIB)/pipedocs
++ for i in unmarkup emptydefn toascii nwmtime pipedocs h2a btdefn; do rm -f $(DESTDIR)$(LIB)/$$i; done
+
+ source: toascii
+ touch: toascii
+diff --git a/src/shell/Makefile b/src/shell/Makefile
+--- a/src/shell/Makefile
++++ b/src/shell/Makefile
+@@ -1,7 +1,6 @@
+ # Copyright 1993 by Norman Ramsey. All rights reserved.
+ # See file COPYRIGHT for more information.
+ SHELL=/bin/sh
+-LIB=/usr/public/pkg/noweb/lib
+
+ EXEC=noweave noweb notangle noroff toroff
+ SRCS=$(EXEC) tmac.w
+diff --git a/src/xdoc/Makefile b/src/xdoc/Makefile
+--- a/src/xdoc/Makefile
++++ b/src/xdoc/Makefile
+@@ -33,13 +33,13 @@
+ www: $(WWW)/onepage.ps $(WWW)/guide.ps $(WWW)/guide.html
+
+ $(WWW)/onepage.ps: onepage.ps
+- cp onepage.ps $(WWW)
++ cp onepage.ps $@
+
+ $(WWW)/guide.ps: guide.ps
+- cp guide.ps $(WWW)
++ cp guide.ps $@
+
+ $(WWW)/guide.html: guide.html
+- cp guide.html $(WWW)
++ cp guide.html $@
+
+ notangle.1: manpage.nw ../shell/noweave.nw docdate.nw
+ notangle -t8 -R$@ manpage.nw ../shell/noweave.nw docdate.nw | $(DOVERSION) > $@
diff --git a/development/npm2tgz/npm2tgz.SlackBuild b/development/npm2tgz/npm2tgz.SlackBuild
index 5bbccda2f7..cff1403d5a 100644
--- a/development/npm2tgz/npm2tgz.SlackBuild
+++ b/development/npm2tgz/npm2tgz.SlackBuild
@@ -1,17 +1,24 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for npm2tgz
# Written by Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=npm2tgz
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+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}
@@ -24,7 +31,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-chown -R root.root .
+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 \
@@ -42,4 +49,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/npm2tgz/npm2tgz.info b/development/npm2tgz/npm2tgz.info
index f12641a57e..a393d481ec 100644
--- a/development/npm2tgz/npm2tgz.info
+++ b/development/npm2tgz/npm2tgz.info
@@ -1,8 +1,8 @@
PRGNAM="npm2tgz"
-VERSION="1.3.5"
-HOMEPAGE="https://github.com/cycojesus/npm2tgz"
-DOWNLOAD="https://github.com/cycojesus/npm2tgz/archive/1.3.5/npm2tgz-1.3.5.tar.gz"
-MD5SUM="a89b659eae1190f62717c21211e6833e"
+VERSION="1.3.6"
+HOMEPAGE="https://github.com/gwenhael-le-moine/npm2tgz"
+DOWNLOAD="https://github.com/gwenhael-le-moine/npm2tgz/archive/1.3.6/npm2tgz-1.3.6.tar.gz"
+MD5SUM="933ddb500eb234056ce69d8a5bed8675"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nodejs"
diff --git a/development/npm2tgz/slack-desc b/development/npm2tgz/slack-desc
index a3bbecc7d1..0145604190 100644
--- a/development/npm2tgz/slack-desc
+++ b/development/npm2tgz/slack-desc
@@ -15,5 +15,5 @@ npm2tgz:
npm2tgz:
npm2tgz:
npm2tgz:
-npm2tgz: https://github.com/cycojesus/npm2tgz
+npm2tgz: http://github.com/gwenhael-le-moine/npm2tgz
npm2tgz:
diff --git a/development/nsis/README b/development/nsis/README
deleted file mode 100644
index ffdbfd5de9..0000000000
--- a/development/nsis/README
+++ /dev/null
@@ -1,6 +0,0 @@
-NSIS (Nullsoft Scriptable Install System) is a professional open source
-system to create Windows installers. It is designed to be as small
-and flexible as possible and is therefore very suitable for internet
-distribution.
-
-NOTE: This won't build on x86_64.
diff --git a/development/nsis/nsis-fix-compile.patch b/development/nsis/nsis-fix-compile.patch
deleted file mode 100644
index 62e9e43c5d..0000000000
--- a/development/nsis/nsis-fix-compile.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- nsis-2.46-src/Source/script.cpp.orig 2012-09-19 07:37:04.579646966 +0700
-+++ nsis-2.46-src/Source/script.cpp 2012-09-19 07:37:34.676226671 +0700
-@@ -16,6 +16,7 @@
-
- #include "Platform.h"
- #include <stdio.h>
-+#include <unistd.h>
- #include <ctype.h>
- #include "tokens.h"
- #include "build.h"
diff --git a/development/nsis/nsis.SlackBuild b/development/nsis/nsis.SlackBuild
deleted file mode 100644
index 23d88bd12d..0000000000
--- a/development/nsis/nsis.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for nsis
-
-# Copyright 2008-2009 Martinus Ady H <mrt.itnewbies@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=nsis
-VERSION=${VERSION:-2.46}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 $TMP/$PRGNAM-$VERSION-src $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
-cd $PRGNAM-$VERSION-src
-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 {} \;
-
-# Extract the zip package and fix perms if needed
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-unzip $CWD/$PRGNAM-$VERSION.zip -d $PKG/usr/lib${LIBDIRSUFFIX}
-chown -R root:root $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-chmod -R u+w,go+r-w,a-s $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-
-patch -p1 < $CWD/nsis-fix-compile.patch
-
-# PREFIX=$PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION search located zip extracted dir.
-# *makensis* will be placed in $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
-scons \
- SKIPSTUBS=all \
- SKIPPLUGINS=all \
- SKIPUTILS=all \
- SKIPMISC=all \
- NSIS_CONFIG_CONST_DATA_PATH=no \
- PREFIX=$PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION \
- install-compiler
-
-# Creating symlink for executable makensis
-mkdir -p $PKG/usr/bin
-( cd $PKG/usr/bin ; ln -sf ../lib${LIBDIRSUFFIX}/nsis-2.46/makensis makensis )
-
-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 \
- SConstruct ChangeLog INSTALL COPYING TODO.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:-tgz}
diff --git a/development/nsis/nsis.info b/development/nsis/nsis.info
deleted file mode 100644
index be70d842ff..0000000000
--- a/development/nsis/nsis.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="nsis"
-VERSION="2.46"
-HOMEPAGE="http://nsis.sourceforge.net/Main_Page"
-DOWNLOAD="http://downloads.sourceforge.net/nsis/nsis-2.46-src.tar.bz2 \
- http://downloads.sourceforge.net/nsis/nsis-2.46.zip"
-MD5SUM="61c2e81739436b06d7cf7bcce1d533ac \
- d7e43beabc017a7d892a3d6663e988d4"
-DOWNLOAD_x86_64="UNSUPPORTED"
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Martinus Ady H"
-EMAIL="mrt.itnewbies@gmail.com"
diff --git a/development/nsis/slack-desc b/development/nsis/slack-desc
deleted file mode 100644
index 6fe72784b2..0000000000
--- a/development/nsis/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------------------------------------------------------|
-nsis: nsis (Nullsoft Scriptable Install System)
-nsis:
-nsis: NSIS (Nullsoft Scriptable Install System) is a professional open
-nsis: source system to create Windows installers. It is designed to be as
-nsis: small and flexible as possible and is therefore very suitable for
-nsis: internet distribution.
-nsis:
-nsis: Homepage: http://nsis.sourceforge.net/
-nsis:
-nsis:
-nsis:
diff --git a/development/nuget/README b/development/nuget/README
deleted file mode 100644
index d8f446acdf..0000000000
--- a/development/nuget/README
+++ /dev/null
@@ -1,3 +0,0 @@
-NuGet is the package manager for the Microsoft development
-platform including .NET. The NuGet client tools provide
-the ability to produce and consume packages.
diff --git a/development/nuget/nuget.SlackBuild b/development/nuget/nuget.SlackBuild
deleted file mode 100644
index 0034ac5829..0000000000
--- a/development/nuget/nuget.SlackBuild
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for NuGet Package Management
-
-# Copyright 2015, Andre Barboza, Belo Horizonte
-# 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.
-
-PRGNAM=nuget
-VERSION=${VERSION:-3.5.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-
-mkdir -p ${PKG}/usr/share/NuGet.PackageManagement/
-install -m 0644 ${CWD}/nuget.exe ${PKG}/usr/share/NuGet.PackageManagement/
-
-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}/usr/bin
-cat <<EOF > ${PKG}/usr/bin/nuget
-#!/bin/bash
-mono /usr/share/NuGet.PackageManagement/nuget.exe \$*
-EOF
-chmod 755 ${PKG}/usr/bin/nuget
-
-mkdir -p $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:-tgz}
-
diff --git a/development/nuget/nuget.info b/development/nuget/nuget.info
deleted file mode 100644
index fef007b164..0000000000
--- a/development/nuget/nuget.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="nuget"
-VERSION="3.5.0"
-HOMEPAGE="https://www.nuget.org/"
-DOWNLOAD="https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe"
-MD5SUM="406324e1744923a530a3f45b8e4fe1eb"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="mono"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/nuget/slack-desc b/development/nuget/slack-desc
deleted file mode 100644
index 6e1a0543f9..0000000000
--- a/development/nuget/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------------------------------------------------------|
-nuget: nuget (Package manager for the Microsoft development)
-nuget:
-nuget: NuGet is the package manager for the Microsoft development platform
-nuget: including .NET. The NuGet client tools provide the ability to
-nuget: produce and consume packages.
-nuget:
-nuget:
-nuget:
-nuget:
-nuget: https://www.nuget.org/
-nuget:
diff --git a/development/numpy-legacy/numpy-legacy.SlackBuild b/development/numpy-legacy/numpy-legacy.SlackBuild
index 82a1687f81..a96eb39643 100644
--- a/development/numpy-legacy/numpy-legacy.SlackBuild
+++ b/development/numpy-legacy/numpy-legacy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for the latest version of NumPy to include
# the compatibility layer with numeric and numarray
@@ -42,10 +42,13 @@
# Added the possibility to force numpy to link to different kinds of the
# ATLAS library (S. Udrea)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="numpy-legacy"
VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
TARBALL_NAME=numpy # This is actually what we are going to install
@@ -71,9 +74,16 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
+# 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=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -160,4 +170,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/numpy-legacy3/README b/development/numpy-legacy3/README
deleted file mode 100644
index c13af7d039..0000000000
--- a/development/numpy-legacy3/README
+++ /dev/null
@@ -1,39 +0,0 @@
-NumPy is a general-purpose array-processing package designed to
-efficiently manipulate large multi-dimensional arrays of arbitrary
-records without sacrificing too much speed for small multi-dimensional
-arrays. NumPy is built on the Numeric code base and adds features
-introduced by numarray as well as an extended C-API and the ability to
-create arrays of arbitrary type which also makes NumPy suitable for
-interfacing with general-purpose data-base applications.
-
-There are also basic facilities for discrete fourier transform, basic
-linear algebra and random number generation.
-
-If you need to build numpy for debugging, set DEBUG=y. If you use
-software which is having problems with numpy's new relaxed strides
-checking, set NPY_RSC=0.
-
-It is highly recommended to install libraries implementing BLAS and
-LAPACK before installing numpy. You may choose between:
- a) BLAS and LAPACK (reference but unoptimized and thus slow)
- b) OpenBLAS (optimized, provides LAPACK too)
- c) ATLAS and LAPACK (optimized), good to read README.ATLAS
-All these are available on SlackBuilds.org.
-
-If you want to use the UMFPACK library instead of SuperLU to solve
-unsymmetric sparse linear systems, then run this Slackbuild with
-NO_UMFPACK set to "no" and then install scikit-umfpack on top of
-scipy. In this context, UMFPACK is an optional dependency for
-numpy. Nevertheless, note that presently scikit-umfpack is not
-available on SlackBuilds.org while its dependencies are.
-
-NOTE: If you use this SlackBuild numpy will run with the python 3
- version installed on your system. If you'd like to use python
- 2.7.xx as provided by Slackware Linux then you have to install
- it with the numpy-legacy SlackBuild.
-
-IMPORTANT: This version, 1.8.2, is the latest to include the oldnumeric
- and numarray compatibility modules. Starting with version
- 1.9.0 these modules got removed by the numpy developers.
- THUS: This SlackBuild conflicts with the numpy3 SlackBuild
- which installs versions >= 1.9.0!
diff --git a/development/numpy-legacy3/README.ATLAS b/development/numpy-legacy3/README.ATLAS
deleted file mode 100644
index 7aef7709a6..0000000000
--- a/development/numpy-legacy3/README.ATLAS
+++ /dev/null
@@ -1,13 +0,0 @@
-The numpy v. 1.8.2 is not able to autodetect the shared libraries created by
-newer versions of ATLAS. Thus if one lets ATLAS create these libraries, she
-has to tell numpy about them.
-
-By default the numpy-legacy script forces numpy to look for the shared, threaded
-ATLAS libraries. If you want to change this behaviour you have the following
-possibilities:
-
-a) Set ATLAS_SHARED to "no". In this case numpy will just look for the
- apropriate static libraries.
-b) Set ATLAS_THREADS to "no". In this case numpy will be forced to look for
- the single threaded ATLAS libraries, static or shared depending on the
- value of ATLAS_SHARED. Otherwise it will look for the threaded ones.
diff --git a/development/numpy-legacy3/numpy-legacy3.SlackBuild b/development/numpy-legacy3/numpy-legacy3.SlackBuild
deleted file mode 100644
index fdbe01d39f..0000000000
--- a/development/numpy-legacy3/numpy-legacy3.SlackBuild
+++ /dev/null
@@ -1,164 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for the latest version of NumPy to include
-# the compatibility layer with numeric and numarray. This is supposed
-# to be build with python 3. Tested up to python 3.5.2
-
-# Copyright 2016 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.
-
-# Written by Aleksandar Samardzic <asamardzic@gmail.com>
-# Updated up to 1.11.1 by Serban Udrea <S.Udrea@gsi.de>
-#
-# Added support for building with debugging symbols (S. Udrea)
-#
-# LIBDIRSUFFIX is now needed to set the proper path for
-# UMFPACK (S. Udrea)
-#
-# Since UMFPACK is not used anymore by scipy but by the optional package
-# scikit-umfpack, the configuration of this and the corresponding AMD library
-# is now optional. One has to set NO_UMFPACK to "no" to create the apropriate
-# configuration file before building numpy. (S. Udrea)
-#
-# Added support for newer versions of ATLAS (3.10.x) (S. Udrea)
-#
-# Added the possibility to force numpy to link to different kinds of the
-# ATLAS library (S. Udrea)
-
-PRGNAM="numpy-legacy3"
-VERSION=${VERSION:-1.8.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-TARBALL_NAME="numpy" # This is actually what we are going to install
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $TARBALL_NAME-$VERSION
-tar xvf $CWD/$TARBALL_NAME-$VERSION.tar.gz
-cd $TARBALL_NAME-$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 {} \;
-
-# Tell numpy about the new names of the ATLAS shared libraries. This doesn't
-# force compilation against ATLAS, just makes sure that numpy does not link
-# against the static libraries, in case ATLAS is chosen.
-#
-ATLAS_SHARED="${ATLAS_SHARED:-yes}"
-ATLAS_SHARED=$(echo "$ATLAS_SHARED"|cut -b 1|tr a-z A-Z)
-ATLAS_THREADS="${ATLAS_THREADS:-yes}"
-ATLAS_THREADS=$(echo "$ATLAS_THREADS"|cut -b 1|tr a-z A-Z)
-
-if [ "$ATLAS_SHARED" = "Y" ]; then
- if [ "$ATLAS_THREADS" = "Y" ]; then
- echo -e "[atlas]\natlas_libs = tatlas" >> site.cfg
- echo -e "lapack_libs = tatlas\nlapack_atlas = tatlas\n" >> site.cfg
- else
- echo -e "[atlas]\natlas_libs = satlas" >> site.cfg
- echo -e "lapack_libs = satlas\nlapack_atlas = satlas\n" >> site.cfg
- fi
-else
- if [ "$ATLAS_THREADS" = "Y" ]; then
- echo -e "[atlas]\natlas_libs = ptf77blas,ptcblas,atlas" >> site.cfg
- echo -e "lapack_libs = ptlapack\nlapack_atlas = ptlapack\n" >> site.cfg
- else
- echo -e "[atlas]\natlas_libs = f77blas,cblas,atlas" >> site.cfg
- echo -e "lapack_libs = lapack\nlapack_atlas = lapack\n" >> site.cfg
- fi
-fi
-
-NO_UMFPACK=${NO_UMFPACK:-yes}
-case "$NO_UMFPACK" in
- [yY]|[yY][eE][sS]) NO_UMFPACK="y" ;;
- *) NO_UMFPACK="" ;;
-esac
-
-if [ ! "$NO_UMFPACK" ]; then
- echo -e "[amd]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
- echo -e "include_dirs = /usr/include/amd\namd_libs = amd\n" >> site.cfg
- echo -e "[umfpack]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
- echo -e "include_dirs = /usr/include/umfpack\numfpack_libs = umfpack\n" \
- >> site.cfg
-fi
-
-DEBUG=${DEBUG:-no}
-
-case "$DEBUG" in
- [yY]|[yY][eE][sS]) DEBUG="y" ;;
- *) DEBUG="" ;;
-esac
-
-if [ ! "$DEBUG" ]; then
- NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 setup.py install --root $PKG
-
- find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-else
- NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 setup.py build --debug
- python3 setup.py install --root $PKG
-fi
-
-mkdir -p $PKG/usr/doc/$TARBALL_NAME-$VERSION
-cp -a COMPATIBILITY DEV_README.txt LICENSE.txt README.txt THANKS.txt\
- $PKG/usr/doc/$TARBALL_NAME-$VERSION
-cat $CWD/${PRGNAM}.SlackBuild > \
-$PKG/usr/doc/$TARBALL_NAME-$VERSION/${PRGNAM}.SlackBuild
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
-
-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:-tgz}
diff --git a/development/numpy-legacy3/numpy-legacy3.info b/development/numpy-legacy3/numpy-legacy3.info
deleted file mode 100644
index 1f3ed82b2c..0000000000
--- a/development/numpy-legacy3/numpy-legacy3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="numpy-legacy3"
-VERSION="1.8.2"
-HOMEPAGE="http://www.numpy.org/"
-DOWNLOAD="http://download.sourceforge.net/project/numpy/NumPy/1.8.2/numpy-1.8.2.tar.gz"
-MD5SUM="dd8eece8f6fda3a13836de4adbafb0cb"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Serban Udrea"
-EMAIL="S.Udrea@gsi.de"
diff --git a/development/numpy-legacy3/slack-desc b/development/numpy-legacy3/slack-desc
deleted file mode 100644
index 5830523559..0000000000
--- a/development/numpy-legacy3/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------------------------------------------------------|
-numpy-legacy3: numpy-legacy3 (a Python extension for scientific computing)
-numpy-legacy3:
-numpy-legacy3: NumPy is an extension to the Python programming language, adding
-numpy-legacy3: support for large, multi-dimensional arrays and matrices along
-numpy-legacy3: with a large library of high-level mathematical functions to
-numpy-legacy3: operate on these arrays.
-numpy-legacy3: This package installs the last version of NumPy known to offer the
-numpy-legacy3: compatibility layer with its predecessors numeric and numarray.
-numpy-legacy3:
-numpy-legacy3: Homepage: http://www.numpy.org/
-numpy-legacy3:
diff --git a/development/numpy/README b/development/numpy/README
deleted file mode 100644
index 4c367a1508..0000000000
--- a/development/numpy/README
+++ /dev/null
@@ -1,41 +0,0 @@
-NumPy is a general-purpose array-processing package designed to
-efficiently manipulate large multi-dimensional arrays of arbitrary
-records without sacrificing too much speed for small multi-dimensional
-arrays. NumPy is built on the Numeric code base and adds features
-introduced by numarray as well as an extended C-API and the ability
-to create arrays of arbitrary type which also makes NumPy suitable for
-interfacing with general-purpose data-base applications.
-
-There are also basic facilities for discrete fourier transform, basic
-linear algebra and random number generation.
-
-If you need to build numpy for debugging, set DEBUG=y. If you use
-software which is having problems with numpy's new relaxed strides
-checking, set NPY_RSC=0.
-
-It is highly recommended to install libraries implementing BLAS and
-LAPACK before installing numpy. You may choose between:
- a) blas and lapack (reference but unoptimized and thus slow)
- b) OpenBLAS (optimized, provides LAPACK too)
- c) atlas and lapack (optimized), good to read README.ATLAS
-All these are available on SlackBuilds.org.
-
-If you want to use the UMFPACK library instead of SuperLU to solve
-unsymmetric sparse linear systems, then run this Slackbuild with
-NO_UMFPACK set to "no" and then install scikit-umfpack on top of
-scipy. In this context, umfpack is an optional dependency for
-numpy. Nevertheless, note that presently scikit-umfpack is not
-available on SlackBuilds.org.
-
-NOTE: If you use this SlackBuild, numpy will run with the python version
- provided by Slackware Linux, which is presently 2.7.xx. If
- you'd like to use python 3.x then you have to install the numpy3
- SlackBuild.
-
-IMPORTANT: The version installed by this SlackBuild does NOT include the
- oldnumeric and numarray compatibility modules since
- starting with version 1.9.0 these modules got removed by
- the numpy developers. If you need these compatibility
- modules please consider the numpy-legacy SlackBuild.
- THUS: This SlackBuild conflicts with the numpy-legacy
- SlackBuild which installs versions < 1.9.0!
diff --git a/development/numpy/numpy.SlackBuild b/development/numpy/numpy.SlackBuild
deleted file mode 100644
index 2e7d81354b..0000000000
--- a/development/numpy/numpy.SlackBuild
+++ /dev/null
@@ -1,153 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for NumPy
-
-# Copyright 2011-2018 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.
-
-# Written by Aleksandar Samardzic <asamardzic@gmail.com>
-# Updated up to 1.14.3 by Serban Udrea <S.Udrea@gsi.de>
-#
-# Added support for building with debugging symbols (S. Udrea)
-#
-# LIBDIRSUFFIX is now needed to set the proper path for
-# UMFPACK (S. Udrea)
-#
-# Since UMFPACK is not used anymore by scipy but by the optional package
-# scikit-umfpack, the configuration of this and the corresponding AMD library
-# is now optional. One has to set NO_UMFPACK to "no" to create the apropriate
-# configuration file before building numpy. (S. Udrea)
-#
-# Added the possibility to force numpy to link to different kinds of the
-# ATLAS library (S. Udrea)
-#
-# Thanks go to Pedro Ribeiro Mendes Júnior for help with the upgrade to 1.14.3.
-
-PRGNAM=numpy
-VERSION=${VERSION:-1.14.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-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 {} \;
-
-# You may want to force numpy to link against a special kind of ATLAS
-#
-ATLAS_SHARED="${ATLAS_SHARED:-yes}"
-ATLAS_SHARED=$(echo "$ATLAS_SHARED"|cut -b 1|tr a-z A-Z)
-ATLAS_NO_THREADS="${ATLAS_NO_THREADS:-no}"
-ATLAS_NO_THREADS=$(echo "$ATLAS_NO_THREADS"|cut -b 1|tr a-z A-Z)
-
-if [ "$ATLAS_SHARED" = "Y" ]; then
- if [ "$ATLAS_NO_THREADS" = "Y" ]; then
- echo -e "[atlas]\natlas_libs = satlas" >> site.cfg
- echo -e "lapack_libs = satlas\nlapack_atlas = satlas\n" >> site.cfg
- fi
-else
- if [ "$ATLAS_NO_THREADS" = "Y" ]; then
- echo -e "[atlas]\natlas_libs = f77blas,cblas,atlas" >> site.cfg
- echo -e "lapack_libs = lapack\nlapack_atlas = lapack\n" >> site.cfg
- else
- echo -e "[atlas]\natlas_libs = ptf77blas,ptcblas,atlas" >> site.cfg
- echo -e "lapack_libs = ptlapack\nlapack_atlas = ptlapack\n" >> site.cfg
- fi
-fi
-
-NO_UMFPACK=${NO_UMFPACK:-yes}
-case "$NO_UMFPACK" in
- [yY]|[yY][eE][sS]) NO_UMFPACK="y" ;;
- *) NO_UMFPACK="" ;;
-esac
-
-if [ ! "$NO_UMFPACK" ]; then
- echo -e "[amd]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
- echo -e "include_dirs = /usr/include/amd\namd_libs = amd\n" >> site.cfg
- echo -e "[umfpack]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
- echo -e "include_dirs = /usr/include/umfpack\numfpack_libs = umfpack\n" \
- >> site.cfg
-fi
-
-DEBUG=${DEBUG:-no}
-case "$DEBUG" in
- [yY]|[yY][eE][sS]) DEBUG="y" ;;
- *) DEBUG="" ;;
-esac
-
-if [ ! "$DEBUG" ]; then
- NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python setup.py install --root $PKG
-
- find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-else
- NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python setup.py build --debug
- python setup.py install --root $PKG
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt THANKS.txt INSTALL.rst.txt PKG-INFO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
-
-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:-tgz}
diff --git a/development/numpy/numpy.info b/development/numpy/numpy.info
deleted file mode 100644
index ab0c979581..0000000000
--- a/development/numpy/numpy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="numpy"
-VERSION="1.14.3"
-HOMEPAGE="http://www.numpy.org/"
-DOWNLOAD="https://github.com/numpy/numpy/releases/download/v1.14.3/numpy-1.14.3.tar.gz"
-MD5SUM="7c3c806ae27196c92d2fb3fbd4991e81"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Serban Udrea"
-EMAIL="S.Udrea@gsi.de"
diff --git a/development/numpy/slack-desc b/development/numpy/slack-desc
deleted file mode 100644
index da8e4b7032..0000000000
--- a/development/numpy/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------------------------------------------------------|
-numpy: numpy (a Python extension for scientific computing)
-numpy:
-numpy: NumPy is an extension to the Python programming language, adding
-numpy: support for large, multi-dimensional arrays and matrices along
-numpy: with a large library of high-level mathematical functions to
-numpy: operate on these arrays.
-numpy:
-numpy: Homepage: http://www.numpy.org/
-numpy:
-numpy:
-numpy:
diff --git a/development/numpy3/README b/development/numpy3/README
deleted file mode 100644
index 539b941b3b..0000000000
--- a/development/numpy3/README
+++ /dev/null
@@ -1,39 +0,0 @@
-NumPy is a general-purpose array-processing package designed to
-efficiently manipulate large multi-dimensional arrays of arbitrary
-records without sacrificing too much speed for small multi-dimensional
-arrays. NumPy is built on the Numeric code base and adds features
-introduced by numarray as well as an extended C-API and the ability to
-create arrays of arbitrary type which also makes NumPy suitable for
-interfacing with general-purpose data-base applications.
-
-There are also basic facilities for discrete fourier transform, basic
-linear algebra and random number generation.
-
-If you need to build numpy for debugging, set DEBUG=y. If you use
-software which is having problems with numpy's new relaxed strides
-checking, set NPY_RSC=0.
-
-It is highly recommended to install libraries implementing BLAS and
-LAPACK before installing numpy. You may choose between:
- a) BLAS and LAPACK (reference but unoptimized and thus slow)
- b) OpenBLAS (optimized, provides LAPACK too)
- c) ATLAS and LAPACK (optimized), good to read README.ATLAS
-All these are available on SlackBuilds.org.
-
-If you want to use the UMFPACK library instead of SuperLU to solve
-unsymmetric sparse linear systems, then run this Slackbuild with
-NO_UMFPACK set to "no" and then install scikit-umfpack on top of
-scipy. In this context, UMFPACK is an optional dependency for
-numpy. Nevertheless, note that presently scikit-umfpack is not
-available on SlackBuilds.org while its dependencies are.
-
-IMPORTANT: The version installed by this SlackBuild does NOT include the
- oldnumeric and numarray compatibility modules since
- starting with version 1.9.0 these modules got removed by
- the numpy developers. If you need these compatibility
- modules please consider the numpy-legacy SlackBuild.
- THUS: This SlackBuild conflicts with the numpy-legacy
- SlackBuild which installs versions < 1.9.0!
-
-This numpy3 SlackBuild creates bindings for python3 and can be installed
-without conflict alongside the standard numpy SlackBuild.
diff --git a/development/numpy3/numpy3.SlackBuild b/development/numpy3/numpy3.SlackBuild
deleted file mode 100644
index 0cb85bd141..0000000000
--- a/development/numpy3/numpy3.SlackBuild
+++ /dev/null
@@ -1,144 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for numpy3
-
-# Copyright 2015-2018 Christoph Willing Brisbane, Australia
-# 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.
-
-# Based with thanks on original numpy scripts by
-# Aleksandar Samardzic <asamardzic@gmail.com> and Serban Udrea <S.Udrea@gsi.de>
-
-PRGNAM=numpy3
-SRCNAM=numpy
-VERSION=${VERSION:-1.14.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-PYTHON_VERSIONS="3"
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xf $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 {} \;
-
-# You may want to force numpy to link against a special kind of ATLAS
-#
-ATLAS_SHARED="${ATLAS_SHARED:-yes}"
-ATLAS_SHARED=$(echo "$ATLAS_SHARED"|cut -b 1|tr a-z A-Z)
-ATLAS_NO_THREADS="${ATLAS_NO_THREADS:-no}"
-ATLAS_NO_THREADS=$(echo "$ATLAS_NO_THREADS"|cut -b 1|tr a-z A-Z)
-
-if [ "$ATLAS_SHARED" = "Y" ]; then
- if [ "$ATLAS_NO_THREADS" = "Y" ]; then
- echo -e "[atlas]\natlas_libs = satlas" >> site.cfg
- echo -e "lapack_libs = satlas\nlapack_atlas = satlas\n" >> site.cfg
- fi
-else
- if [ "$ATLAS_NO_THREADS" = "Y" ]; then
- echo -e "[atlas]\natlas_libs = f77blas,cblas,atlas" >> site.cfg
- echo -e "lapack_libs = lapack\nlapack_atlas = lapack\n" >> site.cfg
- else
- echo -e "[atlas]\natlas_libs = ptf77blas,ptcblas,atlas" >> site.cfg
- echo -e "lapack_libs = ptlapack\nlapack_atlas = ptlapack\n" >> site.cfg
- fi
-fi
-
-NO_UMFPACK=${NO_UMFPACK:-yes}
-case "$NO_UMFPACK" in
- [yY]|[yY][eE][sS]) NO_UMFPACK="y" ;;
- *) NO_UMFPACK="" ;;
-esac
-
-if [ ! "$NO_UMFPACK" ]; then
- echo -e "[amd]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
- echo -e "include_dirs = /usr/include/amd\namd_libs = amd\n" >> site.cfg
- echo -e "[umfpack]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
- echo -e "include_dirs = /usr/include/umfpack\numfpack_libs = umfpack\n" \
- >> site.cfg
-fi
-
-DEBUG=${DEBUG:-no}
-case "$DEBUG" in
- [yY]|[yY][eE][sS]) DEBUG="y" ;;
- *) DEBUG="" ;;
-esac
-
-for v in $PYTHON_VERSIONS ; do
- if [ $(which python$v 2>/dev/null) ]; then
- if [ ! "$DEBUG" ]; then
- NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python$v setup.py install --root $PKG
-
- find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- else
- NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python$v setup.py build --debug
- python$v setup.py install --root $PKG
- fi
- fi
-done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt THANKS.txt INSTALL.rst.txt PKG-INFO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
-
-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:-tgz}
diff --git a/development/numpy3/numpy3.info b/development/numpy3/numpy3.info
deleted file mode 100644
index c7a9753041..0000000000
--- a/development/numpy3/numpy3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="numpy3"
-VERSION="1.14.3"
-HOMEPAGE="http://www.numpy.org/"
-DOWNLOAD="https://github.com/numpy/numpy/releases/download/v1.14.3/numpy-1.14.3.tar.gz"
-MD5SUM="7c3c806ae27196c92d2fb3fbd4991e81"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Christoph Willing"
-EMAIL="chris.willing@linux.com"
diff --git a/development/numpy3/slack-desc b/development/numpy3/slack-desc
deleted file mode 100644
index d4a769254d..0000000000
--- a/development/numpy3/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------------------------------------------------------|
-numpy3: numpy3 (Python3 extension for scientific computing)
-numpy3:
-numpy3: NumPy is an extension to the Python programming language, adding
-numpy3: support for large, multi-dimensional arrays and matrices along
-numpy3: with a large library of high-level mathematical functions to
-numpy3: operate on these arrays.
-numpy3:
-numpy3: This packages contains NumPy for python3
-numpy3:
-numpy3: Homepage: http://www.numpy.org/
-numpy3:
diff --git a/development/nvi/README b/development/nvi/README
deleted file mode 100644
index 899221cc55..0000000000
--- a/development/nvi/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Nvi is an implementation of the ex/vi text editor.
-
-Nvi supports all the historic ex/vi features except for open mode
-and the lisp edit option (it has a fully implemented underlying ex
-mode). Some additional features are: extended regular expressions,
-infinite undo, and multiple edit buffers. Nvi has a very small memory
-footprint.
diff --git a/development/nvi/nvi.SlackBuild b/development/nvi/nvi.SlackBuild
deleted file mode 100644
index 6ee6d5cb8b..0000000000
--- a/development/nvi/nvi.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for nvi
-
-# Copyright 2008-2012 Robby Workman Northport, Alabama (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.
-
-PRGNAM=nvi
-VERSION=${VERSION:-1.81.6}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-# Apply patches to eliminate bogus "DB_CREATE must be specified to create databases." error message on exit
-patch -p1 < $CWD/patches/nvi.diffs
-
-cd build.unix
- CFLAGS="$SLKCFLAGS" \
- ../dist/configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-widechar \
- --disable-static \
- --program-prefix="n" \
- --build=$ARCH-slackware-linux
- make -j1
- make -j1 install DESTDIR=$PKG
-cd ..
-
-# These are better as softlinks instead of hardlinks
-rm -f $PKG/usr/man/man1/{nex,nview}.1
-ln -s nvi.1 $PKG/usr/man/man1/nex.1
-ln -s nvi.1 $PKG/usr/man/man1/nview.1
-
-rm -rf $PKG/usr/man/cat*
-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 Changes LICENSE README* TODO docs/html $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/nvi/nvi.info b/development/nvi/nvi.info
deleted file mode 100644
index 358c0fa50b..0000000000
--- a/development/nvi/nvi.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="nvi"
-VERSION="1.81.6"
-HOMEPAGE="http://freecode.com/projects/nvi"
-DOWNLOAD="http://harrier.slackbuilds.org/misc/nvi-1.81.6.tar.bz2"
-MD5SUM="88d1e23115ee9f2961186b62e55f5704"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Don Allen"
-EMAIL="donaldcallen@gmail.com"
diff --git a/development/nvi/patches/nvi.diffs b/development/nvi/patches/nvi.diffs
deleted file mode 100644
index 98a45861e7..0000000000
--- a/development/nvi/patches/nvi.diffs
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -up nvi-1.81.6/common/db.h patched-nvi-1.81.6/common/db.h
---- nvi-1.81.6/common/db.h 2007-11-18 11:41:42.000000000 -0500
-+++ patched-nvi-1.81.6/common/db.h 2014-10-04 08:53:11.000000000 -0400
-@@ -16,7 +16,10 @@
- (env)->remove(env, path, NULL, flags)
- #endif
-
--#if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 1
-+# if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 4) || DB_VERSION_MAJOR > 4
-+#define db_open(db,file,type,flags,mode) \
-+ (db)->open(db, NULL, file, NULL, type, flags | DB_CREATE, mode)
-+#elif DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
- #define db_open(db,file,type,flags,mode) \
- (db)->open(db, NULL, file, NULL, type, flags, mode)
- #else
-diff -up nvi-1.81.6/common/msg.c patched-nvi-1.81.6/common/msg.c
---- nvi-1.81.6/common/msg.c 2007-11-18 11:41:42.000000000 -0500
-+++ patched-nvi-1.81.6/common/msg.c 2014-10-04 08:55:13.000000000 -0400
-@@ -724,7 +724,8 @@ msg_open(SCR *sp, char *file)
- p = buf;
- } else
- p = file;
-- if ((sp->db_error = db_create(&db, 0, 0)) != 0 ||
-+ if (access(p, R_OK) != 0 ||
-+ (sp->db_error = db_create(&db, 0, 0)) != 0 ||
- (sp->db_error = db->set_re_source(db, p)) != 0 ||
- (sp->db_error = db_open(db, NULL, DB_RECNO, 0, 0)) != 0) {
- if (first) {
diff --git a/development/nvi/slack-desc b/development/nvi/slack-desc
deleted file mode 100644
index 07d0586601..0000000000
--- a/development/nvi/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------------------------------------------------------|
-nvi: nvi (an implementation of the ex/vi text editor)
-nvi:
-nvi: Nvi is an implementation of the ex/vi text editor.
-nvi: Nvi supports all the historic ex/vi features except for open
-nvi: mode and the lisp edit option (it has a fully implemented
-nvi: underlying ex mode). Some additional features are:
-nvi: extended regular expressions, infinite undo, and multiple edit
-nvi: buffers. Nvi has a very small memory footprint.
-nvi:
-nvi: Homepage: http://www.bostic.com/vi/
-nvi:
diff --git a/development/nvidia-container-toolkit/README b/development/nvidia-container-toolkit/README
new file mode 100644
index 0000000000..39b84bf31e
--- /dev/null
+++ b/development/nvidia-container-toolkit/README
@@ -0,0 +1,7 @@
+The NVIDIA Container Toolkit allows user to build and run GPU accelerated
+containers. The toolkit includes a container runtime library and utilities
+to automatically configure containers to leverage NVIDIA GPUs.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/development/nvidia-container-toolkit/config.toml.new b/development/nvidia-container-toolkit/config.toml.new
new file mode 100644
index 0000000000..86fd962ba6
--- /dev/null
+++ b/development/nvidia-container-toolkit/config.toml.new
@@ -0,0 +1,32 @@
+disable-require = false
+#swarm-resource = "DOCKER_RESOURCE_GPU"
+#accept-nvidia-visible-devices-envvar-when-unprivileged = true
+#accept-nvidia-visible-devices-as-volume-mounts = false
+
+[nvidia-container-cli]
+#root = "/run/nvidia/driver"
+#path = "/usr/bin/nvidia-container-cli"
+environment = []
+#debug = "/var/log/nvidia-container-toolkit.log"
+#ldcache = "/etc/ld.so.cache"
+load-kmods = true
+#no-cgroups = false
+user = "root:video"
+ldconfig = "@/sbin/ldconfig"
+
+[nvidia-container-runtime]
+#debug = "/var/log/nvidia-container-runtime.log"
+log-level = "info"
+
+# Specify the runtimes to consider. This list is processed in order and the PATH
+# searched for matching executables unless the entry is an absolute path.
+runtimes = [
+ "docker-runc",
+ "runc",
+]
+
+mode = "auto"
+
+[nvidia-container-runtime.modes.csv]
+
+mount-spec-path = "/etc/nvidia-container-runtime/host-files-for-container.d"
diff --git a/development/nvidia-container-toolkit/doinst.sh b/development/nvidia-container-toolkit/doinst.sh
new file mode 100644
index 0000000000..50529497e7
--- /dev/null
+++ b/development/nvidia-container-toolkit/doinst.sh
@@ -0,0 +1,99 @@
+# $RCSfile: doinst.sh,v $
+# $Revision: 1.9 $
+# $Date: 2023-05-11 07:58:15+01 $
+# DW
+
+# NOTE DO:
+# PLEASE only keep the functions/sections/commands that you need.
+# PLEASE delete EVERYTHING else (including these comments).
+# PLEASE let us know in the comment section of the upload form if including
+# custom functions or commands.
+
+# NOTE PLEASE DO NOT:
+# Add or change user or group accounts.
+# Change any of the default system settings files.
+# Add commands that take forever to complete.
+# Use applications like checkinstall or installwatch, that 'touch' every file
+# on the system.
+
+
+# NOTE on paths
+# Most commands do not have an initial '/' in directory path arguments so that
+# they work correctly when using pkgtools --root <path> or $ROOT options.
+# Installpkg and friends chdir to $ROOT or --root <path> before installing packages.
+# The exceptions are the 'chroot' commands which do use an initial '/'.
+# The chroot command is used to avoid files on the host being changed when
+# using --root or $ROOT.
+#
+# Example: /usr/bin/update-desktop-database -q usr/share/applications
+# ^Full path for command^ ^No initial slash^
+
+# NOTE on tests
+# [ -e <path> ] => Tests if a directory or file exists.
+# [ -x <command> ] => Tests if command is executable.
+# Will also fail silently if not -e too.
+
+# NOTE on redirections
+# Most commands redirect stdout and stderr to /dev/null to keep down the noise.
+# If you need to see error messages while testing, the easiest way is to
+# temporarily comment out 2>&1.
+
+# FUNCTION: config()
+# DESCRIPTION: Discards identical copies of config and rc.INIT files.
+# ARGUMENTS: A single filename.
+# NOTE
+# Files should be installed with a .new extension.
+# Example: etc/rc.d/rc.myshinynewdaemon.new
+# We don't clobber if it's avoidable.
+# "slackpkg new-config" is one way that users can list+process .new files.
+
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+# FUNCTION: preserve_perms()
+# DESCRIPTION: Keeps the executable bit that a user may have set (or unset) on
+# an rc.INIT or config file since she first installed a package.
+# ARGUMENTS: A single filename.
+# NOTE
+# This calls the above config() function to discard identical copies.
+# Files should be installed with a .new extension.
+# Use for files in etc/rc.d/ and etc/profile.d/
+# Other config files may also need this.
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+# FUNCTION: schema_install()
+# DESCRIPTION: Installs options (schemas) to the gnome config database.
+# ARGUMENTS: A single filename.
+# NOTE Not to be confused with glib schemas
+
+schema_install() {
+ SCHEMA="$1"
+ GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
+ chroot . gconftool-2 --makefile-install-rule \
+ /etc/gconf/schemas/$SCHEMA \
+ 1>/dev/null
+}
+
+config etc/nvidia-container-runtime/config.toml.new
+config usr/share/containers/oci/hooks.d/oci-nvidia-hook.json.new
+
diff --git a/development/nvidia-container-toolkit/nvidia-container-toolkit.SlackBuild b/development/nvidia-container-toolkit/nvidia-container-toolkit.SlackBuild
new file mode 100644
index 0000000000..f5a2e500c7
--- /dev/null
+++ b/development/nvidia-container-toolkit/nvidia-container-toolkit.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for nvidia-container-toolkit
+
+# Copyright 2024 Chris Walker Kempner, TX
+# 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=nvidia-container-toolkit
+VERSION=${VERSION:-1.14.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="" \
+CPPFLAGS="" \
+LDLIBS="" \
+make binaries
+
+mkdir -p $PKG/usr/bin
+install -m 755 -t $PKG/usr/bin nvidia-container-runtime-hook
+install -m 755 -t $PKG/usr/bin nvidia-container-runtime
+install -m 755 -t $PKG/usr/bin nvidia-container-runtime.cdi
+install -m 755 -t $PKG/usr/bin nvidia-container-runtime.legacy
+install -m 755 -t $PKG/usr/bin nvidia-ctk
+
+mkdir -p $PKG/etc/nvidia-container-runtime/host-files-for-container.d
+cat $CWD/config.toml.new > $PKG/etc/nvidia-container-runtime/config.toml.new
+
+mkdir -p $PKG/usr/share/containers/oci/hooks.d
+cat $CWD/oci-nvidia-hook.json.new > $PKG/usr/share/containers/oci/hooks.d/oci-nvidia-hook.json.new
+
+#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 LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+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/development/nvidia-container-toolkit/nvidia-container-toolkit.info b/development/nvidia-container-toolkit/nvidia-container-toolkit.info
new file mode 100644
index 0000000000..671c54c2ab
--- /dev/null
+++ b/development/nvidia-container-toolkit/nvidia-container-toolkit.info
@@ -0,0 +1,10 @@
+PRGNAM="nvidia-container-toolkit"
+VERSION="1.14.6"
+HOMEPAGE="https://github.com/NVIDIA/nvidia-container-toolkit"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/NVIDIA/nvidia-container-toolkit/archive/v1.14.6/nvidia-container-toolkit-1.14.6.tar.gz"
+MD5SUM_x86_64="0f26467a05b623f744a1433e04f359ff"
+REQUIRES="google-go-lang libnvidia-container"
+MAINTAINER="Chris Walker"
+EMAIL="kris240376@gmail.com"
diff --git a/development/nvidia-container-toolkit/oci-nvidia-hook.json.new b/development/nvidia-container-toolkit/oci-nvidia-hook.json.new
new file mode 100644
index 0000000000..6cbbe5cfa6
--- /dev/null
+++ b/development/nvidia-container-toolkit/oci-nvidia-hook.json.new
@@ -0,0 +1,15 @@
+{
+ "version": "1.0.0",
+ "hook": {
+ "path": "/usr/bin/nvidia-container-runtime-hook",
+ "args": ["nvidia-container-runtime-hook", "prestart"],
+ "env": [
+ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+ ]
+ },
+ "when": {
+ "always": true,
+ "commands": [".*"]
+ },
+ "stages": ["prestart"]
+}
diff --git a/development/nvidia-container-toolkit/slack-desc b/development/nvidia-container-toolkit/slack-desc
new file mode 100644
index 0000000000..f823a8facc
--- /dev/null
+++ b/development/nvidia-container-toolkit/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------------------------------------------------------|
+nvidia-container-toolkit: nvidia-container-toolkit (NVIDIA container toolkit)
+nvidia-container-toolkit:
+nvidia-container-toolkit: The NVIDIA Container Toolkit allows user to build and run GPU
+nvidia-container-toolkit: accelerated containers. The toolkit includes a container runtime
+nvidia-container-toolkit: library and utilities to automatically configure containers to
+nvidia-container-toolkit: leverage NVIDIA GPUs.
+nvidia-container-toolkit:
+nvidia-container-toolkit: Homepage: https://github.com/NVIDIA/nvidia-container-toolkit
+nvidia-container-toolkit:
+nvidia-container-toolkit:
+nvidia-container-toolkit:
diff --git a/development/nwjs/nwjs.SlackBuild b/development/nwjs/nwjs.SlackBuild
index 8553002a28..950b4c70a5 100644
--- a/development/nwjs/nwjs.SlackBuild
+++ b/development/nwjs/nwjs.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
-
+#!/bin/bash
# Slackware build script for nwjs
-
# Copyright 2017 Rodrigo Gimenez <estrod[at]zoho[dot]com>
+# Brian Cox <hamslackbuild@comcast.net>
+
+# Copyright 2023
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nwjs
-VERSION=${VERSION:-0.24.2}
+VERSION=${VERSION:-0.63.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -79,4 +90,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/nwjs/nwjs.info b/development/nwjs/nwjs.info
index cad66cebd2..5b3623bf1d 100644
--- a/development/nwjs/nwjs.info
+++ b/development/nwjs/nwjs.info
@@ -1,10 +1,10 @@
PRGNAM="nwjs"
-VERSION="0.24.2"
+VERSION="0.63.0"
HOMEPAGE="https://nwjs.io/"
-DOWNLOAD="https://dl.nwjs.io/v0.24.2/nwjs-v0.24.2-linux-ia32.tar.gz"
-MD5SUM="0824a57495163e9ed9ec927a7705dd4e"
-DOWNLOAD_x86_64="https://dl.nwjs.io/v0.24.2/nwjs-v0.24.2-linux-x64.tar.gz"
-MD5SUM_x86_64="e390972f2ccf0bed03008805569d6e5c"
+DOWNLOAD="https://dl.nwjs.io/v0.63.0/nwjs-v0.63.0-linux-ia32.tar.gz"
+MD5SUM="b5362504c8ff7cb6d45690f708d79cd2"
+DOWNLOAD_x86_64="https://dl.nwjs.io/v0.63.0/nwjs-v0.63.0-linux-x64.tar.gz"
+MD5SUM_x86_64="deeed8bf046872dd04759f50d0f7627a"
REQUIRES=""
-MAINTAINER="Rodrigo Gimenez"
-EMAIL="estrod[at]zoho[dot]com"
+MAINTAINER="Brian Cox"
+EMAIL="hamslackbuild@comcast.net"
diff --git a/development/obcpl/README b/development/obcpl/README
index f3248d3c85..4a9996cef2 100644
--- a/development/obcpl/README
+++ b/development/obcpl/README
@@ -12,3 +12,20 @@ deal to recommend it. The compiler frontend consists of only about
x86_64 note: obcpl doesn't require multilib on Slackware64. It only
generates 32-bit x86 code, but the binaries it creates are 100%
statically linked, and will run fine on Slackware64 without multlib.
+
+The package includes:
+
+- The BCPL compiler itself (/usr/bin/obcpl and the support files in
+ /usr/lib(64)?/obcpl)
+- The utilities:
+ - obcpl-cmpltest: compiler test
+ - obcpl-gpm: macro generator
+ - obcpl-xref: cross referencer
+- The sources for the utilities
+- Example code (Hello World and a factorial calculator)
+- The obcpl documentation, including manual.txt and standard.txt
+
+See also:
+
+https://en.wikipedia.org/wiki/BCPL
+https://www.cl.cam.ac.uk/~mr10/bcplman.pdf
diff --git a/development/obcpl/examples/Makefile b/development/obcpl/examples/Makefile
new file mode 100644
index 0000000000..dbac82c919
--- /dev/null
+++ b/development/obcpl/examples/Makefile
@@ -0,0 +1,17 @@
+# Makefile for obcpl/util
+
+BC=obcpl
+BFLAGS=-O
+
+all: hello factorial
+
+hello: hello.b
+ $(BC) $(BFLAGS) hello.b
+
+factorial: factorial.b
+ $(BC) $(BFLAGS) factorial.b
+
+install:
+
+clean:
+ rm -f hello factorial *.o
diff --git a/development/obcpl/examples/README b/development/obcpl/examples/README
new file mode 100644
index 0000000000..14eb1dcccc
--- /dev/null
+++ b/development/obcpl/examples/README
@@ -0,0 +1,14 @@
+README for SlackBuilds.org development/obcpl examples
+-----------------------------------------------------
+
+This directory contains simple example programs written in BCPL.
+
+hello.b: The canonical Hello World program.
+Original source: https://github.com/leachim6/hello-world/
+
+factorial.b: Calculates the factorials of the integers 1 through 5.
+Original source: https://en.wikipedia.org/wiki/BCPL
+
+If you want to mess with this directory, it's best to copy it to your
+user's home directory (so you don't have to compile the programs as
+root). You can compile hello and factorial just by running "make".
diff --git a/development/obcpl/examples/factorial.b b/development/obcpl/examples/factorial.b
new file mode 100644
index 0000000000..c6ea911cc3
--- /dev/null
+++ b/development/obcpl/examples/factorial.b
@@ -0,0 +1,9 @@
+GET "LIBHDR"
+
+LET START() = VALOF $(
+ FOR I = 1 TO 5 DO
+ WRITEF("%N! = %I4*N", I, FACT(I))
+ RESULTIS 0
+$)
+
+AND FACT(N) = N = 0 -> 1, N * FACT(N - 1)
diff --git a/development/obcpl/examples/hello.b b/development/obcpl/examples/hello.b
new file mode 100644
index 0000000000..976f70a6e6
--- /dev/null
+++ b/development/obcpl/examples/hello.b
@@ -0,0 +1,6 @@
+GET "LIBHDR"
+
+LET START() BE
+$(
+ WRITES("Hello World*N")
+$)
diff --git a/development/obcpl/fix_segfault.diff b/development/obcpl/fix_segfault.diff
new file mode 100644
index 0000000000..707afa27a1
--- /dev/null
+++ b/development/obcpl/fix_segfault.diff
@@ -0,0 +1,12 @@
+diff -Naur obcpl-0.9.8/src/cg.c obcpl-0.9.8.patcged/src/cg.c
+--- obcpl-0.9.8/src/cg.c 2013-03-25 17:41:43.000000000 -0400
++++ obcpl-0.9.8.patcged/src/cg.c 2021-09-06 04:43:29.444894247 -0400
+@@ -374,7 +374,7 @@
+ emit(".equ G%d,%s", x, label(rdn()));
+ }
+ }
+- return;
++ break;
+ case S_FINISH:
+ emit("jmp finish");
+ break;
diff --git a/development/obcpl/obcpl.SlackBuild b/development/obcpl/obcpl.SlackBuild
index cd9a4f7bb8..77595517e2 100644
--- a/development/obcpl/obcpl.SlackBuild
+++ b/development/obcpl/obcpl.SlackBuild
@@ -1,15 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for obcpl
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230103 bkw: BUILD=3, fix broken LIBHDR symlink in doc dic.
+
+# 20210906 bkw: BUILD=2
+# - fix build on -current
+# - add missing docs to docdir
+# - compile and install the stuff from util/*.b
+# - add some example code
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=obcpl
VERSION=${VERSION:-0.9.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +30,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -47,11 +62,13 @@ 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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Fix a return-without-value from a non-void function. This warning
+# was there all along, but in 14.2 it didn't seem to cause a
+# problem. Now it makes the 'cg' binary segfault. So:
+patch -p1 < $CWD/fix_segfault.diff
cd src
ln -s sys_linux.s sys.s
@@ -66,7 +83,7 @@ make CFLAGS="$SLKCFLAGS" PREFIX="/usr"
# Not quite ready to install: the PREFIX override doesn't entirely work
# because the st binary was built from st.O (obcpl's parsed syntax tree
# format) which has the /usr/local/lib path baked into it (not affected
-# by the sed command, above). It's distributed this way because obcpl
+# by the sed command, above). st.O is distributed this way because obcpl
# needs to be buildable on a system without an existing BCPL compiler. So
# we need to regenerate st.O from st.b (its BCPL source), then rebuild
# st from st.O. This works because st will look for its includes in the
@@ -81,20 +98,48 @@ make st
# Now we're good to go.
make PREFIX="$PKG/usr" install
-cd -
-
gzip $PKG/usr/man/man1/$PRGNAM.1
# Use a symlink instead of a hard link here:
rm -f $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/libhdr
ln -s LIBHDR $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/libhdr
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/*.txt util $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20210906 bkw: build utils too. have to use a custom obcpl wrapper
+# that runs the uninstalled binaries and make sure LIBHDR can be found
+# in the current dir (see above). Install them with obcpl- prefix
+# because 'gpm' is a conflict with Slackware's gpm, and 'xref' is
+# a pretty generic name (can't guarantee there's no other xref command
+# on SBo).
+
+cd ../util
+sed "/^d=/s,=.*,=../src," < ../src/obcpl > ./obcpl
+ln -s ../src/LIBHDR .
+chmod +x ./obcpl
+make BC=./obcpl
+mkdir -p $PKG/usr/bin
+for i in cmpltest xref gpm; do
+ install -s -m0755 $i $PKG/usr/bin/obcpl-$i
+done
+make clean # so the util/ in the docdir will be just the source
+rm -f ./obcpl
+cd ..
+
+# util/ is included as example code. Also our own examples/ dir.
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC/examples
+cp -a C* README doc/*.txt util $PKGDOC
+for i in $CWD/examples/*; do
+ cat $i > $PKGDOC/examples/$( basename $i )
+done
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# 20230103 bkw: fix broken symlink in util.
+rm -f $PKGDOC/util/LIBHDR
+ln -s ../../../lib$LIBDIRSUFFIX/$PRGNAM/LIBHDR $PKGDOC/util/LIBHDR
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/obcpl/obcpl.info b/development/obcpl/obcpl.info
index f27fd4eadd..bc20b3d57d 100644
--- a/development/obcpl/obcpl.info
+++ b/development/obcpl/obcpl.info
@@ -1,10 +1,10 @@
PRGNAM="obcpl"
VERSION="0.9.8"
-HOMEPAGE="http://www.nordier.com/software/obcpl.html"
-DOWNLOAD="http://www.nordier.com/software/distfiles/obcpl-0.9.8.tar.xz"
+HOMEPAGE="https://www.nordier.com/"
+DOWNLOAD="https://www.nordier.com/software/distfiles/obcpl-0.9.8.tar.xz"
MD5SUM="170223f85130c9b7f54082481a492045"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/obnc-libext/obnc-libext.SlackBuild b/development/obnc-libext/obnc-libext.SlackBuild
index af79e36f72..8ab31b1373 100644
--- a/development/obnc-libext/obnc-libext.SlackBuild
+++ b/development/obnc-libext/obnc-libext.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for obnc-libext
@@ -22,10 +22,13 @@
# 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=obnc-libext
VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -88,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/obnc/obnc.SlackBuild b/development/obnc/obnc.SlackBuild
index f34c4e4896..a7dbdc76d9 100644
--- a/development/obnc/obnc.SlackBuild
+++ b/development/obnc/obnc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for obnc
@@ -22,10 +22,13 @@
# 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=obnc
VERSION=${VERSION:-0.16.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/obsidian/README b/development/obsidian/README
new file mode 100644
index 0000000000..c027cd337b
--- /dev/null
+++ b/development/obsidian/README
@@ -0,0 +1,13 @@
+Obsidian is a personal knowledge base and note-taking software
+application that operates on Markdown files. It allows users to make
+internal links for notes and then to visualize the connections as a
+graph. It is designed to help users organize and structure their
+thoughts and knowledge in a flexible, non-linear way.
+
+The software is free for personal use, with commercial licenses
+available for pay
+
+This script repackages the Debian package provided by Obsidian team.
+
+Currently, only the 64bit version is available.
+
diff --git a/development/obsidian/doinst.sh b/development/obsidian/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/obsidian/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/obsidian/obsidian.SlackBuild b/development/obsidian/obsidian.SlackBuild
new file mode 100644
index 0000000000..112aa7f468
--- /dev/null
+++ b/development/obsidian/obsidian.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+# Slackware build script for Obsidian
+
+# Copyright 2024 Dimitar Nikov, Alfreton, United Kingdom
+# 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=obsidian
+VERSION=${VERSION:-1.5.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.xz | tar -xvJ
+
+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 $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
+
+rm -fr $PKG/usr/share/doc
+
+mkdir -p $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
+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/development/obsidian/obsidian.info b/development/obsidian/obsidian.info
new file mode 100644
index 0000000000..c00a03ea78
--- /dev/null
+++ b/development/obsidian/obsidian.info
@@ -0,0 +1,10 @@
+PRGNAM="obsidian"
+VERSION="1.5.8"
+HOMEPAGE="https://obsidian.md/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/obsidianmd/obsidian-releases/releases/download/v1.5.8/obsidian_1.5.8_amd64.deb"
+MD5SUM_x86_64="7153ea50aaf7e5b405e975dae1ec91ad"
+REQUIRES="%README%"
+MAINTAINER="Dimitar Nikov"
+EMAIL="dimitar at nikov dot net"
diff --git a/development/obsidian/slack-desc b/development/obsidian/slack-desc
new file mode 100644
index 0000000000..e77e4076a1
--- /dev/null
+++ b/development/obsidian/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------------------------------------------------------|
+obsidian: obsidian (a markdown editor)
+obsidian:
+obsidian: Obsidian is a personal knowledge base and note-taking software
+obsidian: application that operates on Markdown files. It allows users to make
+obsidian: internal links for notes and then to visualize the connections as a
+obsidian: graph. It is designed to help users organize and structure their
+obsidian: thoughts and knowledge in a flexible, non-linear way.
+obsidian:
+obsidian: Homepage: https://obsidian.md/
+obsidian:
+obsidian:
diff --git a/development/ocaml-num/README b/development/ocaml-num/README
new file mode 100644
index 0000000000..c6039f776c
--- /dev/null
+++ b/development/ocaml-num/README
@@ -0,0 +1,6 @@
+Num is an OCaml library for arbitrary-precision arithmetic.
+It provides arbitrary-precision integers ("bignums")
+and rational numbers.
+
+Num used to be part of the OCaml standard library, but in
+OCaml 4.06 it was moved to a separate package.
diff --git a/development/ocaml-num/ocaml-num.SlackBuild b/development/ocaml-num/ocaml-num.SlackBuild
new file mode 100644
index 0000000000..56f5580357
--- /dev/null
+++ b/development/ocaml-num/ocaml-num.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for ocaml-num
+
+# Copyright 2021 Nick Smallbone, Gothenburg, Sweden
+# 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=ocaml-num
+VERSION=${VERSION:-1.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf num-$VERSION
+tar xvf $CWD/num-$VERSION.tar.gz
+cd num-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make all
+
+export OCAMLFIND_DESTDIR=$PKG/$(ocamlfind printconf destdir)
+mkdir -p $OCAMLFIND_DESTDIR
+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 \
+ README.md LICENSE Changelog \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ocaml-num/ocaml-num.info b/development/ocaml-num/ocaml-num.info
new file mode 100644
index 0000000000..20cbe36460
--- /dev/null
+++ b/development/ocaml-num/ocaml-num.info
@@ -0,0 +1,10 @@
+PRGNAM="ocaml-num"
+VERSION="1.4"
+HOMEPAGE="https://github.com/ocaml/num/"
+DOWNLOAD="https://github.com/ocaml/num/archive/v1.4/num-1.4.tar.gz"
+MD5SUM="cda2b727e116a0b6a9c03902cc4b2415"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ocaml-findlib"
+MAINTAINER="Nick Smallbone"
+EMAIL="nick@smallbone.se"
diff --git a/development/ocaml-num/slack-desc b/development/ocaml-num/slack-desc
new file mode 100644
index 0000000000..577ea36d2a
--- /dev/null
+++ b/development/ocaml-num/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------------------------------------------------------|
+ocaml-num: ocaml-num (arbitrary precision arithmetic for OCaml)
+ocaml-num:
+ocaml-num: Num is an OCaml library for arbitrary-precision arithmetic.
+ocaml-num: It provides arbitrary-precision integers ("bignums")
+ocaml-num: and rational numbers.
+ocaml-num:
+ocaml-num: Num used to be part of the OCaml standard library, but in
+ocaml-num: OCaml 4.06 it was moved to a separate package.
+ocaml-num:
+ocaml-num: Home page: https://github.com/ocaml/num
+ocaml-num:
diff --git a/development/ocaml/configure.patch b/development/ocaml/configure.patch
index a57b19fb56..4809a26c64 100644
--- a/development/ocaml/configure.patch
+++ b/development/ocaml/configure.patch
@@ -1,13 +1,12 @@
---- configure_old 2014-05-23 22:45:22.000000000 +0200
-+++ configure 2014-05-23 22:45:31.000000000 +0200
-@@ -1612,6 +1612,10 @@
- nativecccompopts="$nativecccompopts -fomit-frame-pointer";;
- esac
-
-+# Add additional flags from the environment
-+bytecccompopts="$bytecccompopts $CFLAGS"
-+nativecccompopts="$nativecccompopts $CFLAGS"
-+
- # Finish generated files
-
- cclibs="$cclibs $mathlib"
+diff -Naur ocaml-4.13.1.orig/configure ocaml-4.13.1/configure
+--- ocaml-4.13.1.orig/configure 2021-09-30 17:40:11.000000000 +0200
++++ ocaml-4.13.1/configure 2022-02-15 16:03:05.417656000 +0100
+@@ -12758,7 +12758,7 @@
+ internal_cflags="-Wno-unused $cc_warnings \
+ -fexcess-precision=standard"
+ # TODO: see whether the code can be fixed to avoid -Wno-unused
+- common_cflags="-O2 -fno-strict-aliasing -fwrapv -mms-bitfields"
++ common_cflags="@CFLAGS@ -fno-strict-aliasing -fwrapv -mms-bitfields"
+ internal_cppflags='-D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -D_UNICODE'
+ internal_cppflags="$internal_cppflags -DWINDOWS_UNICODE="
+ internal_cppflags="${internal_cppflags}\$(WINDOWS_UNICODE)" ;; #(
diff --git a/development/ocaml/ocaml.SlackBuild b/development/ocaml/ocaml.SlackBuild
index 1f0ea4e709..a882b4e60b 100644
--- a/development/ocaml/ocaml.SlackBuild
+++ b/development/ocaml/ocaml.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ocaml
# Copyright 2007-2014 Ferenc Deak <ferenc.deak@gmail.com>
# Copyright 2014 Markus Hutmacher <mailing@markhu.de>
+# Copyright 2016-2022 Matteo Bernardini <ponce@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220415 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions, remove useless INSTALL doc.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ocaml
-VERSION=${VERSION:-4.03.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.13.1}
+MANVER=${MANVER:-4.13}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -57,6 +69,11 @@ fi
set -e
+fixperms() {
+ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+}
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -64,37 +81,33 @@ 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 {} \;
+fixperms
-patch < $CWD/configure.patch
+sed "s|@CFLAGS@|$SLKCFLAGS|" $CWD/configure.patch | patch -p1
-CFLAGS="$SLKCFLAGS" ./configure \
+./configure \
--prefix /usr \
--libdir /usr/lib${LIBDIRSUFFIX}/ocaml \
- --host $ARCH-slackware-linux
+ --mandir /usr/man \
+ --disable-force-safe-string
-make -j1 world.opt
-make -j1 install \
- PREFIX=$PKG/usr \
- LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX}/ocaml
+make world.opt
+make DESTDIR=$PKG install
+gzip -9 $PKG/usr/man/man*/*
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Changes INSTALL* LICENSE README* VERSION \
- $PKG/usr/doc/$PRGNAM-$VERSION
-tar -xvf $CWD/ocaml-4.03-refman-html.tar.gz --no-same-owner -C $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a Changes LICENSE README* VERSION $PKGDOC
+cd $PKGDOC
+tar -xvf $CWD/ocaml-$MANVER-refman-html.tar.gz --no-same-owner
+fixperms
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ocaml/ocaml.info b/development/ocaml/ocaml.info
index 620db74149..f627a9f78f 100644
--- a/development/ocaml/ocaml.info
+++ b/development/ocaml/ocaml.info
@@ -1,12 +1,12 @@
PRGNAM="ocaml"
-VERSION="4.03.0"
+VERSION="4.13.1"
HOMEPAGE="http://caml.inria.fr"
-DOWNLOAD="http://caml.inria.fr/pub/distrib/ocaml-4.03/ocaml-4.03.0.tar.xz \
- http://caml.inria.fr/pub/distrib/ocaml-4.03/ocaml-4.03-refman-html.tar.gz"
-MD5SUM="89f62881e03dfad0cf04991fbc03f955 \
- d3e44d3984d029d2e88ba219ad8e24c2"
+DOWNLOAD="http://caml.inria.fr/pub/distrib/ocaml-4.13/ocaml-4.13.1.tar.xz \
+ http://caml.inria.fr/pub/distrib/ocaml-4.13/ocaml-4.13-refman-html.tar.gz"
+MD5SUM="52f91ba31fbfad426bf57b00ef3a34c1 \
+ 513fcf9adc3a85268aa42f0552d8e971"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Hutmacher"
-EMAIL="mailing@markhu.de"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/development/ocamlbuild/ocamlbuild.SlackBuild b/development/ocamlbuild/ocamlbuild.SlackBuild
index e28405a292..5b2d8faef1 100644
--- a/development/ocamlbuild/ocamlbuild.SlackBuild
+++ b/development/ocamlbuild/ocamlbuild.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ocamlbuild
-# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=ocamlbuild
-VERSION=${VERSION:-0.12.0}
+VERSION=${VERSION:-0.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ocamlbuild/ocamlbuild.info b/development/ocamlbuild/ocamlbuild.info
index 62fb240875..4012566025 100644
--- a/development/ocamlbuild/ocamlbuild.info
+++ b/development/ocamlbuild/ocamlbuild.info
@@ -1,8 +1,8 @@
PRGNAM="ocamlbuild"
-VERSION="0.12.0"
+VERSION="0.14.0"
HOMEPAGE="http://caml.inria.fr"
-DOWNLOAD="https://github.com/ocaml/ocamlbuild/archive/0.12.0/ocamlbuild-0.12.0.tar.gz"
-MD5SUM="442baa19470bd49150f153122e22907b"
+DOWNLOAD="https://github.com/ocaml/ocamlbuild/archive/0.14.0/ocamlbuild-0.14.0.tar.gz"
+MD5SUM="a7bf2fe594cd16907807c756b14d501f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocaml"
diff --git a/development/octant/README b/development/octant/README
index d4ffefe836..4e502db653 100644
--- a/development/octant/README
+++ b/development/octant/README
@@ -10,3 +10,5 @@ for gaining insight and approaching complexity found in Kubernetes.
Octant offers a combination of introspective tooling, cluster
navigation, and object management along with a plugin system to
further extend its capabilities.
+
+This is a repackaged binary.
diff --git a/development/octant/octant.SlackBuild b/development/octant/octant.SlackBuild
index e30ff68869..7e67f7b206 100644
--- a/development/octant/octant.SlackBuild
+++ b/development/octant/octant.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for octant
-# Copyright 2020 Dmitrii Sosedov, United States
+# Copyright 2021 Dmitrii Sosedov, United States
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,25 +22,36 @@
# 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=octant
-VERSION=${VERSION:-0.15.0}
+VERSION=${VERSION:-0.17.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- x86_64) ARCH=x86_64 ;;
- *) ARCH=i686 ;;
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
echo "Not supported"
@@ -84,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/octant/octant.info b/development/octant/octant.info
index db08e09691..7ba31c370d 100644
--- a/development/octant/octant.info
+++ b/development/octant/octant.info
@@ -1,10 +1,10 @@
PRGNAM="octant"
-VERSION="0.15.0"
+VERSION="0.17.0"
HOMEPAGE="https://octant.dev"
DOWNLOAD="UNSUPPORTED"
-MD5SUM="UNSUPPORTED"
-DOWNLOAD_x86_64="https://github.com/vmware-tanzu/octant/releases/download/v0.15.0/octant_0.15.0_Linux-64bit.tar.gz"
-MD5SUM_x86_64="a30f2dda3dc0f41908d8220477945527"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/vmware-tanzu/octant/releases/download/v0.17.0/octant_0.17.0_Linux-64bit.tar.gz"
+MD5SUM_x86_64="302857f3692d3b0b9bc9e7ec5d272df5"
REQUIRES=""
MAINTAINER="Dmitrii Sosedov"
EMAIL="d.sosedov@gmail.com"
diff --git a/development/octant/slack-desc b/development/octant/slack-desc
index a7f1c511c5..31e9bb74fe 100644
--- a/development/octant/slack-desc
+++ b/development/octant/slack-desc
@@ -15,5 +15,5 @@ octant:
octant:
octant:
octant: Homepage: https://octant.dev
-octant: Release date: Aug 12, 2020
+octant: Release date: Feb 16, 2021
octant:
diff --git a/development/odb/README b/development/odb/README
deleted file mode 100644
index ab119b383f..0000000000
--- a/development/odb/README
+++ /dev/null
@@ -1,18 +0,0 @@
-ODB is an open-source, cross-platform, and cross-database object-
-relational mapping (ORM) system for C++. It allows you to persist
-C++ objects to a relational database without having to deal with
-tables, columns, or SQL and without manually writing any mapping
-code.
-
-ODB supports MySQL, SQLite, PostgreSQL, Oracle, and
-Microsoft SQL Server relational databases as well as C++98/03 and
-C++11 language standards. It also comes with optional profiles
-for Boost and Qt which allow you to seamlessly use value types,
-containers, and smart pointers from these libraries in your
-persistent C++ classes.
-
-The ODB system consists of several packages. The essential packages
-are the ODB compiler (odb), the common runtime library (libodb),
-and the database-specific runtime library (libodb-<database>).
-For example, if you are planning to use MySQL, then the set of
-packages that you will need would be: odb, libodb, and libodb-mysql.
diff --git a/development/odb/odb.SlackBuild b/development/odb/odb.SlackBuild
deleted file mode 100644
index ae2edf5919..0000000000
--- a/development/odb/odb.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Code Synthesis odb
-
-# Copyright Andre Barboza 2016, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=odb
-VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-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:-tgz}
diff --git a/development/odb/odb.info b/development/odb/odb.info
deleted file mode 100644
index 905c938ffe..0000000000
--- a/development/odb/odb.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="odb"
-VERSION="2.4.0"
-HOMEPAGE="https://www.codesynthesis.com/products/odb/"
-DOWNLOAD="https://www.codesynthesis.com/download/odb/2.4/odb-2.4.0.tar.bz2"
-MD5SUM="0146d0223f874a9434673682a5669638"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libcutl"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/odb/slack-desc b/development/odb/slack-desc
deleted file mode 100644
index 587caa7d52..0000000000
--- a/development/odb/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------------------------------------------------------|
-odb: odb (ODB: C++ Object-Relational Mapping - ORM)
-odb:
-odb: ODB is an open-source, cross-platform, and cross-database object-
-odb: relational mapping (ORM) system for C++. It allows you to persist
-odb: C++ objects to a relational database without having to deal with
-odb: tables, columns, or SQL and without manually writing any mapping
-odb: code.
-odb:
-odb:
-odb: https://www.codesynthesis.com/products/odb/
-odb:
diff --git a/development/ola/README b/development/ola/README
deleted file mode 100644
index 65b2bbb76e..0000000000
--- a/development/ola/README
+++ /dev/null
@@ -1,10 +0,0 @@
-The Open Lighting Architecture (OLA) provides a plugin framework for
-distributing DMX512 control signals on Mac and Linux. It provides C++
-and Python libraries which abstract away the underlying DMX over IP
-protocol or DMX interface. See http://opendmx.net/index.php/OLA for
-more information.
-
-The build script can optionally disable python bindings and/or enable
-the embedded http server. WITH_PYTHON=no will disable the python
-bindings, and WITH_HTTP=yes will enable the embedded http server (in
-which case libmicrohttp also be required).
diff --git a/development/ola/ola.SlackBuild b/development/ola/ola.SlackBuild
deleted file mode 100644
index 63c1643be4..0000000000
--- a/development/ola/ola.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ola
-
-# Written by Georg Nagel (g.schlmm [at] gmail [dot] com)
-
-PRGNAM=ola
-VERSION=${VERSION:-git_98ee4066}
-GITVER="98ee4066b6445f943a789611610515b45bbeac25"
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-WITH_HTTP=${WITH_HTTP:-no}
-WITH_PYTHON=${WITH_PYTHON:-yes}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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-$GITVER
-unzip $CWD/$PRGNAM-$GITVER.zip
-cd $PRGNAM-$GITVER
-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 {} \;
-
-BUILD_HTTP="--disable-http"
-[ "$WITH_HTTP" != "no" ] && BUILD_HTTP="--enable-http"
-
-BUILD_PYTHON="--enable-python-libs"
-[ "$WITH_PYTHON" != "yes" ] && BUILD_PYTHON=""
-
-autoreconf -fiv
-CFLAGS="-Wno-error=conversion $SLKCFLAGS" \
-CXXFLAGS="-Wno-error=conversion $SLKCFLAGS" \
-CPPFLAGS="$CPPFLAGS -std=gnu++98 -Wno-error=deprecated-declarations" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- $BUILD_HTTP $BUILD_PYTHON
-
-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
-
-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 README INSTALL COPYING AUTHORS ChangeLog $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:-tgz}
diff --git a/development/ola/ola.info b/development/ola/ola.info
deleted file mode 100644
index 506eff78d5..0000000000
--- a/development/ola/ola.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ola"
-VERSION="git_98ee4066"
-HOMEPAGE="https://www.openlighting.org/"
-DOWNLOAD="https://github.com/OpenLightingProject/ola/archive/98ee4066b6445f943a789611610515b45bbeac25/ola-98ee4066b6445f943a789611610515b45bbeac25.zip"
-MD5SUM="d29bcd0107d358f4daa10202fa11de83"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="cppunit protobuf"
-MAINTAINER="Georg Nagel"
-EMAIL="g.schlmm [at] gmail [dot] com"
diff --git a/development/ola/slack-desc b/development/ola/slack-desc
deleted file mode 100644
index c26e9a9b94..0000000000
--- a/development/ola/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------------------------------------------------------|
-ola: ola (The Open Lighting Architecture)
-ola:
-ola: The Open Lighting Architecture (OLA) provides a plugin framework for
-ola: distributing DMX512 control signals on Mac and Linux. It provides C++
-ola: and Python libraries which abstract away the underlying DMX over IP
-ola: protocol or DMX interface. See http://opendmx.net/index.php/OLA for
-ola: more information.
-ola:
-ola:
-ola:
-ola:
diff --git a/development/omake/omake-warn-error.diff b/development/omake/omake-warn-error.diff
deleted file mode 100644
index 3392c8f311..0000000000
--- a/development/omake/omake-warn-error.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- orig/lib/build/OCaml.om 2010-03-30 10:18:37 +0000
-+++ work/lib/build/OCaml.om 2010-03-30 12:41:33 +0000
-@@ -170,7 +170,7 @@
- #
- declare OCAMLDEPFLAGS
- public.OCAMLPPFLAGS =
--public.OCAMLFLAGS = -warn-error A
-+public.OCAMLFLAGS =
- public.OCAMLCFLAGS = -g
- public.OCAMLOPTFLAGS =
- public.OCAMLCPPFLAGS =
diff --git a/development/omake/omake.SlackBuild b/development/omake/omake.SlackBuild
index 32931e5db7..004c7f5ecd 100644
--- a/development/omake/omake.SlackBuild
+++ b/development/omake/omake.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for omake
@@ -22,28 +22,36 @@
# 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=omake
-VERSION=${VERSION:-0.9.8.6}
+VERSION=${VERSION:-0.10.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-SRCVER=${VERSION}-0.rc1
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -71,22 +79,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix things for newer OCaml
-patch -p1 <$CWD/omake-warn-error.diff
-
-# No configure, manual it is..
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-PREFIX=/usr \
-LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-INSTALL_ROOT=$PKG \
-make install
+# the newer omake doesn't want to respect our LIBDIRSUFFIX
+./configure --prefix /usr
+make -j1 all
+make -j1 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 -a CHANGELOG.txt COMMENTS INSTALL LICENSE LICENSE.OMake doc/* \
+cp -a ChangeLog COMMENTS INSTALL LICENSE LICENSE.OMake doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -94,4 +96,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/omake/omake.info b/development/omake/omake.info
index b33d0a1ce2..a24338e1dd 100644
--- a/development/omake/omake.info
+++ b/development/omake/omake.info
@@ -1,8 +1,8 @@
PRGNAM="omake"
-VERSION="0.9.8.6"
-HOMEPAGE="http://omake.metaprl.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/omake-0.9.8.6-0.rc1.tar.gz"
-MD5SUM="fe39a476ef4e33b7ba2ca77a6bcaded2"
+VERSION="0.10.3"
+HOMEPAGE="http://projects.camlcity.org/projects/omake.html"
+DOWNLOAD="https://github.com/ocaml-omake/omake/archive/omake-0.10.3/omake-omake-0.10.3.tar.gz"
+MD5SUM="134b1ea51a5cd90d32fec7ad27e82aa5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocaml-findlib"
diff --git a/development/omniORB/omniORB.SlackBuild b/development/omniORB/omniORB.SlackBuild
index 18d91058a5..6e39429914 100644
--- a/development/omniORB/omniORB.SlackBuild
+++ b/development/omniORB/omniORB.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for omniORB
@@ -22,26 +22,36 @@
# 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=omniORB
-VERSION=${VERSION:-4.2.0}
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -101,4 +111,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/omniORB/omniORB.info b/development/omniORB/omniORB.info
index fd8b1f4142..3e7d821b28 100644
--- a/development/omniORB/omniORB.info
+++ b/development/omniORB/omniORB.info
@@ -1,8 +1,8 @@
PRGNAM="omniORB"
-VERSION="4.2.0"
+VERSION="4.3.0"
HOMEPAGE="http://omniorb.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-4.2.0/omniORB-4.2.0.tar.bz2"
-MD5SUM="f1e104d0a2df92829c1b37a853f4805d"
+DOWNLOAD="http://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-4.3.0/omniORB-4.3.0.tar.bz2"
+MD5SUM="8889ab13b444b495ca2c2b48ea6a6bd7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/omniORBpy/README b/development/omniORBpy/README
index 358e920789..5723f145ff 100644
--- a/development/omniORBpy/README
+++ b/development/omniORBpy/README
@@ -5,5 +5,5 @@ find at
http://www.omg.org/technology/documents/formal/python_language_mapping.htm
-omniORBpy makes use of the C++ omniORB library. omniORBpy version 4.2.x
-can only be used with omniORB 4.2.x.
+omniORBpy makes use of the C++ omniORB library. omniORBpy version 4.3.x
+can only be used with omniORB 4.3.x.
diff --git a/development/omniORBpy/omniORBpy.SlackBuild b/development/omniORBpy/omniORBpy.SlackBuild
index c860c4bb0c..3f84bc4e44 100644
--- a/development/omniORBpy/omniORBpy.SlackBuild
+++ b/development/omniORBpy/omniORBpy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for omniORBpy
@@ -22,26 +22,36 @@
# 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=omniORBpy
-VERSION=${VERSION:-4.2.0}
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,6 +82,25 @@ find -L . \
mkdir build
cd build
+PYTHON=/usr/bin/python2 \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+make
+make install DESTDIR=$PKG
+
+# Avoid conflicts with the python-3.x version
+mv $PKG/usr/include/omniORBpy.h $PKG/usr/include/omniORBpy2.h
+
+make clean
+PYTHON=/usr/bin/python3 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
../configure \
@@ -98,4 +127,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/omniORBpy/omniORBpy.info b/development/omniORBpy/omniORBpy.info
index 64408e9ce1..4e2ce67227 100644
--- a/development/omniORBpy/omniORBpy.info
+++ b/development/omniORBpy/omniORBpy.info
@@ -1,8 +1,8 @@
PRGNAM="omniORBpy"
-VERSION="4.2.0"
+VERSION="4.3.0"
HOMEPAGE="http://omniorb.sourceforge.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/omniORBpy-4.2.0.tar.bz2"
-MD5SUM="50ecde547c865aad2074d30224779412"
+DOWNLOAD="http://downloads.sourceforge.net/project/omniorb/omniORBpy/omniORBpy-4.3.0/omniORBpy-4.3.0.tar.bz2"
+MD5SUM="56ad14fe987ed4138cbf2c6282d34cb2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="omniORB"
diff --git a/development/oneDPL/README b/development/oneDPL/README
new file mode 100644
index 0000000000..3029f270f0
--- /dev/null
+++ b/development/oneDPL/README
@@ -0,0 +1,4 @@
+ oneAPI DPC++ Library (oneDPL) works with the Intel oneAPI DPC++/C++
+Compiler to provide high-productivity APIs to developers, which can
+minimize Data Parallel C++ (DPC++) programming efforts across devices
+for high performance parallel applications.
diff --git a/development/oneDPL/oneDPL.SlackBuild b/development/oneDPL/oneDPL.SlackBuild
new file mode 100644
index 0000000000..1e0e0dcd6d
--- /dev/null
+++ b/development/oneDPL/oneDPL.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for oneDPL
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=oneDPL
+VERSION=${VERSION:-2021.7.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 oneDPL-$PRGNAM-$VERSION-release
+tar xvf $CWD/oneDPL-$PRGNAM-$VERSION-release.tar.gz
+cd oneDPL-$PRGNAM-$VERSION-release
+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" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ $OPTS \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# install examples
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a examples $PKG/usr/share/$PRGNAM-$VERSION
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CONTRIBUTING.md CREDITS.txt README.md SECURITY.md \
+ documentation/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/oneDPL/oneDPL.info b/development/oneDPL/oneDPL.info
new file mode 100644
index 0000000000..9eb19aafec
--- /dev/null
+++ b/development/oneDPL/oneDPL.info
@@ -0,0 +1,10 @@
+PRGNAM="oneDPL"
+VERSION="2021.7.0"
+HOMEPAGE="https://www.oneapi.io"
+DOWNLOAD="https://github.com/oneapi-src/oneDPL/archive/oneDPL-2021.7.0-release/oneDPL-oneDPL-2021.7.0-release.tar.gz"
+MD5SUM="fecd1a380642d215c1105884e59434b2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="oneTBB"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/oneDPL/slack-desc b/development/oneDPL/slack-desc
new file mode 100644
index 0000000000..3e7e947b18
--- /dev/null
+++ b/development/oneDPL/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------------------------------------------------------|
+oneDPL: oneDPL (oneAPI DPC++ Library)
+oneDPL:
+oneDPL:
+oneDPL: oneAPI DPC++ Library (oneDPL) works with the Intel oneAPI
+oneDPL: DPC++/C++ Compiler to provide high-productivity APIs to developers,
+oneDPL: which can minimize Data Parallel C++ (DPC++) programming efforts
+oneDPL: across devices for high performance parallel applications.
+oneDPL:
+oneDPL:
+oneDPL:
+oneDPL:
diff --git a/development/oneTBB/README b/development/oneTBB/README
new file mode 100644
index 0000000000..7e515c581b
--- /dev/null
+++ b/development/oneTBB/README
@@ -0,0 +1,13 @@
+ oneTBB is a flexible C++ library that simplifies the work of adding
+parallelism to complex applications, even if you are not a threading
+expert.
+
+ The library lets you easily write parallel programs that take full
+advantage of the multi-core performance. Such programs are portable,
+composable and have a future-proof scalability. oneTBB provides you
+with functions, interfaces, and classes to parallelize and scale the
+code. All you have to do is to use the templates.
+
+ For enabling Python build set the variable PYTHON=yes
+
+ Optional: hwloc (auto-detect)
diff --git a/development/oneTBB/oneTBB.SlackBuild b/development/oneTBB/oneTBB.SlackBuild
new file mode 100644
index 0000000000..6194ca9225
--- /dev/null
+++ b/development/oneTBB/oneTBB.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for oneTBB
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=oneTBB
+VERSION=${VERSION:-2021.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+# enable Python
+if [ "${PYTHON:-no}" == "yes" ];then
+ OPTS="-DTBB4PY_BUILD"
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ $OPTS \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# install examples
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a examples $PKG/usr/share/$PRGNAM-$VERSION
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CONTRIBUTING.md LICENSE.txt README.md RELEASE_NOTES.md doc \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/oneTBB/oneTBB.info b/development/oneTBB/oneTBB.info
new file mode 100644
index 0000000000..87d7361d77
--- /dev/null
+++ b/development/oneTBB/oneTBB.info
@@ -0,0 +1,10 @@
+PRGNAM="oneTBB"
+VERSION="2021.6.0"
+HOMEPAGE="https://www.oneapi.io"
+DOWNLOAD="https://github.com/oneapi-src/oneTBB/archive/v2021.6.0/oneTBB-2021.6.0.tar.gz"
+MD5SUM="f0fc961e3c3851b52db61c2d262e6b95"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/oneTBB/slack-desc b/development/oneTBB/slack-desc
new file mode 100644
index 0000000000..cd2e6beda1
--- /dev/null
+++ b/development/oneTBB/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------------------------------------------------------|
+oneTBB: oneTBB (oneAPI Threading Building Blocks)
+oneTBB:
+oneTBB:
+oneTBB: oneTBB is a flexible C++ library that simplifies the work of adding
+oneTBB: parallelism to complex applications, even if you are not a threading
+oneTBB: expert.
+oneTBB:
+oneTBB:
+oneTBB:
+oneTBB:
+oneTBB:
diff --git a/development/onetrueawk/README b/development/onetrueawk/README
new file mode 100644
index 0000000000..70c652df20
--- /dev/null
+++ b/development/onetrueawk/README
@@ -0,0 +1,17 @@
+onetrueawk (port of original UNIX awk)
+
+This is the version of awk described in "The AWK Programming
+Language", by Al Aho, Brian Kernighan, and Peter Weinberger
+(Addison-Wesley, 1988, ISBN 0-201-07981-X). It is still maintained,
+and has received many bug fixes since the book was released. The code
+is released under a BSD-style license.
+
+The executable and man page are installed as "otawk", to avoid
+conflicting with Slackware's own gawk package. Also, otawk is
+installed to /opt/onetrueawk/bin/awk, so you can use it as the default
+awk by adjusting your user's $PATH (but it's not recommended to do
+this system-wide).
+
+If you want to run the test suite, export MAKETEST=yes in the
+environment. The test results will be saved to:
+/usr/doc/onetrueawk-$VERSION/maketest.log
diff --git a/development/onetrueawk/git2tarxz.sh b/development/onetrueawk/git2tarxz.sh
new file mode 100644
index 0000000000..82e6378005
--- /dev/null
+++ b/development/onetrueawk/git2tarxz.sh
@@ -0,0 +1,61 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version number.
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+# Version number example: 20200227_ad7ec17
+
+# Notes:
+
+# Do not use this if you're packaging a release.
+
+# This script doesn't need to be run as root. It does need to be able
+# to write to the current directory it's run from.
+
+# Running this script twice for the same commit will NOT give identical
+# tarballs, even if the contents are identical. This is because tar
+# includes the current time in a newly-created tarball (plus there may
+# be other git-related reasons).
+
+# Once you've generated a tarball, you'll still need a place to host it.
+# Ask on the mailing list, if you don't have your own web server to
+# play with.
+
+## Config:
+PRGNAM=onetrueawk
+CLONE_URL=https://github.com/onetrueawk/awk
+## End of config.
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERSION=${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=\"$VERSION\""
+echo "MD5SUM=\"$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )\""
diff --git a/development/onetrueawk/onetrueawk.SlackBuild b/development/onetrueawk/onetrueawk.SlackBuild
new file mode 100644
index 0000000000..00dcea1308
--- /dev/null
+++ b/development/onetrueawk/onetrueawk.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/bash
+
+# Slackware build script for onetrueawk
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=onetrueawk
+VERSION=${VERSION:-20220303_2402014}
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+make HOSTCC=${CC:-gcc} CFLAGS="$SLKCFLAGS"
+
+# no 'make install'. binary is called a.out, very retro.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+PKGOPT=$PKG/opt/$PRGNAM
+mkdir -p $PKGDOC {$PKG/usr,$PKGOPT}/{bin,man/man1}
+install -s -m0755 a.out $PKGOPT/bin/awk
+gzip -9c < awk.1 > $PKGOPT/man/man1/awk.1.gz
+
+# test suite failure doesn't exit with error status. save the log for
+# later perusal.
+[ "${MAKETEST:-no}" = "yes" ] && make test 2>&1 | tee $PKGDOC/maketest.log
+
+ln -s ../../opt/$PRGNAM/bin/awk $PKG/usr/bin/otawk
+ln -s ../../../opt/$PRGNAM/man/man1/awk.1.gz $PKG/usr/man/man1/otawk.1.gz
+
+cp -a ChangeLog FIXES LICENSE README.md TODO $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/onetrueawk/onetrueawk.info b/development/onetrueawk/onetrueawk.info
new file mode 100644
index 0000000000..a830b5ee9a
--- /dev/null
+++ b/development/onetrueawk/onetrueawk.info
@@ -0,0 +1,10 @@
+PRGNAM="onetrueawk"
+VERSION="20220303_2402014"
+HOMEPAGE="https://github.com/onetrueawk/awk"
+DOWNLOAD="https://slackware.uk/~urchlay/src/onetrueawk-20220303_2402014.tar.xz"
+MD5SUM="77c6cc994faa8636f470c778ff2bdf9a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/onetrueawk/slack-desc b/development/onetrueawk/slack-desc
new file mode 100644
index 0000000000..2c1854ab34
--- /dev/null
+++ b/development/onetrueawk/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------------------------------------------------------|
+onetrueawk: onetrueawk (port of original UNIX awk)
+onetrueawk:
+onetrueawk: This is the version of awk described in "The AWK Programming
+onetrueawk: Language", by Al Aho, Brian Kernighan, and Peter Weinberger
+onetrueawk: (Addison-Wesley, 1988, ISBN 0-201-07981-X). It is still maintained,
+onetrueawk: and has received many bug fixes since the book was released.
+onetrueawk:
+onetrueawk:
+onetrueawk:
+onetrueawk:
+onetrueawk:
diff --git a/development/oni/oni.SlackBuild b/development/oni/oni.SlackBuild
index 3307121e7b..86931c3575 100644
--- a/development/oni/oni.SlackBuild
+++ b/development/oni/oni.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for oni
@@ -22,10 +22,13 @@
# 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=oni
VERSION=${VERSION:-0.3.7_beta3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=Oni
SRCVER=0.3.7-amd64-linux
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -88,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/oniguruma/README b/development/oniguruma/README
deleted file mode 100644
index 8eb7bf9091..0000000000
--- a/development/oniguruma/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Oniguruma is a regular expressions library. The characteristics of
-this library is that different character encoding for every regular
-expression object can be specified.
diff --git a/development/oniguruma/oniguruma.SlackBuild b/development/oniguruma/oniguruma.SlackBuild
deleted file mode 100644
index 1b6d6fd240..0000000000
--- a/development/oniguruma/oniguruma.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for oniguruma
-
-# Copyright 2015-2016 Eugene Wissner, Dachau, Germany
-# Copyright 2008, 2009, 2010, 2011 Phantom X, Goiania, Brazil.
-# Copyright 2006 Martijn Dekker, Groningen, Netherlands.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=oniguruma
-VERSION=${VERSION:-5.9.6_p1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-SRCNAM=onig-5.9.6
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/onig-$VERSION.tar.gz
-cd $SRCNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --with-rubydir=/usr/bin \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=${PKG}
-
-find ${PKG} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING HISTORY README* index*.html doc/{API,FAQ,RE}* \
- $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:-tgz}
diff --git a/development/oniguruma/oniguruma.info b/development/oniguruma/oniguruma.info
deleted file mode 100644
index d32eacccbd..0000000000
--- a/development/oniguruma/oniguruma.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="oniguruma"
-VERSION="5.9.6_p1"
-HOMEPAGE="https://github.com/kkos/oniguruma"
-DOWNLOAD="https://github.com/kkos/oniguruma/releases/download/v5.9.6_p1/onig-5.9.6_p1.tar.gz"
-MD5SUM="b751cbb68d411076f400e40d413ed69b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Eugene Wissner"
-EMAIL="belka@caraus.de"
diff --git a/development/oniguruma/slack-desc b/development/oniguruma/slack-desc
deleted file mode 100644
index b8185a7c43..0000000000
--- a/development/oniguruma/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------------------------------------------------------|
-oniguruma: oniguruma (Regular expressions library)
-oniguruma:
-oniguruma: Oniguruma is a regular expressions library. The characteristics of
-oniguruma: this library is that different character encoding for every regular
-oniguruma: expression object can be specified.
-oniguruma:
-oniguruma:
-oniguruma:
-oniguruma:
-oniguruma:
-oniguruma:
diff --git a/development/opencl-headers/README b/development/opencl-headers/README
deleted file mode 100644
index 4e432b6b4d..0000000000
--- a/development/opencl-headers/README
+++ /dev/null
@@ -1,3 +0,0 @@
-opencl-headers (headers file for OpenCL)
-
-This is a repackaging of the header files from khronos.org.
diff --git a/development/opencl-headers/opencl-headers.SlackBuild b/development/opencl-headers/opencl-headers.SlackBuild
deleted file mode 100644
index 930d45982e..0000000000
--- a/development/opencl-headers/opencl-headers.SlackBuild
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for opencl-headers
-# simply a repack of the original headers from khronos.org
-# tarballed by me for easy maintenance.
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012
-# 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.
-
-PRGNAM=opencl-headers
-VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG/usr/include/CL $OUTPUT
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/include/CL/
-chown -R root.root $PKG/usr/include/CL/*
-find $PKG/usr/include/CL \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p $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:-tgz}
diff --git a/development/opencl-headers/opencl-headers.info b/development/opencl-headers/opencl-headers.info
deleted file mode 100644
index 067b5f9261..0000000000
--- a/development/opencl-headers/opencl-headers.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="opencl-headers"
-VERSION="1.1"
-HOMEPAGE="https://www.khronos.org/opencl/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/opencl-headers-1.1.tar.xz"
-MD5SUM="3b9b4c49b3ddf37e275c5c22f94aa80a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/development/opencl-headers/slack-desc b/development/opencl-headers/slack-desc
deleted file mode 100644
index 456cf19c4f..0000000000
--- a/development/opencl-headers/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------------------------------------------------------|
-opencl-headers: opencl-headers (headers file for OpenCL)
-opencl-headers:
-opencl-headers: This is a repackaging of the header files from khronos.org.
-opencl-headers:
-opencl-headers: homepage: https://www.khronos.org/opencl/
-opencl-headers:
-opencl-headers:
-opencl-headers:
-opencl-headers:
-opencl-headers:
-opencl-headers:
diff --git a/development/opencomal/opencomal.SlackBuild b/development/opencomal/opencomal.SlackBuild
index 235d1eb5df..1b87d8ff51 100644
--- a/development/opencomal/opencomal.SlackBuild
+++ b/development/opencomal/opencomal.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for opencomal
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opencomal
VERSION=${VERSION:-0.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ "${BETA:-no}" = "yes" ]; then
VERSION="0.2.7pre1"
@@ -26,7 +29,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -89,4 +96,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/opencomal/opencomal.info b/development/opencomal/opencomal.info
index da83d4478c..cf4b5e53c3 100644
--- a/development/opencomal/opencomal.info
+++ b/development/opencomal/opencomal.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/opencvs/opencvs.SlackBuild b/development/opencvs/opencvs.SlackBuild
index 57f170f422..35755d19fb 100644
--- a/development/opencvs/opencvs.SlackBuild
+++ b/development/opencvs/opencvs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2011 Daniel LEVAI
# All rights reserved.
@@ -25,26 +25,36 @@
# build script for OpenCVS
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opencvs
VERSION=${VERSION:-20110824193500}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,7 +86,7 @@ find -L . \
sed -i -e 's/for v in 11 10 9 8 7 6 5/for v in 14 13 12 11 10 15 16/' bootstrap
./bootstrap
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -103,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/opendbx/README b/development/opendbx/README
deleted file mode 100644
index b3a89e99d4..0000000000
--- a/development/opendbx/README
+++ /dev/null
@@ -1,6 +0,0 @@
-OpenDBX is an extremely lightweight but extensible database access
-library written in C. It provides an abstraction layer to all supported
-databases with a single, clean and simple interface that leads to an
-elegant code design automatically. If you want your application to
-support different databases with little effort, this is definitively
-the right thing for you!
diff --git a/development/opendbx/inputname.diff b/development/opendbx/inputname.diff
deleted file mode 100644
index 0ff88913e7..0000000000
--- a/development/opendbx/inputname.diff
+++ /dev/null
@@ -1,2353 +0,0 @@
-See Debian BTS #759951 for details.
-
-Index: libopendbx-1.4.6/doc/Doxyfile.in
-===================================================================
---- libopendbx-1.4.6.orig/doc/Doxyfile.in 2014-09-05 13:15:23.097496657 -0400
-+++ libopendbx-1.4.6/doc/Doxyfile.in 2014-09-05 13:15:36.581497181 -0400
-@@ -1,16 +1,115 @@
--# Doxyfile 1.5.6
-+# Doxyfile 1.8.6
-+
-+# This file describes the settings to be used by the documentation system
-+# doxygen (www.doxygen.org) for a project.
-+#
-+# All text after a double hash (##) is considered a comment and is placed in
-+# front of the TAG it is preceding.
-+#
-+# All text after a single hash (#) is considered a comment and will be ignored.
-+# The format is:
-+# TAG = value [value, ...]
-+# For lists, items can also be appended using:
-+# TAG += value [value, ...]
-+# Values that contain spaces should be placed between quotes (\" \").
-
- #---------------------------------------------------------------------------
- # Project related configuration options
- #---------------------------------------------------------------------------
-+
-+# This tag specifies the encoding used for all characters in the config file
-+# that follow. The default is UTF-8 which is also the encoding used for all text
-+# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
-+# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
-+# for the list of possible encodings.
-+# The default value is: UTF-8.
-+
- DOXYFILE_ENCODING = UTF-8
-+
-+# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
-+# double-quotes, unless you are using Doxywizard) that should identify the
-+# project for which the documentation is generated. This name is used in the
-+# title of most generated pages and in a few other places.
-+# The default value is: My Project.
-+
- PROJECT_NAME = @PACKAGE@
-+
-+# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
-+# could be handy for archiving the generated documentation or if some version
-+# control system is used.
-+
- PROJECT_NUMBER = @VERSION@
-+
-+# Using the PROJECT_BRIEF tag one can provide an optional one line description
-+# for a project that appears at the top of each page and should give viewer a
-+# quick idea about the purpose of the project. Keep the description short.
-+
-+PROJECT_BRIEF =
-+
-+# With the PROJECT_LOGO tag one can specify an logo or icon that is included in
-+# the documentation. The maximum height of the logo should not exceed 55 pixels
-+# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
-+# to the output directory.
-+
-+PROJECT_LOGO =
-+
-+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
-+# into which the generated documentation will be written. If a relative path is
-+# entered, it will be relative to the location where doxygen was started. If
-+# left blank the current directory will be used.
-+
- OUTPUT_DIRECTORY = ./
-+
-+# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
-+# directories (in 2 levels) under the output directory of each output format and
-+# will distribute the generated files over these directories. Enabling this
-+# option can be useful when feeding doxygen a huge amount of source files, where
-+# putting all generated files in the same directory would otherwise causes
-+# performance problems for the file system.
-+# The default value is: NO.
-+
- CREATE_SUBDIRS = NO
-+
-+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-+# documentation generated by doxygen is written. Doxygen will use this
-+# information to generate all constant output in the proper language.
-+# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
-+# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
-+# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
-+# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
-+# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
-+# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
-+# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
-+# Ukrainian and Vietnamese.
-+# The default value is: English.
-+
- OUTPUT_LANGUAGE = English
-+
-+# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
-+# descriptions after the members that are listed in the file and class
-+# documentation (similar to Javadoc). Set to NO to disable this.
-+# The default value is: YES.
-+
- BRIEF_MEMBER_DESC = YES
-+
-+# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
-+# description of a member or function before the detailed description
-+#
-+# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-+# brief descriptions will be completely suppressed.
-+# The default value is: YES.
-+
- REPEAT_BRIEF = YES
-+
-+# This tag implements a quasi-intelligent brief description abbreviator that is
-+# used to form the text in various listings. Each string in this list, if found
-+# as the leading text of the brief description, will be stripped from the text
-+# and the result, after processing the whole list, is used as the annotated
-+# text. Otherwise, the brief description is used as-is. If left blank, the
-+# following values are used ($name is automatically replaced with the name of
-+# the entity):The $name class, The $name widget, The $name file, is, provides,
-+# specifies, contains, represents, a, an and the.
-+
- ABBREVIATE_BRIEF = "The $name class" \
- "The $name widget" \
- "The $name file" \
-@@ -22,79 +121,659 @@
- a \
- an \
- the
-+
-+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-+# doxygen will generate a detailed section even if there is only a brief
-+# description.
-+# The default value is: NO.
-+
- ALWAYS_DETAILED_SEC = NO
-+
-+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-+# inherited members of a class in the documentation of that class as if those
-+# members were ordinary class members. Constructors, destructors and assignment
-+# operators of the base classes will not be shown.
-+# The default value is: NO.
-+
- INLINE_INHERITED_MEMB = YES
-+
-+# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
-+# before files name in the file list and in the header files. If set to NO the
-+# shortest path that makes the file name unique will be used
-+# The default value is: YES.
-+
- FULL_PATH_NAMES = YES
-+
-+# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
-+# Stripping is only done if one of the specified strings matches the left-hand
-+# part of the path. The tag can be used to show relative paths in the file list.
-+# If left blank the directory from which doxygen is run is used as the path to
-+# strip.
-+#
-+# Note that you can specify absolute paths here, but also relative paths, which
-+# will be relative from the directory where doxygen is started.
-+# This tag requires that the tag FULL_PATH_NAMES is set to YES.
-+
- STRIP_FROM_PATH = ../lib
-+
-+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
-+# path mentioned in the documentation of a class, which tells the reader which
-+# header file to include in order to use a class. If left blank only the name of
-+# the header file containing the class definition is used. Otherwise one should
-+# specify the list of include paths that are normally passed to the compiler
-+# using the -I flag.
-+
- STRIP_FROM_INC_PATH =
-+
-+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
-+# less readable) file names. This can be useful is your file systems doesn't
-+# support long names like on DOS, Mac, or CD-ROM.
-+# The default value is: NO.
-+
- SHORT_NAMES = NO
-+
-+# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
-+# first line (until the first dot) of a Javadoc-style comment as the brief
-+# description. If set to NO, the Javadoc-style will behave just like regular Qt-
-+# style comments (thus requiring an explicit @brief command for a brief
-+# description.)
-+# The default value is: NO.
-+
- JAVADOC_AUTOBRIEF = YES
-+
-+# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
-+# line (until the first dot) of a Qt-style comment as the brief description. If
-+# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
-+# requiring an explicit \brief command for a brief description.)
-+# The default value is: NO.
-+
- QT_AUTOBRIEF = NO
-+
-+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
-+# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
-+# a brief description. This used to be the default behavior. The new default is
-+# to treat a multi-line C++ comment block as a detailed description. Set this
-+# tag to YES if you prefer the old behavior instead.
-+#
-+# Note that setting this tag to YES also means that rational rose comments are
-+# not recognized any more.
-+# The default value is: NO.
-+
- MULTILINE_CPP_IS_BRIEF = NO
-+
-+# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
-+# documentation from any documented member that it re-implements.
-+# The default value is: YES.
-+
- INHERIT_DOCS = YES
-+
-+# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a
-+# new page for each member. If set to NO, the documentation of a member will be
-+# part of the file/class/namespace that contains it.
-+# The default value is: NO.
-+
- SEPARATE_MEMBER_PAGES = NO
-+
-+# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
-+# uses this value to replace tabs by spaces in code fragments.
-+# Minimum value: 1, maximum value: 16, default value: 4.
-+
- TAB_SIZE = 4
-+
-+# This tag can be used to specify a number of aliases that act as commands in
-+# the documentation. An alias has the form:
-+# name=value
-+# For example adding
-+# "sideeffect=@par Side Effects:\n"
-+# will allow you to put the command \sideeffect (or @sideeffect) in the
-+# documentation, which will result in a user-defined paragraph with heading
-+# "Side Effects:". You can put \n's in the value part of an alias to insert
-+# newlines.
-+
- ALIASES =
-+
-+# This tag can be used to specify a number of word-keyword mappings (TCL only).
-+# A mapping has the form "name=value". For example adding "class=itcl::class"
-+# will allow you to use the command class in the itcl::class meaning.
-+
-+TCL_SUBST =
-+
-+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
-+# only. Doxygen will then generate output that is more tailored for C. For
-+# instance, some of the names that are used will be different. The list of all
-+# members will be omitted, etc.
-+# The default value is: NO.
-+
- OPTIMIZE_OUTPUT_FOR_C = NO
-+
-+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
-+# Python sources only. Doxygen will then generate output that is more tailored
-+# for that language. For instance, namespaces will be presented as packages,
-+# qualified scopes will look different, etc.
-+# The default value is: NO.
-+
- OPTIMIZE_OUTPUT_JAVA = NO
-+
-+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-+# sources. Doxygen will then generate output that is tailored for Fortran.
-+# The default value is: NO.
-+
- OPTIMIZE_FOR_FORTRAN = NO
-+
-+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
-+# sources. Doxygen will then generate output that is tailored for VHDL.
-+# The default value is: NO.
-+
- OPTIMIZE_OUTPUT_VHDL = NO
-+
-+# Doxygen selects the parser to use depending on the extension of the files it
-+# parses. With this tag you can assign which parser to use for a given
-+# extension. Doxygen has a built-in mapping, but you can override or extend it
-+# using this tag. The format is ext=language, where ext is a file extension, and
-+# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
-+# C#, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL. For instance to make
-+# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
-+# (default is Fortran), use: inc=Fortran f=C.
-+#
-+# Note For files without extension you can use no_extension as a placeholder.
-+#
-+# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
-+# the files are not read by doxygen.
-+
-+EXTENSION_MAPPING =
-+
-+# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
-+# according to the Markdown format, which allows for more readable
-+# documentation. See http://daringfireball.net/projects/markdown/ for details.
-+# The output of markdown processing is further processed by doxygen, so you can
-+# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
-+# case of backward compatibilities issues.
-+# The default value is: YES.
-+
-+MARKDOWN_SUPPORT = YES
-+
-+# When enabled doxygen tries to link words that correspond to documented
-+# classes, or namespaces to their corresponding documentation. Such a link can
-+# be prevented in individual cases by by putting a % sign in front of the word
-+# or globally by setting AUTOLINK_SUPPORT to NO.
-+# The default value is: YES.
-+
-+AUTOLINK_SUPPORT = YES
-+
-+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
-+# to include (a tag file for) the STL sources as input, then you should set this
-+# tag to YES in order to let doxygen match functions declarations and
-+# definitions whose arguments contain STL classes (e.g. func(std::string);
-+# versus func(std::string) {}). This also make the inheritance and collaboration
-+# diagrams that involve STL classes more complete and accurate.
-+# The default value is: NO.
-+
- BUILTIN_STL_SUPPORT = NO
-+
-+# If you use Microsoft's C++/CLI language, you should set this option to YES to
-+# enable parsing support.
-+# The default value is: NO.
-+
- CPP_CLI_SUPPORT = NO
-+
-+# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
-+# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
-+# will parse them like normal C++ but will assume all classes use public instead
-+# of private inheritance when no explicit protection keyword is present.
-+# The default value is: NO.
-+
- SIP_SUPPORT = NO
-+
-+# For Microsoft's IDL there are propget and propput attributes to indicate
-+# getter and setter methods for a property. Setting this option to YES will make
-+# doxygen to replace the get and set methods by a property in the documentation.
-+# This will only work if the methods are indeed getting or setting a simple
-+# type. If this is not the case, or you want to show the methods anyway, you
-+# should set this option to NO.
-+# The default value is: YES.
-+
- IDL_PROPERTY_SUPPORT = YES
-+
-+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
-+# tag is set to YES, then doxygen will reuse the documentation of the first
-+# member in the group (if any) for the other members of the group. By default
-+# all members of a group must be documented explicitly.
-+# The default value is: NO.
-+
- DISTRIBUTE_GROUP_DOC = NO
-+
-+# Set the SUBGROUPING tag to YES to allow class member groups of the same type
-+# (for instance a group of public functions) to be put as a subgroup of that
-+# type (e.g. under the Public Functions section). Set it to NO to prevent
-+# subgrouping. Alternatively, this can be done per class using the
-+# \nosubgrouping command.
-+# The default value is: YES.
-+
- SUBGROUPING = YES
-+
-+# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
-+# are shown inside the group in which they are included (e.g. using \ingroup)
-+# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
-+# and RTF).
-+#
-+# Note that this feature does not work in combination with
-+# SEPARATE_MEMBER_PAGES.
-+# The default value is: NO.
-+
-+INLINE_GROUPED_CLASSES = NO
-+
-+# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
-+# with only public data fields or simple typedef fields will be shown inline in
-+# the documentation of the scope in which they are defined (i.e. file,
-+# namespace, or group documentation), provided this scope is documented. If set
-+# to NO, structs, classes, and unions are shown on a separate page (for HTML and
-+# Man pages) or section (for LaTeX and RTF).
-+# The default value is: NO.
-+
-+INLINE_SIMPLE_STRUCTS = NO
-+
-+# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
-+# enum is documented as struct, union, or enum with the name of the typedef. So
-+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
-+# with name TypeT. When disabled the typedef will appear as a member of a file,
-+# namespace, or class. And the struct will be named TypeS. This can typically be
-+# useful for C code in case the coding convention dictates that all compound
-+# types are typedef'ed and only the typedef is referenced, never the tag name.
-+# The default value is: NO.
-+
- TYPEDEF_HIDES_STRUCT = NO
-+
-+# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
-+# cache is used to resolve symbols given their name and scope. Since this can be
-+# an expensive process and often the same symbol appears multiple times in the
-+# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
-+# doxygen will become slower. If the cache is too large, memory is wasted. The
-+# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
-+# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
-+# symbols. At the end of a run doxygen will report the cache usage and suggest
-+# the optimal cache size from a speed point of view.
-+# Minimum value: 0, maximum value: 9, default value: 0.
-+
-+LOOKUP_CACHE_SIZE = 0
-+
- #---------------------------------------------------------------------------
- # Build related configuration options
- #---------------------------------------------------------------------------
-+
-+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
-+# documentation are documented, even if no documentation was available. Private
-+# class members and static file members will be hidden unless the
-+# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
-+# Note: This will also disable the warnings about undocumented members that are
-+# normally produced when WARNINGS is set to YES.
-+# The default value is: NO.
-+
- EXTRACT_ALL = NO
-+
-+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
-+# be included in the documentation.
-+# The default value is: NO.
-+
- EXTRACT_PRIVATE = NO
-+
-+# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
-+# scope will be included in the documentation.
-+# The default value is: NO.
-+
-+EXTRACT_PACKAGE = NO
-+
-+# If the EXTRACT_STATIC tag is set to YES all static members of a file will be
-+# included in the documentation.
-+# The default value is: NO.
-+
- EXTRACT_STATIC = NO
-+
-+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
-+# locally in source files will be included in the documentation. If set to NO
-+# only classes defined in header files are included. Does not have any effect
-+# for Java sources.
-+# The default value is: YES.
-+
- EXTRACT_LOCAL_CLASSES = YES
-+
-+# This flag is only useful for Objective-C code. When set to YES local methods,
-+# which are defined in the implementation section but not in the interface are
-+# included in the documentation. If set to NO only methods in the interface are
-+# included.
-+# The default value is: NO.
-+
- EXTRACT_LOCAL_METHODS = NO
-+
-+# If this flag is set to YES, the members of anonymous namespaces will be
-+# extracted and appear in the documentation as a namespace called
-+# 'anonymous_namespace{file}', where file will be replaced with the base name of
-+# the file that contains the anonymous namespace. By default anonymous namespace
-+# are hidden.
-+# The default value is: NO.
-+
- EXTRACT_ANON_NSPACES = NO
-+
-+# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
-+# undocumented members inside documented classes or files. If set to NO these
-+# members will be included in the various overviews, but no documentation
-+# section is generated. This option has no effect if EXTRACT_ALL is enabled.
-+# The default value is: NO.
-+
- HIDE_UNDOC_MEMBERS = YES
-+
-+# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
-+# undocumented classes that are normally visible in the class hierarchy. If set
-+# to NO these classes will be included in the various overviews. This option has
-+# no effect if EXTRACT_ALL is enabled.
-+# The default value is: NO.
-+
- HIDE_UNDOC_CLASSES = YES
-+
-+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
-+# (class|struct|union) declarations. If set to NO these declarations will be
-+# included in the documentation.
-+# The default value is: NO.
-+
- HIDE_FRIEND_COMPOUNDS = NO
-+
-+# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
-+# documentation blocks found inside the body of a function. If set to NO these
-+# blocks will be appended to the function's detailed documentation block.
-+# The default value is: NO.
-+
- HIDE_IN_BODY_DOCS = NO
-+
-+# The INTERNAL_DOCS tag determines if documentation that is typed after a
-+# \internal command is included. If the tag is set to NO then the documentation
-+# will be excluded. Set it to YES to include the internal documentation.
-+# The default value is: NO.
-+
- INTERNAL_DOCS = NO
-+
-+# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
-+# names in lower-case letters. If set to YES upper-case letters are also
-+# allowed. This is useful if you have classes or files whose names only differ
-+# in case and if your file system supports case sensitive file names. Windows
-+# and Mac users are advised to set this option to NO.
-+# The default value is: system dependent.
-+
- CASE_SENSE_NAMES = YES
-+
-+# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
-+# their full class and namespace scopes in the documentation. If set to YES the
-+# scope will be hidden.
-+# The default value is: NO.
-+
- HIDE_SCOPE_NAMES = NO
-+
-+# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
-+# the files that are included by a file in the documentation of that file.
-+# The default value is: YES.
-+
- SHOW_INCLUDE_FILES = YES
-+
-+# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
-+# grouped member an include statement to the documentation, telling the reader
-+# which file to include in order to use the member.
-+# The default value is: NO.
-+
-+SHOW_GROUPED_MEMB_INC = NO
-+
-+# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
-+# files with double quotes in the documentation rather than with sharp brackets.
-+# The default value is: NO.
-+
-+FORCE_LOCAL_INCLUDES = NO
-+
-+# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
-+# documentation for inline members.
-+# The default value is: YES.
-+
- INLINE_INFO = YES
-+
-+# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
-+# (detailed) documentation of file and class members alphabetically by member
-+# name. If set to NO the members will appear in declaration order.
-+# The default value is: YES.
-+
- SORT_MEMBER_DOCS = YES
-+
-+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
-+# descriptions of file, namespace and class members alphabetically by member
-+# name. If set to NO the members will appear in declaration order. Note that
-+# this will also influence the order of the classes in the class list.
-+# The default value is: NO.
-+
- SORT_BRIEF_DOCS = YES
-+
-+# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
-+# (brief and detailed) documentation of class members so that constructors and
-+# destructors are listed first. If set to NO the constructors will appear in the
-+# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
-+# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
-+# member documentation.
-+# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
-+# detailed member documentation.
-+# The default value is: NO.
-+
-+SORT_MEMBERS_CTORS_1ST = NO
-+
-+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
-+# of group names into alphabetical order. If set to NO the group names will
-+# appear in their defined order.
-+# The default value is: NO.
-+
- SORT_GROUP_NAMES = NO
-+
-+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
-+# fully-qualified names, including namespaces. If set to NO, the class list will
-+# be sorted only by class name, not including the namespace part.
-+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
-+# Note: This option applies only to the class list, not to the alphabetical
-+# list.
-+# The default value is: NO.
-+
- SORT_BY_SCOPE_NAME = NO
-+
-+# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
-+# type resolution of all parameters of a function it will reject a match between
-+# the prototype and the implementation of a member function even if there is
-+# only one candidate or it is obvious which candidate to choose by doing a
-+# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
-+# accept a match between prototype and implementation in such cases.
-+# The default value is: NO.
-+
-+STRICT_PROTO_MATCHING = NO
-+
-+# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the
-+# todo list. This list is created by putting \todo commands in the
-+# documentation.
-+# The default value is: YES.
-+
- GENERATE_TODOLIST = YES
-+
-+# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the
-+# test list. This list is created by putting \test commands in the
-+# documentation.
-+# The default value is: YES.
-+
- GENERATE_TESTLIST = YES
-+
-+# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug
-+# list. This list is created by putting \bug commands in the documentation.
-+# The default value is: YES.
-+
- GENERATE_BUGLIST = YES
-+
-+# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO)
-+# the deprecated list. This list is created by putting \deprecated commands in
-+# the documentation.
-+# The default value is: YES.
-+
- GENERATE_DEPRECATEDLIST= YES
-+
-+# The ENABLED_SECTIONS tag can be used to enable conditional documentation
-+# sections, marked by \if <section_label> ... \endif and \cond <section_label>
-+# ... \endcond blocks.
-+
- ENABLED_SECTIONS =
-+
-+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
-+# initial value of a variable or macro / define can have for it to appear in the
-+# documentation. If the initializer consists of more lines than specified here
-+# it will be hidden. Use a value of 0 to hide initializers completely. The
-+# appearance of the value of individual variables and macros / defines can be
-+# controlled using \showinitializer or \hideinitializer command in the
-+# documentation regardless of this setting.
-+# Minimum value: 0, maximum value: 10000, default value: 30.
-+
- MAX_INITIALIZER_LINES = 30
-+
-+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
-+# the bottom of the documentation of classes and structs. If set to YES the list
-+# will mention the files that were used to generate the documentation.
-+# The default value is: YES.
-+
- SHOW_USED_FILES = YES
--SHOW_DIRECTORIES = NO
-+
-+# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
-+# will remove the Files entry from the Quick Index and from the Folder Tree View
-+# (if specified).
-+# The default value is: YES.
-+
- SHOW_FILES = YES
-+
-+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
-+# page. This will remove the Namespaces entry from the Quick Index and from the
-+# Folder Tree View (if specified).
-+# The default value is: YES.
-+
- SHOW_NAMESPACES = YES
-+
-+# The FILE_VERSION_FILTER tag can be used to specify a program or script that
-+# doxygen should invoke to get the current version for each file (typically from
-+# the version control system). Doxygen will invoke the program by executing (via
-+# popen()) the command command input-file, where command is the value of the
-+# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
-+# by doxygen. Whatever the program writes to standard output is used as the file
-+# version. For an example see the documentation.
-+
- FILE_VERSION_FILTER =
-+
-+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
-+# by doxygen. The layout file controls the global structure of the generated
-+# output files in an output format independent way. To create the layout file
-+# that represents doxygen's defaults, run doxygen with the -l option. You can
-+# optionally specify a file name after the option, if omitted DoxygenLayout.xml
-+# will be used as the name of the layout file.
-+#
-+# Note that if you run doxygen from a directory containing a file called
-+# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
-+# tag is left empty.
-+
-+LAYOUT_FILE =
-+
-+# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
-+# the reference definitions. This must be a list of .bib files. The .bib
-+# extension is automatically appended if omitted. This requires the bibtex tool
-+# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
-+# For LaTeX the style of the bibliography can be controlled using
-+# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
-+# search path. Do not use file names with spaces, bibtex cannot handle them. See
-+# also \cite for info how to create references.
-+
-+CITE_BIB_FILES =
-+
- #---------------------------------------------------------------------------
--# configuration options related to warning and progress messages
-+# Configuration options related to warning and progress messages
- #---------------------------------------------------------------------------
-+
-+# The QUIET tag can be used to turn on/off the messages that are generated to
-+# standard output by doxygen. If QUIET is set to YES this implies that the
-+# messages are off.
-+# The default value is: NO.
-+
- QUIET = NO
-+
-+# The WARNINGS tag can be used to turn on/off the warning messages that are
-+# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES
-+# this implies that the warnings are on.
-+#
-+# Tip: Turn warnings on while writing the documentation.
-+# The default value is: YES.
-+
- WARNINGS = YES
-+
-+# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate
-+# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
-+# will automatically be disabled.
-+# The default value is: YES.
-+
- WARN_IF_UNDOCUMENTED = YES
-+
-+# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
-+# potential errors in the documentation, such as not documenting some parameters
-+# in a documented function, or documenting parameters that don't exist or using
-+# markup commands wrongly.
-+# The default value is: YES.
-+
- WARN_IF_DOC_ERROR = YES
-+
-+# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
-+# are documented, but have no documentation for their parameters or return
-+# value. If set to NO doxygen will only warn about wrong or incomplete parameter
-+# documentation, but not about the absence of documentation.
-+# The default value is: NO.
-+
- WARN_NO_PARAMDOC = NO
-+
-+# The WARN_FORMAT tag determines the format of the warning messages that doxygen
-+# can produce. The string should contain the $file, $line, and $text tags, which
-+# will be replaced by the file and line number from which the warning originated
-+# and the warning text. Optionally the format may contain $version, which will
-+# be replaced by the version of the file (if it could be obtained via
-+# FILE_VERSION_FILTER)
-+# The default value is: $file:$line: $text.
-+
- WARN_FORMAT = "$file:$line: $text"
-+
-+# The WARN_LOGFILE tag can be used to specify a file to which warning and error
-+# messages should be written. If left blank the output is written to standard
-+# error (stderr).
-+
- WARN_LOGFILE =
-+
- #---------------------------------------------------------------------------
--# configuration options related to the input files
-+# Configuration options related to the input files
- #---------------------------------------------------------------------------
--INPUT = ../lib/opendbx/api \
-+
-+# The INPUT tag is used to specify the files and/or directories that contain
-+# documented source files. You may enter file names like myfile.cpp or
-+# directories like /usr/src/myproject. Separate the files or directories with
-+# spaces.
-+# Note: If this tag is empty the current directory is searched.
-+
-+INPUT = ../lib/opendbx/api.dox \
- ../lib/opendbx/api.h
-+
-+# This tag can be used to specify the character encoding of the source files
-+# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
-+# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
-+# documentation (see: http://www.gnu.org/software/libiconv) for the list of
-+# possible encodings.
-+# The default value is: UTF-8.
-+
- INPUT_ENCODING = UTF-8
-+
-+# If the value of the INPUT tag contains directories, you can use the
-+# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
-+# *.h) to filter out the source-files in the directories. If left blank the
-+# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
-+# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
-+# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
-+# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
-+# *.qsf, *.as and *.js.
-+
- FILE_PATTERNS = *.c \
- *.cc \
- *.cxx \
-@@ -144,161 +823,1540 @@
- *.F \
- *.VHD \
- *.VHDL
-+
-+# The RECURSIVE tag can be used to specify whether or not subdirectories should
-+# be searched for input files as well.
-+# The default value is: NO.
-+
- RECURSIVE = NO
-+
-+# The EXCLUDE tag can be used to specify files and/or directories that should be
-+# excluded from the INPUT source files. This way you can easily exclude a
-+# subdirectory from a directory tree whose root is specified with the INPUT tag.
-+#
-+# Note that relative paths are relative to the directory from which doxygen is
-+# run.
-+
- EXCLUDE =
-+
-+# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
-+# directories that are symbolic links (a Unix file system feature) are excluded
-+# from the input.
-+# The default value is: NO.
-+
- EXCLUDE_SYMLINKS = NO
-+
-+# If the value of the INPUT tag contains directories, you can use the
-+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
-+# certain files from those directories.
-+#
-+# Note that the wildcards are matched against the file with absolute path, so to
-+# exclude all test directories for example use the pattern */test/*
-+
- EXCLUDE_PATTERNS =
-+
-+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
-+# (namespaces, classes, functions, etc.) that should be excluded from the
-+# output. The symbol name can be a fully qualified name, a word, or if the
-+# wildcard * is used, a substring. Examples: ANamespace, AClass,
-+# AClass::ANamespace, ANamespace::*Test
-+#
-+# Note that the wildcards are matched against the file with absolute path, so to
-+# exclude all test directories use the pattern */test/*
-+
- EXCLUDE_SYMBOLS =
-+
-+# The EXAMPLE_PATH tag can be used to specify one or more files or directories
-+# that contain example code fragments that are included (see the \include
-+# command).
-+
- EXAMPLE_PATH =
-+
-+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
-+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
-+# *.h) to filter out the source-files in the directories. If left blank all
-+# files are included.
-+
- EXAMPLE_PATTERNS = *
-+
-+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
-+# searched for input files to be used with the \include or \dontinclude commands
-+# irrespective of the value of the RECURSIVE tag.
-+# The default value is: NO.
-+
- EXAMPLE_RECURSIVE = NO
-+
-+# The IMAGE_PATH tag can be used to specify one or more files or directories
-+# that contain images that are to be included in the documentation (see the
-+# \image command).
-+
- IMAGE_PATH =
-+
-+# The INPUT_FILTER tag can be used to specify a program that doxygen should
-+# invoke to filter for each input file. Doxygen will invoke the filter program
-+# by executing (via popen()) the command:
-+#
-+# <filter> <input-file>
-+#
-+# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
-+# name of an input file. Doxygen will then use the output that the filter
-+# program writes to standard output. If FILTER_PATTERNS is specified, this tag
-+# will be ignored.
-+#
-+# Note that the filter must not add or remove lines; it is applied before the
-+# code is scanned, but not when the output code is generated. If lines are added
-+# or removed, the anchors will not be placed correctly.
-+
- INPUT_FILTER =
-+
-+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
-+# basis. Doxygen will compare the file name with each pattern and apply the
-+# filter if there is a match. The filters are a list of the form: pattern=filter
-+# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
-+# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
-+# patterns match the file name, INPUT_FILTER is applied.
-+
- FILTER_PATTERNS =
-+
-+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
-+# INPUT_FILTER ) will also be used to filter the input files that are used for
-+# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
-+# The default value is: NO.
-+
- FILTER_SOURCE_FILES = NO
-+
-+# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
-+# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
-+# it is also possible to disable source filtering for a specific pattern using
-+# *.ext= (so without naming a filter).
-+# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
-+
-+FILTER_SOURCE_PATTERNS =
-+
-+# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
-+# is part of the input, its contents will be placed on the main page
-+# (index.html). This can be useful if you have a project on for instance GitHub
-+# and want to reuse the introduction page also for the doxygen output.
-+
-+USE_MDFILE_AS_MAINPAGE =
-+
- #---------------------------------------------------------------------------
--# configuration options related to source browsing
-+# Configuration options related to source browsing
- #---------------------------------------------------------------------------
-+
-+# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
-+# generated. Documented entities will be cross-referenced with these sources.
-+#
-+# Note: To get rid of all source code in the generated output, make sure that
-+# also VERBATIM_HEADERS is set to NO.
-+# The default value is: NO.
-+
- SOURCE_BROWSER = NO
-+
-+# Setting the INLINE_SOURCES tag to YES will include the body of functions,
-+# classes and enums directly into the documentation.
-+# The default value is: NO.
-+
- INLINE_SOURCES = NO
-+
-+# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
-+# special comment blocks from generated source code fragments. Normal C, C++ and
-+# Fortran comments will always remain visible.
-+# The default value is: YES.
-+
- STRIP_CODE_COMMENTS = YES
-+
-+# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
-+# function all documented functions referencing it will be listed.
-+# The default value is: NO.
-+
- REFERENCED_BY_RELATION = NO
-+
-+# If the REFERENCES_RELATION tag is set to YES then for each documented function
-+# all documented entities called/used by that function will be listed.
-+# The default value is: NO.
-+
- REFERENCES_RELATION = NO
-+
-+# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
-+# to YES, then the hyperlinks from functions in REFERENCES_RELATION and
-+# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
-+# link to the documentation.
-+# The default value is: YES.
-+
- REFERENCES_LINK_SOURCE = YES
-+
-+# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
-+# source code will show a tooltip with additional information such as prototype,
-+# brief description and links to the definition and documentation. Since this
-+# will make the HTML file larger and loading of large files a bit slower, you
-+# can opt to disable this feature.
-+# The default value is: YES.
-+# This tag requires that the tag SOURCE_BROWSER is set to YES.
-+
-+SOURCE_TOOLTIPS = YES
-+
-+# If the USE_HTAGS tag is set to YES then the references to source code will
-+# point to the HTML generated by the htags(1) tool instead of doxygen built-in
-+# source browser. The htags tool is part of GNU's global source tagging system
-+# (see http://www.gnu.org/software/global/global.html). You will need version
-+# 4.8.6 or higher.
-+#
-+# To use it do the following:
-+# - Install the latest version of global
-+# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
-+# - Make sure the INPUT points to the root of the source tree
-+# - Run doxygen as normal
-+#
-+# Doxygen will invoke htags (and that will in turn invoke gtags), so these
-+# tools must be available from the command line (i.e. in the search path).
-+#
-+# The result: instead of the source browser generated by doxygen, the links to
-+# source code will now point to the output of htags.
-+# The default value is: NO.
-+# This tag requires that the tag SOURCE_BROWSER is set to YES.
-+
- USE_HTAGS = NO
-+
-+# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
-+# verbatim copy of the header file for each class for which an include is
-+# specified. Set to NO to disable this.
-+# See also: Section \class.
-+# The default value is: YES.
-+
- VERBATIM_HEADERS = NO
-+
- #---------------------------------------------------------------------------
--# configuration options related to the alphabetical class index
-+# Configuration options related to the alphabetical class index
- #---------------------------------------------------------------------------
-+
-+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
-+# compounds will be generated. Enable this if the project contains a lot of
-+# classes, structs, unions or interfaces.
-+# The default value is: YES.
-+
- ALPHABETICAL_INDEX = NO
-+
-+# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
-+# which the alphabetical index list will be split.
-+# Minimum value: 1, maximum value: 20, default value: 5.
-+# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-+
- COLS_IN_ALPHA_INDEX = 5
-+
-+# In case all classes in a project start with a common prefix, all classes will
-+# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
-+# can be used to specify a prefix (or a list of prefixes) that should be ignored
-+# while generating the index headers.
-+# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-+
- IGNORE_PREFIX =
-+
- #---------------------------------------------------------------------------
--# configuration options related to the HTML output
-+# Configuration options related to the HTML output
- #---------------------------------------------------------------------------
-+
-+# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
-+# The default value is: YES.
-+
- GENERATE_HTML = YES
-+
-+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
-+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-+# it.
-+# The default directory is: html.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- HTML_OUTPUT = html
-+
-+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
-+# generated HTML page (for example: .htm, .php, .asp).
-+# The default value is: .html.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- HTML_FILE_EXTENSION = .html
-+
-+# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
-+# each generated HTML page. If the tag is left blank doxygen will generate a
-+# standard header.
-+#
-+# To get valid HTML the header file that includes any scripts and style sheets
-+# that doxygen needs, which is dependent on the configuration options used (e.g.
-+# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
-+# default header using
-+# doxygen -w html new_header.html new_footer.html new_stylesheet.css
-+# YourConfigFile
-+# and then modify the file new_header.html. See also section "Doxygen usage"
-+# for information on how to generate the default header that doxygen normally
-+# uses.
-+# Note: The header is subject to change so you typically have to regenerate the
-+# default header when upgrading to a newer version of doxygen. For a description
-+# of the possible markers and block names see the documentation.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- HTML_HEADER =
-+
-+# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
-+# generated HTML page. If the tag is left blank doxygen will generate a standard
-+# footer. See HTML_HEADER for more information on how to generate a default
-+# footer and what special commands can be used inside the footer. See also
-+# section "Doxygen usage" for information on how to generate the default footer
-+# that doxygen normally uses.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- HTML_FOOTER =
-+
-+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
-+# sheet that is used by each HTML page. It can be used to fine-tune the look of
-+# the HTML output. If left blank doxygen will generate a default style sheet.
-+# See also section "Doxygen usage" for information on how to generate the style
-+# sheet that doxygen normally uses.
-+# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
-+# it is more robust and this tag (HTML_STYLESHEET) will in the future become
-+# obsolete.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- HTML_STYLESHEET =
--HTML_ALIGN_MEMBERS = YES
--GENERATE_HTMLHELP = NO
--GENERATE_DOCSET = NO
--DOCSET_FEEDNAME = "Doxygen generated docs"
--DOCSET_BUNDLE_ID = org.doxygen.Project
--HTML_DYNAMIC_SECTIONS = NO
--CHM_FILE =
--HHC_LOCATION =
--GENERATE_CHI = NO
--CHM_INDEX_ENCODING =
-+
-+# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user-
-+# defined cascading style sheet that is included after the standard style sheets
-+# created by doxygen. Using this option one can overrule certain style aspects.
-+# This is preferred over using HTML_STYLESHEET since it does not replace the
-+# standard style sheet and is therefor more robust against future updates.
-+# Doxygen will copy the style sheet file to the output directory. For an example
-+# see the documentation.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+HTML_EXTRA_STYLESHEET =
-+
-+# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
-+# other source files which should be copied to the HTML output directory. Note
-+# that these files will be copied to the base HTML output directory. Use the
-+# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
-+# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
-+# files will be copied as-is; there are no commands or markers available.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+HTML_EXTRA_FILES =
-+
-+# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
-+# will adjust the colors in the stylesheet and background images according to
-+# this color. Hue is specified as an angle on a colorwheel, see
-+# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
-+# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
-+# purple, and 360 is red again.
-+# Minimum value: 0, maximum value: 359, default value: 220.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+HTML_COLORSTYLE_HUE = 220
-+
-+# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
-+# in the HTML output. For a value of 0 the output will use grayscales only. A
-+# value of 255 will produce the most vivid colors.
-+# Minimum value: 0, maximum value: 255, default value: 100.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+HTML_COLORSTYLE_SAT = 100
-+
-+# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
-+# luminance component of the colors in the HTML output. Values below 100
-+# gradually make the output lighter, whereas values above 100 make the output
-+# darker. The value divided by 100 is the actual gamma applied, so 80 represents
-+# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
-+# change the gamma.
-+# Minimum value: 40, maximum value: 240, default value: 80.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+HTML_COLORSTYLE_GAMMA = 80
-+
-+# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
-+# page will contain the date and time when the page was generated. Setting this
-+# to NO can help when comparing the output of multiple runs.
-+# The default value is: YES.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+HTML_TIMESTAMP = YES
-+
-+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
-+# documentation will contain sections that can be hidden and shown after the
-+# page has loaded.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+HTML_DYNAMIC_SECTIONS = NO
-+
-+# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
-+# shown in the various tree structured indices initially; the user can expand
-+# and collapse entries dynamically later on. Doxygen will expand the tree to
-+# such a level that at most the specified number of entries are visible (unless
-+# a fully collapsed tree already exceeds this amount). So setting the number of
-+# entries 1 will produce a full collapsed tree by default. 0 is a special value
-+# representing an infinite number of entries and will result in a full expanded
-+# tree by default.
-+# Minimum value: 0, maximum value: 9999, default value: 100.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+HTML_INDEX_NUM_ENTRIES = 100
-+
-+# If the GENERATE_DOCSET tag is set to YES, additional index files will be
-+# generated that can be used as input for Apple's Xcode 3 integrated development
-+# environment (see: http://developer.apple.com/tools/xcode/), introduced with
-+# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
-+# Makefile in the HTML output directory. Running make will produce the docset in
-+# that directory and running make install will install the docset in
-+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
-+# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
-+# for more information.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+GENERATE_DOCSET = NO
-+
-+# This tag determines the name of the docset feed. A documentation feed provides
-+# an umbrella under which multiple documentation sets from a single provider
-+# (such as a company or product suite) can be grouped.
-+# The default value is: Doxygen generated docs.
-+# This tag requires that the tag GENERATE_DOCSET is set to YES.
-+
-+DOCSET_FEEDNAME = "Doxygen generated docs"
-+
-+# This tag specifies a string that should uniquely identify the documentation
-+# set bundle. This should be a reverse domain-name style string, e.g.
-+# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
-+# The default value is: org.doxygen.Project.
-+# This tag requires that the tag GENERATE_DOCSET is set to YES.
-+
-+DOCSET_BUNDLE_ID = org.doxygen.Project
-+
-+# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
-+# the documentation publisher. This should be a reverse domain-name style
-+# string, e.g. com.mycompany.MyDocSet.documentation.
-+# The default value is: org.doxygen.Publisher.
-+# This tag requires that the tag GENERATE_DOCSET is set to YES.
-+
-+DOCSET_PUBLISHER_ID = org.doxygen.Publisher
-+
-+# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
-+# The default value is: Publisher.
-+# This tag requires that the tag GENERATE_DOCSET is set to YES.
-+
-+DOCSET_PUBLISHER_NAME = Publisher
-+
-+# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
-+# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
-+# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
-+# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
-+# Windows.
-+#
-+# The HTML Help Workshop contains a compiler that can convert all HTML output
-+# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
-+# files are now used as the Windows 98 help format, and will replace the old
-+# Windows help format (.hlp) on all Windows platforms in the future. Compressed
-+# HTML files also contain an index, a table of contents, and you can search for
-+# words in the documentation. The HTML workshop also contains a viewer for
-+# compressed HTML files.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+GENERATE_HTMLHELP = NO
-+
-+# The CHM_FILE tag can be used to specify the file name of the resulting .chm
-+# file. You can add a path in front of the file if the result should not be
-+# written to the html output directory.
-+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-+
-+CHM_FILE =
-+
-+# The HHC_LOCATION tag can be used to specify the location (absolute path
-+# including file name) of the HTML help compiler ( hhc.exe). If non-empty
-+# doxygen will try to run the HTML help compiler on the generated index.hhp.
-+# The file has to be specified with full path.
-+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-+
-+HHC_LOCATION =
-+
-+# The GENERATE_CHI flag controls if a separate .chi index file is generated (
-+# YES) or that it should be included in the master .chm file ( NO).
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-+
-+GENERATE_CHI = NO
-+
-+# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
-+# and project file content.
-+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-+
-+CHM_INDEX_ENCODING =
-+
-+# The BINARY_TOC flag controls whether a binary table of contents is generated (
-+# YES) or a normal table of contents ( NO) in the .chm file.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-+
- BINARY_TOC = NO
-+
-+# The TOC_EXPAND flag can be set to YES to add extra items for group members to
-+# the table of contents of the HTML help documentation and to the tree view.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-+
- TOC_EXPAND = NO
-+
-+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
-+# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
-+# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
-+# (.qch) of the generated HTML documentation.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+GENERATE_QHP = NO
-+
-+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
-+# the file name of the resulting .qch file. The path specified is relative to
-+# the HTML output folder.
-+# This tag requires that the tag GENERATE_QHP is set to YES.
-+
-+QCH_FILE =
-+
-+# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
-+# Project output. For more information please see Qt Help Project / Namespace
-+# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
-+# The default value is: org.doxygen.Project.
-+# This tag requires that the tag GENERATE_QHP is set to YES.
-+
-+QHP_NAMESPACE = org.doxygen.Project
-+
-+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
-+# Help Project output. For more information please see Qt Help Project / Virtual
-+# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
-+# folders).
-+# The default value is: doc.
-+# This tag requires that the tag GENERATE_QHP is set to YES.
-+
-+QHP_VIRTUAL_FOLDER = doc
-+
-+# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
-+# filter to add. For more information please see Qt Help Project / Custom
-+# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-+# filters).
-+# This tag requires that the tag GENERATE_QHP is set to YES.
-+
-+QHP_CUST_FILTER_NAME =
-+
-+# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
-+# custom filter to add. For more information please see Qt Help Project / Custom
-+# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-+# filters).
-+# This tag requires that the tag GENERATE_QHP is set to YES.
-+
-+QHP_CUST_FILTER_ATTRS =
-+
-+# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
-+# project's filter section matches. Qt Help Project / Filter Attributes (see:
-+# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
-+# This tag requires that the tag GENERATE_QHP is set to YES.
-+
-+QHP_SECT_FILTER_ATTRS =
-+
-+# The QHG_LOCATION tag can be used to specify the location of Qt's
-+# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
-+# generated .qhp file.
-+# This tag requires that the tag GENERATE_QHP is set to YES.
-+
-+QHG_LOCATION =
-+
-+# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
-+# generated, together with the HTML files, they form an Eclipse help plugin. To
-+# install this plugin and make it available under the help contents menu in
-+# Eclipse, the contents of the directory containing the HTML and XML files needs
-+# to be copied into the plugins directory of eclipse. The name of the directory
-+# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
-+# After copying Eclipse needs to be restarted before the help appears.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+GENERATE_ECLIPSEHELP = NO
-+
-+# A unique identifier for the Eclipse help plugin. When installing the plugin
-+# the directory name containing the HTML and XML files should also have this
-+# name. Each documentation set should have its own identifier.
-+# The default value is: org.doxygen.Project.
-+# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
-+
-+ECLIPSE_DOC_ID = org.doxygen.Project
-+
-+# If you want full control over the layout of the generated HTML pages it might
-+# be necessary to disable the index and replace it with your own. The
-+# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
-+# of each HTML page. A value of NO enables the index and the value YES disables
-+# it. Since the tabs in the index contain the same information as the navigation
-+# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- DISABLE_INDEX = NO
--ENUM_VALUES_PER_LINE = 4
-+
-+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
-+# structure should be generated to display hierarchical information. If the tag
-+# value is set to YES, a side panel will be generated containing a tree-like
-+# index structure (just like the one that is generated for HTML Help). For this
-+# to work a browser that supports JavaScript, DHTML, CSS and frames is required
-+# (i.e. any modern browser). Windows users are probably better off using the
-+# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can
-+# further fine-tune the look of the index. As an example, the default style
-+# sheet generated by doxygen has an example that shows how to put an image at
-+# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
-+# the same information as the tab index, you could consider setting
-+# DISABLE_INDEX to YES when enabling this option.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- GENERATE_TREEVIEW = NONE
-+
-+# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
-+# doxygen will group on one line in the generated HTML documentation.
-+#
-+# Note that a value of 0 will completely suppress the enum values from appearing
-+# in the overview section.
-+# Minimum value: 0, maximum value: 20, default value: 4.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+ENUM_VALUES_PER_LINE = 4
-+
-+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
-+# to set the initial width (in pixels) of the frame in which the tree is shown.
-+# Minimum value: 0, maximum value: 1500, default value: 250.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- TREEVIEW_WIDTH = 250
-+
-+# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to
-+# external symbols imported via tag files in a separate window.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+EXT_LINKS_IN_WINDOW = NO
-+
-+# Use this tag to change the font size of LaTeX formulas included as images in
-+# the HTML documentation. When you change the font size after a successful
-+# doxygen run you need to manually remove any form_*.png images from the HTML
-+# output directory to force them to be regenerated.
-+# Minimum value: 8, maximum value: 50, default value: 10.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
- FORMULA_FONTSIZE = 10
-+
-+# Use the FORMULA_TRANPARENT tag to determine whether or not the images
-+# generated for formulas are transparent PNGs. Transparent PNGs are not
-+# supported properly for IE 6.0, but are supported on all modern browsers.
-+#
-+# Note that when changing this option you need to delete any form_*.png files in
-+# the HTML output directory before the changes have effect.
-+# The default value is: YES.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+FORMULA_TRANSPARENT = YES
-+
-+# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
-+# http://www.mathjax.org) which uses client side Javascript for the rendering
-+# instead of using prerendered bitmaps. Use this if you do not have LaTeX
-+# installed or if you want to formulas look prettier in the HTML output. When
-+# enabled you may also need to install MathJax separately and configure the path
-+# to it using the MATHJAX_RELPATH option.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+USE_MATHJAX = NO
-+
-+# When MathJax is enabled you can set the default output format to be used for
-+# the MathJax output. See the MathJax site (see:
-+# http://docs.mathjax.org/en/latest/output.html) for more details.
-+# Possible values are: HTML-CSS (which is slower, but has the best
-+# compatibility), NativeMML (i.e. MathML) and SVG.
-+# The default value is: HTML-CSS.
-+# This tag requires that the tag USE_MATHJAX is set to YES.
-+
-+MATHJAX_FORMAT = HTML-CSS
-+
-+# When MathJax is enabled you need to specify the location relative to the HTML
-+# output directory using the MATHJAX_RELPATH option. The destination directory
-+# should contain the MathJax.js script. For instance, if the mathjax directory
-+# is located at the same level as the HTML output directory, then
-+# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
-+# Content Delivery Network so you can quickly see the result without installing
-+# MathJax. However, it is strongly recommended to install a local copy of
-+# MathJax from http://www.mathjax.org before deployment.
-+# The default value is: http://cdn.mathjax.org/mathjax/latest.
-+# This tag requires that the tag USE_MATHJAX is set to YES.
-+
-+MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
-+
-+# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
-+# extension names that should be enabled during MathJax rendering. For example
-+# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
-+# This tag requires that the tag USE_MATHJAX is set to YES.
-+
-+MATHJAX_EXTENSIONS =
-+
-+# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
-+# of code that will be used on startup of the MathJax code. See the MathJax site
-+# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
-+# example see the documentation.
-+# This tag requires that the tag USE_MATHJAX is set to YES.
-+
-+MATHJAX_CODEFILE =
-+
-+# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
-+# the HTML output. The underlying search engine uses javascript and DHTML and
-+# should work on any modern browser. Note that when using HTML help
-+# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
-+# there is already a search function so this one should typically be disabled.
-+# For large projects the javascript based search engine can be slow, then
-+# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
-+# search using the keyboard; to jump to the search box use <access key> + S
-+# (what the <access key> is depends on the OS and browser, but it is typically
-+# <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
-+# key> to jump into the search results window, the results can be navigated
-+# using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
-+# the search. The filter options can be selected when the cursor is inside the
-+# search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
-+# to select a filter and <Enter> or <escape> to activate or cancel the filter
-+# option.
-+# The default value is: YES.
-+# This tag requires that the tag GENERATE_HTML is set to YES.
-+
-+SEARCHENGINE = NO
-+
-+# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
-+# implemented using a web server instead of a web client using Javascript. There
-+# are two flavours of web server based searching depending on the
-+# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for
-+# searching and an index file used by the script. When EXTERNAL_SEARCH is
-+# enabled the indexing and searching needs to be provided by external tools. See
-+# the section "External Indexing and Searching" for details.
-+# The default value is: NO.
-+# This tag requires that the tag SEARCHENGINE is set to YES.
-+
-+SERVER_BASED_SEARCH = NO
-+
-+# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
-+# script for searching. Instead the search results are written to an XML file
-+# which needs to be processed by an external indexer. Doxygen will invoke an
-+# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
-+# search results.
-+#
-+# Doxygen ships with an example indexer ( doxyindexer) and search engine
-+# (doxysearch.cgi) which are based on the open source search engine library
-+# Xapian (see: http://xapian.org/).
-+#
-+# See the section "External Indexing and Searching" for details.
-+# The default value is: NO.
-+# This tag requires that the tag SEARCHENGINE is set to YES.
-+
-+EXTERNAL_SEARCH = NO
-+
-+# The SEARCHENGINE_URL should point to a search engine hosted by a web server
-+# which will return the search results when EXTERNAL_SEARCH is enabled.
-+#
-+# Doxygen ships with an example indexer ( doxyindexer) and search engine
-+# (doxysearch.cgi) which are based on the open source search engine library
-+# Xapian (see: http://xapian.org/). See the section "External Indexing and
-+# Searching" for details.
-+# This tag requires that the tag SEARCHENGINE is set to YES.
-+
-+SEARCHENGINE_URL =
-+
-+# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
-+# search data is written to a file for indexing by an external tool. With the
-+# SEARCHDATA_FILE tag the name of this file can be specified.
-+# The default file is: searchdata.xml.
-+# This tag requires that the tag SEARCHENGINE is set to YES.
-+
-+SEARCHDATA_FILE = searchdata.xml
-+
-+# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
-+# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
-+# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
-+# projects and redirect the results back to the right project.
-+# This tag requires that the tag SEARCHENGINE is set to YES.
-+
-+EXTERNAL_SEARCH_ID =
-+
-+# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
-+# projects other than the one defined by this configuration file, but that are
-+# all added to the same external search index. Each project needs to have a
-+# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
-+# to a relative location where the documentation can be found. The format is:
-+# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
-+# This tag requires that the tag SEARCHENGINE is set to YES.
-+
-+EXTRA_SEARCH_MAPPINGS =
-+
- #---------------------------------------------------------------------------
--# configuration options related to the LaTeX output
-+# Configuration options related to the LaTeX output
- #---------------------------------------------------------------------------
-+
-+# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
-+# The default value is: YES.
-+
- GENERATE_LATEX = NO
-+
-+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
-+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-+# it.
-+# The default directory is: latex.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- LATEX_OUTPUT = latex
-+
-+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
-+# invoked.
-+#
-+# Note that when enabling USE_PDFLATEX this option is only used for generating
-+# bitmaps for formulas in the HTML output, but not in the Makefile that is
-+# written to the output directory.
-+# The default file is: latex.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- LATEX_CMD_NAME = latex
-+
-+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
-+# index for LaTeX.
-+# The default file is: makeindex.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- MAKEINDEX_CMD_NAME = makeindex
-+
-+# If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX
-+# documents. This may be useful for small projects and may help to save some
-+# trees in general.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- COMPACT_LATEX = NO
-+
-+# The PAPER_TYPE tag can be used to set the paper type that is used by the
-+# printer.
-+# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
-+# 14 inches) and executive (7.25 x 10.5 inches).
-+# The default value is: a4.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- PAPER_TYPE = a4wide
-+
-+# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
-+# that should be included in the LaTeX output. To get the times font for
-+# instance you can specify
-+# EXTRA_PACKAGES=times
-+# If left blank no extra packages will be included.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- EXTRA_PACKAGES =
-+
-+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
-+# generated LaTeX document. The header should contain everything until the first
-+# chapter. If it is left blank doxygen will generate a standard header. See
-+# section "Doxygen usage" for information on how to let doxygen write the
-+# default header to a separate file.
-+#
-+# Note: Only use a user-defined header if you know what you are doing! The
-+# following commands have a special meaning inside the header: $title,
-+# $datetime, $date, $doxygenversion, $projectname, $projectnumber. Doxygen will
-+# replace them by respectively the title of the page, the current date and time,
-+# only the current date, the version number of doxygen, the project name (see
-+# PROJECT_NAME), or the project number (see PROJECT_NUMBER).
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- LATEX_HEADER =
-+
-+# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
-+# generated LaTeX document. The footer should contain everything after the last
-+# chapter. If it is left blank doxygen will generate a standard footer.
-+#
-+# Note: Only use a user-defined footer if you know what you are doing!
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
-+LATEX_FOOTER =
-+
-+# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
-+# other source files which should be copied to the LATEX_OUTPUT output
-+# directory. Note that the files will be copied as-is; there are no commands or
-+# markers available.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
-+LATEX_EXTRA_FILES =
-+
-+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
-+# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
-+# contain links (just like the HTML output) instead of page references. This
-+# makes the output suitable for online browsing using a PDF viewer.
-+# The default value is: YES.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- PDF_HYPERLINKS = YES
-+
-+# If the LATEX_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
-+# the PDF file directly from the LaTeX files. Set this option to YES to get a
-+# higher quality PDF documentation.
-+# The default value is: YES.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- USE_PDFLATEX = YES
-+
-+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
-+# command to the generated LaTeX files. This will instruct LaTeX to keep running
-+# if errors occur, instead of asking the user for help. This option is also used
-+# when generating formulas in HTML.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- LATEX_BATCHMODE = NO
-+
-+# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
-+# index chapters (such as File Index, Compound Index, etc.) in the output.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
- LATEX_HIDE_INDICES = NO
-+
-+# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
-+# code with syntax highlighting in the LaTeX output.
-+#
-+# Note that which sources are shown also depends on other settings such as
-+# SOURCE_BROWSER.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
-+LATEX_SOURCE_CODE = NO
-+
-+# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
-+# bibliography, e.g. plainnat, or ieeetr. See
-+# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
-+# The default value is: plain.
-+# This tag requires that the tag GENERATE_LATEX is set to YES.
-+
-+LATEX_BIB_STYLE = plain
-+
- #---------------------------------------------------------------------------
--# configuration options related to the RTF output
-+# Configuration options related to the RTF output
- #---------------------------------------------------------------------------
-+
-+# If the GENERATE_RTF tag is set to YES doxygen will generate RTF output. The
-+# RTF output is optimized for Word 97 and may not look too pretty with other RTF
-+# readers/editors.
-+# The default value is: NO.
-+
- GENERATE_RTF = NO
-+
-+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
-+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-+# it.
-+# The default directory is: rtf.
-+# This tag requires that the tag GENERATE_RTF is set to YES.
-+
- RTF_OUTPUT = rtf
-+
-+# If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF
-+# documents. This may be useful for small projects and may help to save some
-+# trees in general.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_RTF is set to YES.
-+
- COMPACT_RTF = NO
-+
-+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
-+# contain hyperlink fields. The RTF file will contain links (just like the HTML
-+# output) instead of page references. This makes the output suitable for online
-+# browsing using Word or some other Word compatible readers that support those
-+# fields.
-+#
-+# Note: WordPad (write) and others do not support links.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_RTF is set to YES.
-+
- RTF_HYPERLINKS = NO
-+
-+# Load stylesheet definitions from file. Syntax is similar to doxygen's config
-+# file, i.e. a series of assignments. You only have to provide replacements,
-+# missing definitions are set to their default value.
-+#
-+# See also section "Doxygen usage" for information on how to generate the
-+# default style sheet that doxygen normally uses.
-+# This tag requires that the tag GENERATE_RTF is set to YES.
-+
- RTF_STYLESHEET_FILE =
-+
-+# Set optional variables used in the generation of an RTF document. Syntax is
-+# similar to doxygen's config file. A template extensions file can be generated
-+# using doxygen -e rtf extensionFile.
-+# This tag requires that the tag GENERATE_RTF is set to YES.
-+
- RTF_EXTENSIONS_FILE =
-+
- #---------------------------------------------------------------------------
--# configuration options related to the man page output
-+# Configuration options related to the man page output
- #---------------------------------------------------------------------------
-+
-+# If the GENERATE_MAN tag is set to YES doxygen will generate man pages for
-+# classes and files.
-+# The default value is: NO.
-+
- GENERATE_MAN = YES
-+
-+# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
-+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-+# it. A directory man3 will be created inside the directory specified by
-+# MAN_OUTPUT.
-+# The default directory is: man.
-+# This tag requires that the tag GENERATE_MAN is set to YES.
-+
- MAN_OUTPUT = man
-+
-+# The MAN_EXTENSION tag determines the extension that is added to the generated
-+# man pages. In case the manual section does not start with a number, the number
-+# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
-+# optional.
-+# The default value is: .3.
-+# This tag requires that the tag GENERATE_MAN is set to YES.
-+
- MAN_EXTENSION = .3
-+
-+# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
-+# will generate one additional man file for each entity documented in the real
-+# man page(s). These additional files only source the real man page, but without
-+# them the man command would be unable to find the correct page.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_MAN is set to YES.
-+
- MAN_LINKS = NO
-+
- #---------------------------------------------------------------------------
--# configuration options related to the XML output
-+# Configuration options related to the XML output
- #---------------------------------------------------------------------------
-+
-+# If the GENERATE_XML tag is set to YES doxygen will generate an XML file that
-+# captures the structure of the code including all documentation.
-+# The default value is: NO.
-+
- GENERATE_XML = YES
-+
-+# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
-+# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-+# it.
-+# The default directory is: xml.
-+# This tag requires that the tag GENERATE_XML is set to YES.
-+
- XML_OUTPUT = xml
-+
-+# The XML_SCHEMA tag can be used to specify a XML schema, which can be used by a
-+# validating XML parser to check the syntax of the XML files.
-+# This tag requires that the tag GENERATE_XML is set to YES.
-+
- XML_SCHEMA =
-+
-+# The XML_DTD tag can be used to specify a XML DTD, which can be used by a
-+# validating XML parser to check the syntax of the XML files.
-+# This tag requires that the tag GENERATE_XML is set to YES.
-+
- XML_DTD =
-+
-+# If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program
-+# listings (including syntax highlighting and cross-referencing information) to
-+# the XML output. Note that enabling this will significantly increase the size
-+# of the XML output.
-+# The default value is: YES.
-+# This tag requires that the tag GENERATE_XML is set to YES.
-+
- XML_PROGRAMLISTING = YES
-+
- #---------------------------------------------------------------------------
--# configuration options for the AutoGen Definitions output
-+# Configuration options related to the DOCBOOK output
- #---------------------------------------------------------------------------
-+
-+# If the GENERATE_DOCBOOK tag is set to YES doxygen will generate Docbook files
-+# that can be used to generate PDF.
-+# The default value is: NO.
-+
-+GENERATE_DOCBOOK = NO
-+
-+# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
-+# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
-+# front of it.
-+# The default directory is: docbook.
-+# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-+
-+DOCBOOK_OUTPUT = docbook
-+
-+#---------------------------------------------------------------------------
-+# Configuration options for the AutoGen Definitions output
-+#---------------------------------------------------------------------------
-+
-+# If the GENERATE_AUTOGEN_DEF tag is set to YES doxygen will generate an AutoGen
-+# Definitions (see http://autogen.sf.net) file that captures the structure of
-+# the code including all documentation. Note that this feature is still
-+# experimental and incomplete at the moment.
-+# The default value is: NO.
-+
- GENERATE_AUTOGEN_DEF = NO
-+
- #---------------------------------------------------------------------------
--# configuration options related to the Perl module output
-+# Configuration options related to the Perl module output
- #---------------------------------------------------------------------------
-+
-+# If the GENERATE_PERLMOD tag is set to YES doxygen will generate a Perl module
-+# file that captures the structure of the code including all documentation.
-+#
-+# Note that this feature is still experimental and incomplete at the moment.
-+# The default value is: NO.
-+
- GENERATE_PERLMOD = NO
-+
-+# If the PERLMOD_LATEX tag is set to YES doxygen will generate the necessary
-+# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
-+# output from the Perl module output.
-+# The default value is: NO.
-+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-+
- PERLMOD_LATEX = NO
-+
-+# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be nicely
-+# formatted so it can be parsed by a human reader. This is useful if you want to
-+# understand what is going on. On the other hand, if this tag is set to NO the
-+# size of the Perl module output will be much smaller and Perl will parse it
-+# just the same.
-+# The default value is: YES.
-+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-+
- PERLMOD_PRETTY = YES
-+
-+# The names of the make variables in the generated doxyrules.make file are
-+# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
-+# so different doxyrules.make files included by the same Makefile don't
-+# overwrite each other's variables.
-+# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-+
- PERLMOD_MAKEVAR_PREFIX =
-+
- #---------------------------------------------------------------------------
- # Configuration options related to the preprocessor
- #---------------------------------------------------------------------------
-+
-+# If the ENABLE_PREPROCESSING tag is set to YES doxygen will evaluate all
-+# C-preprocessor directives found in the sources and include files.
-+# The default value is: YES.
-+
- ENABLE_PREPROCESSING = YES
-+
-+# If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names
-+# in the source code. If set to NO only conditional compilation will be
-+# performed. Macro expansion can be done in a controlled way by setting
-+# EXPAND_ONLY_PREDEF to YES.
-+# The default value is: NO.
-+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-+
- MACRO_EXPANSION = NO
-+
-+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
-+# the macro expansion is limited to the macros specified with the PREDEFINED and
-+# EXPAND_AS_DEFINED tags.
-+# The default value is: NO.
-+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-+
- EXPAND_ONLY_PREDEF = NO
-+
-+# If the SEARCH_INCLUDES tag is set to YES the includes files in the
-+# INCLUDE_PATH will be searched if a #include is found.
-+# The default value is: YES.
-+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-+
- SEARCH_INCLUDES = YES
-+
-+# The INCLUDE_PATH tag can be used to specify one or more directories that
-+# contain include files that are not input files but should be processed by the
-+# preprocessor.
-+# This tag requires that the tag SEARCH_INCLUDES is set to YES.
-+
- INCLUDE_PATH =
-+
-+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
-+# patterns (like *.h and *.hpp) to filter out the header-files in the
-+# directories. If left blank, the patterns specified with FILE_PATTERNS will be
-+# used.
-+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-+
- INCLUDE_FILE_PATTERNS =
-+
-+# The PREDEFINED tag can be used to specify one or more macro names that are
-+# defined before the preprocessor is started (similar to the -D option of e.g.
-+# gcc). The argument of the tag is a list of macros of the form: name or
-+# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
-+# is assumed. To prevent a macro definition from being undefined via #undef or
-+# recursively expanded use the := operator instead of the = operator.
-+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-+
- PREDEFINED =
-+
-+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
-+# tag can be used to specify a list of macro names that should be expanded. The
-+# macro definition that is found in the sources will be used. Use the PREDEFINED
-+# tag if you want to use a different macro definition that overrules the
-+# definition found in the source code.
-+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-+
- EXPAND_AS_DEFINED =
-+
-+# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
-+# remove all refrences to function-like macros that are alone on a line, have an
-+# all uppercase name, and do not end with a semicolon. Such function macros are
-+# typically used for boiler-plate code, and will confuse the parser if not
-+# removed.
-+# The default value is: YES.
-+# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-+
- SKIP_FUNCTION_MACROS = YES
-+
- #---------------------------------------------------------------------------
--# Configuration::additions related to external references
-+# Configuration options related to external references
- #---------------------------------------------------------------------------
-+
-+# The TAGFILES tag can be used to specify one or more tag files. For each tag
-+# file the location of the external documentation should be added. The format of
-+# a tag file without this location is as follows:
-+# TAGFILES = file1 file2 ...
-+# Adding location for the tag files is done as follows:
-+# TAGFILES = file1=loc1 "file2 = loc2" ...
-+# where loc1 and loc2 can be relative or absolute paths or URLs. See the
-+# section "Linking to external documentation" for more information about the use
-+# of tag files.
-+# Note: Each tag file must have an unique name (where the name does NOT include
-+# the path). If a tag file is not located in the directory in which doxygen is
-+# run, you must also specify the path to the tagfile here.
-+
- TAGFILES =
-+
-+# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
-+# tag file that is based on the input files it reads. See section "Linking to
-+# external documentation" for more information about the usage of tag files.
-+
- GENERATE_TAGFILE =
-+
-+# If the ALLEXTERNALS tag is set to YES all external class will be listed in the
-+# class index. If set to NO only the inherited external classes will be listed.
-+# The default value is: NO.
-+
- ALLEXTERNALS = NO
-+
-+# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in
-+# the modules index. If set to NO, only the current project's groups will be
-+# listed.
-+# The default value is: YES.
-+
- EXTERNAL_GROUPS = YES
-+
-+# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed in
-+# the related pages index. If set to NO, only the current project's pages will
-+# be listed.
-+# The default value is: YES.
-+
-+EXTERNAL_PAGES = YES
-+
-+# The PERL_PATH should be the absolute path and name of the perl script
-+# interpreter (i.e. the result of 'which perl').
-+# The default file (with absolute path) is: /usr/bin/perl.
-+
- PERL_PATH = /usr/bin/perl
-+
- #---------------------------------------------------------------------------
- # Configuration options related to the dot tool
- #---------------------------------------------------------------------------
-+
-+# If the CLASS_DIAGRAMS tag is set to YES doxygen will generate a class diagram
-+# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
-+# NO turns the diagrams off. Note that this option also works with HAVE_DOT
-+# disabled, but it is recommended to install and use dot, since it yields more
-+# powerful graphs.
-+# The default value is: YES.
-+
- CLASS_DIAGRAMS = NO
-+
-+# You can define message sequence charts within doxygen comments using the \msc
-+# command. Doxygen will then run the mscgen tool (see:
-+# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
-+# documentation. The MSCGEN_PATH tag allows you to specify the directory where
-+# the mscgen tool resides. If left empty the tool is assumed to be found in the
-+# default search path.
-+
- MSCGEN_PATH =
-+
-+# You can include diagrams made with dia in doxygen documentation. Doxygen will
-+# then run dia to produce the diagram and insert it in the documentation. The
-+# DIA_PATH tag allows you to specify the directory where the dia binary resides.
-+# If left empty dia is assumed to be found in the default search path.
-+
-+DIA_PATH =
-+
-+# If set to YES, the inheritance and collaboration graphs will hide inheritance
-+# and usage relations if the target is undocumented or is not a class.
-+# The default value is: YES.
-+
- HIDE_UNDOC_RELATIONS = YES
-+
-+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
-+# available from the path. This tool is part of Graphviz (see:
-+# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
-+# Bell Labs. The other options in this section have no effect if this option is
-+# set to NO
-+# The default value is: NO.
-+
- HAVE_DOT = NO
-+
-+# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
-+# to run in parallel. When set to 0 doxygen will base this on the number of
-+# processors available in the system. You can set it explicitly to a value
-+# larger than 0 to get control over the balance between CPU load and processing
-+# speed.
-+# Minimum value: 0, maximum value: 32, default value: 0.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
-+DOT_NUM_THREADS = 0
-+
-+# When you want a differently looking font n the dot files that doxygen
-+# generates you can specify the font name using DOT_FONTNAME. You need to make
-+# sure dot is able to find the font, which can be done by putting it in a
-+# standard location or by setting the DOTFONTPATH environment variable or by
-+# setting DOT_FONTPATH to the directory containing the font.
-+# The default value is: Helvetica.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOT_FONTNAME = FreeSans
-+
-+# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
-+# dot graphs.
-+# Minimum value: 4, maximum value: 24, default value: 10.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
-+DOT_FONTSIZE = 10
-+
-+# By default doxygen will tell dot to use the default font as specified with
-+# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
-+# the path where dot can find it using this tag.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOT_FONTPATH =
-+
-+# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
-+# each documented class showing the direct and indirect inheritance relations.
-+# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- CLASS_GRAPH = YES
-+
-+# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
-+# graph for each documented class showing the direct and indirect implementation
-+# dependencies (inheritance, containment, and class references variables) of the
-+# class with other documented classes.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- COLLABORATION_GRAPH = YES
-+
-+# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
-+# groups, showing the direct groups dependencies.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- GROUP_GRAPHS = YES
-+
-+# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
-+# collaboration diagrams in a style similar to the OMG's Unified Modeling
-+# Language.
-+# The default value is: NO.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- UML_LOOK = NO
-+
-+# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
-+# class node. If there are many fields or methods and many nodes the graph may
-+# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
-+# number of items for each type to make the size more manageable. Set this to 0
-+# for no limit. Note that the threshold may be exceeded by 50% before the limit
-+# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
-+# but if the number exceeds 15, the total amount of fields shown is limited to
-+# 10.
-+# Minimum value: 0, maximum value: 100, default value: 10.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
-+UML_LIMIT_NUM_FIELDS = 10
-+
-+# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
-+# collaboration graphs will show the relations between templates and their
-+# instances.
-+# The default value is: NO.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- TEMPLATE_RELATIONS = NO
-+
-+# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
-+# YES then doxygen will generate a graph for each documented file showing the
-+# direct and indirect include dependencies of the file with other documented
-+# files.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- INCLUDE_GRAPH = YES
-+
-+# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
-+# set to YES then doxygen will generate a graph for each documented file showing
-+# the direct and indirect include dependencies of the file with other documented
-+# files.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- INCLUDED_BY_GRAPH = YES
-+
-+# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
-+# dependency graph for every global function or class method.
-+#
-+# Note that enabling this option will significantly increase the time of a run.
-+# So in most cases it will be better to enable call graphs for selected
-+# functions only using the \callgraph command.
-+# The default value is: NO.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- CALL_GRAPH = NO
-+
-+# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
-+# dependency graph for every global function or class method.
-+#
-+# Note that enabling this option will significantly increase the time of a run.
-+# So in most cases it will be better to enable caller graphs for selected
-+# functions only using the \callergraph command.
-+# The default value is: NO.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- CALLER_GRAPH = NO
-+
-+# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
-+# hierarchy of all classes instead of a textual one.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- GRAPHICAL_HIERARCHY = YES
-+
-+# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
-+# dependencies a directory has on other directories in a graphical way. The
-+# dependency relations are determined by the #include relations between the
-+# files in the directories.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DIRECTORY_GRAPH = YES
-+
-+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
-+# generated by dot.
-+# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
-+# to make the SVG files visible in IE 9+ (other browsers do not have this
-+# requirement).
-+# Possible values are: png, jpg, gif and svg.
-+# The default value is: png.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOT_IMAGE_FORMAT = png
-+
-+# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
-+# enable generation of interactive SVG images that allow zooming and panning.
-+#
-+# Note that this requires a modern browser other than Internet Explorer. Tested
-+# and working are Firefox, Chrome, Safari, and Opera.
-+# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
-+# the SVG files visible. Older versions of IE do not have SVG support.
-+# The default value is: NO.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
-+INTERACTIVE_SVG = NO
-+
-+# The DOT_PATH tag can be used to specify the path where the dot tool can be
-+# found. If left blank, it is assumed the dot tool can be found in the path.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOT_PATH =
-+
-+# The DOTFILE_DIRS tag can be used to specify one or more directories that
-+# contain dot files that are included in the documentation (see the \dotfile
-+# command).
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOTFILE_DIRS =
-+
-+# The MSCFILE_DIRS tag can be used to specify one or more directories that
-+# contain msc files that are included in the documentation (see the \mscfile
-+# command).
-+
-+MSCFILE_DIRS =
-+
-+# The DIAFILE_DIRS tag can be used to specify one or more directories that
-+# contain dia files that are included in the documentation (see the \diafile
-+# command).
-+
-+DIAFILE_DIRS =
-+
-+# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
-+# that will be shown in the graph. If the number of nodes in a graph becomes
-+# larger than this value, doxygen will truncate the graph, which is visualized
-+# by representing a node as a red box. Note that doxygen if the number of direct
-+# children of the root node in a graph is already larger than
-+# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
-+# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
-+# Minimum value: 0, maximum value: 10000, default value: 50.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOT_GRAPH_MAX_NODES = 50
-+
-+# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
-+# generated by dot. A depth value of 3 means that only nodes reachable from the
-+# root by following a path via at most 3 edges will be shown. Nodes that lay
-+# further from the root node will be omitted. Note that setting this option to 1
-+# or 2 may greatly reduce the computation time needed for large code bases. Also
-+# note that the size of a graph can be further restricted by
-+# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
-+# Minimum value: 0, maximum value: 1000, default value: 0.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- MAX_DOT_GRAPH_DEPTH = 1000
-+
-+# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
-+# background. This is disabled by default, because dot on Windows does not seem
-+# to support this out of the box.
-+#
-+# Warning: Depending on the platform used, enabling this option may lead to
-+# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
-+# read).
-+# The default value is: NO.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOT_TRANSPARENT = YES
-+
-+# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
-+# files in one run (i.e. multiple -o and -T options on the command line). This
-+# makes dot run faster, but since only newer versions of dot (>1.8.10) support
-+# this, this feature is disabled by default.
-+# The default value is: NO.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOT_MULTI_TARGETS = NO
-+
-+# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
-+# explaining the meaning of the various boxes and arrows in the dot generated
-+# graphs.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- GENERATE_LEGEND = YES
-+
-+# If the DOT_CLEANUP tag is set to YES doxygen will remove the intermediate dot
-+# files that are used to generate the various graphs.
-+# The default value is: YES.
-+# This tag requires that the tag HAVE_DOT is set to YES.
-+
- DOT_CLEANUP = YES
--#---------------------------------------------------------------------------
--# Configuration::additions related to the search engine
--#---------------------------------------------------------------------------
--SEARCHENGINE = NO
diff --git a/development/opendbx/odbxtest_exit_1_on_error.diff b/development/opendbx/odbxtest_exit_1_on_error.diff
deleted file mode 100644
index 33881b4333..0000000000
--- a/development/opendbx/odbxtest_exit_1_on_error.diff
+++ /dev/null
@@ -1,34 +0,0 @@
-This way if the test fails, the build will fail.
-Need to send upstream.
-Index: libopendbx-1.4.6/test/odbxtest.sh
-===================================================================
---- libopendbx-1.4.6.orig/test/odbxtest.sh 2012-05-06 08:10:59.000000000 -0400
-+++ libopendbx-1.4.6/test/odbxtest.sh 2012-11-19 12:21:05.468414873 -0500
-@@ -7,6 +7,7 @@
- if ! test -f odbxtest.site
- then
- echo "No odbxtest.site file found"
-+ exit 1
- fi
-
- ODBXAPP="./odbxtest ./odbxplustest"
-@@ -28,6 +29,7 @@
- echo "$1 ERRORS:" >> testresult.err
- cat test.err >> testresult.err
- diff -b test.out ref/$1.ref >> testresult.err
-+ FAILURE="FAILED"
- else
- echo " $1 OK"
- echo " $1 OK" >> testresult.log
-@@ -154,5 +156,9 @@
- rm -f test.out
- rm -f test.err
-
--
--exit 0
-+if [ -n "$FAILURE" ]
-+then
-+ exit 1
-+else
-+ exit 0
-+fi
diff --git a/development/opendbx/opendbx.SlackBuild b/development/opendbx/opendbx.SlackBuild
deleted file mode 100644
index 68e1485b5a..0000000000
--- a/development/opendbx/opendbx.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for OpenDBX
-
-# Copyright 2016 Eugene Wissner Dachau, Germany
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=opendbx
-VERSION=${VERSION:-1.4.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 < $CWD/inputname.diff
-patch -p1 < $CWD/use_local_dtd.diff
-patch -p1 < $CWD/odbxtest_exit_1_on_error.diff
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-# Fix OpenDBX bug with Doxygen
-ln -s api lib/opendbx/api.dox
-cd doc
-doxygen -u
-cd ..
-
-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 ABOUT-NLS INSTALL NEWS COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/opendbx/opendbx.info b/development/opendbx/opendbx.info
deleted file mode 100644
index 7ea02de8a7..0000000000
--- a/development/opendbx/opendbx.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="opendbx"
-VERSION="1.4.6"
-HOMEPAGE="https://www.linuxnetworks.de/doc/index.php/OpenDBX"
-DOWNLOAD="http://linuxnetworks.de/opendbx/download/opendbx-1.4.6.tar.gz"
-MD5SUM="3e89d7812ce4a28046bd60d5f969263d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libbsd"
-MAINTAINER="Eugene Wissner"
-EMAIL="belka@caraus.de"
diff --git a/development/opendbx/slack-desc b/development/opendbx/slack-desc
deleted file mode 100644
index fb1fd85bd2..0000000000
--- a/development/opendbx/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------------------------------------------------------|
-opendbx: opendbx (Database Access Library)
-opendbx:
-opendbx: OpenDBX is an extremely lightweight but extensible database access
-opendbx: library written in C. It provides an abstraction layer to all
-opendbx: supported databases with a single, clean and simple interface that
-opendbx: leads to an elegant code design automatically. If you want your
-opendbx: application to support different databases with little effort, this
-opendbx: is definitively the right thing for you!
-opendbx:
-opendbx:
-opendbx:
diff --git a/development/opendbx/use_local_dtd.diff b/development/opendbx/use_local_dtd.diff
deleted file mode 100644
index 634b90e386..0000000000
--- a/development/opendbx/use_local_dtd.diff
+++ /dev/null
@@ -1,30 +0,0 @@
-Description: Use local copy of docbookx.dtd
- http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd is added to debian
- dir and used instead of the online one so the package can build with no
- network access.
-Author: Scott Kitterman <scott@kitterman.com>
-Origin: vendor
-Forwarded: not-needed
-
-Index: libopendbx-1.4.6/utils/doc/opendbx-utils.en.xml
-===================================================================
---- libopendbx-1.4.6.orig/utils/doc/opendbx-utils.en.xml 2012-11-03 22:31:11.226725868 -0400
-+++ libopendbx-1.4.6/utils/doc/opendbx-utils.en.xml 2012-11-03 22:31:15.022725927 -0400
-@@ -1,5 +1,5 @@
- <!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-+ "../../debian/xml/docbookx.dtd">
-
- <set>
- <title>OpenDBX</title>
-Index: libopendbx-1.4.6/doc/opendbx.en.xml
-===================================================================
---- libopendbx-1.4.6.orig/doc/opendbx.en.xml 2012-11-03 22:29:36.550724394 -0400
-+++ libopendbx-1.4.6/doc/opendbx.en.xml 2012-11-03 22:34:20.582728815 -0400
-@@ -1,5 +1,5 @@
- <!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-+ "../debian/xml/docbookx.dtd">
-
- <set>
- <title>OpenDBX</title>
diff --git a/development/openjdk6/README b/development/openjdk6/README
deleted file mode 100644
index de460f15d0..0000000000
--- a/development/openjdk6/README
+++ /dev/null
@@ -1,32 +0,0 @@
-OpenJDK 6 is an open source implementation of version 6 of the Java
-Development Kit, Standard Edition. It includes tools for developing,
-testing, and running programs written in Java.
-
-apache-ant is a required dependency and you have to install it before
-you build openjdk6. However, you do not need to install Oracle's jdk,
-since it's only a runtime dependency of apache-ant.
-
-Before installing this package please consider any other jdk's/jre's
-that you have already installed as they may cause conflicts with the
-PATH, JAVA_HOME and MANPATH variables.
-
-After installing the package you will need to logout/reboot your
-machine as it will add new files to the /etc/profile.d folder.
-
-This script may take a couple of hours to complete and will require
-about 11 GB of disk space for its temporary directory. It defaults to
-"/tmp/SBo" and you may redefine it like this:
-
-TMP=/your/temporary/dir ./openjdk6.SlackBuild
-
-The 'cacerts' binary is a keystore containing CA certificates which
-are used by Java applications. It is taken from the CentOS package
-'ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm'.
-
-If you get an error like
-
-Internal compiler error: java.lang.NullPointerException at
-org.eclipse.jdt.internal.compiler.ReadManager.run(ReadManager.java:166)
-
-simply run the build again. This happens early so it shouldn't be that
-of a problem. At least 1 out of 5 runs so far have always succeded.
diff --git a/development/openjdk6/cacerts b/development/openjdk6/cacerts
deleted file mode 100644
index 3c6ae3e526..0000000000
--- a/development/openjdk6/cacerts
+++ /dev/null
Binary files differ
diff --git a/development/openjdk6/openjdk6.SlackBuild b/development/openjdk6/openjdk6.SlackBuild
deleted file mode 100644
index 68159a21fb..0000000000
--- a/development/openjdk6/openjdk6.SlackBuild
+++ /dev/null
@@ -1,122 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for OpenJDK
-
-# Copyright 2017 Strahil Yordanov, Sofia, Bulgaria
-# 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.
-
-PRGNAM=openjdk6
-VERSION=${VERSION:-6b41}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-DVER=1.6.0_${VERSION#6}
-ICEDTEA=icedtea6-1.13.13
-OPENJDK_DATE=04_jan_2017
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm; echo "Unsupported arch $ARCH"; exit 1;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD="$(pwd)"
-TMP=${TMP:-/tmp/SBo}
-BUILD_DIR=$TMP/$PRGNAM
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- LIB_ARCH=amd64
- LIBDIRSUFFIX="64"
-else
- LIB_ARCH=i386
- LIBDIRSUFFIX=""
-fi
-
-BOOT_JAVA=/usr/lib${LIBDIRSUFFIX}/jvm
-
-set -e
-
-rm -rf $BUILD_DIR $PKG
-mkdir -p $TMP $BUILD_DIR $PKG $OUTPUT
-cd $BUILD_DIR
-
-tar -xvf $CWD/${ICEDTEA}.tar.xz
-
-mkdir icedtea-build
-cd icedtea-build
-
-# Set JAVA_HOME in order to avoid conflictis with other already installed JVMs.
-# cacerts taken from this CentOS package:
-# http://mirror.centos.org/centos/6/os/x86_64/Packages/ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm
-JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \
- --with-jdk-home=${BOOT_JAVA} \
- --disable-docs \
- --disable-downloading \
- --without-rhino \
- --disable-system-kerberos \
- --with-openjdk-src-zip="$CWD/openjdk-6-src-${VERSION#6}-${OPENJDK_DATE}.tar.xz"
-
-echo \
- "sed -i '/^ *@Override *$/ d' openjdk/jdk/src/share/classes/javax/management/remote/rmi/RMIJRMPServerImpl.java" \
- >> fsg.sh
-JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH LOG=trace make
-
-cd $PKG
-mkdir -p usr/lib${LIBDIRSUFFIX}
-cd usr/lib${LIBDIRSUFFIX}
-cp -av $BUILD_DIR/icedtea-build/openjdk.build/j2sdk-image/ $PRGNAM
-
-cp "$CWD/cacerts" ${PRGNAM}/jre/lib/security
-
-chown -R root.root $PKG
-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/etc/profile.d
-for file in $(ls "$CWD/profile.d/${PRGNAM}"*) ; do
- cat $file | sed -e "s#lib/openjdk#lib${LIBDIRSUFFIX}/openjdk#" \
- > $PKG/etc/profile.d/$(basename $file)
-done
-chmod 755 $PKG/etc/profile.d/*
-
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf $PRGNAM ${PRGNAM}${DVER}
-)
-
-cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf ./$PRGNAM/jre/lib/${LIB_ARCH}/server/libjvm.so .
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/{THIRD_PARTY_README,LICENSE,ASSEMBLY_EXCEPTION} \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/openjdk6/openjdk6.info b/development/openjdk6/openjdk6.info
deleted file mode 100644
index 432cee98ca..0000000000
--- a/development/openjdk6/openjdk6.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="openjdk6"
-VERSION="6b41"
-HOMEPAGE="http://openjdk.java.net"
-DOWNLOAD="http://icedtea.classpath.org/download/source/icedtea6-1.13.13.tar.xz \
- http://ponce.cc/slackware/sources/repo/openjdk-6-src-b41-04_jan_2017.tar.xz"
-MD5SUM="338c09785299e0240bef044464fc3dfc \
- cee9838d359a9910f98b5c413d381cd1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="apache-ant"
-MAINTAINER="Strahil Yordanov"
-EMAIL="strahilski@yahoo.com"
diff --git a/development/openjdk6/profile.d/openjdk6.csh b/development/openjdk6/profile.d/openjdk6.csh
deleted file mode 100644
index 2a4264d8c3..0000000000
--- a/development/openjdk6/profile.d/openjdk6.csh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/csh
-setenv JAVA_HOME /usr/lib/openjdk6
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
-setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
diff --git a/development/openjdk6/profile.d/openjdk6.sh b/development/openjdk6/profile.d/openjdk6.sh
deleted file mode 100644
index 69d2dd977d..0000000000
--- a/development/openjdk6/profile.d/openjdk6.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export JAVA_HOME=/usr/lib/openjdk6
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
-export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
diff --git a/development/openjdk6/slack-desc b/development/openjdk6/slack-desc
deleted file mode 100644
index 0765304aec..0000000000
--- a/development/openjdk6/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------------------------------------------------------|
-openjdk6: openjdk6 (Open Implementation of JDK)
-openjdk6:
-openjdk6: OpenJDK 6 is an open source implementation of version 6 of the
-openjdk6: Java Development Kit, Standard Edition. It includes tools for
-openjdk6: developing, testing, and running programs written in Java.
-openjdk6:
-openjdk6:
-openjdk6:
-openjdk6:
-openjdk6:
-openjdk6:
diff --git a/development/openjdk7/README b/development/openjdk7/README
index c0a5183f10..cd6b29a03b 100644
--- a/development/openjdk7/README
+++ b/development/openjdk7/README
@@ -1,32 +1,35 @@
-OpenJDK 7 is an open source implementation of version 7 of the Java
-Development Kit, Standard Edition. It includes tools for developing,
-testing, and running programs written in Java.
+OpenJDK 7 is an open source implementation of version 7 of the
+Java Development Kit, Standard Edition. It includes tools for
+developing, testing, and running programs written in Java.
-apache-ant is a required dependency and you have to install it before
-you build 'openjdk7'. However, you do not need to install Oracle's jdk,
-since it's only a runtime dependency of apache-ant.
+This build requires gcc5.
Before installing this package please consider any other jdk's/jre's
that you have already installed as they may cause conflicts with the
PATH, JAVA_HOME and MANPATH variables.
-After installing the package you will need to logout/reboot your
+After installing the package you will need to logout/login to your
machine as it will add new files to the /etc/profile.d folder.
This script may take a couple of hours to complete and will require
-about 11 GB of disk space for its temporary directory. It defaults to
+about 11 GB of disk space for its temporary directory. It defaults to
"/tmp/SBo" and you may redefine it like this:
TMP=/your/temporary/dir ./openjdk7.SlackBuild
The 'cacerts' binary is a TrustStore containing CA certificates which
-are used by Java applications. It is taken from the CentOS package
+are used by Java applications. It is taken from the CentOS package
'ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm'.
-If you get an error like
+NOTES
+1. The apache-ant in SBo (1.10.x) is incompatible with openjdk7,
+so the script now uses the previous version (1.9.x) to build.
-Internal compiler error: java.lang.NullPointerException at
-org.eclipse.jdt.internal.compiler.ReadManager.run(ReadManager.java:166)
+2. Currently this will only build on 64-bit. On 32-bit, it need to
+link with the libstdc++ in gcc5 but tries to link with the default
+/usr/lib/libstc++ and errors out with the message:
-simply run the build again. This happens early so it shouldn't be that
-of a problem. At least 1 out of 5 runs so far have always succeded.
+/usr/bin/ld: /usr/lib/libstdc++.so.6: \
+ undefined reference to `__divmoddi4@GCC_7.0.0'
+
+Any help with this issue would be GREATLY appreciated.
diff --git a/development/openjdk7/openjdk7.SlackBuild b/development/openjdk7/openjdk7.SlackBuild
index b10729d6a7..202502482c 100644
--- a/development/openjdk7/openjdk7.SlackBuild
+++ b/development/openjdk7/openjdk7.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenJDK
# Copyright 2020 Strahil Yordanov, Sofia, Bulgaria
+# Copyright 2021 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,6 +23,57 @@
# 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=openjdk7
+VERSION=${VERSION:-7u321}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+DVER=1.7.0_$(printf $VERSION | cut -du -f2)
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm; echo "Unsupported arch $ARCH"; exit 1;;
+ *) 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}
+BUILD_DIR=$TMP/$PRGNAM
+SBO_PATCH_DIR="${BUILD_DIR}/jdk-archive-patch"
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+. $CWD/$PRGNAM.info || exit 1
+ICEDTEA=`echo $DOWNLOAD | awk '{print $1}' | awk -F / '{print $NF}'`
+ANT=`echo $DOWNLOAD | awk '{print $9}' | awk -F / '{print $NF}'`
+ANT_HOME=$BUILD_DIR/${ANT%-bin*} # this overrides the "official" ANT_HOME
+
+if [ "$ARCH" = "x86_64" ]; then
+ LIB_ARCH=amd64
+ LIBDIRSUFFIX="64"
+else
+ LIB_ARCH=i386
+ LIBDIRSUFFIX=""
+fi
+
+# Check for the gcc5 package, and abort if not found:
+if [ ! -x /usr/bin/gcc-5 ]; then
+ echo "This requires the gcc5 package to build."
+ echo "Please install gcc5 and rerun this script."
+ exit 1
+else
+ source /etc/profile.d/gcc5.sh # Set the environment
+fi
+
+BOOT_JAVA=/usr/lib${LIBDIRSUFFIX}/jvm
+
function createPatchedJdkArchive() {
mkdir -p ${SBO_PATCH_DIR} && cd ${SBO_PATCH_DIR}
@@ -43,6 +95,9 @@ diff -Nru openjdk-boot.orig/jdk/src/share/classes/sun/security/util/Optional.jav
EOF
+# Remove the sys/sysctl.h includes (they weren't being used anyway)
+ sed -i '/sys\/sysctl.h/d' src/solaris/native/java/net/PlainDatagramSocketImpl.c
+ sed -i '/sys\/sysctl.h/d' src/solaris/native/java/net/PlainSocketImpl.c
cd ..
tar -cvjSf jdk.tar.bz2 jdk-*
}
@@ -53,38 +108,6 @@ function fixJdkArchiveChecksum() {
sed -r -i "s/^(\s*JDK_SHA256SUM\s*=\s*).*$/\1${newChecksum}/" Makefile
}
-PRGNAM=openjdk7
-VERSION=${VERSION:-7u271}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-DVER=1.7.0_$(printf $VERSION | cut -du -f2)
-ICEDTEA=icedtea-2.6.23
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm; echo "Unsupported arch $ARCH"; exit 1;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD="$(pwd)"
-TMP=${TMP:-/tmp/SBo}
-BUILD_DIR=$TMP/$PRGNAM
-SBO_PATCH_DIR="${BUILD_DIR}/jdk-archive-patch"
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- LIB_ARCH=amd64
- LIBDIRSUFFIX="64"
-else
- LIB_ARCH=i386
- LIBDIRSUFFIX=""
-fi
-
-BOOT_JAVA=/usr/lib${LIBDIRSUFFIX}/jvm
-
set -e
rm -rf $BUILD_DIR $PKG
@@ -94,13 +117,14 @@ mkdir -p $TMP $BUILD_DIR $PKG $OUTPUT
cd $BUILD_DIR
-tar -xvf $CWD/${ICEDTEA}.tar.xz
+tar -xvf $CWD/${ANT}
+tar -xvf $CWD/${ICEDTEA}
mkdir icedtea-build
cd icedtea-build
# Set JAVA_HOME in order to avoid conflicts with other already installed JVMs.
-JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \
+JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$ANT_HOME/bin:$PATH ../${ICEDTEA%.tar*}/configure \
--disable-docs \
--disable-downloading \
--with-jdk-home=${BOOT_JAVA} \
@@ -108,6 +132,8 @@ JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \
--disable-system-kerberos \
--disable-system-pcsc \
--disable-system-sctp \
+ --disable-system-zlib \
+ --disable-compile-against-syscalls \
--with-cacerts-file="$CWD/cacerts" \
$(
# cacerts is taken from this CentOS package:
@@ -129,10 +155,11 @@ fixJdkArchiveChecksum
JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH LOG=trace make
-cd $PKG
-mkdir -p usr/lib${LIBDIRSUFFIX}
-cd usr/lib${LIBDIRSUFFIX}
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
+cd $PKG/usr/lib${LIBDIRSUFFIX}
cp -av $BUILD_DIR/icedtea-build/openjdk.build/j2sdk-image/ $PRGNAM
+ln -sf $PRGNAM ${PRGNAM}${DVER}
+ln -sf $PRGNAM/jre/lib/${LIB_ARCH}/server/libjvm.so .
chown -R root.root $PKG
find -L . \
@@ -143,18 +170,11 @@ find -L . \
mkdir -p $PKG/etc/profile.d
for file in $(ls "$CWD/profile.d/${PRGNAM}"*) ; do
- cat $file | sed -e "s#lib/openjdk7#lib${LIBDIRSUFFIX}/openjdk7#" \
+ cat $file | sed -e "s#lib/openjdk#lib${LIBDIRSUFFIX}/openjdk#" \
> $PKG/etc/profile.d/$(basename $file)
done
chmod 755 $PKG/etc/profile.d/*
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf $PRGNAM ${PRGNAM}${DVER}
-)
-
-cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf ./$PRGNAM/jre/lib/${LIB_ARCH}/server/libjvm.so .
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -164,4 +184,4 @@ cp -a $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/{THIRD_PARTY_README,LICENSE,ASSEMBLY_E
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/openjdk7/openjdk7.info b/development/openjdk7/openjdk7.info
index 70b49e855d..1b5049b35b 100644
--- a/development/openjdk7/openjdk7.info
+++ b/development/openjdk7/openjdk7.info
@@ -1,24 +1,26 @@
PRGNAM="openjdk7"
-VERSION="7u271"
-HOMEPAGE="http://openjdk.java.net"
-DOWNLOAD="http://icedtea.classpath.org/download/source/icedtea-2.6.23.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.23/openjdk.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.23/corba.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.23/jaxp.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.23/jaxws.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.23/jdk.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.23/langtools.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.23/hotspot.tar.bz2"
-MD5SUM="b18cc58b81bdd59f91b961b9430952a6 \
- 69969330d95c9ba4f0088b645958ed1c \
- bb1270b47c365d2a5757868d43fb30e7 \
- a8e3b94c09a0a873101322bcf2723507 \
- 9c50dc5e69395dccda60a549c2fac06f \
- cf1fe157b63e83dc5b8e6f7b134dd5a6 \
- 43166317dfb730ee074d7c42d0181649 \
- 4d77e2dfa55e15eb5602b53ba8ab49ff"
+VERSION="7u321"
+HOMEPAGE="https://openjdk.java.net"
+DOWNLOAD="https://icedtea.classpath.org/download/source/icedtea-2.6.28.tar.xz \
+ https://icedtea.classpath.org/download/drops/icedtea7/2.6.28/openjdk.tar.bz2 \
+ https://icedtea.classpath.org/download/drops/icedtea7/2.6.28/corba.tar.bz2 \
+ https://icedtea.classpath.org/download/drops/icedtea7/2.6.28/jaxp.tar.bz2 \
+ https://icedtea.classpath.org/download/drops/icedtea7/2.6.28/jaxws.tar.bz2 \
+ https://icedtea.classpath.org/download/drops/icedtea7/2.6.28/jdk.tar.bz2 \
+ https://icedtea.classpath.org/download/drops/icedtea7/2.6.28/langtools.tar.bz2 \
+ https://icedtea.classpath.org/download/drops/icedtea7/2.6.28/hotspot.tar.bz2 \
+ https://archive.apache.org/dist/ant/binaries/apache-ant-1.9.16-bin.tar.bz2"
+MD5SUM="11663b88a06f3461607c026510dd733a \
+ bcd48aa756a108cb437f07ed291436f9 \
+ 5c16e53e461cf640842cec44f9a6264a \
+ 9fe804632cfd4a47423a58a0171bc420 \
+ 01120ce5103a1f1f8b79ad4f8ae1511d \
+ c4332b8442e438ac498f206c8851f68c \
+ ebbc311a2aa8afdf1dd4e3d2b7f55aba \
+ c168159cc98db90a5d14b077e2c49ae9 \
+ 2a1ef0230e673b6da876a8fc9744b9a1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="apache-ant"
-MAINTAINER="Strahil Yordanov"
-EMAIL="strahilski@yahoo.com"
+REQUIRES="gcc5"
+MAINTAINER="Lenard Spencer"
+EMAIL="lenardrspencer@gmail.com"
diff --git a/development/openjdk8/README b/development/openjdk8/README
index 8258e18166..3139fca714 100644
--- a/development/openjdk8/README
+++ b/development/openjdk8/README
@@ -1,5 +1,5 @@
OpenJDK 8 is an open source implementation of version 8 of the Java
-Development Kit, Standard Edition. It includes tools for developing,
+Development Kit, Standard Edition. It includes tools for developing,
testing, and running programs written in Java.
Before installing this package please consider any other jdk's/jre's
@@ -7,20 +7,23 @@ that you have already installed as they may cause conflicts with the
PATH, JAVA_HOME and MANPATH variables (this includes the 'openjdk7'
dependency package -- you may wish to remove it after you're done.)
+On 32-bit slackware you will need 'zulu-openjdk7' as dependency instead
+of 'openjdk7'. You can use the former on 64-bit slackware too.
+
If you already have 'openjdk8' on your system (and are compiling a newer
-version, for example) you don't need the 'openjdk7' dependency.
+version, for example) you won't need any dependencies at all.
-After installing the package you will need to logout/reboot your machine
-as it will add new files to the /etc/profile.d folder.
+After installing the package you will need to logout/login to your
+machine as it will add new files to the /etc/profile.d folder.
This script may take a couple of hours to complete and will require
-about 11 GB of disk space for its temporary directory. It defaults to
+about 11 GB of disk space for its temporary directory. It defaults to
"/tmp/SBo" and you may redefine it like this:
TMP=/your/temporary/dir ./openjdk8.SlackBuild
The 'cacerts' binary is a TrustStore containing CA certificates which
-are used by Java applications. It is taken from the CentOS package
+are used by Java applications. It is taken from the CentOS package
'ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm'.
If you get an error like
@@ -28,5 +31,5 @@ If you get an error like
Internal compiler error: java.lang.NullPointerException at
org.eclipse.jdt.internal.compiler.ReadManager.run(ReadManager.java:166)
-simply run the build again. This happens early so it shouldn't be that
-of a problem. At least 1 out of 5 runs so far have always succeded.
+simply run the build again. This happens early so it shouldn't be much
+of a problem. At least 1 out of 5 runs so far have always succeeded.
diff --git a/development/openjdk8/openjdk8.SlackBuild b/development/openjdk8/openjdk8.SlackBuild
index d3b1688d81..9a739b22a3 100644
--- a/development/openjdk8/openjdk8.SlackBuild
+++ b/development/openjdk8/openjdk8.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenJDK
-# Copyright 2020 Strahil Yordanov, Sofia, Bulgaria
+# Copyright 2022 Strahil Yordanov, Sofia, Bulgaria
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,16 @@
# 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=openjdk8
-VERSION=${VERSION:-8u252}
+VERSION=${VERSION:-8u392}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DVER=1.8.0_$(printf $VERSION | cut -du -f2)
-ICEDTEA=icedtea-3.16.0
+ICEDTEA=icedtea-3.29.0
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD="$(pwd)"
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
BUILD_DIR=$TMP/$PRGNAM
PKG=$TMP/package-$PRGNAM
@@ -53,7 +60,8 @@ else
fi
BOOT_JAVA=/usr/lib${LIBDIRSUFFIX}/openjdk7
-[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%?}8
+[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%/*}/zulu-openjdk7
+[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%/*}/openjdk8
[ ! -d ${BOOT_JAVA} ] && { echo "Boot java not found"; exit 1; }
set -e
@@ -69,27 +77,14 @@ cd icedtea-build
# Set JAVA_HOME in order to avoid conflicts with other already installed JVMs.
JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \
- --disable-docs \
--disable-downloading \
+ --disable-docs \
--with-jdk-home=${BOOT_JAVA} \
--disable-system-kerberos \
--disable-system-pcsc \
--disable-system-sctp \
- --with-cacerts-file="$CWD/cacerts" \
-$(
-# cacerts is taken from this CentOS package:
-#+ http://mirror.centos.org/centos/6/os/x86_64/Packages/ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm
-# You can list its contents with this command (after you install this package:)
-#+ 'keytool -v -list -keystore ./cacerts -storepass changeit'
-) \
- --with-openjdk-src-zip="$CWD/openjdk.tar.xz" \
- --with-corba-src-zip="$CWD/corba.tar.xz" \
- --with-jaxp-src-zip="$CWD/jaxp.tar.xz" \
- --with-jaxws-src-zip="$CWD/jaxws.tar.xz" \
- --with-jdk-src-zip="$CWD/jdk.tar.xz" \
- --with-langtools-src-zip="$CWD/langtools.tar.xz" \
- --with-nashorn-src-zip="$CWD/nashorn.tar.xz" \
- --with-hotspot-src-zip="$CWD/hotspot.tar.xz"
+ --enable-nss \
+ --with-openjdk-src-zip="$CWD/openjdk-git.tar.xz"
JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH LOG=trace make
cd $PKG
@@ -127,4 +122,4 @@ cp -a $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/{THIRD_PARTY_README,LICENSE,ASSEMBLY_E
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/openjdk8/openjdk8.info b/development/openjdk8/openjdk8.info
index b28c9c0a9b..ee0977437d 100644
--- a/development/openjdk8/openjdk8.info
+++ b/development/openjdk8/openjdk8.info
@@ -1,24 +1,10 @@
PRGNAM="openjdk8"
-VERSION="8u252"
-HOMEPAGE="http://openjdk.java.net"
-DOWNLOAD="http://icedtea.classpath.org/download/source/icedtea-3.16.0.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.16.0/openjdk.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.16.0/corba.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.16.0/jaxp.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.16.0/jaxws.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.16.0/jdk.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.16.0/langtools.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.16.0/nashorn.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.16.0/hotspot.tar.xz"
-MD5SUM="a8a202fdd4aa170f80968508477cd986 \
- 0908aaf4976a9092ea41657a53aa3195 \
- 293716bae4f8519f5223efe3b03cc38f \
- 83d457c1eeb61874dbcb0a0dca06cc00 \
- f0708de204b736ea0f5bb4125a7a8943 \
- 55a648609f76b93ac19878bc21ba0f35 \
- 5ba24b93a4f909e5725ad6c04b8f3ed4 \
- 6fd7950ea8afb9ae986272aab55ed721 \
- a5e5491cf87903cae64bda8fef6e3314"
+VERSION="8u392"
+HOMEPAGE="https://openjdk.java.net"
+DOWNLOAD="https://icedtea.classpath.org/download/source/icedtea-3.29.0.tar.xz \
+ https://icedtea.classpath.org/download/drops/icedtea8/3.29.0/openjdk-git.tar.xz"
+MD5SUM="2f4cdbee15aa0832b9f5bec2ea27289d\
+ 3b34d935beaca314c974fea3089916d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openjdk7"
diff --git a/development/openmodelica/README b/development/openmodelica/README
new file mode 100644
index 0000000000..a871b6026d
--- /dev/null
+++ b/development/openmodelica/README
@@ -0,0 +1,10 @@
+OpenModelica is a unique large-scale integrated open-source Modelica-
+and FMI-based modeling, simulation, optimization, model-based analysis
+and development environment. Moreover, the OpenModelica environment
+provides a number of facilities such as debugging; optimization;
+visualization and 3D animation; web-based model editing and
+simulation; scripting from Modelica, Python, Julia, and Matlab;
+efficient simulation and co-simulation of FMI-based models;
+compilation for embedded systems; Modelica-UML integration;
+requirement verification; and generation of parallel code for
+multi-core architectures.
diff --git a/development/openmodelica/openmodelica.SlackBuild b/development/openmodelica/openmodelica.SlackBuild
new file mode 100644
index 0000000000..d481f7069d
--- /dev/null
+++ b/development/openmodelica/openmodelica.SlackBuild
@@ -0,0 +1,151 @@
+#!/bin/bash
+
+# Slackware build script for openmodelica
+
+# Copyright 2023, Lockywolf
+# 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=openmodelica
+VERSION=${VERSION:-1.22.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TARNAM=OpenModelica
+
+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 $TARNAM-$VERSION
+tar xvf $CWD/$TARNAM-$VERSION.tar.gz
+cd $TARNAM-$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 {} +
+
+
+tar -xzvf $CWD/OMCompiler-3rdParty-d19136844b49720ae3a8957f0fb1e137c7055b43.tar.gz --strip-components=1 -C OMCompiler/3rdParty
+tar -xzvf $CWD/OMOptim-e4f55f722185f7c71cfb12598a5a4e17373057b7.tar.gz --strip-components=1 -C OMOptim
+tar -xzvf $CWD/OMSens-8216eaefbb4ea2ff0c7a17a3487dcc2a8a17667d.tar.gz --strip-components=1 -C OMSens
+tar -xzvf $CWD/OMSens_Qt-ff2ade18e7058f611ddfd575ccbd24f388615d3f.tar.gz --strip-components=1 -C OMSens_Qt
+tar -xzvf $CWD/OMSimulator-614c663834e5b3b10b515100da304b8ff5cc85a7.tar.gz --strip-components=1 -C OMSimulator
+tar -xzvf $CWD/OpenModelica-common-08a01802db5ba5edb540383c46718b89ff229ef2.tar.gz --strip-components=1 -C OMOptim/common
+tar -xzvf $CWD/OpenModelica-common-08a01802db5ba5edb540383c46718b89ff229ef2.tar.gz --strip-components=1 -C OMSens_Qt/common
+tar -xzvf $CWD/OMSimulator-3rdParty-bb0bdbe0ba2d37235369f41f22ec341b91b64656.tar.gz --strip-components=1 -C OMSimulator/3rdParty
+
+source /etc/profile.d/zulu-openjdk17.sh
+
+mkdir -p build
+cd build
+sed -i '/file(DOWNLOAD/,+15d' ../OMCompiler/Compiler/boot/CMakeLists.txt
+sed -i "s|execute_process(COMMAND tar xzf sources.tar.gz --strip-components=1|execute_process(COMMAND tar xzf $CWD/OMBootstrapping-c289e97c41d00939a4a69fe504961b47283a6d8e.tar.gz --strip-components=1|g" ../OMCompiler/Compiler/boot/CMakeLists.txt
+mkdir -p bomc
+#ln -s $CWD/c289e97c41d00939a4a69fe504961b47283a6d8e.tar.gz ./bomc/sources.tar.gz
+find ../OMCompiler/Compiler/ -iname '*.mo' -exec sed -i "s|usr/lib/|usr/lib$LIBDIRSUFFIX/|g" {} +
+find ../OMSens/ -iname '*.xml' -exec sed -i "s|usr/lib/omlibrary|usr/lib$LIBDIRSUFFIX/omlibrary|g" {} +
+
+sed -i "s|/usr/lib/omc/|/usr/lib$LIBDIRSUFFIX/omc/|g" ../doc/manpages/omc.1
+
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -rf $PKG/usr/share/cmake/
+
+mkdir -p $PKG/usr/share/omc/
+mv $PKG/usr/share/zmq $PKG/usr/share/omc/
+
+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/
+mv $PKG/usr/doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION/
+mv $PKG/usr/doc/zmq $PKG/usr/doc/$PRGNAM-$VERSION/
+mv $PKG/usr/share/doc/OpenModelica $PKG/usr/doc/$PRGNAM-$VERSION/
+mv $PKG/usr/share/doc/omc $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a \
+ doc OSMC-License.txt README.md BUGREPORTING.md CONTRIBUTING.md \
+ CITATION.cff \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/doc/UsersGuide/source/media/omedit-dpi-settings-02.png
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/doc/UsersGuide/source/media/omedit-dpi-settings-01.png
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/doc/UsersGuide/source/media/fmiExport.png
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/doc/SimulationRuntime/cpp/Images/EventHandling.jpg
+rmdir $PKG/usr/share/doc
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/openmodelica/openmodelica.info b/development/openmodelica/openmodelica.info
new file mode 100644
index 0000000000..663dce7401
--- /dev/null
+++ b/development/openmodelica/openmodelica.info
@@ -0,0 +1,26 @@
+PRGNAM="openmodelica"
+VERSION="1.22.0"
+HOMEPAGE="https://openmodelica.org/"
+DOWNLOAD="https://github.com/OpenModelica/OMBootstrapping/archive/c289e97c41d00939a4a69fe504961b47283a6d8e/OMBootstrapping-c289e97c41d00939a4a69fe504961b47283a6d8e.tar.gz \
+https://github.com/OpenModelica/OpenModelica/archive/v1.22.0/OpenModelica-1.22.0.tar.gz \
+https://github.com/OpenModelica/OMCompiler-3rdParty/archive/d19136844b49720ae3a8957f0fb1e137c7055b43/OMCompiler-3rdParty-d19136844b49720ae3a8957f0fb1e137c7055b43.tar.gz \
+https://github.com/OpenModelica/OMOptim/archive/e4f55f722185f7c71cfb12598a5a4e17373057b7/OMOptim-e4f55f722185f7c71cfb12598a5a4e17373057b7.tar.gz \
+https://github.com/OpenModelica/OMSens/archive/8216eaefbb4ea2ff0c7a17a3487dcc2a8a17667d/OMSens-8216eaefbb4ea2ff0c7a17a3487dcc2a8a17667d.tar.gz \
+https://github.com/OpenModelica/OMSens_Qt/archive/ff2ade18e7058f611ddfd575ccbd24f388615d3f/OMSens_Qt-ff2ade18e7058f611ddfd575ccbd24f388615d3f.tar.gz \
+https://github.com/OpenModelica/OMSimulator/archive/614c663834e5b3b10b515100da304b8ff5cc85a7/OMSimulator-614c663834e5b3b10b515100da304b8ff5cc85a7.tar.gz \
+https://github.com/OpenModelica/OpenModelica-common/archive/08a01802db5ba5edb540383c46718b89ff229ef2/OpenModelica-common-08a01802db5ba5edb540383c46718b89ff229ef2.tar.gz \
+https://github.com/OpenModelica/OMSimulator-3rdParty/archive/bb0bdbe0ba2d37235369f41f22ec341b91b64656/OMSimulator-3rdParty-bb0bdbe0ba2d37235369f41f22ec341b91b64656.tar.gz"
+MD5SUM="7731343b9b85bb6b93e0130c1beac665 \
+d1493082166b5429b38452bb17c8b24c \
+a545b00d72e5a55dcc7a0f6e905d87b2 \
+654ed51442d1968dd16b2cd4e9b286fb \
+dd89684eef0d2f2f38ddfa23aeeb64cb \
+f8e5e0eb6d43f3c4d3711b72df6d280a \
+567bf7618325b4c8f76f5208f9d28eba \
+01fb55bee4fe6404e24d9830f00ce5e6 \
+0fa5531bc0f9d52fcaf38379a93f973d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="OpenBLAS lapack zulu-openjdk17 OpenSceneGraph"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.openmodelica_2023-11-17@lockywolf.net"
diff --git a/development/openmodelica/slack-desc b/development/openmodelica/slack-desc
new file mode 100644
index 0000000000..96fb408ff3
--- /dev/null
+++ b/development/openmodelica/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------------------------------------------------------|
+openmodelica: openmodelica (IDE for Model-Based Systems Engineering)
+openmodelica:
+openmodelica: OpenModelica is an implementation of the Modelica Language for
+openmodelica: Model-Based Systems Engineering, compatible with JModelica, and
+openmodelica: in some sense similar to Simulink(r).
+openmodelica:
+openmodelica:
+openmodelica:
+openmodelica:
+openmodelica:
+openmodelica:
diff --git a/development/openocd/0001-build-remove-warnings-with-gcc-11.patch b/development/openocd/0001-build-remove-warnings-with-gcc-11.patch
new file mode 100644
index 0000000000..3b384bf6e9
--- /dev/null
+++ b/development/openocd/0001-build-remove-warnings-with-gcc-11.patch
@@ -0,0 +1,83 @@
+From 6db49eb8858023654084088c73d968e190aec491 Mon Sep 17 00:00:00 2001
+From: Rene Kita <git@rkta.de>
+Date: Fri, 12 Mar 2021 18:38:02 +0100
+Subject: [PATCH] build: remove warnings with gcc 11
+
+This removes some warnings which prevent a successful build with -Werror
+which is enabled by default. I'm using gcc 11, so maybe others are not
+getting this warnings yet.
+
+In src/flash/nor/numicro.c the debug messages were misleadingly indented.
+In src/target/arm920t.c the array size where smaller than expected from
+the receiving function.
+
+Change-Id: I66f5c6a63beb9f9416e73b726299297476c884d8
+Signed-off-by: Rene Kita <git@rkta.de>
+Reviewed-on: http://openocd.zylin.com/6104
+Reviewed-by: Jonathan McDowell <noodles-openocd@earth.li>
+Tested-by: jenkins
+Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
+Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
+---
+ src/flash/nor/numicro.c | 6 +++---
+ src/target/arm920t.c | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/flash/nor/numicro.c b/src/flash/nor/numicro.c
+index 7609fa81c..1971daa24 100644
+--- a/src/flash/nor/numicro.c
++++ b/src/flash/nor/numicro.c
+@@ -1243,7 +1243,7 @@ static uint32_t numicro_fmc_cmd(struct target *target, uint32_t cmd, uint32_t ad
+ retval = target_read_u32(target, NUMICRO_FLASH_ISPTRG, &status);
+ if (retval != ERROR_OK)
+ return retval;
+- LOG_DEBUG("status: 0x%" PRIx32 "", status);
++ LOG_DEBUG("status: 0x%" PRIx32 "", status);
+ if ((status & (ISPTRG_ISPGO)) == 0)
+ break;
+ if (timeout-- <= 0) {
+@@ -1512,7 +1512,7 @@ static int numicro_erase(struct flash_bank *bank, unsigned int first,
+ retval = target_read_u32(target, NUMICRO_FLASH_ISPTRG, &status);
+ if (retval != ERROR_OK)
+ return retval;
+- LOG_DEBUG("status: 0x%" PRIx32 "", status);
++ LOG_DEBUG("status: 0x%" PRIx32 "", status);
+ if (status == 0)
+ break;
+ if (timeout-- <= 0) {
+@@ -1601,7 +1601,7 @@ static int numicro_write(struct flash_bank *bank, const uint8_t *buffer,
+ retval = target_read_u32(target, NUMICRO_FLASH_ISPTRG, &status);
+ if (retval != ERROR_OK)
+ return retval;
+- LOG_DEBUG("status: 0x%" PRIx32 "", status);
++ LOG_DEBUG("status: 0x%" PRIx32 "", status);
+ if (status == 0)
+ break;
+ if (timeout-- <= 0) {
+diff --git a/src/target/arm920t.c b/src/target/arm920t.c
+index 80f6d7045..a45dc6420 100644
+--- a/src/target/arm920t.c
++++ b/src/target/arm920t.c
+@@ -245,8 +245,8 @@ static int arm920t_read_cp15_interpreted(struct target *target,
+ uint32_t cp15_opcode, uint32_t address, uint32_t *value)
+ {
+ struct arm *arm = target_to_arm(target);
+- uint32_t *regs_p[1];
+- uint32_t regs[2];
++ uint32_t *regs_p[16];
++ uint32_t regs[16];
+ uint32_t cp15c15 = 0x0;
+ struct reg *r = arm->core_cache->reg_list;
+
+@@ -295,7 +295,7 @@ int arm920t_write_cp15_interpreted(struct target *target,
+ {
+ uint32_t cp15c15 = 0x0;
+ struct arm *arm = target_to_arm(target);
+- uint32_t regs[2];
++ uint32_t regs[16];
+ struct reg *r = arm->core_cache->reg_list;
+
+ /* load value, address into R0, R1 */
+--
+2.35.1
+
diff --git a/development/openocd/openocd.SlackBuild b/development/openocd/openocd.SlackBuild
index c75a62622a..bbdef1bb78 100644
--- a/development/openocd/openocd.SlackBuild
+++ b/development/openocd/openocd.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openocd
# Written by thorsten johannvorderbrueggen <thorsten.johannvorderbrueggen@t-online.de>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openocd
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-0.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -51,7 +61,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 {} \;
-CFLAGS="$SLKCFLAGS" \
+patch -p1 < $CWD/0001-build-remove-warnings-with-gcc-11.patch
+
+CFLAGS="$SLKCFLAGS -Wno-error" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -83,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/openocd/openocd.info b/development/openocd/openocd.info
index 95d6cade91..a3d5512a81 100644
--- a/development/openocd/openocd.info
+++ b/development/openocd/openocd.info
@@ -1,8 +1,8 @@
PRGNAM="openocd"
-VERSION="0.8.0"
+VERSION="0.11.0"
HOMEPAGE="http://openocd.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/openocd/files/openocd/0.8.0/openocd-0.8.0.tar.gz"
-MD5SUM="271086c0efe0c454db7ddb0f55ace218"
+DOWNLOAD="http://downloads.sourceforge.net/openocd/openocd-0.11.0.tar.gz"
+MD5SUM="32147d5b2d269da1f7326669fce94ddc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/opentofu/README b/development/opentofu/README
new file mode 100644
index 0000000000..48b485fd93
--- /dev/null
+++ b/development/opentofu/README
@@ -0,0 +1,15 @@
+OpenTofu is an OSS tool for building, changing, and versioning
+infrastructure safely and efficiently. OpenTofu can manage existing
+and popular service providers as well as custom in-house solutions.
+
+The key features of OpenTofu are:
+ > Infrastructure as Code
+ > Execution Plans
+ > Resource Graph
+ > Change Automation
+
+OpenTofu is a Terraform fork.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads Go Modules from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/development/opentofu/opentofu.SlackBuild b/development/opentofu/opentofu.SlackBuild
new file mode 100644
index 0000000000..eab0f29597
--- /dev/null
+++ b/development/opentofu/opentofu.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for OpenTofu
+
+# Copyright 2024 Gustavo B. Schenkel, Brazil
+# 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=opentofu
+VERSION=${VERSION:-1.6.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+GOOS=linux
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+case "$ARCH" in
+ x86_64) GOARCH=amd64 ;;
+ i586) GOARCH=386 ;;
+ *) GOARCH=$ARCH ;;
+esac
+
+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-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+# Remove broken symlink (v1.6.1)
+rm website/docs/index.mdx
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+export GOPATH=$TMP/gocode:/usr/share/gocode
+export CGO_ENABLED=0
+
+echo -e "\nDownloading go module dependencies..."
+go mod download
+
+echo -e "\nBuilding ..."
+go build \
+ -ldflags "-w -s -X 'github.com/opentofu/opentofu/version.dev=no'" \
+ ./cmd/tofu
+
+install -D -m 0755 ./tofu $PKG/usr/bin/tofu
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ {CHANGELOG,README,SECURITY}.md MAINTAINERS LICENSE docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/opentofu/opentofu.info b/development/opentofu/opentofu.info
new file mode 100644
index 0000000000..3e78f5d250
--- /dev/null
+++ b/development/opentofu/opentofu.info
@@ -0,0 +1,10 @@
+PRGNAM="opentofu"
+VERSION="1.6.1"
+HOMEPAGE="https://opentofu.org/"
+DOWNLOAD="https://github.com/opentofu/opentofu/archive/v1.6.1/opentofu-1.6.1.tar.gz"
+MD5SUM="c3bb1d9cc1de2d53bd777f847ded37ab"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Gustavo B. Schenkel"
+EMAIL="gustavo.schenkel@gmail.com"
diff --git a/development/opentofu/slack-desc b/development/opentofu/slack-desc
new file mode 100644
index 0000000000..4e26513b30
--- /dev/null
+++ b/development/opentofu/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------------------------------------------------------|
+opentofu: opentofu (tool for building, changing, and versioning infrastructure)
+opentofu:
+opentofu: OpenTofu is an OSS tool for building, changing, and versioning
+opentofu: infrastructure safely and efficiently.
+opentofu: OpenTofu can manage existing and popular service providers as well as
+opentofu: custom in-house solutions.
+opentofu:
+opentofu:
+opentofu: Homepage: https://www.opentofu.org/
+opentofu:
+opentofu:
diff --git a/development/openvr/openvr.SlackBuild b/development/openvr/openvr.SlackBuild
index bb19db0c39..f0e0efcaf1 100644
--- a/development/openvr/openvr.SlackBuild
+++ b/development/openvr/openvr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openvr
@@ -24,10 +24,13 @@
# Revision date: 2016/08/29
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openvr
VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -108,4 +118,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ophis/README b/development/ophis/README
new file mode 100644
index 0000000000..934931d754
--- /dev/null
+++ b/development/ophis/README
@@ -0,0 +1,17 @@
+ophis (cross assembler for 6502)
+
+Ophis is a cross-assembler for the 65xx series of chips. It supports
+the stock 6502 opcodes, the 65c02 extensions, experimental support
+for the 4502/4510 used in the Commodore 65 prototypes, and syntax
+for the "undocumented opcodes" in the 6510 chip used on the Commodore
+64 (syntax for these opcodes matches those given in the VICE team's
+documentation).
+
+Ophis is written in pure Python and should be highly portable.
+
+The package includes ophis itself, the platform
+headers in /usr/share/ophis, and the PDF manual in
+/usr/doc/ophis-$VERSION/ophismanual.pdf.
+If you prefer the manual in HTML form, it's here:
+
+https://michaelcmartin.github.io/Ophis/book/book1.html
diff --git a/development/ophis/git2tarxz.sh b/development/ophis/git2tarxz.sh
new file mode 100644
index 0000000000..3b9cc19cce
--- /dev/null
+++ b/development/ophis/git2tarxz.sh
@@ -0,0 +1,66 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version number.
+
+# Special weirdness here, because of upstream's use of cmake's
+# FetchContent. Dunno why they didn't just use a git submodule...
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+# Version number example: 0.0.1+20200227_ad7ec17
+
+# Notes:
+
+# Do not use this if you're packaging a release.
+
+# This script doesn't need to be run as root. It does need to be able
+# to write to the current directory it's run from.
+
+# Running this script twice for the same commit will NOT give identical
+# tarballs, even if the contents are identical. This is because tar
+# includes the current time in a newly-created tarball (plus there may
+# be other git-related reasons).
+
+# Once you've generated a tarball, you'll still need a place to host it.
+# Ask on the mailing list, if you don't have your own web server to
+# play with.
+
+## Config:
+PRGNAM=ophis
+CLONE_URL=https://github.com/michaelcmartin/Ophis
+## End of config.
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERTAG=$( git tag -l | tail -1 | sed 's,^v,,' )
+
+VERSION=${VERTAG}+${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=\"$VERSION\""
+echo "MD5SUM=\"$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )\""
diff --git a/development/ophis/ophis.1 b/development/ophis/ophis.1
new file mode 100644
index 0000000000..3706106b8b
--- /dev/null
+++ b/development/ophis/ophis.1
@@ -0,0 +1,134 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "OPHIS" 1 "2023-04-21" "2.1" "SlackBuilds.org"
+.SH NAME
+ophis \- cross assembler for the 6502 and related CPUs
+.\" RST source for ophis(1) man page. Convert with:
+.
+.\" rst2man.py ophis.rst > ophis.1
+.
+.SH SYNOPSIS
+.sp
+ophis [\fB\-o\fP \fIOUTFILE\fP] [\fB\-l\fP \fILISTFILE\fP] [\fB\-m\fP \fIMAPFILE\fP] [\fB\-u\fP | \fB\-\-undoc\fP] [\fB\-c\fP | \fB\-\-65c02\fP] [\fB\-4\fP | \fB\-\-4502\fP] [\fB\-v\fP | \fB\-\-verbose\fP] [\fB\-q\fP | \fB\-\-quiet\fP] [\fB\-\-no\-warn\fP] [\fB\-\-no\-branch\-extend\fP] \fIsourcefile\fP [\fIsourcefile ...\fP]
+.SH DESCRIPTION
+.sp
+Ophis is a cross\-assembler for the 65xx series of chips. It supports
+the stock 6502 opcodes, the 65c02 extensions, experimental support
+for the 4502/4510 used in the Commodore 65 prototypes, and syntax for
+the "undocumented opcodes" in the 6510 chip used on the Commodore
+64.
+.sp
+The full \fBophis\fP manual is available at:
+.INDENT 0.0
+.INDENT 3.5
+/usr/doc/ophis\-2.1/ophismanual.pdf
+.UNINDENT
+.UNINDENT
+.sp
+Or on the author\(aqs site at:
+.INDENT 0.0
+.INDENT 3.5
+\fI\%https://michaelcmartin.github.io/Ophis/book/book1.html\fP
+.UNINDENT
+.UNINDENT
+.sp
+The platform headers and example code mentioned in the manual can be found
+in \fB/usr/share/ophis/platform/\fP and \fB/usr/share/ophis/examples/\fP\&.
+.SH OPTIONS
+.INDENT 0.0
+.INDENT 3.5
+.INDENT 0.0
+.TP
+.B \-\-version
+show program\(aqs version number and exit
+.TP
+.B \-h\fP,\fB \-\-help
+show this help message and exit
+.TP
+.BI \-o \ OUTFILE
+Output filename (default \(aqophis.bin\(aq)
+.TP
+.BI \-l \ LISTFILE
+Listing filename (not created by default)
+.TP
+.BI \-m \ MAPFILE
+Label\-address map filename (not created by default)
+.UNINDENT
+.INDENT 0.0
+.TP
+.B Input options:
+.INDENT 7.0
+.TP
+.B \-u\fP,\fB \-\-undoc
+Enable 6502 undocumented opcodes
+.TP
+.B \-c\fP,\fB \-\-65c02
+Enable 65c02 extended instruction set
+.TP
+.B \-4\fP,\fB \-\-4502
+Enable 4502 extended instruction set
+.UNINDENT
+.TP
+.B Console output options:
+.INDENT 7.0
+.TP
+.B \-v\fP,\fB \-\-verbose
+Verbose mode
+.TP
+.B \-q\fP,\fB \-\-quiet
+Quiet mode
+.TP
+.B \-\-no\-warn
+Do not print warnings
+.UNINDENT
+.TP
+.B Compilation options:
+.INDENT 7.0
+.TP
+.B \-\-no\-branch\-extend
+Disable branch\-extension pass
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/ophis\-2.1/README for license information.
+.SH AUTHORS
+.sp
+\fBophis\fP was written by Michael C. Martin.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The ophis homepage: \fI\%https://michaelcmartin.github.io/Ophis/\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/ophis/ophis.SlackBuild b/development/ophis/ophis.SlackBuild
new file mode 100644
index 0000000000..921e5a28ba
--- /dev/null
+++ b/development/ophis/ophis.SlackBuild
@@ -0,0 +1,72 @@
+#!/bin/bash
+
+# Slackware build script for ophis
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ophis
+VERSION=${VERSION:-2.1+20190412_99f074d}
+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 $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 {} \+
+
+cd src
+python3 setup.py install --root=$PKG
+cd -
+
+# if any test fails, this script will exit.
+cd tests
+./test_ophis.py
+cd -
+
+PKGSHARE=$PKG/usr/share/$PRGNAM
+mkdir -p $PKGSHARE
+cp -a platform/ examples/ $PKGSHARE
+
+# man page by SlackBuild author.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README doc/*.pdf $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ophis/ophis.info b/development/ophis/ophis.info
new file mode 100644
index 0000000000..d73a05fc65
--- /dev/null
+++ b/development/ophis/ophis.info
@@ -0,0 +1,10 @@
+PRGNAM="ophis"
+VERSION="2.1+20190412_99f074d"
+HOMEPAGE="https://michaelcmartin.github.io/Ophis/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/ophis-2.1+20190412_99f074d.tar.xz"
+MD5SUM="91257c97472eeaf5e96bc7d3b84e4cd0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/ophis/ophis.rst b/development/ophis/ophis.rst
new file mode 100644
index 0000000000..85b96d0c8f
--- /dev/null
+++ b/development/ophis/ophis.rst
@@ -0,0 +1,83 @@
+.. RST source for ophis(1) man page. Convert with:
+.. rst2man.py ophis.rst > ophis.1
+
+.. |version| replace:: 2.1
+.. |date| date::
+
+=====
+ophis
+=====
+
+---------------------------------------------
+cross assembler for the 6502 and related CPUs
+---------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+ophis [**-o** *OUTFILE*] [**-l** *LISTFILE*] [**-m** *MAPFILE*] [**-u** | **--undoc**] [**-c** | **--65c02**] [**-4** | **--4502**] [**-v** | **--verbose**] [**-q** | **--quiet**] [**--no-warn**] [**--no-branch-extend**] *sourcefile* [*sourcefile ...*]
+
+DESCRIPTION
+===========
+
+Ophis is a cross-assembler for the 65xx series of chips. It supports
+the stock 6502 opcodes, the 65c02 extensions, experimental support
+for the 4502/4510 used in the Commodore 65 prototypes, and syntax for
+the "undocumented opcodes" in the 6510 chip used on the Commodore
+64.
+
+The full **ophis** manual is available at:
+
+ /usr/doc/ophis-|version|/ophismanual.pdf
+
+Or on the author's site at:
+
+ https://michaelcmartin.github.io/Ophis/book/book1.html
+
+The platform headers and example code mentioned in the manual can be found
+in **/usr/share/ophis/platform/** and **/usr/share/ophis/examples/**.
+
+OPTIONS
+=======
+
+ --version show program's version number and exit
+ -h, --help show this help message and exit
+ -o OUTFILE Output filename (default 'ophis.bin')
+ -l LISTFILE Listing filename (not created by default)
+ -m MAPFILE Label-address map filename (not created by default)
+
+ Input options:
+ -u, --undoc Enable 6502 undocumented opcodes
+ -c, --65c02 Enable 65c02 extended instruction set
+ -4, --4502 Enable 4502 extended instruction set
+
+ Console output options:
+ -v, --verbose Verbose mode
+ -q, --quiet Quiet mode
+ --no-warn Do not print warnings
+
+ Compilation options:
+ --no-branch-extend Disable branch-extension pass
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/ophis-|version|/README for license information.
+
+AUTHORS
+=======
+
+**ophis** was written by Michael C. Martin.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The ophis homepage: https://michaelcmartin.github.io/Ophis/
diff --git a/development/ophis/slack-desc b/development/ophis/slack-desc
new file mode 100644
index 0000000000..4b3e888b66
--- /dev/null
+++ b/development/ophis/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------------------------------------------------------|
+ophis: ophis (cross assembler for 6502)
+ophis:
+ophis: Ophis is a cross-assembler for the 65xx series of chips. It supports
+ophis: the stock 6502 opcodes, the 65c02 extensions, experimental support
+ophis: for the 4502/4510 used in the Commodore 65 prototypes, and syntax
+ophis: for the "undocumented opcodes" in the 6510 chip used on the Commodore
+ophis: 64 (syntax for these opcodes matches those given in the VICE team's
+ophis: documentation).
+ophis:
+ophis: Ophis is written in pure Python and should be highly portable.
+ophis:
diff --git a/development/osc/osc.SlackBuild b/development/osc/osc.SlackBuild
index eda6edeeba..ccf045dfbd 100644
--- a/development/osc/osc.SlackBuild
+++ b/development/osc/osc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for osc
@@ -21,10 +21,13 @@
# 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=osc
VERSION=${VERSION:-0.117}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,4 +79,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/osmo-sdr/osmo-sdr.SlackBuild b/development/osmo-sdr/osmo-sdr.SlackBuild
index d1809ca42d..8b6cc80eda 100644
--- a/development/osmo-sdr/osmo-sdr.SlackBuild
+++ b/development/osmo-sdr/osmo-sdr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gr-osmosdr
@@ -22,10 +22,13 @@
# 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=osmo-sdr
VERSION=${VERSION:-2015.12.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/p4/p4.SlackBuild b/development/p4/p4.SlackBuild
index d6114f6afc..2f9935ce8d 100644
--- a/development/p4/p4.SlackBuild
+++ b/development/p4/p4.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for p4
# Written by Andy Bailey <GooseYArd@gmail.com>
# Modified by David Sullins <david.sullins@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p4
VERSION=${VERSION:-2018.2.1740258}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -38,4 +48,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/p4d/p4d.SlackBuild b/development/p4d/p4d.SlackBuild
index 01140088bd..4b14c401a3 100644
--- a/development/p4d/p4d.SlackBuild
+++ b/development/p4d/p4d.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for p4d
# Based on Slackbuild script for p4 by Andy Bailey <GooseYArd@gmail.com>
# Written by David Sullins <david.sullins@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p4d
VERSION=${VERSION:-2018.2.1740258}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -38,4 +48,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/p4v/p4v.SlackBuild b/development/p4v/p4v.SlackBuild
index 736775119d..f19e1f5b03 100644
--- a/development/p4v/p4v.SlackBuild
+++ b/development/p4v/p4v.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for p4v
@@ -29,15 +29,18 @@
# Mon Aug 30 11:39:47 EDT 2010: add version discovery (rab)
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p4v
VERSION=${VERSION:-2017.2.1573260}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
set -e
###sbolint off (because VERSION is being redefined)
LOCALVER=`tar tf p4v.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1`
-VERSION=${$LOCALVER:-$VERSION}
+VERSION=${LOCALVER:-$VERSION}
###sbolint on
if [ -z "$ARCH" ]; then
@@ -48,7 +51,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -123,4 +133,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pahole/pahole.SlackBuild b/development/pahole/pahole.SlackBuild
index a515ffbd69..f5c2d97305 100644
--- a/development/pahole/pahole.SlackBuild
+++ b/development/pahole/pahole.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pahole
-# Copyright 2019 xaizek <xaizek@posteo.net>
+# Copyright 2019-2023 xaizek <xaizek@posteo.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pahole
-VERSION=${VERSION:-1.12}
+VERSION=${VERSION:-1.26}
+LIBBPF_VER="${LIBBPF_VER:-6597330c45d185381900037f0130712cd326ae59}"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -60,7 +71,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf libbpf-$LIBBPF_VER
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+tar xvf $CWD/libbpf-$LIBBPF_VER.tar.?z
+rmdir $PRGNAM-$VERSION/lib/bpf
+mv libbpf-$LIBBPF_VER $PRGNAM-$VERSION/lib/bpf
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,10 +84,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 {} \;
+# -DDW_LANG_Haskell is a workaround for macro rename in /usr/include/dwarf.h
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -DDW_LANG_Haskell=DW_LANG_Haskel" \
-DCMAKE_INSTALL_PREFIX=/usr \
-D__LIB="lib${LIBDIRSUFFIX}" \
-DCMAKE_BUILD_TYPE=Release ..
@@ -88,9 +104,10 @@ mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# README.ctracer seems to be the only useful README
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING NEWS README README>DEBUG README.btf README.ctracer \
+ COPYING NEWS README.ctracer \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -98,4 +115,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pahole/pahole.info b/development/pahole/pahole.info
index c8b0bd227d..b6abdb4d7a 100644
--- a/development/pahole/pahole.info
+++ b/development/pahole/pahole.info
@@ -1,8 +1,10 @@
PRGNAM="pahole"
-VERSION="1.12"
+VERSION="1.26"
HOMEPAGE="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/"
-DOWNLOAD="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.12.tar.gz"
-MD5SUM="0f9f7eb5ed46c56c726077b66952e829"
+DOWNLOAD="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.26.tar.gz \
+ https://github.com/libbpf/libbpf/archive/6597330c45d185381900037f0130712cd326ae59/libbpf-6597330c45d185381900037f0130712cd326ae59.tar.gz"
+MD5SUM="03aac9eef5b52c5dde4dddb679616f12 \
+ 85b09e49a18f70056886ab13487231fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/pandas/pandas.SlackBuild b/development/pandas/pandas.SlackBuild
index b2aaa906af..4a4dacb241 100644
--- a/development/pandas/pandas.SlackBuild
+++ b/development/pandas/pandas.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pandas
@@ -22,10 +22,13 @@
# 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=pandas
VERSION=${VERSION:-0.23.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -82,4 +92,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pandas/pandas.info b/development/pandas/pandas.info
index c95b4a4821..57c56b8f7a 100644
--- a/development/pandas/pandas.info
+++ b/development/pandas/pandas.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/e9/ad/5e92ba493eff96055a23b0a1
MD5SUM="7b597c7f989652e0c9af5f09a157e3ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="numpy python-dateutil pytz"
+REQUIRES="python2-numpy python2-dateutil pytz"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/pasdoc/pasdoc.SlackBuild b/development/pasdoc/pasdoc.SlackBuild
index 8b7329af43..ef1c19dc84 100644
--- a/development/pasdoc/pasdoc.SlackBuild
+++ b/development/pasdoc/pasdoc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pasdoc
@@ -22,20 +22,30 @@
# 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=pasdoc
VERSION=${VERSION:-0.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -70,4 +80,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/patchutils/patchutils.SlackBuild b/development/patchutils/patchutils.SlackBuild
index 1d5dd5c9aa..7a1ab80589 100644
--- a/development/patchutils/patchutils.SlackBuild
+++ b/development/patchutils/patchutils.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for patchutils
-# Copyright 2008-2016 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2008-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,26 +24,36 @@
# Updated by Donald Cooley <dfc@warpmail.net>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=patchutils
-VERSION=${VERSION:-0.3.4}
+VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -98,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/patchutils/patchutils.info b/development/patchutils/patchutils.info
index 261811c68a..680777f553 100644
--- a/development/patchutils/patchutils.info
+++ b/development/patchutils/patchutils.info
@@ -1,8 +1,8 @@
PRGNAM="patchutils"
-VERSION="0.3.4"
+VERSION="0.4.2"
HOMEPAGE="http://cyberelk.net/tim/software/patchutils/"
-DOWNLOAD="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.4.tar.xz"
-MD5SUM="ee95b5993d07ccdf27ca9f2cc4e6ffee"
+DOWNLOAD="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.4.2.tar.xz"
+MD5SUM="3b4ab8bd84a31deb54f4a3fcac4db94f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/pcbasic/README b/development/pcbasic/README
new file mode 100644
index 0000000000..86b341ea3d
--- /dev/null
+++ b/development/pcbasic/README
@@ -0,0 +1,10 @@
+pcbasic (GW-BASIC interpreter)
+
+pcbasic is a free, cross-platform emulator for the GW-BASIC family of
+interpreters. It can run classic games and legacy BASIC applications
+designed for MS-DOS systems, IBM PC, PCjr or Tandy 1000. It aims for
+bug-for-bug compatibility with Microsoft GW-BASIC. It runs ASCII,
+tokenised and protected BASIC programs and supports the Microsoft
+Binary Format for full interchangeability of data files.
+
+Full documentation and sample code are in "/usr/doc/pcbasic-$VERSION".
diff --git a/development/pcbasic/doinst.sh b/development/pcbasic/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/development/pcbasic/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/pcbasic/pcbasic.SlackBuild b/development/pcbasic/pcbasic.SlackBuild
new file mode 100644
index 0000000000..e4a1350945
--- /dev/null
+++ b/development/pcbasic/pcbasic.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for pcbasic
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# The .deb is a "binary" package, but this is pure python, so this is
+# noarch. The python modules live in /usr/share/$PRGNAM and the main
+# /usr/bin/$PRGNAM script has been patched to load the modules from
+# there.
+
+# The html doc isn't included in the .deb; it has to be generated
+# by checking out the source tree and running "python3 -m make",
+# and it requires python/lxml and all its deps. So I just included a
+# pre-generated copy of it to make things simpler.
+
+# PyAudio and pygame are optional runtime deps, but I didn't mention
+# them in the README because "pcbasic --interface=pygame" says
+# "WARNING: The `pygame` interface is deprecated", and because
+# I couldn't get PyAudio (sound=portaudio in the config file) to
+# actually make any sound.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pcbasic
+VERSION=${VERSION:-2.0.7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+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
+
+# Extract the .deb directly to $PKG, so there's no source directory.
+# Feel free to use the "ar p ..." command in your own SlackBuild: it
+# extracts a .deb without creating any temp files.
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar p $CWD/python3-${PRGNAM}_${VERSION}_all.deb data.tar.xz | tar xvfJ -
+tar xvf $CWD/$PRGNAM-doc-$VERSION.tar.xz
+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 {} \+
+
+# The .deb puts stuff in /usr/local, which I bet is a violation of Debian's
+# standards. It definitely violates ours. Note that the man page is installed
+# to usr/local/share/man/pcbasic.1.gz (with no man1/ dir). Also, they
+# have a bunch of symlinks for the various python 3.x versions, where 3.6
+# is the one that *isn't* a link.
+# Fortunately, the paths aren't hardcoded in the code, and we can move things
+# around as needed, without breaking everything.
+PYLIB=usr/share/$PRGNAM
+ICONDIR=usr/share/icons/hicolor/32x32/apps
+APPDIR=usr/share/applications
+
+mkdir -p usr/bin usr/man/man1 $PYLIB $ICONDIR $APPDIR
+mv usr/local/bin/* usr/bin
+mv usr/local/share/man/* usr/man/man1
+mv usr/local/lib/python3.6/dist-packages/* $PYLIB
+mv usr/local/share/applications/* $APPDIR
+mv usr/local/share/icons/* $ICONDIR
+rm -rf usr/local # no files left in this dir anyway...
+rm -rf usr/share/pcbasic/pcbasic/lib # don't need this.
+
+# Make the main program look in our private dir for its python modules.
+sed -i -e '2iimport sys' \
+ -e "2isys.path.insert(0, '/usr/share/pcbasic')" \
+ usr/bin/pcbasic
+
+# Get rid of hardcoded incorrect path.
+sed -i 's,/usr/local/bin/,,' $APPDIR/*.desktop
+
+# Old-style icon.
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/32x32/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+ln -s ../../share/$PRGNAM/$PRGNAM-$VERSION.dist-info/licenses/LICENSE.md $PKGDOC
+ln -s ../../share/$PRGNAM/$PRGNAM/data/programs $PKGDOC
+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/development/pcbasic/pcbasic.info b/development/pcbasic/pcbasic.info
new file mode 100644
index 0000000000..bdcd7be1b4
--- /dev/null
+++ b/development/pcbasic/pcbasic.info
@@ -0,0 +1,12 @@
+PRGNAM="pcbasic"
+VERSION="2.0.7"
+HOMEPAGE="https://robhagemans.github.io/pcbasic/"
+DOWNLOAD="https://github.com/robhagemans/pcbasic/releases/download/v2.0.7/python3-pcbasic_2.0.7_all.deb \
+ https://slackware.uk/~urchlay/src/pcbasic-doc-2.0.7.tar.xz"
+MD5SUM="c93e3826b38527d7b067ee6db49aa8ab \
+ 5e7b963fec9ad40db1ba406e8505237c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/pcbasic/slack-desc b/development/pcbasic/slack-desc
new file mode 100644
index 0000000000..42a0d34da4
--- /dev/null
+++ b/development/pcbasic/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------------------------------------------------------|
+pcbasic: pcbasic (GW-BASIC interpreter)
+pcbasic:
+pcbasic: pcbasic is a free, cross-platform emulator for the GW-BASIC family of
+pcbasic: interpreters. It can run classic games and legacy BASIC applications
+pcbasic: designed for MS-DOS systems, IBM PC, PCjr or Tandy 1000. It aims for
+pcbasic: bug-for-bug compatibility with Microsoft GW-BASIC. It runs ASCII,
+pcbasic: tokenised and protected BASIC programs and supports the Microsoft
+pcbasic: Binary Format for full interchangeability of data files.
+pcbasic:
+pcbasic:
+pcbasic:
diff --git a/development/pcc/README b/development/pcc/README
index 121124f12c..eae8f47b89 100644
--- a/development/pcc/README
+++ b/development/pcc/README
@@ -1,21 +1,30 @@
-pcc (Portable C Compiler) is based on the original Portable C Compiler
-by S. C. Johnson, written in the late 70's. About 50% of the frontend
-code and 80% of the backend code has been rewritten.
+pcc (Portable C Compiler)
+
+pcc is based on the original Portable C Compiler by S. C. Johnson,
+written in the late 1970s. About 50% of the frontend code and 80% of
+the backend code has been rewritten.
Build options (environment variables):
+
TLS - Enable thread local storage? Default=no, export TLS=yes to enable.
-CC - Compiler to use. Default: look for pcc, gcc, clang (in that order).
+CC - Compiler to use. Default: look for pcc and clang (in that order).
+ It's no longer possible to use CC=gcc.
+
+Notes:
+
+1. To bootstrap pcc, first remove any old versions of pcc
+ (and pcc-libs, if present), then build and install pcc twice
+ (without setting CC). The first time, pcc will be built with
+ clang. The second time, it will be built with itself.
-This build is for the 1.1.0 release of pcc. The 1.0 release no longer
-works on modern Slackware versions (newer than 13.37). The old pcc
-1.0 had separate builds for pcc and pcc-libs; this build includes the
-libraries so no separate pcc-libs is needed (or exists).
+2. This build is for a post-1.1.0 snapshot of pcc. The 1.0 release no
+ longer works on modern Slackware versions (newer than 13.37), and
+ the 1.1.0 release no longer works on Slackware 15.0. The old pcc
+ 1.0 had separate builds for pcc and pcc-libs; this build includes
+ the libraries so no separate pcc-libs is needed (or exists).
-Optional step: To bootstrap pcc, first remove any old versions of pcc
-(and pcc-libs, if present), then build and install pcc twice (without
-setting CC). The first time, pcc will be built with gcc. The second
-time, it will be built with itself.
+3. pcc is a C compiler only. There is experimental, incomplete
+ support for C++ and Fortran 77 in the pcc codebase, but neither is
+ usable yet.
-Note: pcc is a C compiler only. There is experimental, incomplete
-support for C++ and Fortran 77 in the pcc codebase, but neither is
-usable yet.
+See also: http://pcc.ludd.ltu.se/ftp/pub/pcc-docs/
diff --git a/development/pcc/pcc.SlackBuild b/development/pcc/pcc.SlackBuild
index af48a94e74..2d24b68b61 100644
--- a/development/pcc/pcc.SlackBuild
+++ b/development/pcc/pcc.SlackBuild
@@ -1,10 +1,22 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pcc (Portable C Compiler)
-# Originally written by Armin Besirovic <armin[at]linux[dot]org[dot]ba>
+# Originally written by Armin Besirovic <email removed>
+# Modified by B. Watson <urchlay@slackware.uk>
-# Modified by B. Watson <yalhcru@gmail.com>
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230108 bkw: updated for 1.2.0.DEVEL+20230108.
+
+# 20210906 bkw:
+# - updated for 1.2.0.DEVEL+20210905. Putting the .DEVEL in VERSION
+# is a bit unsightly, but it matches the output of "pcc --version"
+# and also Debian's version numbering scheme.
+# - compiling with gcc no longer works, use clang or pcc. actually,
+# compiling with gcc gives us a pcc that seems to compile stuff OK,
+# but anything compiled with that pcc will segfault on startup.
+# - add WTPL (since there was no license at all).
# 20141031 bkw:
# - took over maintentance.
@@ -25,10 +37,21 @@
# - upgraded for pcc-1.1.0 release, no more beta
# - add seddery to fix typo in cc.c (ifdef => ifndef)
+# Note to self: when updating to a new CVS snapshot, first download
+# the latest: http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-current.tgz Then
+# look at the file DATESTAMP inside that tarball, and use that date's
+# snapshot. This is because the CVS snap tarballs are generated
+# nightly, whether or not there actually were any code changes,
+# and we want VERSION to be the date of the last actual code change.
+# For pcc-libs, just use the same snapshot date as pcc.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pcc
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.2.0.DEVEL+20230108}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,11 +61,17 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
+TARVER=${VERSION/*+}
+
# non-standard stanza here: we're not going to use -march= or -mtune=
# on 32-bit Slackware, because doing so prevents pcc from being used
# to compile itself. I could add logic to use those flags only if
@@ -61,15 +90,23 @@ if [ "$CC" = "" ]; then
# user didn't specify, autodetect.
if pcc --version &>/dev/null; then
CC=pcc
- elif gcc --version &>/dev/null; then
- CC=gcc
elif clang --version &>/dev/null; then
CC=clang
+ SLKCFLAGS+=" -fcommon"
else
- echo "Can't find any of pcc, gcc, or clang in \$PATH. Giving up." 1>&2
+ echo "Can't find pcc or clang in \$PATH. Giving up." 1>&2
fi
fi
+# let the user shoot himself in the foot if he insists, but at least
+# warn him how much it's going to hurt.
+if [ "$CC" = "gcc" ]; then
+ echo
+ echo "!!! CC is gcc, this will produce a non-working pcc. You asked for it..."
+ echo
+ sleep 3
+fi
+
export CC
WITHCC="$( basename $CC )"
[ "$CC" = "pcc" ] && WITHCC="pcc itself"
@@ -83,23 +120,16 @@ fi
rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
cd $TMP/$PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-tar xvf $CWD/$PRGNAM-libs-$VERSION.tgz
+tar xvf $CWD/$PRGNAM-$TARVER.tgz
+tar xvf $CWD/$PRGNAM-libs-$TARVER.tgz
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 {} \+
# first, the compiler itself:
-cd $PRGNAM-$VERSION
-
-# fix typo, ref http://marc.info/?l=pcc-list&m=141824411830017&w=2
-sed -i '0,/^#ifdef MULTI/!s,^#ifdef \(MULTI\),#ifndef \1,' cc/cc/cc.c
+cd $PRGNAM-$TARVER
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
$TLSOPT \
--prefix=/usr \
@@ -126,7 +156,7 @@ sed -n '/Copyright/,/^ *$/s,^...,,p' cc/cc/cc.c \
# now, build the libs. we don't attempt to build them with the just-built
# pcc (maybe possible, but not worth the effort).
-cd $TMP/$PRGNAM/$PRGNAM-libs-$VERSION
+cd $TMP/$PRGNAM/$PRGNAM-libs-$TARVER
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -148,4 +178,4 @@ sed -e "s,@WITHCC@,$WITHCC," \
$CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pcc/pcc.info b/development/pcc/pcc.info
index 9bd158fca7..c8c63575a1 100644
--- a/development/pcc/pcc.info
+++ b/development/pcc/pcc.info
@@ -1,12 +1,12 @@
PRGNAM="pcc"
-VERSION="1.1.0"
+VERSION="1.2.0.DEVEL+20230108"
HOMEPAGE="http://pcc.ludd.ltu.se/"
-DOWNLOAD="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-1.1.0.tgz \
- http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-libs-1.1.0.tgz"
-MD5SUM="1c0f22440753075d64f9f2c6ed0e8278 \
- 360c157bbf6a7a931c4760ccf4ad704a"
+DOWNLOAD="http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-20230108.tgz \
+ http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-20230108.tgz"
+MD5SUM="bb6efe9e9cf4c34d9dc91bd8d875aac3 \
+ f3758725f766df5721d106ab8b21926a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/pcc/slack-desc b/development/pcc/slack-desc
index a04f018fea..f105427ffe 100644
--- a/development/pcc/slack-desc
+++ b/development/pcc/slack-desc
@@ -9,7 +9,7 @@
pcc: pcc (Portable C Compiler)
pcc:
pcc: The compiler is based on the original Portable C Compiler by S. C.
-pcc: Johnson, written in the late 70's. About 50% of the frontend code
+pcc: Johnson, written in the late 1970s. About 50% of the frontend code
pcc: and 80% of the backend code has been rewritten. See the PCC History
pcc: wiki page for details.
pcc:
diff --git a/development/pd-psql/pd-psql.SlackBuild b/development/pd-psql/pd-psql.SlackBuild
index db0e74058a..ea2716165a 100644
--- a/development/pd-psql/pd-psql.SlackBuild
+++ b/development/pd-psql/pd-psql.SlackBuild
@@ -1,29 +1,38 @@
-#!/bin/sh
+#!/bin/bash -e
# Slackware build script for <pd-psql>
# Written by Michales Michaloudes korgie@gmail.com
-
-set -e
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pd-psql
VERSION=${VERSION:-2007}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+
+# 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}
SRCNAM=$(echo $PRGNAM | cut -f2 -d-)
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -78,4 +87,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/peg/peg.SlackBuild b/development/peg/peg.SlackBuild
index 4e761dd00c..da65c0bcfb 100644
--- a/development/peg/peg.SlackBuild
+++ b/development/peg/peg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for peg/leg
@@ -23,11 +23,14 @@
# 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=peg
VERSION=${VERSION:-0.1.18}
SRCARCHIVE=${PRGNAM}-${VERSION}.tar.gz
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -85,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/perf/README b/development/perf/README
index 56771df929..12b900b7ab 100644
--- a/development/perf/README
+++ b/development/perf/README
@@ -4,7 +4,22 @@ such as instructions executed, cache-misses suffered, or branches
mispredicted. They form a basis for profiling applications to trace
dynamic control flow and identify hotspots.
-Please note that this SBo doesn't have any sources in the DOWNLOAD
-setting, as the sources are already part of a full slackware install.
+Optional dependencies: audit, numactl
-Optional dependencies: audit, numactl, libunwind
+Please note that this build doesn't have any sources in the .info
+file, as the sources are already part of the Slackware kernel-source
+package. Your running kernel's version should match the kernel-source
+version. If it doesn't:
+
+- If your kernel source is located in /usr/src/linux-$VERSION, you
+ can export KERNEL=<version> in the script's environment. Example:
+
+ export KERNEL=5.13.2
+
+- If your kernel source is somewhere else, you can export
+ KERNEL=</path/to/source>. Example:
+
+ export KERNEL=/home/myuser/kernels/linux-5.13.2
+
+Please note that the package's version number will match the version
+of the kernel source, *not* necessarily what's in the perf.info file.
diff --git a/development/perf/perf.SlackBuild b/development/perf/perf.SlackBuild
index 1a81ae0622..6617210b7b 100644
--- a/development/perf/perf.SlackBuild
+++ b/development/perf/perf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for perf
@@ -22,10 +22,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20210202 bkw: Modified by SlackBuilds.org, autodetect the kernel
+# version and allow the user to override it. Avoids having this build
+# break every time Pat releases a new kernel in patches/.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perf
-VERSION=${VERSION:-4.4.227}
+
+# This VERSION is actually a dummy. Use KERNEL to set the version.
+VERSION=${VERSION:-5.15.19}
+
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -56,7 +70,44 @@ fi
set -e
-SRCDIR="/usr/src/linux-$VERSION/tools/perf"
+die() {
+ echo "$0: fatal: $@" 1>&2
+ cat 1>&2 <<EOF
+
+Please make sure the correct version of the kernel source is
+installed, and/or set the KERNEL environment variable to one of:
+
+- The full path to the kernel source, e.g. KERNEL="/usr/src/linux-4.4.227"
+- Or, the kernel version e.g. KERNEL="4.4.227"
+EOF
+ exit 1
+}
+
+case "$KERNEL" in
+ # if unset, use the running kernel:
+ "") SRCDIR="/usr/src/linux-$( uname -r )" ; SRCDIR=${SRCDIR%-smp} ;;
+ # if it's an absolute path, use it as-is:
+ /*) SRCDIR="$KERNEL" ;;
+ # otherwise assume it's a version number:
+ *) KERNEL=${KERNEL%-smp} ; SRCDIR="/usr/src/linux-$KERNEL" ;;
+esac
+
+[ -f "$SRCDIR/Makefile" ] || die "Can't find kernel source in \"$SRCDIR\""
+
+# get the kernel version number from the top-level Makefile. This
+# allows cases where the kernel source directory isn't named after the
+# version number. It also verifies that the Makefile actually exists
+# (because after upgrading/removing a kernel-source package, the
+# directory might still exist, with the .config and other generated
+# files, but no kernel source!)
+cd $SRCDIR
+VERSION="$( make kernelversion | tail -1 )"
+[ -z "$VERSION" ] && die "Can't get kernel version (source corrupted?)"
+echo "=== VERSION=\"$VERSION\""
+
+SRCDIR="$SRCDIR/tools/perf"
+[ -d "$SRCDIR" ] || die "Kernel source missing tools/perf directory"
+
BUILDDIR=$TMP/$PRGNAM-$VERSION
rm -rf $PKG $BUILDDIR
@@ -97,4 +148,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/perf/perf.info b/development/perf/perf.info
index 1dcb42c495..e79fab244d 100644
--- a/development/perf/perf.info
+++ b/development/perf/perf.info
@@ -1,7 +1,7 @@
PRGNAM="perf"
-VERSION="4.4.227"
+VERSION="5.15.19"
HOMEPAGE="https://perf.wiki.kernel.org/index.php/Main_Page"
-DOWNLOAD="http://www.pastemobile.org/static/perf.dummy"
+DOWNLOAD="https://slackware.uk/~urchlay/src/perf.dummy"
MD5SUM="9cba6c70fb57a22a155073d54748b614"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/perl-shtags/README b/development/perl-shtags/README
deleted file mode 100644
index 61c63f5a92..0000000000
--- a/development/perl-shtags/README
+++ /dev/null
@@ -1,24 +0,0 @@
-shtags.pl is a script to generate tag files for shell and perl scripts.
-
-USAGE: shtags.pl [-kvwVx] [-t <file>] <files>
- -t <file> Name of tags file to create. (default is 'tags')
- -s <shell> Name of the shell language in the script
- -v Include variable definitions.
- (variables mentioned at the start of a line)
- -V Print version information.
- -w Suppress "duplicate tag" warnings.
- -x Explicitly create a new tags file. Normally tags are merged.
- <files> List of files to scan for tags.
-
-This is an update to the one that comes with vim, modified to use
-Getopt::Std rather than the older getopts.pl that came with perl4.
-
-Supported script types:
-
-sh Bourne Shell (including bash, but use -s sh)
-perl Perl (versions 4 and 5)
-ksh Korn Shell
-tclsh The TCL shell
-wish The TK Windowing shell (same as tclsh)
-
-See man (1) shtags for more information.
diff --git a/development/perl-shtags/perl-shtags.SlackBuild b/development/perl-shtags/perl-shtags.SlackBuild
deleted file mode 100644
index 79163e6c21..0000000000
--- a/development/perl-shtags/perl-shtags.SlackBuild
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for perl-shtags
-# Copyright 2018 David Woodfall <dave@slackbuilds.org>
-# 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.
-
-PRGNAM=perl-shtags
-VERSION=${VERSION:-0.0.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-ARCH=noarch
-
-CWD=$(pwd)
-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-$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/usr/{bin,man/man1} $PKG/usr/share/perl5/vendor_perl
-cp shtags.pl $PKG/usr/share/perl5/vendor_perl
-cp shtags.1 $PKG/usr/man/man1
-
-gzip -9 $PKG/usr/man/man1/shtags.1
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-cd $PKG/usr/bin
-ln -s ../share/perl5/vendor_perl/shtags.pl .
-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:-tgz}
diff --git a/development/perl-shtags/perl-shtags.info b/development/perl-shtags/perl-shtags.info
deleted file mode 100644
index 5aff7f7158..0000000000
--- a/development/perl-shtags/perl-shtags.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="perl-shtags"
-VERSION="0.0.4"
-HOMEPAGE="http://tty1.uk/scripts/perl/"
-DOWNLOAD="http://unrealize.co.uk/source/perl-shtags-0.0.4.tar.gz"
-MD5SUM="dc5c554d178ccedf561ba5c16681d5ea"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/development/perl-shtags/slack-desc b/development/perl-shtags/slack-desc
deleted file mode 100644
index fe0d559dd8..0000000000
--- a/development/perl-shtags/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------------------------------------------------------|
-perl-shtags: perl-shtags (sh tag creator)
-perl-shtags:
-perl-shtags: shtags.pl is a script to generate tag files for sh and perl scripts.
-perl-shtags:
-perl-shtags: This is an update to the one that comes with vim, modified to use
-perl-shtags: Getopt::Std rather than the older getopts.pl that came with perl4.
-perl-shtags:
-perl-shtags: http://tty1.uk/scripts/perl/
-perl-shtags:
-perl-shtags:
-perl-shtags:
diff --git a/development/pforth/README b/development/pforth/README
index b7ad5b0438..6c6c71398b 100644
--- a/development/pforth/README
+++ b/development/pforth/README
@@ -5,3 +5,6 @@ BeOS, Nokia Communicator, SGI Indys, 3DO ARM systems, 3DO PowerPC
systems, WebTV systems, Hitachi SH4, OpenTV prototypes, Compaq Ipaq
3970, Sharp LH79520 ARM processor, Ciena Systems networking hardware,
and some internal projects at Lucent.
+
+Note: either use pforth_standalone binary, or add to .bashrc the line
+ alias pforth='pforth -d /usr/share/pforth/2.0.1/pforth.dic'
diff --git a/development/pforth/pforth-build.patch b/development/pforth/pforth-build.patch
deleted file mode 100644
index c3652fc424..0000000000
--- a/development/pforth/pforth-build.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.orig 2012-09-19 08:11:17.879915524 +0700
-+++ Makefile 2012-09-19 08:11:34.512682577 +0700
-@@ -24,7 +24,6 @@
- WIDTHOPT=
-
- FULL_WARNINGS = \
-- -c89 \
- -fsigned-char \
- -fno-builtin \
- -fno-unroll-loops \
diff --git a/development/pforth/pforth.SlackBuild b/development/pforth/pforth.SlackBuild
index 98f75dbaec..be04e1b2fb 100644
--- a/development/pforth/pforth.SlackBuild
+++ b/development/pforth/pforth.SlackBuild
@@ -1,32 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pforth
+# https://github.com/philburk/pforth
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# 20220318 bkw: Modified by SlackBuilds.org: fix build on 32-bit.
+# WARNING: the fix silences some compiler warnings that look like
+# they might actually cause problems. YMMV.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pforth
-VERSION=${VERSION:-v27}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.0.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-SRCVERSION=${VERSION}_20101121
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -44,44 +54,37 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}_$VERSION __MACOSX
-unzip "$CWD/${PRGNAM}_${SRCVERSION}.zip"
-cd ${PRGNAM}_${VERSION}/build/unix
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -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 {} \;
-
-# pforth.dic into "share"
-sed -i "s/pforth.dic/\/usr\/share\/pforth\/${VERSION}\/pforth.dic/g" ../../csrc/pf_main.c
-
-patch -p0 < $CWD/pforth-build.patch
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-make all \
- -j1 \
- DESTDIR=$PKG \
- CC="cc -fgnu89-inline" \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS"
+# 20220318 bkw: hate -Werror. but, see WARNING above...
+sed -i '/-Werror/d' csrc/CMakeLists.txt
-find $PKG/usr/bin | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" cmake .
+make VERBOSE=1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ../../*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a license.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/bin $PKG/usr/share/pforth/${VERSION}
-strip pforth pforth_standalone
-cp -a pforth $PKG/usr/bin/pforth
-cp -a pforth.dic $PKG/usr/share/pforth/${VERSION}/pforth.dic
-cp -a pforth_standalone $PKG/usr/bin/pforth_standalone
+( cd fth
+ strip pforth pforth_standalone
+ install -m 0755 pforth $PKG/usr/bin/pforth
+ install -m 0644 pforth.dic $PKG/usr/share/pforth/${VERSION}/pforth.dic
+ install -m 0755 pforth_standalone $PKG/usr/bin/pforth_standalone )
( cd $PKG/usr/bin ; ln -s pforth_standalone pfs )
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pforth/pforth.info b/development/pforth/pforth.info
index 5b6f286726..3cecba27ce 100644
--- a/development/pforth/pforth.info
+++ b/development/pforth/pforth.info
@@ -1,8 +1,8 @@
PRGNAM="pforth"
-VERSION="v27"
+VERSION="2.0.1"
HOMEPAGE="http://www.softsynth.com/pforth/"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pforth/pforth_v27_20101121.zip"
-MD5SUM="0e46570254f301f68102932a2ec8753f"
+DOWNLOAD="https://github.com/philburk/pforth/archive/v2.0.1/pforth-2.0.1.tar.gz"
+MD5SUM="f4fccd7a12778bf799c2a937591fb0f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/pgmodeler/README b/development/pgmodeler/README
new file mode 100644
index 0000000000..8086e3029b
--- /dev/null
+++ b/development/pgmodeler/README
@@ -0,0 +1,5 @@
+pgModeler - PostgreSQL Database Modeler - is an open-source
+data-modeling tool designed for PostgreSQL. No more DDL commands written
+by hand, let pgModeler do the job for you! This software reunites the
+conceptsof entity-relationship diagrams and the features that PostgreSQL
+implements as extensions of SQL standards.
diff --git a/development/monkey-studio/doinst.sh b/development/pgmodeler/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/development/monkey-studio/doinst.sh
+++ b/development/pgmodeler/doinst.sh
diff --git a/development/pgmodeler/pgmodeler.SlackBuild b/development/pgmodeler/pgmodeler.SlackBuild
new file mode 100644
index 0000000000..36abb52b7f
--- /dev/null
+++ b/development/pgmodeler/pgmodeler.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for pgmodeler
+
+# Copyright 2024 Joielechong, Indonesia
+# 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=pgmodeler
+VERSION=${VERSION:-1.1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+qmake-qt6 \
+ QMAKE_CFLAGS+="$SLKCFLAGS" \
+ QMAKE_CXXFLAGS+="$SLKCFLAGS" \
+ PREFIX=/usr \
+ pgmodeler.pro
+
+make
+make install INSTALL_ROOT=$PKG
+
+mkdir -p $PKG/usr/share/{pixmaps,applications}
+
+cat <<EOF > $PKG/usr/share/applications/$PRGNAM.desktop
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=false
+Name=pgModeler
+GenericName=PostgreSQL Database Modeler
+Comment=An open-source data-modeling tool designed for PostgreSQL.
+Exec=pgmodeler
+Icon=$PRGNAM
+Categories=Database;Development
+StartupNotify=true
+Keywords=Database;SQL;PostgreSQL
+MimeType=application/sql
+EOF
+
+install -m 0644 assets/conf/pgmodeler_logo.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+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
+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/development/pgmodeler/pgmodeler.info b/development/pgmodeler/pgmodeler.info
new file mode 100644
index 0000000000..fcecb0eb79
--- /dev/null
+++ b/development/pgmodeler/pgmodeler.info
@@ -0,0 +1,10 @@
+PRGNAM="pgmodeler"
+VERSION="1.1.2"
+HOMEPAGE="https://pgmodeler.io/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/pgmodeler/pgmodeler/archive/v1.1.2/pgmodeler-1.1.2.tar.gz"
+MD5SUM_x86_64="f5830d56e780aa73267ff29f181f06ec"
+REQUIRES="postgresql qt6"
+MAINTAINER="Joielechong"
+EMAIL="juansspy@gmail.com"
diff --git a/development/pgmodeler/slack-desc b/development/pgmodeler/slack-desc
new file mode 100644
index 0000000000..d447a480c5
--- /dev/null
+++ b/development/pgmodeler/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------------------------------------------------------|
+pgmodeler: pgmodeler (PostgreSQL Database Modeler)
+pgmodeler:
+pgmodeler: pgModeler - PostgreSQL Database Modeler - is an open-source
+pgmodeler: data-modeling tool designed for PostgreSQL. No more DDL
+pgmodeler: commands written by hand, let pgModeler do the job for you!
+pgmodeler:
+pgmodeler: This software unites the concepts of entity-relationship
+pgmodeler: diagrams and the features that PostgreSQL implements as
+pgmodeler: extensions of SQL standards.
+pgmodeler:
+pgmodeler: Homepage: https://pgmodeler.io
diff --git a/development/phantomjs/patches/build-no-ghostdriver.patch b/development/phantomjs/patches/build-no-ghostdriver.patch
new file mode 100644
index 0000000000..b0462f98a6
--- /dev/null
+++ b/development/phantomjs/patches/build-no-ghostdriver.patch
@@ -0,0 +1,63 @@
+Last-Update: 2016-02-15
+Forwarded: not-needed
+Author: Dmitry Smirnov <onlyjob@debian.org>
+Description: fix compilation without non-DFSG Selenium "ghostdriver/third_party/webdriver-atoms/*" files
+
+--- a/src/ghostdriver/ghostdriver.qrc
++++ b/src/ghostdriver/ghostdriver.qrc
+@@ -17,55 +17,8 @@
+ <file>third_party/console++.js</file>
+ <file>third_party/har.js</file>
+ <file>third_party/parseuri.js</file>
+ <file>third_party/uuid.js</file>
+- <file>third_party/webdriver-atoms/active_element.js</file>
+- <file>third_party/webdriver-atoms/clear.js</file>
+- <file>third_party/webdriver-atoms/clear_local_storage.js</file>
+- <file>third_party/webdriver-atoms/clear_session_storage.js</file>
+- <file>third_party/webdriver-atoms/click.js</file>
+- <file>third_party/webdriver-atoms/double_click.js</file>
+- <file>third_party/webdriver-atoms/drag.js</file>
+- <file>third_party/webdriver-atoms/execute_async_script.js</file>
+- <file>third_party/webdriver-atoms/execute_script.js</file>
+- <file>third_party/webdriver-atoms/execute_sql.js</file>
+- <file>third_party/webdriver-atoms/find_element.js</file>
+- <file>third_party/webdriver-atoms/find_elements.js</file>
+- <file>third_party/webdriver-atoms/focus_on_element.js</file>
+- <file>third_party/webdriver-atoms/get_appcache_status.js</file>
+- <file>third_party/webdriver-atoms/get_attribute.js</file>
+- <file>third_party/webdriver-atoms/get_attribute_value.js</file>
+- <file>third_party/webdriver-atoms/get_current_position.js</file>
+- <file>third_party/webdriver-atoms/get_local_storage_item.js</file>
+- <file>third_party/webdriver-atoms/get_local_storage_keys.js</file>
+- <file>third_party/webdriver-atoms/get_local_storage_size.js</file>
+- <file>third_party/webdriver-atoms/get_location.js</file>
+- <file>third_party/webdriver-atoms/get_location_in_view.js</file>
+- <file>third_party/webdriver-atoms/get_session_storage_item.js</file>
+- <file>third_party/webdriver-atoms/get_session_storage_keys.js</file>
+- <file>third_party/webdriver-atoms/get_session_storage_size.js</file>
+- <file>third_party/webdriver-atoms/get_size.js</file>
+- <file>third_party/webdriver-atoms/get_text.js</file>
+- <file>third_party/webdriver-atoms/get_value_of_css_property.js</file>
+- <file>third_party/webdriver-atoms/is_displayed.js</file>
+- <file>third_party/webdriver-atoms/is_enabled.js</file>
+- <file>third_party/webdriver-atoms/is_online.js</file>
+- <file>third_party/webdriver-atoms/is_selected.js</file>
+- <file>third_party/webdriver-atoms/lastupdate</file>
+- <file>third_party/webdriver-atoms/move_mouse.js</file>
+- <file>third_party/webdriver-atoms/pinch.js</file>
+- <file>third_party/webdriver-atoms/remove_local_storage_item.js</file>
+- <file>third_party/webdriver-atoms/remove_session_storage_item.js</file>
+- <file>third_party/webdriver-atoms/right_click.js</file>
+- <file>third_party/webdriver-atoms/rotate.js</file>
+- <file>third_party/webdriver-atoms/scroll_into_view.js</file>
+- <file>third_party/webdriver-atoms/scroll_mouse.js</file>
+- <file>third_party/webdriver-atoms/set_local_storage_item.js</file>
+- <file>third_party/webdriver-atoms/set_session_storage_item.js</file>
+- <file>third_party/webdriver-atoms/submit.js</file>
+- <file>third_party/webdriver-atoms/swipe.js</file>
+- <file>third_party/webdriver-atoms/tap.js</file>
+- <file>third_party/webdriver-atoms/type.js</file>
+ <file>webdriver_atoms.js</file>
+ <file>webelementlocator.js</file>
+ </qresource>
+ </RCC>
diff --git a/development/phantomjs/patches/build-qt-components.patch b/development/phantomjs/patches/build-qt-components.patch
new file mode 100644
index 0000000000..de52fb4370
--- /dev/null
+++ b/development/phantomjs/patches/build-qt-components.patch
@@ -0,0 +1,18 @@
+Last-Update: 2016-02-15
+Forwarded: no
+Author: Dmitry Smirnov <onlyjob@debian.org>
+Description: fix FTBFS.
+
+--- a/src/phantomjs.pro
++++ b/src/phantomjs.pro
+@@ -8,9 +8,9 @@
+ }
+
+ TEMPLATE = app
+ TARGET = phantomjs
+-QT += network webkitwidgets
++QT += network webkitwidgets printsupport
+ CONFIG += console
+
+ DESTDIR = ../bin
+
diff --git a/development/phantomjs/patches/build-qt55-evaluateJavaScript.patch b/development/phantomjs/patches/build-qt55-evaluateJavaScript.patch
new file mode 100644
index 0000000000..ba1f5301d7
--- /dev/null
+++ b/development/phantomjs/patches/build-qt55-evaluateJavaScript.patch
@@ -0,0 +1,169 @@
+Last-Update: 2016-02-15
+Forwarded: no
+Bug-Upstream: https://github.com/ariya/phantomjs/issues/13727
+Author: Ximin Luo <infinity0@debian.org>
+Reviewed-By: Dmitry Smirnov <onlyjob@debian.org>
+Description: Port to Qt 5.5
+ - Remove second argument to evaluateJavascript(), which was not really used
+ for anything, anyways
+
+--- a/src/utils.cpp
++++ b/src/utils.cpp
+@@ -37,8 +37,9 @@
+ #include <QDateTime>
+ #include <QDir>
+ #include <QtWebKitWidgets/QWebFrame>
+
++
+ static QString findScript(const QString& jsFilePath, const QString& libraryPath)
+ {
+ if (!jsFilePath.isEmpty()) {
+ QFile jsFile;
+@@ -131,9 +132,9 @@
+ }
+ return false;
+ }
+ // Execute JS code in the context of the document
+- targetFrame->evaluateJavaScript(scriptBody, QString(JAVASCRIPT_SOURCE_CODE_URL).arg(QFileInfo(scriptPath).fileName()));
++ targetFrame->evaluateJavaScript(scriptBody);
+ return true;
+ }
+
+ bool loadJSForDebug(const QString& jsFilePath, const QString& libraryPath, QWebFrame* targetFrame, const bool autorun)
+@@ -146,12 +147,12 @@
+ QString scriptPath = findScript(jsFilePath, libraryPath);
+ QString scriptBody = jsFromScriptFile(scriptPath, jsFileLanguage, jsFileEnc);
+
+ scriptBody = QString("function __run() {\n%1\n}").arg(scriptBody);
+- targetFrame->evaluateJavaScript(scriptBody, QString(JAVASCRIPT_SOURCE_CODE_URL).arg(QFileInfo(scriptPath).fileName()));
++ targetFrame->evaluateJavaScript(scriptBody);
+
+ if (autorun) {
+- targetFrame->evaluateJavaScript("__run()", QString());
++ targetFrame->evaluateJavaScript("__run()");
+ }
+
+ return true;
+ }
+--- a/src/repl.cpp
++++ b/src/repl.cpp
+@@ -146,9 +146,9 @@
+ // Set the static callback to offer Completions to the User
+ linenoiseSetCompletionCallback(REPL::offerCompletion);
+
+ // Inject REPL utility functions
+- m_webframe->evaluateJavaScript(Utils::readResourceFileUtf8(":/repl.js"), QString(JAVASCRIPT_SOURCE_PLATFORM_URL).arg("repl.js"));
++ m_webframe->evaluateJavaScript(Utils::readResourceFileUtf8(":/repl.js"));
+
+ // Add self to JavaScript world
+ m_webframe->addToJavaScriptWindowObject("_repl", this);
+
+@@ -183,10 +183,9 @@
+ // This will return an array of String with the possible completions
+ QStringList completions = REPL::getInstance()->m_webframe->evaluateJavaScript(
+ QString(JS_RETURN_POSSIBLE_COMPLETIONS).arg(
+ toInspect,
+- toComplete),
+- QString()
++ toComplete)
+ ).toStringList();
+
+ foreach(QString c, completions) {
+ if (lastIndexOfDot > -1) {
+@@ -209,9 +208,9 @@
+ if (userInput[0] != '\0') {
+ // Send the user input to the main Phantom frame for evaluation
+ m_webframe->evaluateJavaScript(
+ QString(JS_EVAL_USER_INPUT).arg(
+- QString(userInput).replace('"', "\\\"")), QString("phantomjs://repl-input"));
++ QString(userInput).replace('"', "\\\"")));
+
+ // Save command in the REPL history
+ linenoiseHistoryAdd(userInput);
+ linenoiseHistorySave(m_historyFilepath.data()); //< requires "char *"
+--- a/src/phantom.cpp
++++ b/src/phantom.cpp
+@@ -380,9 +380,9 @@
+ "require.cache['" + filename + "']._getRequire()," +
+ "require.cache['" + filename + "'].exports," +
+ "require.cache['" + filename + "']" +
+ "));";
+- m_page->mainFrame()->evaluateJavaScript(scriptSource, QString(JAVASCRIPT_SOURCE_PLATFORM_URL).arg(QFileInfo(filename).fileName()));
++ m_page->mainFrame()->evaluateJavaScript(scriptSource);
+ }
+
+ bool Phantom::injectJs(const QString& jsFilePath)
+ {
+@@ -477,10 +477,9 @@
+ m_page->mainFrame()->addToJavaScriptWindowObject("phantom", this);
+
+ // Bootstrap the PhantomJS scope
+ m_page->mainFrame()->evaluateJavaScript(
+- Utils::readResourceFileUtf8(":/bootstrap.js"),
+- QString(JAVASCRIPT_SOURCE_PLATFORM_URL).arg("bootstrap.js")
++ Utils::readResourceFileUtf8(":/bootstrap.js")
+ );
+ }
+
+ bool Phantom::setCookies(const QVariantList& cookies)
+--- a/src/config.cpp
++++ b/src/config.cpp
+@@ -176,9 +176,9 @@
+ QWebPage webPage;
+ // Add this object to the global scope
+ webPage.mainFrame()->addToJavaScriptWindowObject("config", this);
+ // Apply the JSON config settings to this very object
+- webPage.mainFrame()->evaluateJavaScript(configurator.arg(jsonConfig), QString());
++ webPage.mainFrame()->evaluateJavaScript(configurator.arg(jsonConfig));
+ }
+
+ QString Config::helpText() const
+ {
+--- a/src/webpage.cpp
++++ b/src/webpage.cpp
+@@ -752,10 +752,10 @@
+
+ qDebug() << "WebPage - evaluateJavaScript" << function;
+
+ evalResult = m_currentFrame->evaluateJavaScript(
+- function, //< function evaluated
+- QString("phantomjs://webpage.evaluate()")); //< reference source file
++ function //< function evaluated
++ );
+
+ qDebug() << "WebPage - evaluateJavaScript result" << evalResult;
+
+ return evalResult;
+@@ -925,9 +925,9 @@
+ networkOp = QNetworkAccessManager::DeleteOperation;
+ }
+
+ if (networkOp == QNetworkAccessManager::UnknownOperation) {
+- m_mainFrame->evaluateJavaScript("console.error('Unknown network operation: " + operation + "');", QString());
++ m_mainFrame->evaluateJavaScript("console.error('Unknown network operation: " + operation + "');");
+ return;
+ }
+
+ if (address == "about:blank") {
+@@ -1314,9 +1314,9 @@
+ return ret.toString();
+ }
+ }
+ }
+- frame->evaluateJavaScript("console.error('Bad header callback given, use phantom.callback);", QString());
++ frame->evaluateJavaScript("console.error('Bad header callback given, use phantom.callback);");
+ return QString();
+ }
+
+ QString WebPage::header(int page, int numPages)
+@@ -1353,9 +1353,9 @@
+ }
+
+ void WebPage::_appendScriptElement(const QString& scriptUrl)
+ {
+- m_currentFrame->evaluateJavaScript(QString(JS_APPEND_SCRIPT_ELEMENT).arg(scriptUrl), scriptUrl);
++ m_currentFrame->evaluateJavaScript(QString(JS_APPEND_SCRIPT_ELEMENT).arg(scriptUrl));
+ }
+
+ QObject* WebPage::_getGenericCallback()
+ {
diff --git a/development/phantomjs/patches/build-qt55-no-websecurity.patch b/development/phantomjs/patches/build-qt55-no-websecurity.patch
new file mode 100644
index 0000000000..9311c93cf0
--- /dev/null
+++ b/development/phantomjs/patches/build-qt55-no-websecurity.patch
@@ -0,0 +1,54 @@
+Last-Update: 2016-02-15
+Forwarded: not-needed
+Bug-Upstream: https://github.com/ariya/phantomjs/issues/13727
+Author: Ximin Luo <infinity0@debian.org>
+Reviewed-By: Dmitry Smirnov <onlyjob@debian.org>
+Description: Port to Qt 5.5
+ - Remove "webSecurity" option since that's not exposed in Qt 5.5
+
+--- a/src/consts.h
++++ b/src/consts.h
+@@ -63,9 +63,8 @@
+ #define PAGE_SETTINGS_USERNAME "userName"
+ #define PAGE_SETTINGS_PASSWORD "password"
+ #define PAGE_SETTINGS_MAX_AUTH_ATTEMPTS "maxAuthAttempts"
+ #define PAGE_SETTINGS_RESOURCE_TIMEOUT "resourceTimeout"
+-#define PAGE_SETTINGS_WEB_SECURITY_ENABLED "webSecurityEnabled"
+ #define PAGE_SETTINGS_JS_CAN_OPEN_WINDOWS "javascriptCanOpenWindows"
+ #define PAGE_SETTINGS_JS_CAN_CLOSE_WINDOWS "javascriptCanCloseWindows"
+
+ #define DEFAULT_WEBDRIVER_CONFIG "127.0.0.1:8910"
+--- a/src/phantom.cpp
++++ b/src/phantom.cpp
+@@ -135,9 +135,8 @@
+ m_defaultPageSettings[PAGE_SETTINGS_JS_ENABLED] = QVariant::fromValue(true);
+ m_defaultPageSettings[PAGE_SETTINGS_XSS_AUDITING] = QVariant::fromValue(false);
+ m_defaultPageSettings[PAGE_SETTINGS_USER_AGENT] = QVariant::fromValue(m_page->userAgent());
+ m_defaultPageSettings[PAGE_SETTINGS_LOCAL_ACCESS_REMOTE] = QVariant::fromValue(m_config.localToRemoteUrlAccessEnabled());
+- m_defaultPageSettings[PAGE_SETTINGS_WEB_SECURITY_ENABLED] = QVariant::fromValue(m_config.webSecurityEnabled());
+ m_defaultPageSettings[PAGE_SETTINGS_JS_CAN_OPEN_WINDOWS] = QVariant::fromValue(m_config.javascriptCanOpenWindows());
+ m_defaultPageSettings[PAGE_SETTINGS_JS_CAN_CLOSE_WINDOWS] = QVariant::fromValue(m_config.javascriptCanCloseWindows());
+ m_page->applySettings(m_defaultPageSettings);
+
+--- a/src/webpage.cpp
++++ b/src/webpage.cpp
+@@ -367,9 +367,8 @@
+ // attribute "WebSecurityEnabled" must be applied during the initializing
+ // security context for Document instance. Setting up it later will not cause any effect
+ // see <qt\src\3rdparty\webkit\Source\WebCore\dom\Document.cpp:4468>
+ QWebSettings* settings = m_customWebPage->settings();
+- settings->setAttribute(QWebSettings::WebSecurityEnabled, phantomCfg->webSecurityEnabled());
+
+ m_mainFrame = m_customWebPage->mainFrame();
+ m_currentFrame = m_mainFrame;
+ m_mainFrame->setHtml(BLANK_HTML, baseUrl);
+@@ -621,9 +620,8 @@
+ opt->setAttribute(QWebSettings::AutoLoadImages, def[PAGE_SETTINGS_LOAD_IMAGES].toBool());
+ opt->setAttribute(QWebSettings::JavascriptEnabled, def[PAGE_SETTINGS_JS_ENABLED].toBool());
+ opt->setAttribute(QWebSettings::XSSAuditingEnabled, def[PAGE_SETTINGS_XSS_AUDITING].toBool());
+ opt->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls, def[PAGE_SETTINGS_LOCAL_ACCESS_REMOTE].toBool());
+- opt->setAttribute(QWebSettings::WebSecurityEnabled, def[PAGE_SETTINGS_WEB_SECURITY_ENABLED].toBool());
+ opt->setAttribute(QWebSettings::JavascriptCanOpenWindows, def[PAGE_SETTINGS_JS_CAN_OPEN_WINDOWS].toBool());
+ opt->setAttribute(QWebSettings::JavascriptCanCloseWindows, def[PAGE_SETTINGS_JS_CAN_CLOSE_WINDOWS].toBool());
+
+ if (def.contains(PAGE_SETTINGS_USER_AGENT)) {
diff --git a/development/phantomjs/patches/build-qt55-print.patch b/development/phantomjs/patches/build-qt55-print.patch
new file mode 100644
index 0000000000..62984c5c61
--- /dev/null
+++ b/development/phantomjs/patches/build-qt55-print.patch
@@ -0,0 +1,34 @@
+Last-Update: 2016-02-15
+Forwarded: no
+Bug-Upstream: https://github.com/ariya/phantomjs/issues/13727
+Author: Ximin Luo <infinity0@debian.org>
+Reviewed-By: Dmitry Smirnov <onlyjob@debian.org>
+Description: Port to Qt 5.5
+ - In webpage, don't inherit QWebFrame::PrintCallback since it's not public
+
+--- a/src/webpage.cpp
++++ b/src/webpage.cpp
+@@ -1254,9 +1254,9 @@
+ }
+
+ printer.setPageMargins(marginLeft, marginTop, marginRight, marginBottom, QPrinter::Point);
+
+- m_mainFrame->print(&printer, this);
++ m_mainFrame->print(&printer);
+ return true;
+ }
+
+ void WebPage::setZoomFactor(qreal zoom)
+--- a/src/webpage.h
++++ b/src/webpage.h
+@@ -44,9 +44,9 @@
+ class NetworkAccessManager;
+ class QWebInspector;
+ class Phantom;
+
+-class WebPage : public QObject, public QWebFrame::PrintCallback
++class WebPage : public QObject
+ {
+ Q_OBJECT
+ Q_PROPERTY(QString title READ title)
+ Q_PROPERTY(QString frameTitle READ frameTitle)
diff --git a/development/phantomjs/patches/build-qtpath.patch b/development/phantomjs/patches/build-qtpath.patch
new file mode 100644
index 0000000000..6fa48bc0d3
--- /dev/null
+++ b/development/phantomjs/patches/build-qtpath.patch
@@ -0,0 +1,18 @@
+Last-Update: 2016-02-15
+Forwarded: not-needed
+Author: Dmitry Smirnov <onlyjob@debian.org>
+Description: build system correction(s).
+
+--- a/build.py
++++ b/build.py
+@@ -80,9 +80,9 @@
+ def qmakePath():
+ exe = "qmake"
+ if platform.system() == "Windows":
+ exe += ".exe"
+- return os.path.abspath("src/qt/qtbase/bin/" + exe)
++ return os.path.abspath("/usr/lib64/qt5/bin/" + exe)
+
+ # returns paths for 3rd party libraries (Windows only)
+ def findThirdPartyDeps():
+ include_dirs = []
diff --git a/development/phantomjs/patches/fix-missing-webkit-include-files.patch b/development/phantomjs/patches/fix-missing-webkit-include-files.patch
new file mode 100644
index 0000000000..9e1fe8aacc
--- /dev/null
+++ b/development/phantomjs/patches/fix-missing-webkit-include-files.patch
@@ -0,0 +1,23 @@
+diff --git a/src/webpage.cpp b/src/webpage.cpp
+index fc235bc..2151e4e 100644
+--- a/src/webpage.cpp
++++ b/src/webpage.cpp
+@@ -45,12 +45,12 @@
+ #include <QNetworkRequest>
+ #include <QPainter>
+ #include <QtPrintSupport/QPrinter>
+-#include <QWebHistory>
+-#include <QWebHistoryItem>
+-#include <QWebElement>
+-#include <QWebFrame>
+-#include <QWebPage>
+-#include <QWebInspector>
++#include <QtWebKit/QWebHistory>
++#include <QtWebKit/QWebHistoryItem>
++#include <QtWebKit/QWebElement>
++#include <QtWebKitWidgets/QWebFrame>
++#include <QtWebKitWidgets/QWebPage>
++#include <QtWebKitWidgets/QWebInspector>
+ #include <QMapIterator>
+ #include <QBuffer>
+ #include <QDebug>
diff --git a/development/phantomjs/patches/unlock-qt.patch b/development/phantomjs/patches/unlock-qt.patch
new file mode 100644
index 0000000000..1a6d5b0b71
--- /dev/null
+++ b/development/phantomjs/patches/unlock-qt.patch
@@ -0,0 +1,17 @@
+Last-Update: 2016-06-16
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827421
+Author: Dmitry Smirnov <onlyjob@debian.org>
+Description: allow build with QT-5.5+
+
+--- a/src/phantomjs.pro
++++ b/src/phantomjs.pro
+@@ -1,8 +1,4 @@
+
+-if(!equals(QT_MAJOR_VERSION, 5)|!equals(QT_MINOR_VERSION, 5)) {
+- error("This program can only be compiled with Qt 5.5.x.")
+-}
+-
+ TEMPLATE = app
+ TARGET = phantomjs
+ QT += network webkitwidgets
diff --git a/development/phantomjs/phantomjs b/development/phantomjs/phantomjs
new file mode 100644
index 0000000000..0ba233823d
--- /dev/null
+++ b/development/phantomjs/phantomjs
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+/usr/libLIBDIRSUFFIX/phantomjs/phantomjs -platform offscreen $@
diff --git a/development/phantomjs/phantomjs.SlackBuild b/development/phantomjs/phantomjs.SlackBuild
index 4302886e79..a59c0abad3 100644
--- a/development/phantomjs/phantomjs.SlackBuild
+++ b/development/phantomjs/phantomjs.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for phantomjs
-# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2012-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,37 +11,46 @@
# 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.
+# 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.
+
+# 20220318 bkw: Modified by SlackBuilds.org: fix 32-bit build.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=phantomjs
-VERSION=${VERSION:-1.9.8}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,43 +69,51 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION-source.zip
+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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# strip MAKEFLAGS usage
-sed -i "s|-j\$COMPILE_JOBS||" src/qt/preconfig.sh
-sed -i "s|export MAKEFLAGS=||" src/qt/preconfig.sh
+# Patches from arch
+patch -p1 -i $CWD/patches/fix-missing-webkit-include-files.patch
-# Don't use unsupported -fuse-ld=gold flag
-sed -i "6,11d" src/qt/src/3rdparty/webkit/Source/common.pri
+# Patches from debian
+patch -p1 -i $CWD/patches/build-no-ghostdriver.patch
+patch -p1 -i $CWD/patches/build-qt-components.patch
+patch -p1 -i $CWD/patches/build-qt55-evaluateJavaScript.patch
+patch -p1 -i $CWD/patches/build-qt55-no-websecurity.patch
+patch -p1 -i $CWD/patches/build-qt55-print.patch
+patch -p1 -i $CWD/patches/unlock-qt.patch
-# Fix alsa test
-sed -i "s|SND_LIB_MINOR == 0 \&\& SND_LIB_SUBMINOR >= 10|SND_LIB_MINOR == 1 \&\& SND_LIB_SUBMINOR >= 0|" \
- src/qt/config.tests/unix/alsa/alsatest.cpp
+# Point to our qmake (adapted from debian patch)
+patch -p1 -i $CWD/patches/build-qtpath.patch
-# Fix gcc 5 detection in qt's configure script
-patch -p1 -d src/qt -i $CWD/qt-gcc5.patch
+# 20220318 bkw: the patch contains a hardcoded lib64, fix.
+sed -i "s,lib64,lib$LIBDIRSUFFIX," build.py
-cd src/qt
- ./preconfig.sh
-cd -
+python2 build.py \
+ --skip-git \
+ --skip-qtbase \
+ --skip-qtwebkit \
+ --confirm \
+ --release
-src/qt/bin/qmake
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- PREFIX=/usr
+mkdir -p $PKG/usr/{bin,lib$LIBDIRSUFFIX/phantomjs,share/phantomjs}
-make
+# Our phantomjs is linked against system Qt, which uses the X11 QPA
+# by default and prevents phantomjs from running headlessly. To
+# work around that we provide a thin wrapper that switches phantomjs
+# to the "offscreen" QPA
+sed "s|LIBDIRSUFFIX|$LIBDIRSUFFIX|" $CWD/phantomjs > $PKG/usr/bin/phantomjs
+install -m 755 bin/phantomjs $PKG/usr/lib$LIBDIRSUFFIX/phantomjs/
-mkdir -p $PKG/usr/bin
+chmod 755 $PKG/usr/bin/phantomjs
-install -m 755 bin/phantomjs $PKG/usr/bin/
+cp -r examples $PKG/usr/share/phantomjs/
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -109,4 +126,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/phantomjs/phantomjs.info b/development/phantomjs/phantomjs.info
index 34f90fe0a8..89b7263777 100644
--- a/development/phantomjs/phantomjs.info
+++ b/development/phantomjs/phantomjs.info
@@ -1,10 +1,10 @@
PRGNAM="phantomjs"
-VERSION="1.9.8"
+VERSION="2.1.1"
HOMEPAGE="http://phantomjs.org/"
-DOWNLOAD="https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-source.zip"
-MD5SUM="f8163aef2230ebbda2d25a71a06ded7d"
+DOWNLOAD="https://github.com/ariya/phantomjs/archive/2.1.1/phantomjs-2.1.1.tar.gz"
+MD5SUM="db2d71e67e3557a977c2f269f1ec7fee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/development/phantomjs/qt-gcc5.patch b/development/phantomjs/qt-gcc5.patch
deleted file mode 100644
index 39495a5313..0000000000
--- a/development/phantomjs/qt-gcc5.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 4badb867bbffbd66762c150258b37b6c0b7e3c22 Mon Sep 17 00:00:00 2001
-From: Rex Dieter <rdieter@gmail.com>
-Date: Wed, 18 Feb 2015 07:17:22 -0600
-Subject: Configure: Fix detection of GCC 5
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-- Backport qt5 commit 9fb4c2c412621b63c06dbbd899f44041b2e126c2
-- fix webkit feature enablement
-- set QT_BUILD_KEY (same as gcc4), Qt5 has no QT_BUILD_KEY so no
- change there is necessary
-
-Change-Id: Ie131be711a774052bc42f18e8090b2a3dde69475
-Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-Reviewed-by: Dmitry Shachnev <mitya57@gmail.com>
-Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
----
- configure | 9 +++++++--
- 1 file changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/configure b/configure
-index f3a800a..4144400 100755
---- a/configure
-+++ b/configure
-@@ -7729,7 +7729,7 @@ case "$XPLATFORM" in
- *-g++*)
- # Check gcc's version
- case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
-- 4*|3.4*)
-+ 5*|4*|3.4*)
- ;;
- 3.3*)
- canBuildWebKit="no"
-@@ -8031,6 +8031,11 @@ g++*)
- QT_GCC_MINOR_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\).*,\2,'`
- QT_GCC_PATCH_VERSION=0
- ;;
-+ *)
-+ QT_GCC_MAJOR_VERSION=$COMPILER_VERSION
-+ QT_GCC_MINOR_VERSION=0
-+ QT_GCC_PATCH_VERSION=0
-+ ;;
- esac
-
- case "$COMPILER_VERSION" in
-@@ -8040,7 +8045,7 @@ g++*)
- 3.*)
- COMPILER_VERSION="3.*"
- ;;
-- 4.*)
-+ 5*|4.*)
- COMPILER_VERSION="4"
- ;;
- *)
---
-cgit v0.11.0
-
diff --git a/development/php-apcu/php-apcu.SlackBuild b/development/php-apcu/php-apcu.SlackBuild
index 62019f9258..4f268e6341 100644
--- a/development/php-apcu/php-apcu.SlackBuild
+++ b/development/php-apcu/php-apcu.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "php-apcu".
-# Copyright 2015 Eugene Wissner <belka@caraus.de>
+# Copyright 2015-2022 Eugene Wissner <belka@caraus.de>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,11 +24,14 @@
# (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=php-apcu
SRCNAM=apcu
-VERSION=${VERSION:-4.0.11}
+VERSION=${VERSION:-5.1.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -99,7 +109,7 @@ mkdir -p $PKG/etc/php.d
cp $CWD/apcu.ini $PKG/etc/php.d/apcu.ini.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md NOTICE TECHNOTES.txt TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md NOTICE TECHNOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -107,4 +117,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
sed "s|LIBDIRSUFFIX|$LIBDIRSUFFIX|" $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/php-apcu/php-apcu.info b/development/php-apcu/php-apcu.info
index a2c510b6cc..1be7662ad9 100644
--- a/development/php-apcu/php-apcu.info
+++ b/development/php-apcu/php-apcu.info
@@ -1,8 +1,8 @@
PRGNAM="php-apcu"
-VERSION="4.0.11"
+VERSION="5.1.22"
HOMEPAGE="http://pecl.php.net/package/APCu/"
-DOWNLOAD="https://pecl.php.net/get/apcu-4.0.11.tgz"
-MD5SUM="13c0c0dd676e5a7905d54fa985d0ee62"
+DOWNLOAD="https://pecl.php.net/get/apcu-5.1.22.tgz"
+MD5SUM="2e1fb1f09725ada616e873c4e4012ff6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/php-pinba/README b/development/php-pinba/README
deleted file mode 100644
index afa93fe69a..0000000000
--- a/development/php-pinba/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Pinba (PHP Is Not A Bottleneck Anymore) is a statistics server
-using MySQL as an interface. It accumulates and processes data
-sent over UDP by multiple PHP processes and displays statistics
-in a nice human-readable form of simple "reports", also providing
-read-only interface to the raw data in order to make possible
-generation of more sophisticated reports.
diff --git a/development/php-pinba/doinst.sh b/development/php-pinba/doinst.sh
deleted file mode 100644
index 9760b6c15e..0000000000
--- a/development/php-pinba/doinst.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/php.d/pinba.ini.new
-
diff --git a/development/php-pinba/php-pinba.SlackBuild b/development/php-pinba/php-pinba.SlackBuild
deleted file mode 100644
index c5b84e98cd..0000000000
--- a/development/php-pinba/php-pinba.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for php-pinba
-
-# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=php-pinba
-SRCNAM=pinba_extension
-VERSION=${VERSION:-1.0.0}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 pinba-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tgz
-cd pinba-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-PHP_CONFIG=/usr/bin/php-config
-
-phpize
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --sysconfdir=/etc \
- --enable-shared \
- --disable-static \
- --localstatedir=/var \
- --mandir=/usr/man \
- --with-php-config=$PHP_CONFIG \
- --build=$ARCH-slackware-linux
-
-make
-
-EXTENSION_DIR="$PKG/$($PHP_CONFIG --extension-dir)"
-mkdir -p $EXTENSION_DIR
-
-make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
-
-mkdir -p $PKG/etc/php.d
-install -m 644 $CWD/pinba.ini $PKG/etc/php.d/pinba.ini.new
-
-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 CREDITS NEWS 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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/php-pinba/php-pinba.info b/development/php-pinba/php-pinba.info
deleted file mode 100644
index e9b06c6dd5..0000000000
--- a/development/php-pinba/php-pinba.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="php-pinba"
-VERSION="1.0.0"
-HOMEPAGE="http://pinba.org/"
-DOWNLOAD="http://pinba.org/files/pinba_extension-1.0.0.tgz"
-MD5SUM="d54eb41f9d546f6e6be1151da892b4a0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="protobuf"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/development/php-pinba/pinba.ini b/development/php-pinba/pinba.ini
deleted file mode 100644
index 63de6beb7d..0000000000
--- a/development/php-pinba/pinba.ini
+++ /dev/null
@@ -1,8 +0,0 @@
-; Enable pinba extension module
-; extension=pinba.so
-
-; Whether to send request information to the database server
-; pinba.enabled = 1
-
-; IP Address and port of the database server
-; pinba.server = '192.168.0.1:123'
diff --git a/development/php-pinba/slack-desc b/development/php-pinba/slack-desc
deleted file mode 100644
index d8165326cf..0000000000
--- a/development/php-pinba/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------------------------------------------------------|
-php-pinba: php-pinba (Pinba Statistics Server - PHP part)
-php-pinba:
-php-pinba: Pinba (PHP Is Not A Bottleneck Anymore) is a statistics server
-php-pinba: using MySQL as an interface. It accumulates and processes data
-php-pinba: sent over UDP by multiple PHP processes and displays statistics
-php-pinba: in a nice human-readable form of simple "reports", also providing
-php-pinba: read-only interface to the raw data in order to make possible
-php-pinba: generation of more sophisticated reports.
-php-pinba:
-php-pinba: Homepage: http://pinba.org/
-php-pinba:
diff --git a/development/xdebug/README b/development/php-xdebug/README
index 8f44e093f7..8f44e093f7 100644
--- a/development/xdebug/README
+++ b/development/php-xdebug/README
diff --git a/development/xdebug/doinst.sh b/development/php-xdebug/doinst.sh
index d41438b853..d41438b853 100644
--- a/development/xdebug/doinst.sh
+++ b/development/php-xdebug/doinst.sh
diff --git a/development/php-xdebug/php-xdebug.SlackBuild b/development/php-xdebug/php-xdebug.SlackBuild
new file mode 100644
index 0000000000..5a45362a59
--- /dev/null
+++ b/development/php-xdebug/php-xdebug.SlackBuild
@@ -0,0 +1,133 @@
+#!/bin/bash
+
+# Slackware build script for xdebug
+
+# Copyright (c) 2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
+# Copyright 2011-2021 Heinz Wiesinger, Amsterdam, The Netherlands
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20220312 bkw: Modified by SlackBuilds.org: PRGNAM must be a constant,
+# not 'PRGNAM=$SRCNAM-xdebug'. It must match the PRGNAM in the .info file.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+SRCNAM=xdebug
+PRGNAM=php-xdebug
+VERSION=${VERSION:-3.1.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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+rm -f package.xml
+tar xvf $CWD/$SRCNAM-$VERSION.tgz
+cd $SRCNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+# Prepare a PHP extension for compiling
+/usr/bin/phpize
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-php-config=/usr/bin/php-config \
+ --build=$ARCH-slackware-linux \
+ --enable-xdebug
+
+# Build xdebug
+make
+
+# Prepare for installation
+EXTENSION_DIR="$PKG/$(/usr/bin/php-config --extension-dir)"
+mkdir -p $EXTENSION_DIR
+
+# Install xdebug
+make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
+
+mkdir -p $PKG/etc/php.d
+install -m 644 $CWD/xdebug.ini $PKG/etc/php.d/xdebug.ini.new
+sed -i "s/LIBDIR/lib$LIBDIRSUFFIX/g" $PKG/etc/php.d/xdebug.ini.new
+sed -e "1,2d" xdebug.ini >> $PKG/etc/php.d/xdebug.ini.new
+
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml
+install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/xdebug.xml
+
+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 CREDITS LICENSE README.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s|LIBDIRSUFFIX|$LIBDIRSUFFIX|" $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/development/php-xdebug/php-xdebug.info b/development/php-xdebug/php-xdebug.info
new file mode 100644
index 0000000000..a454201624
--- /dev/null
+++ b/development/php-xdebug/php-xdebug.info
@@ -0,0 +1,10 @@
+PRGNAM="php-xdebug"
+VERSION="3.1.1"
+HOMEPAGE="http://xdebug.org"
+DOWNLOAD="https://xdebug.org/files/xdebug-3.1.1.tgz"
+MD5SUM="3c2473656fb9aec8efd6b90ef6c45a66"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Heinz Wiesinger"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/development/php-xdebug/slack-desc b/development/php-xdebug/slack-desc
new file mode 100644
index 0000000000..a31cb5b845
--- /dev/null
+++ b/development/php-xdebug/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------------------------------------------------------|
+php-xdebug: php-xdebug (A PHP extension for debugging PHP scripts)
+php-xdebug:
+php-xdebug: The Xdebug extension helps you debugging your script by providing a
+php-xdebug: lot of valuable debug information. The debug information that Xdebug
+php-xdebug: can provide includes the following: stack traces and function traces
+php-xdebug: in error messages, memory allocation and protection for infinite
+php-xdebug: recursions. Xdebug also provides profiling information for PHP,
+php-xdebug: scripts, code coverage analysis and capabilities to debug PHP scripts
+php-xdebug: interactively with a debug client.
+php-xdebug:
+php-xdebug: Homepage: https://xdebug.org/
diff --git a/development/php-xdebug/xdebug.ini b/development/php-xdebug/xdebug.ini
new file mode 100644
index 0000000000..ab5797b912
--- /dev/null
+++ b/development/php-xdebug/xdebug.ini
@@ -0,0 +1,2 @@
+; Enable xdebug extension module
+;zend_extension = "/usr/LIBDIR/php/extensions/xdebug.so"
diff --git a/development/php82/README b/development/php82/README
new file mode 100644
index 0000000000..badb203e43
--- /dev/null
+++ b/development/php82/README
@@ -0,0 +1,36 @@
+PHP is an HTML-embedded scripting language. It shares syntax
+characteristics with C, Java, and Perl. The primary objective behind
+this language is to make a fast and easy-to-use scripting language for
+dynamic web sites.
+
+This installation is compatible with the official php package and
+doesn't overwrite any stock files.
+
+This script doesn't build mod_php. You can use php-fpm or built-in
+development server.
+
+NOTE:
+
+Because of this old PEAR bug:
+
+https://pear.php.net/bugs/bug.php?id=20383
+
+Some directories and files will be created on the build file-system as
+this is built:
+
+/usr/lib64/php/8.2/.channels/.alias/
+/usr/lib64/php/8.2/.channels/.alias/pear.txt
+/usr/lib64/php/8.2/.channels/.alias/pecl.txt
+/usr/lib64/php/8.2/.channels/.alias/phpdocs.txt
+/usr/lib64/php/8.2/.channels/__uri.reg
+/usr/lib64/php/8.2/.channels/doc.php.net.reg
+/usr/lib64/php/8.2/.channels/pear.php.net.reg
+/usr/lib64/php/8.2/.channels/pecl.php.net.reg
+/usr/lib64/php/8.2/.depdb
+/usr/lib64/php/8.2/.depdblock
+/usr/lib64/php/8.2/.filemap
+/usr/lib64/php/8.2/.lock
+/usr/lib64/php/8.2/.registry/
+/usr/lib64/php/8.2/.registry/.channel.__uri/
+/usr/lib64/php/8.2/.registry/.channel.doc.php.net/
+/usr/lib64/php/8.2/.registry/.channel.pecl.php.net/
diff --git a/development/php82/doinst.sh b/development/php82/doinst.sh
new file mode 100644
index 0000000000..231f5ea07d
--- /dev/null
+++ b/development/php82/doinst.sh
@@ -0,0 +1,18 @@
+config() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+# Keep same perms on rc.php-fpm.new:
+if [ -e etc/rc.d/rc.php-fpm-8.2 ]; then
+ cp -a etc/rc.d/rc.php-fpm-8.2 etc/rc.d/rc.php-fpm-8.2.new.incoming
+ cat etc/rc.d/rc.php-fpm-8.2.new > etc/rc.d/rc.php-fpm-8.2.new.incoming
+ mv etc/rc.d/rc.php-fpm-8.2.new.incoming etc/rc.d/rc.php-fpm-8.2.new
+fi
+config etc/rc.d/rc.php-fpm-8.2.new
diff --git a/development/php82/php82.SlackBuild b/development/php82/php82.SlackBuild
new file mode 100644
index 0000000000..91d979cd03
--- /dev/null
+++ b/development/php82/php82.SlackBuild
@@ -0,0 +1,222 @@
+#!/bin/bash
+
+# Build and package PHP FPM 8.2
+# Copyright 2023 Eugene Wissner, Germany, Dachau
+#
+# by: David Cantrell <david@slackware.com>
+# Modified for PHP 4-5 by volkerdi@slackware.com
+# Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2017, 2019, 2020, 2021 Patrick Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=php82
+VERSION=${VERSION:-8.2.18}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+VERSION_SUFFIX=8.2
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf php-$VERSION
+tar xvf $CWD/php-$VERSION.tar.xz
+cd php-$VERSION
+chown -R root:root .
+
+# Sometimes they ship a few of these:
+find . -name "*.orig" -delete
+
+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 {} \;
+
+sed -i "s|build$|php/${VERSION_SUFFIX}/build|" scripts/Makefile.frag
+sed -i "s|build\"$|php/${VERSION_SUFFIX}/build\"|" scripts/phpize.in
+
+EXTENSION_DIR=/usr/lib${LIBDIRSUFFIX}/php/${VERSION_SUFFIX}/extensions \
+CFLAGS="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1" \
+CXXFLAGS="$SLKCFLAGS -DU_USING_ICU_NAMESPACE=1 -DU_DEFINE_FALSE_AND_TRUE=1" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --with-libdir=lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --sysconfdir=/etc/php/${VERSION_SUFFIX} \
+ --datarootdir=/usr/share \
+ --datadir=/usr/share \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --program-suffix=-$VERSION_SUFFIX \
+ --without-apxs2 \
+ --enable-fpm \
+ --with-fpm-user=apache \
+ --with-fpm-group=apache \
+ --enable-zts \
+ --enable-pcntl \
+ --enable-mbregex \
+ --enable-tokenizer=shared \
+ --with-config-file-scan-dir=/etc/php/${VERSION_SUFFIX}/php.d \
+ --with-config-file-path=/etc/php/${VERSION_SUFFIX} \
+ --with-layout=PHP \
+ --disable-sigchild \
+ --with-libxml \
+ --with-expat \
+ --enable-simplexml \
+ --enable-xmlreader=shared \
+ --enable-dom=shared \
+ --enable-filter \
+ --disable-debug \
+ --with-openssl=shared \
+ --with-external-pcre \
+ --with-zlib=shared,/usr \
+ --enable-bcmath=shared \
+ --with-bz2=shared,/usr \
+ --enable-calendar=shared \
+ --enable-ctype=shared \
+ --with-curl=shared \
+ --enable-dba=shared \
+ --with-gdbm=/usr \
+ --with-db4=/usr \
+ --enable-exif=shared \
+ --enable-ftp=shared \
+ --enable-gd=shared \
+ --with-external-gd \
+ --with-jpeg \
+ --with-xpm \
+ --with-gettext=shared,/usr \
+ --with-gmp=shared,/usr \
+ --with-iconv=shared \
+ --with-imap-ssl=/usr \
+ --with-pdo-pgsql=shared,/usr/bin/pg_config \
+ --with-pgsql=shared,/usr/bin/pg_config \
+ --with-ldap=shared \
+ --enable-mbstring=shared \
+ --enable-mysqlnd=shared \
+ --with-mysqli=shared,mysqlnd \
+ --with-mysql-sock=/var/run/mysql/mysql.sock \
+ --with-iodbc=shared,/usr \
+ --enable-pdo=shared \
+ --with-pdo-mysql=shared,mysqlnd \
+ --with-pdo-sqlite=shared,/usr \
+ --with-pdo-odbc=shared,iODBC,/usr \
+ --with-pspell=shared,/usr \
+ --with-enchant=shared,/usr \
+ --enable-shmop=shared \
+ --with-snmp=shared,/usr \
+ --enable-soap=shared \
+ --enable-sockets \
+ --with-sqlite3=shared \
+ --enable-sysvmsg \
+ --enable-sysvsem \
+ --enable-sysvshm \
+ --with-xsl=shared,/usr \
+ --with-zip=shared \
+ --enable-intl=shared \
+ --enable-opcache \
+ --enable-shared=yes \
+ --enable-static=no \
+ --with-gnu-ld \
+ --with-pic \
+ --enable-phpdbg \
+ --with-sodium \
+ --with-password-argon2 \
+ --without-readline \
+ --with-libedit \
+ --with-pear=/usr/lib${LIBDIRSUFFIX}/php/${VERSION_SUFFIX} \
+ --includedir=/usr/include/php/${VERSION_SUFFIX} \
+ --with-tidy=shared \
+ --build=$ARCH-slackware-linux
+
+make
+make install INSTALL_ROOT=$PKG
+
+mkdir -p $PKG/etc/rc.d
+cp sapi/fpm/init.d.php-fpm $PKG/etc/rc.d/rc.php-fpm-${VERSION_SUFFIX}.new
+chmod 644 $PKG/etc/rc.d/rc.php-fpm-${VERSION_SUFFIX}.new
+
+# Strip ELF objects.
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+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
+
+# PHP sometimes puts junk in the root directory:
+( cd $PKG
+ rm -rf .channels .depdb .depdblock .filemap .lock .registry
+)
+
+rm -r $PKG/usr/share/fpm $PKG/usr/bin/pear $PKG/usr/bin/peardev
+mv $PKG/usr/bin/pecl $PKG/usr/bin/pecl-${VERSION_SUFFIX}
+install -m 644 php.ini-development php.ini-production $PKG/etc/php/${VERSION_SUFFIX}/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CODING_STANDARDS* CONTRIBUTING* EXTENSIONS* LICENSE* NEWS* README* UPGRADING* \
+ $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
+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/development/php82/php82.info b/development/php82/php82.info
new file mode 100644
index 0000000000..dffebf29a8
--- /dev/null
+++ b/development/php82/php82.info
@@ -0,0 +1,10 @@
+PRGNAM="php82"
+VERSION="8.2.18"
+HOMEPAGE="https://www.php.net/"
+DOWNLOAD="https://www.php.net/distributions/php-8.2.18.tar.xz"
+MD5SUM="dc3afc0addb388cf9caf380488b6a689"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="postgresql"
+MAINTAINER="Eugene Wissner"
+EMAIL="belka@caraus.de"
diff --git a/development/php82/slack-desc b/development/php82/slack-desc
new file mode 100644
index 0000000000..0302f903d2
--- /dev/null
+++ b/development/php82/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------------------------------------------------------|
+php82: php82 (HTML-embedded scripting language)
+php82:
+php82: PHP is an HTML-embedded scripting language. It shares syntax
+php82: characteristics with C, Java, and Perl. The primary objective behind
+php82: this language is to make a fast and easy-to-use scripting language
+php82: for dynamic web sites.
+php82:
+php82: Homepage: https://www.php.net/
+php82:
+php82:
+php82:
diff --git a/development/phpDocumentor/phpDocumentor.SlackBuild b/development/phpDocumentor/phpDocumentor.SlackBuild
index e64719d406..5d79f5caef 100644
--- a/development/phpDocumentor/phpDocumentor.SlackBuild
+++ b/development/phpDocumentor/phpDocumentor.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for phpDocumentor
# Home Page http://www.phpdoc.org/
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=phpDocumentor
VERSION=${VERSION:-1.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch # hardcode ARCH
@@ -17,7 +20,14 @@ PHPGROUP=${PHPGROUP:-apache}
SRCNAM=PhpDocumentor-${VERSION}
-CWD=$(pwd)
+# 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}
@@ -54,4 +64,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pingendo/pingendo.SlackBuild b/development/pingendo/pingendo.SlackBuild
index 53f101fa20..1d9261fd35 100644
--- a/development/pingendo/pingendo.SlackBuild
+++ b/development/pingendo/pingendo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pingendo
@@ -22,10 +22,13 @@
# 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=pingendo
VERSION=${VERSION:-v3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=${ARCH:-$(uname -m)}
case "$ARCH" in
@@ -44,7 +47,14 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
+# 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}
@@ -107,4 +117,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pinner/README b/development/pinner/README
new file mode 100644
index 0000000000..526b444514
--- /dev/null
+++ b/development/pinner/README
@@ -0,0 +1,23 @@
+
+# Pinner
+
+A Geany plugin designed to enhance document management by allowing
+users to pin documents to a sidebar tab. This feature is particularly
+useful for users working with many multiple open documents, as it
+enables them to add selected filenames to a list for easy access. Users
+can then simply click on a filename in the list to switch to that
+document.
+
+A demonstration video is at https://www.twitch.tv/videos/2067406964
+
+The plugin will add two items to the Geany tools menu:
+
+ Pin Document Unpin Document
+
+The list is not persistent and will be cleared when you exit Geany. To
+clear it manually, right click on it and left-click on "Clear".
+
+## Keybindings
+
+When the plugin is enabled, keybindings to pin and unpin documents
+can be changed from the Geany preferences menu.
diff --git a/development/pinner/pinner.SlackBuild b/development/pinner/pinner.SlackBuild
new file mode 100644
index 0000000000..3a1f16b77d
--- /dev/null
+++ b/development/pinner/pinner.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for Pinner
+
+# Copyright 2024 Andy Alt / United States
+# All rights reserved.
+
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+
+# 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=pinner
+VERSION=${VERSION:-0.1.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 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}
+
+LIBDIRSUFFIX=""
+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"
+ LIBDIRSUFFIX="64"
+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.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 {} \;
+
+mkdir build
+cd build
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+meson .. \
+ --buildtype=release \
+ --strip \
+ --libdir="/usr/lib$LIBDIRSUFFIX" \
+ --prefix=/usr
+
+ninja -v
+DESTDIR=$PKG ninja install
+cd ..
+
+# Documentation
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog.md README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+
+pwd
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pinner/pinner.info b/development/pinner/pinner.info
new file mode 100644
index 0000000000..e00289652e
--- /dev/null
+++ b/development/pinner/pinner.info
@@ -0,0 +1,10 @@
+PRGNAM="pinner"
+VERSION="0.1.2"
+HOMEPAGE="https://github.com/andy5995/pinner/"
+DOWNLOAD="https://github.com/andy5995/pinner/releases/download/v0.1.2/pinner-0.1.2.tar.xz"
+MD5SUM="662d6da45da1821ba848740a3477dbbd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="geany"
+MAINTAINER="Andy Alt"
+EMAIL="arch_stanton5995@proton.me"
diff --git a/development/pinner/slack-desc b/development/pinner/slack-desc
new file mode 100644
index 0000000000..9c37ee2272
--- /dev/null
+++ b/development/pinner/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------------------------------------------------------|
+pinner: pinner (Geany plugin that allows pinning documents to a sidebar)
+pinner:
+pinner: Pinner is a Geany plugin designed to enhance document management by
+pinner: allowing users to pin documents to a sidebar tab. This feature is
+pinner: particularly useful for users working with many multiple open
+pinner: documents, as it enables them to add selected filenames to a list
+pinner: for easy access. Users can then simply click on a filename in the
+pinner: list to switch to that document effortlessly.
+pinner:
+pinner: Homepage: https://github.com/andy5995/pinner/
+pinner:
diff --git a/development/pip2tgz/pip2tgz.SlackBuild b/development/pip2tgz/pip2tgz.SlackBuild
index 14c58034d2..9425cdc2de 100644
--- a/development/pip2tgz/pip2tgz.SlackBuild
+++ b/development/pip2tgz/pip2tgz.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pip2tgz
-# Copyright 2017 Duncan Roe, Melbourne, Australia
+# Copyright 2017,2022 Duncan Roe, Melbourne, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +22,24 @@
# 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=pip2tgz
-VERSION=${VERSION:-0.4}
+VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -64,4 +74,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pip2tgz/pip2tgz.info b/development/pip2tgz/pip2tgz.info
index 1bc71fa2c0..c3d9dff6de 100644
--- a/development/pip2tgz/pip2tgz.info
+++ b/development/pip2tgz/pip2tgz.info
@@ -1,10 +1,10 @@
PRGNAM="pip2tgz"
-VERSION="0.4"
+VERSION="0.9"
HOMEPAGE="https://github.com/duncan-roe/pip2tgz"
-DOWNLOAD="https://github.com/duncan-roe/pip2tgz/archive/v0.4/pip2tgz-0.4.tar.gz"
-MD5SUM="603b431a9f639fa481bf84a0d650274a"
+DOWNLOAD="https://github.com/duncan-roe/pip2tgz/archive/v0.9/pip2tgz-0.9.tar.gz"
+MD5SUM="738532d43431863e291e101dda07c782"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pip pipdeptree"
+REQUIRES="pipdeptree"
MAINTAINER="Duncan Roe"
EMAIL="duncan_roe@optusnet.com.au"
diff --git a/development/pkgconf/README b/development/pkgconf/README
index 4ccedb7a13..9f3d068df4 100644
--- a/development/pkgconf/README
+++ b/development/pkgconf/README
@@ -12,8 +12,9 @@ pkgconf. This can be reversed by removing pkgconf and reinstalling
pkg-config. A new user session will be needed for the environment
variables to be correct.
-If you are using slackpkg add this line to your blacklist file found
-at '/etc/slackpkg/blacklist'.
+If you are using slackpkg add this line to your blacklist file found at
+'/etc/slackpkg/blacklist'.
+
pkg-config
To build debugging symbols use:
diff --git a/development/pkgconf/pkgconf.SlackBuild b/development/pkgconf/pkgconf.SlackBuild
index 4f34013b2a..b7066ab70b 100644
--- a/development/pkgconf/pkgconf.SlackBuild
+++ b/development/pkgconf/pkgconf.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pkgconf
-# Copyright 2016-2020 Hunter Sezen California, USA
+# Copyright 2016-2021 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=pkgconf
-VERSION=${VERSION:-1.7.3}
+VERSION=${VERSION:-1.7.4}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,12 +79,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-[ "${DEBUG:=0}" != 0 ] &&
+[ "${DEBUG:=0}" = 0 ] ||
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -134,8 +145,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING NEWS README.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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pkgconf/pkgconf.info b/development/pkgconf/pkgconf.info
index c544216750..7d3ac2aea2 100644
--- a/development/pkgconf/pkgconf.info
+++ b/development/pkgconf/pkgconf.info
@@ -1,8 +1,8 @@
PRGNAM="pkgconf"
-VERSION="1.7.3"
+VERSION="1.7.4"
HOMEPAGE="https://git.sr.ht/~kaniini/pkgconf"
-DOWNLOAD="https://distfiles.dereferenced.org/pkgconf/pkgconf-1.7.3.tar.xz"
-MD5SUM="2a19acafd0eccb61d09a5bbf7ce18c9d"
+DOWNLOAD="https://distfiles.dereferenced.org/pkgconf/pkgconf-1.7.4.tar.xz"
+MD5SUM="be4e3987047a95c2b75fbbf1884353ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"
diff --git a/development/pkgdiff/pkgdiff.SlackBuild b/development/pkgdiff/pkgdiff.SlackBuild
index dc194aae64..027db07d81 100644
--- a/development/pkgdiff/pkgdiff.SlackBuild
+++ b/development/pkgdiff/pkgdiff.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pkgdiff
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -11,13 +11,20 @@
# it. When there's a new release, it'll be time to add perl-file-libmagic
# to REQUIRES.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pkgdiff
VERSION=${VERSION:-1.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+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}
@@ -31,11 +38,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 {} \+
DESTDIR=$PKG make install
@@ -47,4 +51,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pkgdiff/pkgdiff.info b/development/pkgdiff/pkgdiff.info
index 0667f7d13a..a4e0f4f02d 100644
--- a/development/pkgdiff/pkgdiff.info
+++ b/development/pkgdiff/pkgdiff.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wdiff"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/pli/README b/development/pli/README
new file mode 100644
index 0000000000..662c2ca5e0
--- /dev/null
+++ b/development/pli/README
@@ -0,0 +1,13 @@
+pli (Iron Spring PL/I Compiler for Linux)
+
+pli is a compiler for the PL/I programming language, which implements
+most of the "PL/I General-Purpose Subset" (aka "Subset G"). The
+compiler itself is closed-source, but it may be used and copied
+freely. The runtime library (libprf.a) is released under the GNU LGPL,
+so that programs linked with it can be distributed freely.
+
+The package ships with extensive documentation. Also, see
+README_SBo.txt for Slackware-specific details.
+
+There's no way to build or run this on aarch64, or anything else but
+x86 and x86_64.
diff --git a/development/pli/README_SBo.txt b/development/pli/README_SBo.txt
new file mode 100644
index 0000000000..20c1a27c14
--- /dev/null
+++ b/development/pli/README_SBo.txt
@@ -0,0 +1,37 @@
+SBo development/pli notes
+=========================
+
+The package is called pli, but the actual compiler binary is plic.
+I've written a man page for it, but it's not very detailed. You should
+read the HTML and PDF docs in /usr/doc/pli-$VERSION.
+
+The compiler doesn't have a default include path. The documentation
+claims that it looks in the current directory, but it won't even do
+that without "-i ." on the command line.
+
+PL/I doesn't seem to rely as heavily on includes as C does (very
+few of the samples/ programs include anything at all). This package
+installs the includes in /usr/lib/pli-$VERSION/include, which
+gets symlinked as /usr/lib/pli/include. That's what you should
+use for plic's -i option in your Makefile for a PL/I project.
+
+x86_64 notes
+------------
+
+The package will always have i586 architecture, which might confuse
+sbopkg and/or sbotools. However, it can be installed and run on pure
+64-bit Slackware (without multilib).
+
+The compiler is a fully statically linked 32-bit x86 executable. This
+means it can be run on an x86_64 Slackware system even without
+multilib. When compiling PL/I code to standalone executables (that
+don't use the C library), the resulting binaries are also statically
+linked 32-bit, and will run on non-multilib x86_64. For examples
+of standalone use, see:
+
+ /usr/doc/pli-$VERSION/samples/SA_make
+
+What you *can't* do on x86_64 without multilib is link with the C
+library (LC_make and LCC_make in samples/), or use the alt/ library
+to use the C malloc() and free() for the PL/I heap. This means that
+trying to build the samples will fail.
diff --git a/development/pli/pli.SlackBuild b/development/pli/pli.SlackBuild
new file mode 100644
index 0000000000..52ec12b4dc
--- /dev/null
+++ b/development/pli/pli.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+# Slackware build script for pli
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20231121 bkw: update for v1.2.0.
+# 20230103 bkw: update for v0.9.10e, fix PKGTYPE mess.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pli
+VERSION=${VERSION:-1.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# static binary and library are for this arch.
+ARCH=i586
+
+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}
+
+# wrapper/frontend script version.
+PLICLVER=${PLICLVER:-0.0.1}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+
+# permissions are bad, please don't revert this to template.
+find . -type f -a -exec chmod 644 {} \+ -o -exec chmod 755 {} \+
+
+# binary-only software, no compilation, just install it where it goes.
+# AUR has a pli build:
+# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pli-bin
+# but they don't include the includes, or the ISAM stuff (libpbl),
+# or the alt/ dir.
+
+PKGLIB=$PKG/usr/lib
+PRIVLIB=$PKGLIB/$PRGNAM-$VERSION
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+PKGMAN=$PKG/usr/man/man1
+mkdir -p $PKG/usr/bin $PRIVLIB $PKGDOC $PKGMAN
+
+install -s -oroot -groot -m0755 plic $PRIVLIB/plic
+install -oroot -groot -m0644 lib/libprf.a $PRIVLIB/libprf.a
+install -oroot -groot -m0644 lib/libpbl.a $PRIVLIB/libpbl.a
+cp -a lib/{alt,include,source} $PRIVLIB
+
+ln -s $PRGNAM-$VERSION $PKG/usr/lib/$PRGNAM
+ln -s ../lib/$PRGNAM/plic $PKG/usr/bin/plic
+ln -s $PRGNAM/libprf.a $PKGLIB/libprf.a
+ln -s $PRGNAM/libpbl.a $PKGLIB/libpbl.a
+
+gzip -9c < $CWD/plic.1 > $PKGMAN/plic.1.gz
+
+# wrapper script. written by the SlackBuild author, but not
+# Slackware-specific, so it's not kept in SBo's git repo.
+install -oroot -groot -m0755 $CWD/plicl-$PLICLVER $PKG/usr/bin/plicl
+sh $CWD/plicl-$PLICLVER --man | gzip -9c > $PKGMAN/plicl.1.gz
+
+# don't need 2 copies of the lgpl
+rm -f lib/lgpl.html
+cp -a *.gif *.pdf *.html lib/*.html samples $PKGDOC
+cat $CWD/README_SBo.txt > $PKGDOC/README_SBo.txt
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pli/pli.info b/development/pli/pli.info
new file mode 100644
index 0000000000..5ae22f2ba5
--- /dev/null
+++ b/development/pli/pli.info
@@ -0,0 +1,12 @@
+PRGNAM="pli"
+VERSION="1.2.0"
+HOMEPAGE="http://www.iron-spring.com/"
+DOWNLOAD="http://www.iron-spring.com/pli-1.2.0.tgz \
+ https://slackware.uk/~urchlay/src/plicl-0.0.1"
+MD5SUM="1be38297b60f61c3f9f4742e3188dcdf \
+ 43cef380d335b102f52524874d59d324"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/pli/plic.1 b/development/pli/plic.1
new file mode 100644
index 0000000000..6e2bd2a6d9
--- /dev/null
+++ b/development/pli/plic.1
@@ -0,0 +1,216 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "PLIC" 1 "2022-01-17" "0.9.10d" "SlackBuilds.org"
+.SH NAME
+plic \- Iron Spring PL/I Compiler for x86 Linux
+.\" RST source for plic(1) man page. Convert with:
+.
+.\" rst2man.py plic.rst > plic.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.\" This is mostly copypasta from prog_guide.html, with a bit
+.
+.\" of commentary explaining things that aren't entirely clear.
+.
+.SH SYNOPSIS
+.sp
+plic [\fIoptions\fP] <input\-files> [\fI\-o\fP output\-file]
+.SH DESCRIPTION
+.sp
+\fBplic\fP is a compiler for the PL/I language.
+.sp
+This man page doesn\(aqt attempt to fully document \fBplic\fP\&. It\(aqs just
+intended as a reference for the command\-line options and arguments.
+For full documentation, see: /usr/doc/pli\-0.9.10d/prog_guide.html
+.sp
+\&...and the other HTML and PDF documents found in the same directory.
+.sp
+One major difference between \fBplic\fP and other compilers for other
+languages you may have used: \fBplic\fP doesn\(aqt link executables
+nor call \fBld\fP(1) to link them as e.g. \fBgcc\fP(1) does. \fBplic\fP
+produces object files (named with \fI\&.o\fP extension), which must then be
+linked with a separate \fBld\fP command. The full documentation explains
+this, and there is also a sample Makefile for building a simple
+PL/I application, found in: /usr/doc/pli\-0.9.10d/samples/SA_make
+.sp
+The \fBpli\fP SlackBuilds.org package also includes a \fBplicl\fP wrapper
+script, which does compiling and linking in one step, at least for
+simple PL/I programs. It has its own man page.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-V
+Print version and copyright info to stderr (not stdout!) and exit.
+.TP
+.B \-S
+Generate assembler (symbolic) output. Default output filename is
+the input filename with the extension changed to \fI\&.asm\fP (use \fB\-o\fP to
+change it).
+.TP
+.B \-C
+Generate compiled (object code) output. Default object filename is
+the input filename with the extension changed to \fI\&.o\fP (use \fB\-o\fP to
+change it). A listing file (extension \fI\&.lst\fP) is also created. This
+option should always be used when compiling; without it, \fBplic\fP
+still generates an object file, but confusingly, its extension will
+be \fI\&.exe\fP, and no \fI\&.lst\fP file will be created.
+.TP
+.B \-N
+Generate statement number tables to provide information for run\-time
+error messages.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \fB\-o\fP \fIfile\fP
+Set the output filename. The space between the option and argument
+is optional.
+.TP
+.B \fB\-i\fP \fIdirectory\fP
+Use \fIdirectory\fP as the absolute or relative path to a directory to
+be searched for %INCLUDE files. This option may be used more than once on the
+command line, and directories will be searched in the order listed.
+The space between the option and argument is optional. Note that
+you must use \fB\-i .\fP if you want to search for include files in the
+current directory.
+.TP
+.B \fB\-l[saxgmov]\fP
+Listing options. One or more of [saxgmov] may be entered, in any
+order, e.g. \fB\-lsx\fP\&.
+.INDENT 7.0
+.TP
+.BI \-l\fB s
+list source
+.TP
+.BI \-l\fB a
+list attributes
+.TP
+.BI \-l\fB x
+list cross\-reference
+.TP
+.BI \-l\fB g
+list aggregates
+.TP
+.BI \-l\fB m
+list generated code in a format similar to a disassembly.
+.TP
+.BI \-l\fB o
+list procedure map (statement offset table)
+.TP
+.BI \-l\fB v
+list additional warning messages
+.UNINDENT
+.TP
+.B \fB\-m(start[,end])\fP
+This option defines the first and last positions of each
+input line that contain input for the compiler. If this
+option is omitted the source is assumed to be the entire line.
+This option is included for compatibility with mainframe compilers
+which would use, for example, \-m(2,72).
+.TP
+.B \fB\-cn(<list>)\fP, \fB\-co(<list>)\fP
+These options define up to four characters each to be used as
+substitutions for the NOT(¬) [\-cn()] and/or OR(|) [\-co()]
+operator IN ADDITION TO the defaults. Parentheses are metacharacters
+in most Linux shells, so quote these options with either single\- or
+double\-quotes.
+.TP
+.B \fB\-e[wsd]\fP
+Error options. Can be combined, e.g. \-ewd. Normally, the compiler\(aqs
+exit status is 4 if only warnings were issued, and 8 for any errors
+in the code [but, exit status is 0 for errors like "Input file not found"].
+These options are useful when the compiler is run from a script or Makefile.
+.INDENT 7.0
+.TP
+.BI \-e\fB w
+Tells the compiler to exit with 0 status if only warning messages
+were issued.
+.TP
+.BI \-e\fB s
+Tells the compiler to exit with 0 status if any errors \fIor\fP
+warnings were issued.
+.TP
+.BI \-e\fB d
+Display messages on stderr, as well as stdout. Normally, stdout
+is the .lst file, so this option allows you to see any compile
+errors/warnings immediately, without scrolling through the
+listing.
+.UNINDENT
+.TP
+.B \fB\-d<option>\fP
+<options> is a character string, with or without enclosing quotes.
+.INDENT 7.0
+.TP
+.BI \-d\fB LIB
+Tells the compiler it is compiling a standard run\-time library procedure.
+.TP
+.BI \-d\fB ELF
+Causes the compiler to generate ELF object files (already the default, on Linux).
+.TP
+.BI \-d\fB OMF
+Causes the compiler to generate OMF object files (this is the default on OS/2).
+.UNINDENT
+.UNINDENT
+.\" FILES
+.
+.\" =====
+.
+.\" ENVIRONMENT
+.
+.\" ===========
+.
+.\" EXIT STATUS
+.
+.\" ===========
+.
+.\" BUGS
+.
+.\" ====
+.
+.\" EXAMPLES
+.
+.\" ========
+.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/pli\-0.9.10d/readme_linux.html for license information.
+.SH AUTHORS
+.sp
+plic is copyright Iron Spring Software.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBplicl\fP(1), \fBld\fP(1)
+.sp
+\fI\%http://www.iron\-spring.com/\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/pli/plic.rst b/development/pli/plic.rst
new file mode 100644
index 0000000000..c710080ea0
--- /dev/null
+++ b/development/pli/plic.rst
@@ -0,0 +1,190 @@
+.. RST source for plic(1) man page. Convert with:
+.. rst2man.py plic.rst > plic.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. This is mostly copypasta from prog_guide.html, with a bit
+.. of commentary explaining things that aren't entirely clear.
+
+.. |version| replace:: 0.9.10d
+.. |date| date::
+
+====
+plic
+====
+
+---------------------------------------
+Iron Spring PL/I Compiler for x86 Linux
+---------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+plic [*options*] <input-files> [*-o* output-file]
+
+DESCRIPTION
+===========
+
+**plic** is a compiler for the PL/I language.
+
+This man page doesn't attempt to fully document **plic**. It's just
+intended as a reference for the command-line options and arguments.
+For full documentation, see: /usr/doc/pli-|version|/prog_guide.html
+
+...and the other HTML and PDF documents found in the same directory.
+
+One major difference between **plic** and other compilers for other
+languages you may have used: **plic** doesn't link executables
+nor call **ld**\(1) to link them as e.g. **gcc**\(1) does. **plic**
+produces object files (named with *.o* extension), which must then be
+linked with a separate **ld** command. The full documentation explains
+this, and there is also a sample Makefile for building a simple
+PL/I application, found in: /usr/doc/pli-|version|/samples/SA_make
+
+The **pli** SlackBuilds.org package also includes a **plicl** wrapper
+script, which does compiling and linking in one step, at least for
+simple PL/I programs. It has its own man page.
+
+OPTIONS
+=======
+
+-V
+ Print version and copyright info to stderr (not stdout!) and exit.
+
+-S
+ Generate assembler (symbolic) output. Default output filename is
+ the input filename with the extension changed to *.asm* (use **-o** to
+ change it).
+
+-C
+ Generate compiled (object code) output. Default object filename is
+ the input filename with the extension changed to *.o* (use **-o** to
+ change it). A listing file (extension *.lst*) is also created. This
+ option should always be used when compiling; without it, **plic**
+ still generates an object file, but confusingly, its extension will
+ be *.exe*, and no *.lst* file will be created.
+
+-N
+ Generate statement number tables to provide information for run-time
+ error messages.
+
+**-o** *file*
+ Set the output filename. The space between the option and argument
+ is optional.
+
+**-i** *directory*
+ Use *directory* as the absolute or relative path to a directory to
+ be searched for %INCLUDE files. This option may be used more than once on the
+ command line, and directories will be searched in the order listed.
+ The space between the option and argument is optional. Note that
+ you must use **-i .** if you want to search for include files in the
+ current directory.
+
+**-l[saxgmov]**
+ Listing options. One or more of [saxgmov] may be entered, in any
+ order, e.g. **-lsx**.
+
+ -ls
+ list source
+
+ -la
+ list attributes
+
+ -lx
+ list cross-reference
+
+ -lg
+ list aggregates
+
+ -lm
+ list generated code in a format similar to a disassembly.
+
+ -lo
+ list procedure map (statement offset table)
+ -lv
+ list additional warning messages
+
+**-m(start[,end])**
+ This option defines the first and last positions of each
+ input line that contain input for the compiler. If this
+ option is omitted the source is assumed to be the entire line.
+ This option is included for compatibility with mainframe compilers
+ which would use, for example, -m(2,72).
+
+**-cn(<list>)**, **-co(<list>)**
+ These options define up to four characters each to be used as
+ substitutions for the NOT(¬) [-cn()] and/or OR(|) [-co()]
+ operator IN ADDITION TO the defaults. Parentheses are metacharacters
+ in most Linux shells, so quote these options with either single- or
+ double-quotes.
+
+**-e[wsd]**
+ Error options. Can be combined, e.g. -ewd. Normally, the compiler's
+ exit status is 4 if only warnings were issued, and 8 for any errors
+ in the code [but, exit status is 0 for errors like "Input file not found"].
+ These options are useful when the compiler is run from a script or Makefile.
+
+ -ew
+ Tells the compiler to exit with 0 status if only warning messages
+ were issued.
+
+ -es
+ Tells the compiler to exit with 0 status if any errors *or*
+ warnings were issued.
+
+ -ed
+ Display messages on stderr, as well as stdout. Normally, stdout
+ is the .lst file, so this option allows you to see any compile
+ errors/warnings immediately, without scrolling through the
+ listing.
+
+**-d<option>**
+ <options> is a character string, with or without enclosing quotes.
+
+ -dLIB
+ Tells the compiler it is compiling a standard run-time library procedure.
+
+ -dELF
+ Causes the compiler to generate ELF object files (already the default, on Linux).
+
+ -dOMF
+ Causes the compiler to generate OMF object files (this is the default on OS/2).
+
+.. FILES
+.. =====
+
+.. ENVIRONMENT
+.. ===========
+
+.. EXIT STATUS
+.. ===========
+
+.. BUGS
+.. ====
+
+.. EXAMPLES
+.. ========
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/pli-|version|/readme_linux.html for license information.
+
+AUTHORS
+=======
+
+plic is copyright Iron Spring Software.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**plicl**\(1), **ld**\(1)
+
+http://www.iron-spring.com/
diff --git a/development/pli/slack-desc b/development/pli/slack-desc
new file mode 100644
index 0000000000..0e99bcd5e1
--- /dev/null
+++ b/development/pli/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------------------------------------------------------|
+pli: pli (Iron Spring PL/I Compiler for Linux)
+pli:
+pli: pli is a compiler for the PL/I programming language, which implements
+pli: most of the "PL/I General-Purpose Subset" (aka "Subset G"). The
+pli: compiler itself is closed-source, but it may be used and copied
+pli: freely. The runtime library (libprf.a) is released under the GNU LGPL,
+pli: so that programs linked with it can be distributed freely.
+pli:
+pli:
+pli:
+pli:
diff --git a/development/pocl/README b/development/pocl/README
new file mode 100644
index 0000000000..af988aae20
--- /dev/null
+++ b/development/pocl/README
@@ -0,0 +1,23 @@
+PoCL is a portable open source (MIT-licensed) implementation of the
+OpenCL standard (1.2 with some 2.0 features supported). In addition
+to being an easily portable multi-device (truely heterogeneous)
+open-source OpenCL implementation, a major goal of this project is
+improving interoperability of diversity of OpenCL-capable devices by
+integrating them to a single centrally orchestrated platform. Also
+one of the key goals longer term is to enhance performance
+portability of OpenCL programs across device types utilizing runtime
+and compiler techniques.
+
+Upstream PoCL currently supports various CPUs, NVIDIA GPUs via
+libcuda, HSA-supported GPUs and TCE ASIPs (experimental, see:
+OpenASIP). It is also known to have multiple (private) adaptations
+in active production use.
+
+PoCL uses Clang as an OpenCL C frontend and LLVM for kernel compiler
+implementation, and as a portability layer. Thus, if your desired
+target has an LLVM backend, it should be able to get OpenCL support
+easily by using PoCL.
+
+Examples source are installed at: /usr/share/pocl/examples
+
+Optional: hwloc
diff --git a/development/pocl/pocl.SlackBuild b/development/pocl/pocl.SlackBuild
new file mode 100644
index 0000000000..4500713fd8
--- /dev/null
+++ b/development/pocl/pocl.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for PoCL
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pocl
+VERSION=${VERSION:-3.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=man \
+ -DBUILD_SHARED_LIBS=ON \
+ -DENABLE_EXAMPLES=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# install examples
+mkdir -p $PKG/usr/share/pocl
+cp -aR examples $PKG/usr/share/pocl
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES COPYING CREDITS LICENSE LICENSE_THIRDPARTY \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README README.ARM TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pocl/pocl.info b/development/pocl/pocl.info
new file mode 100644
index 0000000000..cd3b70dfaa
--- /dev/null
+++ b/development/pocl/pocl.info
@@ -0,0 +1,10 @@
+PRGNAM="pocl"
+VERSION="3.0"
+HOMEPAGE="http://portablecl.org"
+DOWNLOAD="http://portablecl.org/downloads/pocl-3.0.tar.gz"
+MD5SUM="bd79db59fa31e38759296849291210a3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/pocl/slack-desc b/development/pocl/slack-desc
new file mode 100644
index 0000000000..1f0bc88bb2
--- /dev/null
+++ b/development/pocl/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------------------------------------------------------|
+pocl: pocl (Portable Computing Language, an OpenCL standard implementation)
+pocl:
+pocl: PoCL is a portable open source (MIT-licensed) implementation of the
+pocl: OpenCL standard (1.2 with some 2.0 features supported). In addition
+pocl: to being an easily portable multi-device (truely heterogeneous)
+pocl: open-source OpenCL implementation, a major goal of this project is
+pocl: improving interoperability of diversity of OpenCL-capable devices by
+pocl: integrating them to a single centrally orchestrated platform. Also
+pocl: one of the key goals longer term is to enhance performance
+pocl: portability of OpenCL programs across device types utilizing runtime
+pocl: and compiler techniques.
diff --git a/development/poedit/README b/development/poedit/README
index 490dd860d9..470910610d 100644
--- a/development/poedit/README
+++ b/development/poedit/README
@@ -3,5 +3,7 @@ Poedit is cross-platform gettext catalogs (.po files) editor.
It aims to provide more convenient approach to editing catalogs than
launching vi and editing the file by hand.
-NOTE: poedit 2.0 will require newer boost (1.60+), so it works only in
--current.
+Optional dependency:
+- cpprestsdk for crowd integration
+- cld2 (better language autodetection and non-English source languages)
+- pugixml
diff --git a/development/poedit/poedit.SlackBuild b/development/poedit/poedit.SlackBuild
index 2319aba3bb..70c36d1907 100644
--- a/development/poedit/poedit.SlackBuild
+++ b/development/poedit/poedit.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for poedit
# Copyright 2008 Niklas "Nille" Åkerström
-# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# 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=poedit
-VERSION=${VERSION:-1.8.12}
+VERSION=${VERSION:-3.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -70,8 +80,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch --verbose -p1 < $CWD/setvalue.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -87,7 +95,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 AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -95,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/poedit/poedit.info b/development/poedit/poedit.info
index b8391a4535..ffc8994144 100644
--- a/development/poedit/poedit.info
+++ b/development/poedit/poedit.info
@@ -1,10 +1,10 @@
PRGNAM="poedit"
-VERSION="1.8.12"
+VERSION="3.4.2"
HOMEPAGE="https://www.poedit.net"
-DOWNLOAD="https://github.com/vslavik/poedit/releases/download/v1.8.12-oss/poedit-1.8.12.tar.gz"
-MD5SUM="7c16257fc8757fe658295b0e3a677670"
+DOWNLOAD="https://github.com/vslavik/poedit/releases/download/v3.4.2-oss/poedit-3.4.2.tar.gz"
+MD5SUM="511d05b0d5fff3ec6c254f7e76906446"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxGTK3 LucenePlusPlus gtkspell3"
+REQUIRES="wxGTK3 LucenePlusPlus gtkspell3 webkit2gtk"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/poedit/setvalue.diff b/development/poedit/setvalue.diff
deleted file mode 100644
index 1c66943cea..0000000000
--- a/development/poedit/setvalue.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/fileviewer.cpp 2013-11-10 17:38:50.161359501 +0400
-+++ b/src/fileviewer.cpp 2013-11-10 17:37:59.958987117 +0400
-@@ -286,7 +286,7 @@
- linenum = 0;
-
- m_text->SetReadOnly(false);
-- m_text->SetValue(data);
-+ m_text->SetText(data);
- m_text->SetReadOnly(true);
-
- m_text->MarkerDeleteAll(1);
diff --git a/development/polyml/polyml.SlackBuild b/development/polyml/polyml.SlackBuild
index 7241630029..1723009d93 100644
--- a/development/polyml/polyml.SlackBuild
+++ b/development/polyml/polyml.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for polyml
# Written by Eugene Suter <easuter at gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="polyml"
VERSION=${VERSION:-5.5.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,9 +82,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING TODO.txt $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/portaudio/portaudio.SlackBuild b/development/portaudio/portaudio.SlackBuild
index 14345e8b9e..0c2b3109b1 100644
--- a/development/portaudio/portaudio.SlackBuild
+++ b/development/portaudio/portaudio.SlackBuild
@@ -1,16 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "PortAudio".
#
# Copyright 2009-2015 Marco Bonetti <sid77@slackware.it>
# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
+# Copyright 2022 Bill Kirkpatrick, Bay City, Texas, USA
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
-# * Redistributions of source code must retain the above copyright
+# 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 COPYRIGHT HOLDERS AND CONTRIBUTORS
@@ -25,27 +26,36 @@
# (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=portaudio
-SRCNAM=pa
-VERSION=${VERSION:-v190600_20161030}
+VERSION=${VERSION:-19.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,9 +73,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/${SRCNAM}_stable_${VERSION}.tgz
-cd $PRGNAM
+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 \
@@ -73,11 +83,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 {} \;
-# 20200117 bkw: If jack (either v1 or v2) is installed, parallel builds
-# of portaudio fail. Could just hardcode -j1 in make command, but let's not
-# penalize those who aren't affected by it.
-pkg-config --exists jack && JFLAG=-j1
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -87,20 +92,23 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-cxx \
+ --disable-static \
--build=$ARCH-slackware-linux
-make $JFLAG
+make -j1
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt README.configure.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt README.configure.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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/portaudio/portaudio.info b/development/portaudio/portaudio.info
index 44f6059d35..b0af76fd9d 100644
--- a/development/portaudio/portaudio.info
+++ b/development/portaudio/portaudio.info
@@ -1,10 +1,10 @@
PRGNAM="portaudio"
-VERSION="v190600_20161030"
-HOMEPAGE="http://www.portaudio.com/"
-DOWNLOAD="http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz"
-MD5SUM="4df8224e047529ca9ad42f0521bf81a8"
+VERSION="19.7.0"
+HOMEPAGE="https://github.com/portaudio/portaudio/"
+DOWNLOAD="https://github.com/PortAudio/portaudio/archive/v19.7.0/portaudio-19.7.0.tar.gz"
+MD5SUM="49ecd6de2350b3a1466116538f7be0e7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Christoph Willing"
-EMAIL="chris.willing@linux.com"
+MAINTAINER="Bill Kirkpatrick"
+EMAIL="bkirkp@gmail.com"
diff --git a/development/portaudio/slack-desc b/development/portaudio/slack-desc
index d7fed55855..1a6f0f8548 100644
--- a/development/portaudio/slack-desc
+++ b/development/portaudio/slack-desc
@@ -14,6 +14,6 @@ portaudio: interface. Example programs are included that play sine waves,
portaudio: process audio input (guitar fuzz), record and playback audio, list
portaudio: available audio devices, etc.
portaudio:
-portaudio: Homepage: http://portaudio.com/
+portaudio: Homepage: https://github.com/portaudio/portaudio/
portaudio:
portaudio:
diff --git a/development/postman/doinst.sh b/development/postman/doinst.sh
index 39f9be1ff4..e69b296100 100644
--- a/development/postman/doinst.sh
+++ b/development/postman/doinst.sh
@@ -1,2 +1,12 @@
( cd usr/bin ; rm -rf postman )
( cd usr/bin ; ln -sf /opt/postman/app/Postman postman )
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/postman/postman.SlackBuild b/development/postman/postman.SlackBuild
index 5db1da33c9..6028f10d9b 100644
--- a/development/postman/postman.SlackBuild
+++ b/development/postman/postman.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Postman
-# Copyright 2018, 2019 Ebben Aries <e@dscp.org>
+# Copyright 2018-2024 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,16 @@
# 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=postman
SRCDIR=Postman
SRCNAM=linux
-VERSION=${VERSION:-7.34.0}
+VERSION=${VERSION:-10.24.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM2=$PRGNAM-$VERSION-$SRCNAM
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -45,12 +56,15 @@ OUTPUT=${OUTPUT:-/tmp}
case "$ARCH" in
x86_64)
SRC="${SRCNAM}64"
+ SRC2="${SRCNAM2}-x64.tar.gz"
;;
i586)
SRC="${SRCNAM}32"
+ SRC2="${SRCNAM2}-x32.tar.gz"
;;
i686)
SRC="${SRCNAM}32"
+ SRC2="${SRCNAM2}-x32.tar.gz"
;;
*)
echo "$ARCH is not supported."
@@ -63,8 +77,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRC
+rm -rf $SRCDIR
+# handle download with content-disposition (browser etc)
+if [ -e $CWD/$SRC ] ; then
+ tar xvf $CWD/$SRC
+else
+ tar xvf $CWD/$SRC2
+fi
cd $SRCDIR
chown -R root:root .
find -L . \
@@ -78,6 +97,9 @@ rm -rf Postman
mkdir -p $PKG/opt/$PRGNAM
cp -a * $PKG/opt/$PRGNAM
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -86,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/postman/postman.desktop b/development/postman/postman.desktop
new file mode 100644
index 0000000000..358a963712
--- /dev/null
+++ b/development/postman/postman.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Postman
+Comment=Postman API Platform
+Exec=/usr/bin/postman %U
+Icon=/opt/postman/app/resources/app/assets/icon.png
+Terminal=false
+Type=Application
+Categories=Development;
diff --git a/development/postman/postman.info b/development/postman/postman.info
index aae1045bec..05c011c7f7 100644
--- a/development/postman/postman.info
+++ b/development/postman/postman.info
@@ -1,10 +1,10 @@
PRGNAM="postman"
-VERSION="7.34.0"
+VERSION="10.24.16"
HOMEPAGE="https://www.getpostman.com"
-DOWNLOAD="https://dl.pstmn.io/download/version/7.34.0/linux64"
-MD5SUM="e73a56ca80d6811d5ecfb31bd26f572b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://dl.pstmn.io/download/version/10.24.16/linux64"
+MD5SUM_x86_64="75fc2abf7e2115e05567f61145c49600"
REQUIRES=""
MAINTAINER="Ebben Aries"
-EMAIL="e@dscp.org"
+EMAIL="slackbuilds@dscp.org"
diff --git a/development/postman/slack-desc b/development/postman/slack-desc
index 7e9a4acf07..4728bd44db 100644
--- a/development/postman/slack-desc
+++ b/development/postman/slack-desc
@@ -5,7 +5,7 @@
# 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------------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
postman: postman (Build, test, and document your APIs faster)
postman:
postman: Postman features include:
diff --git a/development/power-architect/power-architect.SlackBuild b/development/power-architect/power-architect.SlackBuild
index 1c660935b1..c9c245e74f 100644
--- a/development/power-architect/power-architect.SlackBuild
+++ b/development/power-architect/power-architect.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for power-architect
@@ -23,13 +23,23 @@
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=power-architect
VERSION=${VERSION:-1.0.6}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,4 +89,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/power-architect/power-architect.info b/development/power-architect/power-architect.info
index d9ef85d084..863a1b5265 100644
--- a/development/power-architect/power-architect.info
+++ b/development/power-architect/power-architect.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://download.sqlpower.ca/architect/1.0.6/community/SQL-Power-Archit
MD5SUM="d4387d285b3bd1ea35082a2e353f688e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"
diff --git a/development/pre-commit/README b/development/pre-commit/README
new file mode 100644
index 0000000000..cab73d23a0
--- /dev/null
+++ b/development/pre-commit/README
@@ -0,0 +1,2 @@
+ A framework for managing and maintaining multi-language
+pre-commit hooks.
diff --git a/development/pre-commit/pre-commit.SlackBuild b/development/pre-commit/pre-commit.SlackBuild
new file mode 100644
index 0000000000..9917f4c346
--- /dev/null
+++ b/development/pre-commit/pre-commit.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for pre-commit
+
+# Copyright 2023-2024 Andrew Clemons, Toyko Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pre-commit
+VERSION=${VERSION:-3.7.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $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 {} \;
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md CONTRIBUTING.md LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pre-commit/pre-commit.info b/development/pre-commit/pre-commit.info
new file mode 100644
index 0000000000..2fcdd09518
--- /dev/null
+++ b/development/pre-commit/pre-commit.info
@@ -0,0 +1,10 @@
+PRGNAM="pre-commit"
+VERSION="3.7.0"
+HOMEPAGE="https://pre-commit.com/"
+DOWNLOAD="https://github.com/pre-commit/pre-commit/archive/v3.7.0/pre-commit-3.7.0.tar.gz"
+MD5SUM="c79e85a9be40284c9b952ac6e6914d9d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-cfgv python3-identify python3-virtualenv nodeenv"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/pre-commit/slack-desc b/development/pre-commit/slack-desc
new file mode 100644
index 0000000000..4962c0573a
--- /dev/null
+++ b/development/pre-commit/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------------------------------------------------------|
+pre-commit: pre-commit (git pre-commit hooks.)
+pre-commit:
+pre-commit: A framework for managing and maintaining multi-language pre-commit
+pre-commit: hooks.
+pre-commit:
+pre-commit: https://pre-commit.com/
+pre-commit:
+pre-commit:
+pre-commit:
+pre-commit:
+pre-commit:
diff --git a/development/premake/premake.SlackBuild b/development/premake/premake.SlackBuild
index b439691707..8c8ffd2066 100644
--- a/development/premake/premake.SlackBuild
+++ b/development/premake/premake.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for premake
@@ -22,28 +22,38 @@
# 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=premake
VERSION=${VERSION:-4.4_beta5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRC_VERSION=$(echo $VERSION | tr _ -)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/premake5/README b/development/premake5/README
new file mode 100644
index 0000000000..8ae81ae60d
--- /dev/null
+++ b/development/premake5/README
@@ -0,0 +1,8 @@
+premake5 (build configuration tool)
+
+Premake is a command line utility which reads a scripted definition of
+a software project and, most commonly, uses it to generate project
+files for toolsets like Visual Studio, Xcode, or GNU Make.
+
+Use the built-in general purpose Lua scripting engine (plus lots of
+extras) to make build configuration tasks a breeze.
diff --git a/development/premake5/premake5.SlackBuild b/development/premake5/premake5.SlackBuild
new file mode 100644
index 0000000000..9a1d908b2f
--- /dev/null
+++ b/development/premake5/premake5.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for premake5
+
+# Copyright 2023 Sean Eubanks <seanmeu@protonmail.com>, Cheraw, SC, USA
+# All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=premake5
+VERSION=${VERSION:-5.0.0_beta2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRC_VERSION=$(echo $VERSION | tr _ -)
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+DOCS="BUILD.txt CHANGES.txt LICENSE.txt README.md CONTRIBUTORS.txt"
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf premake-$SRC_VERSION-src
+unzip $CWD/premake-$SRC_VERSION-src.zip
+cd premake-$SRC_VERSION-src
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+cd build/gmake2.unix
+make config=release
+cd -
+
+install -D -m 0755 bin/release/premake5 $PKG/usr/bin/premake5
+
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -a tests $PKG/usr/share/$PRGNAM/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/premake5/premake5.info b/development/premake5/premake5.info
new file mode 100644
index 0000000000..af73ba53e0
--- /dev/null
+++ b/development/premake5/premake5.info
@@ -0,0 +1,10 @@
+PRGNAM="premake5"
+VERSION="5.0.0_beta2"
+HOMEPAGE="https://premake.github.io/"
+DOWNLOAD="https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-src.zip"
+MD5SUM="23b436c9b740f04e57831c76b18b76bf"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lua"
+MAINTAINER="Sean Eubanks"
+EMAIL="seanmeu@protonmail.com"
diff --git a/development/premake5/slack-desc b/development/premake5/slack-desc
new file mode 100644
index 0000000000..eec5745f1f
--- /dev/null
+++ b/development/premake5/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------------------------------------------------------|
+premake5: premake5 (build configuration tool)
+premake5:
+premake5: Premake is a command line utility which reads a scripted definition
+premake5: of a software project and, most commonly, uses it to generate
+premake5: project files for toolsets like Visual Studio, Xcode, or GNU Make.
+premake5: Use the built-in general purpose Lua scripting engine (plus lots of
+premake5: extras) to make build configuration tasks a breeze.
+premake5:
+premake5:
+premake5:
+premake5: https://premake.github.io
diff --git a/development/processing/processing.SlackBuild b/development/processing/processing.SlackBuild
index 4ab4663551..06d8567a1c 100644
--- a/development/processing/processing.SlackBuild
+++ b/development/processing/processing.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for processing
@@ -6,10 +6,13 @@
# Written by wigums (wigums@protonmail.com)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=processing
VERSION=${VERSION:-3.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -62,4 +72,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/processing/processing.info b/development/processing/processing.info
index 54fa66ead0..a4a29a84c1 100644
--- a/development/processing/processing.info
+++ b/development/processing/processing.info
@@ -5,6 +5,6 @@ DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://download.processing.org/processing-3.5.4-linux64.tgz"
MD5SUM_x86_64="2746cbe158425396dcf8a4103b93400f"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="wigums"
EMAIL="pioneer22675@gmail.com"
diff --git a/development/protobuf3/README b/development/protobuf3/README
new file mode 100644
index 0000000000..c0fe34acc0
--- /dev/null
+++ b/development/protobuf3/README
@@ -0,0 +1,27 @@
+protobuf3 (Google's data interchange format)
+
+Protocol buffers are a flexible, efficient, automated mechanism for
+serializing structured data.
+
+This package contains protobuf API version 3.
+It support the following language implementations:
+* C++
+* Java
+* Python
+* Objective-C
+* C#
+* JavaNano
+* JavaScript
+* Ruby
+* Go
+* PHP (Alpha)
+
+The complete documentation for Protocol Buffers is available at:
+https://developers.google.com/protocol-buffers/
+
+Notes:
+* The protobuf build (API version 2) has been removed from
+ SlackBuilds.org, because nothing uses it any longer and it
+ conflicted with this build.
+* Protobuf3 enforces strict UTF-8 checking.
+ Parsing will fail if a string field contains non UTF-8 data.
diff --git a/development/protobuf3/protobuf3.SlackBuild b/development/protobuf3/protobuf3.SlackBuild
new file mode 100644
index 0000000000..8a37164a7b
--- /dev/null
+++ b/development/protobuf3/protobuf3.SlackBuild
@@ -0,0 +1,123 @@
+#!/bin/bash
+
+# Slackware build script for protobuf3
+
+# Copyright 2017-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=protobuf3
+VERSION=${VERSION:-26.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GTEST=googletest-release
+GTESTVERSION=${GTESTVERSION:-1.8.1}
+
+SRCNAM=protobuf
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 < $CWD/soversion.patch
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -Dprotobuf_BUILD_TESTS=OFF \
+ -Dprotobuf_ABSL_PROVIDER=package \
+ -Dprotobuf_BUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# Install the python bindings:
+tar xvf $CWD/$SRCNAM-5.$VERSION.tar.gz
+cd $SRCNAM-5.$VERSION
+LDFLAGS+=" -L$TMP/$SRCNAM-$VERSION/build" \
+PROTOC="$TMP/$SRCNAM-$VERSION/build/protoc" \
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
+cd ..
+
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/protobuf3/protobuf3.info b/development/protobuf3/protobuf3.info
new file mode 100644
index 0000000000..c104c6b26b
--- /dev/null
+++ b/development/protobuf3/protobuf3.info
@@ -0,0 +1,12 @@
+PRGNAM="protobuf3"
+VERSION="26.1"
+HOMEPAGE="https://github.com/google/protobuf"
+DOWNLOAD="https://github.com/google/protobuf/archive/v26.1/protobuf-26.1.tar.gz \
+https://files.pythonhosted.org/packages/d2/e5/7e22ca7201a6b1040aae7787d0fe6cd970311da376a86fdafa5182be1d1b/protobuf-5.26.1.tar.gz"
+MD5SUM="6ad6edec05fd08477a442db77dbebf98 \
+8360a781926b9dac954678a823835d23"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="abseil-cpp python3-build python3-wheel"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/development/protobuf3/slack-desc b/development/protobuf3/slack-desc
new file mode 100644
index 0000000000..440a1c6d9a
--- /dev/null
+++ b/development/protobuf3/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------------------------------------------------------|
+protobuf3: protobuf3 (Google's data interchange format)
+protobuf3:
+protobuf3: Protocol Buffers are Google's language-neutral, platform-neutral,
+protobuf3: extensible mechanism for serializing structured data.
+protobuf3:
+protobuf3: This package contains protobuf API version 3.
+protobuf3:
+protobuf3:
+protobuf3: Project URL: https://github.com/google/protobuf
+protobuf3:
+protobuf3:
diff --git a/development/protobuf3/soversion.patch b/development/protobuf3/soversion.patch
new file mode 100644
index 0000000000..7e1b42de12
--- /dev/null
+++ b/development/protobuf3/soversion.patch
@@ -0,0 +1,36 @@
+diff --git a/cmake/libprotobuf-lite.cmake b/cmake/libprotobuf-lite.cmake
+index 9b1de677b4f..276c99c489e 100644
+--- a/cmake/libprotobuf-lite.cmake
++++ b/cmake/libprotobuf-lite.cmake
+@@ -30,6 +30,7 @@ if(protobuf_BUILD_SHARED_LIBS)
+ endif()
+ set_target_properties(libprotobuf-lite PROPERTIES
+ VERSION ${protobuf_VERSION}
++ SOVERSION ${protobuf_VERSION_MINOR}
+ OUTPUT_NAME ${LIB_PREFIX}protobuf-lite
+ DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}")
+ add_library(protobuf::libprotobuf-lite ALIAS libprotobuf-lite)
+diff --git a/cmake/libprotobuf.cmake b/cmake/libprotobuf.cmake
+index aa3efc9a68a..0f34d20b97d 100644
+--- a/cmake/libprotobuf.cmake
++++ b/cmake/libprotobuf.cmake
+@@ -33,6 +33,7 @@ if(protobuf_BUILD_SHARED_LIBS)
+ endif()
+ set_target_properties(libprotobuf PROPERTIES
+ VERSION ${protobuf_VERSION}
++ SOVERSION ${protobuf_VERSION_MINOR}
+ OUTPUT_NAME ${LIB_PREFIX}protobuf
+ DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}")
+ add_library(protobuf::libprotobuf ALIAS libprotobuf)
+diff --git a/cmake/libprotoc.cmake b/cmake/libprotoc.cmake
+index 72b4a1abb92..91e8bbeb04e 100644
+--- a/cmake/libprotoc.cmake
++++ b/cmake/libprotoc.cmake
+@@ -24,6 +24,7 @@ endif()
+ set_target_properties(libprotoc PROPERTIES
+ COMPILE_DEFINITIONS LIBPROTOC_EXPORTS
+ VERSION ${protobuf_VERSION}
++ SOVERSION ${protobuf_VERSION_MINOR}
+ OUTPUT_NAME ${LIB_PREFIX}protoc
+ DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}")
+ add_library(protobuf::libprotoc ALIAS libprotoc)
diff --git a/development/protoc-gen-go-grpc/README b/development/protoc-gen-go-grpc/README
new file mode 100644
index 0000000000..b081f2f01c
--- /dev/null
+++ b/development/protoc-gen-go-grpc/README
@@ -0,0 +1,2 @@
+This is the Go implementation of gRPC - a high performance, open source,
+general RPC framework that puts mobile and HTTP/2 first.
diff --git a/development/protoc-gen-go-grpc/modules.txt b/development/protoc-gen-go-grpc/modules.txt
new file mode 100644
index 0000000000..671048fba7
--- /dev/null
+++ b/development/protoc-gen-go-grpc/modules.txt
@@ -0,0 +1,6 @@
+# google.golang.org/protobuf v1.28.1
+## explicit
+google.golang.org/protobuf/compiler/protogen
+google.golang.org/protobuf/reflect/protoreflect
+google.golang.org/protobuf/types/descriptorpb
+google.golang.org/protobuf/types/pluginpb
diff --git a/development/protoc-gen-go-grpc/protoc-gen-go-grpc.SlackBuild b/development/protoc-gen-go-grpc/protoc-gen-go-grpc.SlackBuild
new file mode 100644
index 0000000000..d7856052e7
--- /dev/null
+++ b/development/protoc-gen-go-grpc/protoc-gen-go-grpc.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for protoc-gen-go-grpc
+
+# 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=protoc-gen-go-grpc
+VERSION=${VERSION:-1.3.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=grpc-go-cmd-protoc-gen-go-grpc
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-v$VERSION
+tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
+cd $SRCNAM-v$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Prevent creation of cache files in /root/.cache/go-build
+export GOCACHE="${GOCACHE:-"$TMP/$SRCNAM-$VERSION/go-cache"}"
+
+cd cmd/protoc-gen-go-grpc
+
+mkdir -p vendor
+cat $CWD/modules.txt > vendor/modules.txt
+for DIR in $(grep -o "^# .* " vendor/modules.txt | cut -d' ' -f2)
+do
+ NAME=$(echo $DIR | sed 's/[./]v[0-9]\+$//' | xargs basename)
+ DIR=vendor/$DIR
+ tar xvf $CWD/$NAME-*.tar.gz
+ mkdir -p $(dirname $DIR)
+ mv $NAME-* $DIR
+done
+
+CGO_CFLAGS="$SLKCFLAGS" \
+CGO_CXXFLAGS="$SLKCFLAGS" \
+go build -mod=vendor
+
+install -Dm755 protoc-gen-go-grpc $PKG/usr/bin/protoc-gen-go-grpc
+strip --strip-unneeded $PKG/usr/bin/protoc-gen-go-grpc
+
+cd ../../
+
+MD=( CODE-OF-CONDUCT.md CONTRIBUTING.md GOVERNANCE.md MAINTAINERS.md README.md SECURITY.md )
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ${MD[@]} NOTICE.txt LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/protoc-gen-go-grpc/protoc-gen-go-grpc.info b/development/protoc-gen-go-grpc/protoc-gen-go-grpc.info
new file mode 100644
index 0000000000..8aa4a1c8cc
--- /dev/null
+++ b/development/protoc-gen-go-grpc/protoc-gen-go-grpc.info
@@ -0,0 +1,12 @@
+PRGNAM="protoc-gen-go-grpc"
+VERSION="1.3.0"
+HOMEPAGE="https://github.com/grpc/grpc-go"
+DOWNLOAD="https://github.com/grpc/grpc-go/archive/refs/tags/cmd/protoc-gen-go-grpc/v1.3.0/grpc-go-cmd-protoc-gen-go-grpc-v1.3.0.tar.gz \
+ https://github.com/protocolbuffers/protobuf-go/archive/v1.28.1/protobuf-go-1.28.1.tar.gz"
+MD5SUM="9d3abc100f411a59907528e55e772a10 \
+ e11cccd452bbf4296f72bf323d7b8690"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="protoc-gen-go"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/protoc-gen-go-grpc/slack-desc b/development/protoc-gen-go-grpc/slack-desc
new file mode 100644
index 0000000000..648758d1dc
--- /dev/null
+++ b/development/protoc-gen-go-grpc/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------------------------------------------------------|
+protoc-gen-go-grpc: protoc-gen-go-grpc (The Go language implementation of gRPC)
+protoc-gen-go-grpc:
+protoc-gen-go-grpc: This is the Go Go implementation of gRPC: A high performance, open
+protoc-gen-go-grpc: open source, general RPC framework that puts mobile and HTTP/2 first.
+protoc-gen-go-grpc:
+protoc-gen-go-grpc:
+protoc-gen-go-grpc:
+protoc-gen-go-grpc:
+protoc-gen-go-grpc:
+protoc-gen-go-grpc:
+protoc-gen-go-grpc:
diff --git a/development/protoc-gen-go/README b/development/protoc-gen-go/README
new file mode 100644
index 0000000000..6f1c28a3ec
--- /dev/null
+++ b/development/protoc-gen-go/README
@@ -0,0 +1,10 @@
+This project hosts the Go implementation for protocol buffers, which is
+a language-neutral, platform-neutral, extensible mechanism for
+serializing structured data. The protocol buffer language is a language
+for specifying the schema for structured data. This schema is compiled
+into language specific bindings. This project provides both a tool to
+generate Go code for the protocol buffer language, and also the runtime
+implementation to handle serialization of messages in Go.
+
+This SlackBuild only compiles the protoc-gen-go binary.
+protobuf3 is an optional dependency.
diff --git a/development/protoc-gen-go/protoc-gen-go.SlackBuild b/development/protoc-gen-go/protoc-gen-go.SlackBuild
new file mode 100644
index 0000000000..b8fa624af9
--- /dev/null
+++ b/development/protoc-gen-go/protoc-gen-go.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for protoc-gen-go
+
+# 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=protoc-gen-go
+VERSION=${VERSION:-1.33.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=protobuf-go
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Prevent creation of cache files in /root/.cache/go-build
+export GOCACHE="${GOCACHE:-"$TMP/$SRCNAM-$VERSION/go-cache"}"
+
+CGO_CFLAGS="$SLKCFLAGS" \
+CGO_CXXFLAGS="$SLKCFLAGS" \
+go build ./cmd/protoc-gen-go
+
+install -Dm755 protoc-gen-go $PKG/usr/bin/protoc-gen-go
+
+strip --strip-unneeded $PKG/usr/bin/protoc-gen-go
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/protoc-gen-go/protoc-gen-go.info b/development/protoc-gen-go/protoc-gen-go.info
new file mode 100644
index 0000000000..2d99015626
--- /dev/null
+++ b/development/protoc-gen-go/protoc-gen-go.info
@@ -0,0 +1,10 @@
+PRGNAM="protoc-gen-go"
+VERSION="1.33.0"
+HOMEPAGE="https://github.com/protocolbuffers/protobuf-go"
+DOWNLOAD="https://github.com/protocolbuffers/protobuf-go/archive/v1.33.0/protobuf-go-1.33.0.tar.gz"
+MD5SUM="7de0737359c575dcaa2c58cbc27cf93e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/protoc-gen-go/slack-desc b/development/protoc-gen-go/slack-desc
new file mode 100644
index 0000000000..67fc13872f
--- /dev/null
+++ b/development/protoc-gen-go/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------------------------------------------------------|
+protoc-gen-go: protoc-gen-go (Go support for Google's protocol buffers)
+protoc-gen-go:
+protoc-gen-go: This project hosts the Go implementation for protocol buffers, which
+protoc-gen-go: is a language-neutral, platform-neutral, extensible mechanism for
+protoc-gen-go: serializing structured data.
+protoc-gen-go:
+protoc-gen-go:
+protoc-gen-go:
+protoc-gen-go:
+protoc-gen-go:
+protoc-gen-go:
diff --git a/development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild b/development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild
index 507c345648..31a2765515 100644
--- a/development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild
+++ b/development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pstack-expect-gdb
@@ -22,14 +22,24 @@
# 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=pstack-expect-gdb
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -66,4 +76,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/psycopg2/README b/development/psycopg2/README
deleted file mode 100644
index ffaef2289d..0000000000
--- a/development/psycopg2/README
+++ /dev/null
@@ -1,3 +0,0 @@
-psycopg is a PostgreSQL database adapter for Python. It supports the
-full Python DBAPI 2.0, and is thread safe at level 2. psycopg was
-designed for heavily multi-threaded applications.
diff --git a/development/psycopg2/psycopg2.SlackBuild b/development/psycopg2/psycopg2.SlackBuild
deleted file mode 100644
index 7080044d70..0000000000
--- a/development/psycopg2/psycopg2.SlackBuild
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for psycopg2
-
-# Copyright (c) 2018-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright (c) 2007 Daniel de Kok <moc.mikciat@leinad>
-# Copyright (c) 2010-2011, 2013 Carlos Corbacho <carlos@strangeworlds.co.uk>
-# 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.
-
-PRGNAM=psycopg2
-VERSION=${VERSION:-2.8.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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-$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 {} \;
-
-python2 setup.py install --root=$PKG
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS INSTALL LICENSE NEWS README.rst \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/psycopg2/psycopg2.info b/development/psycopg2/psycopg2.info
deleted file mode 100644
index bc71a8673a..0000000000
--- a/development/psycopg2/psycopg2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="psycopg2"
-VERSION="2.8.6"
-HOMEPAGE="http://initd.org/psycopg/"
-DOWNLOAD="http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-2.8.6.tar.gz"
-MD5SUM="ae2ff92f1cfcd890bd5f09f4d1d7d60c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="postgresql python3"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/development/psycopg2/slack-desc b/development/psycopg2/slack-desc
deleted file mode 100644
index dfc7a0da87..0000000000
--- a/development/psycopg2/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------------------------------------------------------|
-psycopg2: psycopg2 (Python PostgreSQL bindings)
-psycopg2:
-psycopg2: psycopg is a PostgreSQL database adapter for Python. It supports the
-psycopg2: full Python DBAPI 2.0, and is thread safe at level 2. psycopg was
-psycopg2: designed for heavily multi-threaded applications.
-psycopg2:
-psycopg2: The psycopg2 website can be found at:
-psycopg2: http://initd.org/tracker/psycopg/wiki/PsycopgTwo
-psycopg2:
-psycopg2:
-psycopg2:
diff --git a/development/pudb/GETTING_STARTED b/development/pudb/GETTING_STARTED
new file mode 100644
index 0000000000..b14afe4a6c
--- /dev/null
+++ b/development/pudb/GETTING_STARTED
@@ -0,0 +1,12 @@
+GETTING STARTED
+
+Please see starting.rst usage.rst misc.rst and shells.rst in
+/usr/doc/pudb-$VERSION to get started, and also -
+
+Online docs:
+
+https://documen.tician.de/pudb/
+
+A simple, but useful, illustrated example page:
+
+http://heather.cs.ucdavis.edu/~matloff/pudb.html
diff --git a/development/pudb/README b/development/pudb/README
index 27b0f630b2..646d1f2736 100644
--- a/development/pudb/README
+++ b/development/pudb/README
@@ -6,36 +6,17 @@ to debug code right where you write and test it--in a terminal. If
you've worked with the excellent (but nowadays ancient) DOS-based
Turbo Pascal or C tools, PuDB's UI might look familiar.
-By default this SlackBuild builds the python2 debugger, and if
-python3 is detected, the python3 version too. The Pygments SlackBuild
-will automatically install for python3 too.
-
-NOTE: The python3 application is named pudb3. NOTE: You need
-python3-urwid and python3-Pygments installed to use pudb3.
-
OPTIONS
+Unless specified, both python2 and python3 versions will be built.
+
To *ONLY* build the python2 version, use:
-NO_PYTHON3=yes ./pudb.SlackBuild
+PYTHON3=no ./pudb.SlackBuild
To *ONLY* build the python3 version, use:
-NO_PYTHON2=yes ./pudb.SlackBuild
-
-The python2 version requires a newer version of urwid than the stock
-Slackware one, therefore this also builds a custom urwid named
-py2_urwid, which it can use. This should not conflict with the stock
-Slackware version.
-
-OPTIONAL DEPENDENCIES
-
-To use pudb3:
-
-python3-Pygments
-python3-urwid
-
-It will build without these so they can be installed later if needed.
+PYTHON2=no ./pudb.SlackBuild
#####################################################################
@@ -51,7 +32,3 @@ https://documen.tician.de/pudb/
A simple, but useful, illustrated example page:
http://heather.cs.ucdavis.edu/~matloff/pudb.html
-
-Github page:
-
-https://github.com/inducer/pudb
diff --git a/development/pudb/pudb.SlackBuild b/development/pudb/pudb.SlackBuild
index 32f372490e..09dc6152fa 100644
--- a/development/pudb/pudb.SlackBuild
+++ b/development/pudb/pudb.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
-#
+#!/bin/bash
+
# Slackware build script for pudb
-# Copyright 2018 David Woodfall <dave@slackbuilds.org>
+# Copyright 2018- Dave Woodfall <dave@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,18 @@
# 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)
+
+if ! printf %s "${PYTHON2:=yes}${PYTHON3:=yes}" | grep -q "yes"; then
+ echo "Both python versions deselected. Nothing to do."
+ exit 1
+fi
+
PRGNAM=pudb
-VERSION=${VERSION:-2018.1}
-URWIDVER=2.0.1
+VERSION=${VERSION:-2020.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,66 +43,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-if [ "$NO_PYTHON2" = "yes" ] && [ "$NO_PYTHON3" = "yes" ]; then
- printf "%s\n" "You appear to not want to install anything."
- exit 1
-fi
-
-# see if we have python3 installed
-which python3 >/dev/null 2>&1 && PY3=1
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-
-# install custom urwid package
-if [ "$NO_PYTHON2" != "yes" ]; then
- rm -rf urwid-$URWIDVER
- tar xfv $CWD/urwid-$URWIDVER.tar.gz
- cd urwid-$URWIDVER
-
- 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 {} \;
-
- # change the module name so our urwid doesn't call the stock version
- sed -i "s%'name':\"urwid\"%'name':\"py2_urwid\"%" setup.py
- sed -i "23 a import py2_urwid\n\
-import sys\n\
-sys.modules['urwid'] = py2_urwid" urwid/__init__.py
-
- python setup.py install --root=$PKG
-
- # rename it so it doesn't collide with the stock version
- mv $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/urwid \
- $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/py2_urwid
- cd ..
-fi
-
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
@@ -106,51 +70,26 @@ 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 {} \;
-# install the python3 version before we wreck the python2 build
-if [ -n "$PY3" ] && [ "$NO_PYTHON3" != "yes" ]; then
- python3 setup.py install --root=$PKG
+if [ "${PYTHON2:=yes}" = "yes" ]; then
+ python2 setup.py install --root=$PKG
fi
-# install the edited python2 version
-if [ "$NO_PYTHON2" != "yes" ]; then
- # change all references to urwid to our custom py2_urwid
- for py in \
- settings.py \
- source_view.py \
- debugger.py \
- theme.py \
- __init__.py \
- ui_tools.py \
- var_view.py
- do
- sed -i "s%import urwid%import py2_urwid as urwid%g" pudb/$py
- done
-
- sed -i "s%urwid>=1.1.1%py2_urwid>=1.1.1%" setup.py
-
- # done so now install
- python setup.py install --root=$PKG
+if [ "${PYTHON3:=yes}" = "yes" ]; then
+ python3 setup.py install --root=$PKG
fi
-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
-
# added more docs, some examples and a test debug script
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
-cp -a README.rst LICENSE \
- doc/starting.rst doc/usage.rst doc/misc.rst doc/shells.rst \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a example-* debug_me.py try-the-debugger.sh \
+ $PKG/usr/doc/$PRGNAM-$VERSION/examples
-cp -a example-* debug_me.py $PKG/usr/doc/$PRGNAM-$VERSION/examples
+cp -a $CWD/GETTING_STARTED README.rst LICENSE doc/*.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# this might come in handy later for someone
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.slackware
-
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pudb/pudb.info b/development/pudb/pudb.info
index adcd054392..cffafe3930 100644
--- a/development/pudb/pudb.info
+++ b/development/pudb/pudb.info
@@ -1,12 +1,10 @@
PRGNAM="pudb"
-VERSION="2018.1"
+VERSION="2020.1"
HOMEPAGE="https://pypi.python.org/pypi/pudb"
-DOWNLOAD="https://github.com/inducer/pudb/archive/v2018.1/pudb-2018.1.tar.gz \
- https://pypi.org/packages/source/u/urwid/urwid-2.0.1.tar.gz"
-MD5SUM="9d34d2bdcec48f1f94693f6ca8d3f7c3 \
- c70a7016fa1ad2c2a979dbebd4de78c2"
+DOWNLOAD="https://files.pythonhosted.org/packages/3d/bc/1947dc9dc54a44bc6cbff3556cd514258886a4a60e85aa32a3ba027098bc/pudb-2020.1.tar.gz"
+MD5SUM="7ee30f74b95b31ebe150c4837cc98d2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Pygments"
-MAINTAINER="David Woodfall"
+REQUIRES="python-urwid"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/development/pycharm/pycharm.SlackBuild b/development/pycharm/pycharm.SlackBuild
index 4644f882fa..d73da05139 100644
--- a/development/pycharm/pycharm.SlackBuild
+++ b/development/pycharm/pycharm.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pycharm
-# Copyright 2015-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,15 +22,26 @@
# 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=pycharm
EDITION=community
-VERSION=${VERSION:-2020.1.1}
+VERSION=${VERSION:-2024.1.241.14494.241}
+SRCVER=$( echo $VERSION | cut -c1-6 )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -54,9 +65,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$EDITION-$VERSION
-tar xvf $CWD/$PRGNAM-$EDITION-$VERSION.tar.gz
-cd $PRGNAM-$EDITION-$VERSION
+rm -rf $PRGNAM-$EDITION-$SRCVER
+tar xvf $CWD/$PRGNAM-$EDITION-$SRCVER.tar.gz
+cd $PRGNAM-$EDITION-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -68,9 +79,6 @@ find -L . \
mkdir -p $PKG/opt/$PRGNAM
cp -rf * $PKG/opt/$PRGNAM
-# Remove unused
-rm -rf $PKG/opt/$PRGNAM/lib/libpty/win $PKG/opt/$PRGNAM/lib/libpty/macosx
-
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
@@ -97,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pycharm/pycharm.info b/development/pycharm/pycharm.info
index ba0c5f487b..051e66c6d9 100644
--- a/development/pycharm/pycharm.info
+++ b/development/pycharm/pycharm.info
@@ -1,10 +1,10 @@
PRGNAM="pycharm"
-VERSION="2020.1.1"
+VERSION="2024.1.241.14494.241"
HOMEPAGE="https://www.jetbrains.com/pycharm/"
-DOWNLOAD="https://download.jetbrains.com/python/pycharm-community-2020.1.1.tar.gz"
-MD5SUM="d38ae81b44e8a99ae277b959322bc771"
+DOWNLOAD="https://download.jetbrains.com/python/pycharm-community-2024.1.tar.gz"
+MD5SUM="ecebc5c639e802745cb53209315c7188"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/development/pyclewn/pyclewn.SlackBuild b/development/pyclewn/pyclewn.SlackBuild
index 63bdc9baac..ea57f0cb1b 100644
--- a/development/pyclewn/pyclewn.SlackBuild
+++ b/development/pyclewn/pyclewn.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyclewn
# Written by Anton S. Abanin <warlock66613@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyclewn
VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,4 +75,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pycscope/pycscope.SlackBuild b/development/pycscope/pycscope.SlackBuild
index 66fc2249f9..f0d5233370 100644
--- a/development/pycscope/pycscope.SlackBuild
+++ b/development/pycscope/pycscope.SlackBuild
@@ -1,23 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PyCscope
# Written by Grissiom <chaos.proton@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pycscope
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -49,4 +59,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pyenchant/pyenchant.SlackBuild b/development/pyenchant/pyenchant.SlackBuild
index fc5afede80..dba3f6aead 100644
--- a/development/pyenchant/pyenchant.SlackBuild
+++ b/development/pyenchant/pyenchant.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyenchant
@@ -23,10 +23,13 @@
# 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=pyenchant
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -52,11 +59,16 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# 20220215 bkw: our library is called libenchant-2.so, which setup.py
+# isn't expecting.
+sed -i '/find_library/s,"enchant","enchant-2",' enchant/_enchant.py
python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
@@ -66,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pylint/pylint.SlackBuild b/development/pylint/pylint.SlackBuild
index 66f00b84c6..8469fde965 100644
--- a/development/pylint/pylint.SlackBuild
+++ b/development/pylint/pylint.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pylint
@@ -26,10 +26,13 @@
# Written by Grissiom chaos.proton@gmail.com
# Updated up to v. 1.7.1 by Serban Udrea (s.udrea@gsi.de)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pylint
VERSION=${VERSION:-1.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -73,4 +83,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pylint/pylint.info b/development/pylint/pylint.info
index 2c5c2feccd..0845fe2cf4 100644
--- a/development/pylint/pylint.info
+++ b/development/pylint/pylint.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/cc/8c/d1da590769213fefedea4b345e90fce
MD5SUM="e6f4c22426df7c786551bcacaaa3f217"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="astroid isort functools-lru-cache ConfigParser singledispatch python-mccabe"
+REQUIRES="astroid isort functools-lru-cache ConfigParser singledispatch python2-mccabe"
MAINTAINER="Serban Udrea"
EMAIL="S.Udrea@gsi.de"
diff --git a/development/pyqt-distutils/README b/development/pyqt-distutils/README
deleted file mode 100644
index 69eeceb658..0000000000
--- a/development/pyqt-distutils/README
+++ /dev/null
@@ -1,3 +0,0 @@
-The goal of this tiny library is to help developers write PyQt
-applications in a pythonic way, using setup.py to build the Qt
-designer Ui files.
diff --git a/development/pyqt-distutils/pyqt-distutils.SlackBuild b/development/pyqt-distutils/pyqt-distutils.SlackBuild
deleted file mode 100644
index 1220507721..0000000000
--- a/development/pyqt-distutils/pyqt-distutils.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pyqt-distutils
-
-# Copyright 2019 Leonardo Citrolo, Italy
-# 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.
-
-PRGNAM=pyqt-distutils
-VERSION=${VERSION:-0.7.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-python setup.py install --root=$PKG
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/pyqt-distutils/pyqt-distutils.info b/development/pyqt-distutils/pyqt-distutils.info
deleted file mode 100644
index 36bdf72a00..0000000000
--- a/development/pyqt-distutils/pyqt-distutils.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pyqt-distutils"
-VERSION="0.7.3"
-HOMEPAGE="https://github.com/ColinDuquesnoy/pyqt_distutils"
-DOWNLOAD="https://files.pythonhosted.org/packages/3a/28/0c38bea00c3288493bfa69d896ee478bcbbed24e02120ba670027eb5114d/pyqt-distutils-0.7.3.tar.gz"
-MD5SUM="598b52cdfa90cdc548b80ca84772640f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="docopt python3"
-MAINTAINER="Leo C."
-EMAIL="leoc@gmx.com"
diff --git a/development/pyqt-distutils/slack-desc b/development/pyqt-distutils/slack-desc
deleted file mode 100644
index 62a4e54ccd..0000000000
--- a/development/pyqt-distutils/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------------------------------------------------------|
-pyqt-distutils: pyqt-distutils (distutils extension to work with PyQt applications)
-pyqt-distutils:
-pyqt-distutils: The goal of this tiny library is to help developers write PyQt
-pyqt-distutils: applications in a pythonic way, using setup.py to build the Qt
-pyqt-distutils: designer Ui files.
-pyqt-distutils:
-pyqt-distutils:
-pyqt-distutils:
-pyqt-distutils:
-pyqt-distutils: Homepage: https://github.com/ColinDuquesnoy/pyqt_distutils
-pyqt-distutils:
diff --git a/development/pyside-tools/pyside-tools.SlackBuild b/development/pyside-tools/pyside-tools.SlackBuild
index dfe5bd58fa..39df9c12d2 100644
--- a/development/pyside-tools/pyside-tools.SlackBuild
+++ b/development/pyside-tools/pyside-tools.SlackBuild
@@ -1,31 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyside-tools
# Written by Grissiom <chaos.proton@gmail.com>
# Updated by kchan <kenneth.t.chan@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyside-tools
VERSION=${VERSION:-0.2.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=Tools
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -85,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pyside-tools/pyside-tools.info b/development/pyside-tools/pyside-tools.info
index 2407f6e65a..c4dfe687b1 100644
--- a/development/pyside-tools/pyside-tools.info
+++ b/development/pyside-tools/pyside-tools.info
@@ -1,7 +1,7 @@
PRGNAM="pyside-tools"
VERSION="0.2.15"
HOMEPAGE="http://www.pyside.org/"
-DOWNLOAD="https://github.com/PySide/Tools/archive/0.2.15.tar.gz"
+DOWNLOAD="https://github.com/PySide/Tools/archive/0.2.15/Tools-0.2.15.tar.gz"
MD5SUM="e542b9536bd9d35599ede225c9311cc8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/python-sphinx-lv2-theme/README b/development/python-sphinx-lv2-theme/README
new file mode 100644
index 0000000000..dedbd341bd
--- /dev/null
+++ b/development/python-sphinx-lv2-theme/README
@@ -0,0 +1,3 @@
+This is a minimal pure-CSS theme for Sphinx that uses the
+documentation style of the LV2 plugin specification and
+related projects.
diff --git a/development/python-sphinx-lv2-theme/python-sphinx-lv2-theme.SlackBuild b/development/python-sphinx-lv2-theme/python-sphinx-lv2-theme.SlackBuild
new file mode 100644
index 0000000000..833df72d7c
--- /dev/null
+++ b/development/python-sphinx-lv2-theme/python-sphinx-lv2-theme.SlackBuild
@@ -0,0 +1,94 @@
+#!/bin/bash
+
+# Slackware build script for python-sphinx-lv2-theme
+
+# Copyright 2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# 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=python-sphinx-lv2-theme
+SRCNAM=sphinx_lv2_theme
+VERSION=${VERSION:-1.4.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 $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 {} \;
+
+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 NEWS 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/development/python-sphinx-lv2-theme/python-sphinx-lv2-theme.info b/development/python-sphinx-lv2-theme/python-sphinx-lv2-theme.info
new file mode 100644
index 0000000000..0d6710353c
--- /dev/null
+++ b/development/python-sphinx-lv2-theme/python-sphinx-lv2-theme.info
@@ -0,0 +1,10 @@
+PRGNAM="python-sphinx-lv2-theme"
+VERSION="1.4.0"
+HOMEPAGE="https://gitlab.com/lv2/sphinx_lv2_theme"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinx_lv2_theme/sphinx_lv2_theme-1.4.0.tar.gz"
+MD5SUM="9f8ab9e083a66b78e18f7a1710306893"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="Sphinx"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/development/python-sphinx-lv2-theme/slack-desc b/development/python-sphinx-lv2-theme/slack-desc
new file mode 100644
index 0000000000..4f66c11b0f
--- /dev/null
+++ b/development/python-sphinx-lv2-theme/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------------------------------------------------------|
+python-sphinx-lv2-theme: python-sphinx-lv2-theme (a minimal static theme for Sphinx)
+python-sphinx-lv2-theme:
+python-sphinx-lv2-theme: This is a minimal pure-CSS theme for Sphinx that uses the
+python-sphinx-lv2-theme: documentation style of the LV2 plugin specification and
+python-sphinx-lv2-theme: related projects.
+python-sphinx-lv2-theme:
+python-sphinx-lv2-theme: homepage: https://gitlab.com/lv2/sphinx_lv2_theme
+python-sphinx-lv2-theme:
+python-sphinx-lv2-theme:
+python-sphinx-lv2-theme:
+python-sphinx-lv2-theme:
diff --git a/development/cycler/README b/development/python2-cycler/README
index 796b6408b1..796b6408b1 100644
--- a/development/cycler/README
+++ b/development/python2-cycler/README
diff --git a/development/python2-cycler/python2-cycler.SlackBuild b/development/python2-cycler/python2-cycler.SlackBuild
new file mode 100644
index 0000000000..c5fb514f73
--- /dev/null
+++ b/development/python2-cycler/python2-cycler.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/bash
+
+# Slackware build script for cycler
+
+# Copyright 2016-2017 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=python2-cycler
+SRCNAM=cycler
+VERSION=${VERSION:-0.10.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 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 $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 {} \;
+
+python2 setup.py install --root $PKG
+
+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 LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python2-cycler/python2-cycler.info b/development/python2-cycler/python2-cycler.info
new file mode 100644
index 0000000000..eadaaa73d0
--- /dev/null
+++ b/development/python2-cycler/python2-cycler.info
@@ -0,0 +1,10 @@
+PRGNAM="python2-cycler"
+VERSION="0.10.0"
+HOMEPAGE="http://matplotlib.org/cycler"
+DOWNLOAD="https://pypi.python.org/packages/c2/4b/137dea450d6e1e3d474e1d873cd1d4f7d3beed7e0dc973b06e8e10d32488/cycler-0.10.0.tar.gz"
+MD5SUM="4cb42917ac5007d1cdff6cccfe2d016b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Serban Udrea"
+EMAIL="S.Udrea@gsi.de"
diff --git a/development/python2-cycler/slack-desc b/development/python2-cycler/slack-desc
new file mode 100644
index 0000000000..6a3bf2dd8e
--- /dev/null
+++ b/development/python2-cycler/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------------------------------------------------------|
+python2-cycler: python2-cycler (composable cycles in python)
+python2-cycler:
+python2-cycler: The cycler python module provides a composable cycle class used for
+python2-cycler: constructing style-cycles.
+python2-cycler:
+python2-cycler: This is the last cycler version for python2.
+python2-cycler:
+python2-cycler: Homepage: http://matplotlib.org/cycler
+python2-cycler:
+python2-cycler:
+python2-cycler:
diff --git a/development/python2-numpy/README b/development/python2-numpy/README
new file mode 100644
index 0000000000..b4c6f4875c
--- /dev/null
+++ b/development/python2-numpy/README
@@ -0,0 +1,40 @@
+NumPy is a general-purpose array-processing package designed to
+efficiently manipulate large multi-dimensional arrays of arbitrary
+records without sacrificing too much speed for small multi-dimensional
+arrays. NumPy is built on the Numeric code base and adds features
+introduced by numarray as well as an extended C-API and the ability
+to create arrays of arbitrary type which also makes NumPy suitable for
+interfacing with general-purpose data-base applications.
+
+There are also basic facilities for discrete fourier transform, basic
+linear algebra and random number generation.
+
+If you need to build numpy for debugging, set DEBUG=y. If you use
+software which is having problems with numpy's new relaxed strides
+checking, set NPY_RSC=0.
+
+It is highly recommended to install libraries implementing BLAS and
+LAPACK before installing numpy. You may choose between:
+ a) BLAS and LAPACK (reference but unoptimized and thus slow)
+ b) OpenBLAS (optimized, provides LAPACK too)
+ c) ATLAS and LAPACK (optimized), good to read README.ATLAS
+ATLAS and the corresponding optimized LAPACK are not available on
+SlackBuilds.org because the latest stable and rather old release of
+ATLAS doesn't compile on the present Slackware version.
+
+If you want to use the UMFPACK library instead of SuperLU to solve
+unsymmetric sparse linear systems, then run this Slackbuild with
+NO_UMFPACK set to "no" and then install scikit-umfpack on top of
+scipy. In this context, umfpack is an optional dependency for
+numpy.
+
+This SlackBuild installs the last numpy version with support for
+python2.
+
+IMPORTANT: The version installed by this SlackBuild does NOT include the
+ oldnumeric and numarray compatibility modules since
+ starting with version 1.9.0 these modules got removed by
+ the numpy developers. If you need these compatibility
+ modules please consider the numpy-legacy SlackBuild.
+ THUS: This SlackBuild conflicts with the numpy-legacy
+ SlackBuild which installs versions < 1.9.0!
diff --git a/development/numpy/README.ATLAS b/development/python2-numpy/README.ATLAS
index bf8972befa..bf8972befa 100644
--- a/development/numpy/README.ATLAS
+++ b/development/python2-numpy/README.ATLAS
diff --git a/development/python2-numpy/python2-numpy.SlackBuild b/development/python2-numpy/python2-numpy.SlackBuild
new file mode 100644
index 0000000000..482b1b84c2
--- /dev/null
+++ b/development/python2-numpy/python2-numpy.SlackBuild
@@ -0,0 +1,164 @@
+#!/bin/bash
+
+# Slackware build script for NumPy
+
+# Copyright 2011-2022 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.
+
+# Written by Aleksandar Samardzic <asamardzic@gmail.com>
+# Updated up to 1.16.6 by Serban Udrea <S.Udrea@gsi.de>
+#
+# Added support for building with debugging symbols (S. Udrea)
+#
+# LIBDIRSUFFIX is now needed to set the proper path for
+# UMFPACK (S. Udrea)
+#
+# Since UMFPACK is not used anymore by scipy but by the optional package
+# scikit-umfpack, the configuration of this and the corresponding AMD library
+# is now optional. One has to set NO_UMFPACK to "no" to create the apropriate
+# configuration file before building numpy. (S. Udrea)
+#
+# Added the possibility to force numpy to link to different kinds of the
+# ATLAS library (S. Udrea)
+#
+# Thanks go to Pedro Ribeiro Mendes Júnior for help with the upgrade to 1.14.3.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python2-numpy
+SRCNAM=numpy
+VERSION=${VERSION:-1.16.6}
+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 [ "$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
+
+# 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 $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 {} \;
+
+# You may want to force numpy to link against a special kind of ATLAS
+#
+ATLAS_SHARED="${ATLAS_SHARED:-yes}"
+ATLAS_SHARED=$(echo "$ATLAS_SHARED"|cut -b 1|tr a-z A-Z)
+ATLAS_NO_THREADS="${ATLAS_NO_THREADS:-no}"
+ATLAS_NO_THREADS=$(echo "$ATLAS_NO_THREADS"|cut -b 1|tr a-z A-Z)
+
+if [ "$ATLAS_SHARED" = "Y" ]; then
+ if [ "$ATLAS_NO_THREADS" = "Y" ]; then
+ echo -e "[atlas]\natlas_libs = satlas" >> site.cfg
+ echo -e "lapack_libs = satlas\nlapack_atlas = satlas\n" >> site.cfg
+ fi
+else
+ if [ "$ATLAS_NO_THREADS" = "Y" ]; then
+ echo -e "[atlas]\natlas_libs = f77blas,cblas,atlas" >> site.cfg
+ echo -e "lapack_libs = lapack\nlapack_atlas = lapack\n" >> site.cfg
+ else
+ echo -e "[atlas]\natlas_libs = ptf77blas,ptcblas,atlas" >> site.cfg
+ echo -e "lapack_libs = ptlapack\nlapack_atlas = ptlapack\n" >> site.cfg
+ fi
+fi
+
+NO_UMFPACK=${NO_UMFPACK:-yes}
+case "$NO_UMFPACK" in
+ [yY]|[yY][eE][sS]) NO_UMFPACK="y" ;;
+ *) NO_UMFPACK="" ;;
+esac
+
+if [ ! "$NO_UMFPACK" ]; then
+ echo -e "[amd]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
+ echo -e "include_dirs = /usr/include/amd\namd_libs = amd\n" >> site.cfg
+ echo -e "[umfpack]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
+ echo -e "include_dirs = /usr/include/umfpack\numfpack_libs = umfpack\n" \
+ >> site.cfg
+fi
+
+DEBUG=${DEBUG:-no}
+case "$DEBUG" in
+ [yY]|[yY][eE][sS]) DEBUG="y" ;;
+ *) DEBUG="" ;;
+esac
+
+if [ ! "$DEBUG" ]; then
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python2 setup.py install --root $PKG
+
+ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+else
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python2 setup.py build --debug
+ python2 setup.py install --root $PKG
+fi
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt THANKS.txt INSTALL.rst.txt PKG-INFO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python2-numpy/python2-numpy.info b/development/python2-numpy/python2-numpy.info
new file mode 100644
index 0000000000..ff39b50019
--- /dev/null
+++ b/development/python2-numpy/python2-numpy.info
@@ -0,0 +1,10 @@
+PRGNAM="python2-numpy"
+VERSION="1.16.6"
+HOMEPAGE="http://www.numpy.org/"
+DOWNLOAD="https://github.com/numpy/numpy/releases/download/v1.16.6/numpy-1.16.6.tar.gz"
+MD5SUM="5e958c603605f3168b7b29f421f64cdd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Serban Udrea"
+EMAIL="S.Udrea@gsi.de"
diff --git a/development/python2-numpy/slack-desc b/development/python2-numpy/slack-desc
new file mode 100644
index 0000000000..d8d4d4e2e9
--- /dev/null
+++ b/development/python2-numpy/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------------------------------------------------------|
+python2-numpy: python2-numpy (a Python extension for scientific computing)
+python2-numpy:
+python2-numpy: NumPy is an extension to the Python programming language, adding
+python2-numpy: support for large, multi-dimensional arrays and matrices along
+python2-numpy: with a large library of high-level mathematical functions to
+python2-numpy: operate on these arrays.
+python2-numpy:
+python2-numpy: Homepage: http://www.numpy.org/
+python2-numpy:
+python2-numpy: numpy version 1.16.6 is the last with support for python2.
+python2-numpy:
diff --git a/development/python3-cycler/README b/development/python3-cycler/README
index 97a2618e9c..6c60cdf90e 100644
--- a/development/python3-cycler/README
+++ b/development/python3-cycler/README
@@ -1,5 +1,5 @@
The cycler python module provides a composable cycle class used for
constructing style-cycles.
-This is the Python 3 version of cycler and will coexist with SBo's
-cycler package.
+This is the python3 version of cycler, it will coexist with SBo's
+python2-cycler package.
diff --git a/development/python3-cycler/python3-cycler.SlackBuild b/development/python3-cycler/python3-cycler.SlackBuild
index 61ae3c4d8e..02013ee21d 100644
--- a/development/python3-cycler/python3-cycler.SlackBuild
+++ b/development/python3-cycler/python3-cycler.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cycler
@@ -24,11 +24,14 @@
# 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-cycler
SRCNAM=cycler
-VERSION=${VERSION:-0.10.0}
+VERSION=${VERSION:-0.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,9 +41,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -71,4 +81,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python3-cycler/python3-cycler.info b/development/python3-cycler/python3-cycler.info
index b6379f40fb..265228fb02 100644
--- a/development/python3-cycler/python3-cycler.info
+++ b/development/python3-cycler/python3-cycler.info
@@ -1,10 +1,10 @@
PRGNAM="python3-cycler"
-VERSION="0.10.0"
+VERSION="0.11.0"
HOMEPAGE="http://matplotlib.org/cycler"
-DOWNLOAD="https://pypi.python.org/packages/c2/4b/137dea450d6e1e3d474e1d873cd1d4f7d3beed7e0dc973b06e8e10d32488/cycler-0.10.0.tar.gz"
-MD5SUM="4cb42917ac5007d1cdff6cccfe2d016b"
+DOWNLOAD="https://files.pythonhosted.org/packages/34/45/a7caaacbfc2fa60bee42effc4bcc7d7c6dbe9c349500e04f65a861c15eb9/cycler-0.11.0.tar.gz"
+MD5SUM="4d0c25f418956e91c47163179682e0ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-six"
+REQUIRES=""
MAINTAINER="Serban Udrea"
EMAIL="S.Udrea@gsi.de"
diff --git a/development/python3-cycler/slack-desc b/development/python3-cycler/slack-desc
index dfcabb33e2..926b861c52 100644
--- a/development/python3-cycler/slack-desc
+++ b/development/python3-cycler/slack-desc
@@ -11,7 +11,7 @@ python3-cycler:
python3-cycler: The cycler python module provides a composable cycle class used for
python3-cycler: constructing style-cycles.
python3-cycler:
-python3-cycler: This will coexist with SBo's cycler package.
+python3-cycler: This will coexist with SBo's python2-cycler package.
python3-cycler:
python3-cycler:
python3-cycler:
diff --git a/development/python3-hylang/README b/development/python3-hylang/README
new file mode 100644
index 0000000000..e231b83af7
--- /dev/null
+++ b/development/python3-hylang/README
@@ -0,0 +1,11 @@
+Hy is a Lisp dialect that's embedded in Python.
+
+Hy (or "Hylang" for long) is a multi-paradigm general-purpose
+programming language in the Lisp family. It's implemented as a kind of
+alternative syntax for Python. Compared to Python, Hy offers a variety
+of extra features, generalizations, and syntactic simplifications, as
+would be expected of a Lisp. Compared to other Lisps, Hy provides direct
+access to Python's built-ins and third-party Python libraries, while
+allowing you to freely mix imperative, functional, and object-oriented
+styles of programming.
+
diff --git a/development/python3-hylang/python3-hylang.SlackBuild b/development/python3-hylang/python3-hylang.SlackBuild
new file mode 100644
index 0000000000..5f4c3bee32
--- /dev/null
+++ b/development/python3-hylang/python3-hylang.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for python3-hylang
+
+# Copyright 2023, Lockywolf
+# 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-hylang
+TARNAM=hy
+VERSION=${VERSION:-0.27.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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 $TARNAM-$VERSION
+tar xvf $CWD/$TARNAM-$VERSION.tar.gz
+cd $TARNAM-$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 {} \;
+
+python3 setup.py install --root=$PKG
+
+rm -rf $PKG/usr/get_version
+
+PYTHONVER=$(python3 -c 'import sys; print(f"{sys.version_info[0]}.{sys.version_info[1]}")')
+PYTHONVER_SHORT=${PYTHONVER//[.]/}
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hy/core/__pycache__/util.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hy/core/__pycache__/macros.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hy/core/__pycache__/hy_repr.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hy/__pycache__/reserved.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hy/__pycache__/pyops.cpython-$PYTHONVER_SHORT.pyc
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS LICENSE NEWS.rst 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/development/python3-hylang/python3-hylang.info b/development/python3-hylang/python3-hylang.info
new file mode 100644
index 0000000000..cf5133da71
--- /dev/null
+++ b/development/python3-hylang/python3-hylang.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-hylang"
+VERSION="0.27.0"
+HOMEPAGE="https://hylang.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/93/5a/47276218f7419e134c659061150aeae2bdd80d7cfbb814447b466b59d546/hy-0.27.0.tar.gz"
+MD5SUM="2da29402d1b560767e4bb55bd614e263"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-wheel python3-funcparserlib"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.python3-hylang_2023-12-01@lockywolf.net"
diff --git a/development/python3-hylang/slack-desc b/development/python3-hylang/slack-desc
new file mode 100644
index 0000000000..e25a31acb4
--- /dev/null
+++ b/development/python3-hylang/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-hylang: python3-hylang (Lisp dialect that's embedded in Python)
+python3-hylang:
+python3-hylang: Hy (or "Hylang" for long) is a multi-paradigm general-purpose
+python3-hylang: programming language in the Lisp family. It's implemented as a kind
+python3-hylang: of alternative syntax for Python. Compared to Python, Hy offers a
+python3-hylang: variety of extra features, generalizations, and syntactic
+python3-hylang: simplifications, as would be expected of a Lisp. Compared to other
+python3-hylang: Lisps, Hy provides direct access to Python's built-ins and
+python3-hylang: third-party Python libraries, while allowing you to freely mix
+python3-hylang: imperative, functional, and object-oriented styles of programming.
+python3-hylang:
diff --git a/development/python3-hyrule/README b/development/python3-hyrule/README
new file mode 100644
index 0000000000..fcf23c8183
--- /dev/null
+++ b/development/python3-hyrule/README
@@ -0,0 +1,7 @@
+Hyrule is a utility library for the Hy programming language.
+
+It can be thought of as the Hy equivalent, or addition, to Python's
+standard library. While intended primarily for Hy programs, its
+functions and classes can be used in Python as with any other Python
+library; just import hyrule. Hyrule's macros, on the other hand, are
+only really usable in Hy.
diff --git a/development/python3-hyrule/python3-hyrule.SlackBuild b/development/python3-hyrule/python3-hyrule.SlackBuild
new file mode 100644
index 0000000000..f48b7a13fb
--- /dev/null
+++ b/development/python3-hyrule/python3-hyrule.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for python3-hyrule
+
+# Copyright 2023, Lockywolf
+# 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-hyrule
+TARNAM=hyrule
+VERSION=${VERSION:-0.4.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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 $TARNAM-$VERSION
+tar xvf $CWD/$TARNAM-$VERSION.tar.gz
+cd $TARNAM-$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 {} \;
+
+python3 setup.py install --root=$PKG
+
+PYTHONVER=$(python3 -c 'import sys; print(f"{sys.version_info[0]}.{sys.version_info[1]}")')
+PYTHONVER_SHORT=${PYTHONVER//[.]/}
+
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/sequences.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/misc.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/macrotools.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/iterables.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/hypprint.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/hy_init.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/destructure.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/control.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/collections.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/argmove.cpython-$PYTHONVER_SHORT.pyc
+rm $PKG/usr/lib${LIBDIRSUFFIX}/python$PYTHONVER/site-packages/hyrule/__pycache__/anaphoric.cpython-$PYTHONVER_SHORT.pyc
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS LICENSE README.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python3-hyrule/python3-hyrule.info b/development/python3-hyrule/python3-hyrule.info
new file mode 100644
index 0000000000..9158f6e5ec
--- /dev/null
+++ b/development/python3-hyrule/python3-hyrule.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-hyrule"
+VERSION="0.4.0"
+HOMEPAGE="https://pypi.org/project/hyrule/"
+DOWNLOAD="https://files.pythonhosted.org/packages/d5/55/ba6317a724677a26763c72f6da4a301e7d2313fbb9039625f2f7f05d7813/hyrule-0.4.0.tar.gz"
+MD5SUM="fada8773182cd8cbcb31ea0a880b5ea0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-hylang"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.python3-hyrule_2023-12-01@lockywolf.net"
diff --git a/development/python3-hyrule/slack-desc b/development/python3-hyrule/slack-desc
new file mode 100644
index 0000000000..ed36a8a4ff
--- /dev/null
+++ b/development/python3-hyrule/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-hyrule: python3-hyrule (A utility library for the Hy programming language)
+python3-hyrule:
+python3-hyrule: Hyrule is a utility library for the Hy programming language. It can
+python3-hyrule: be thought of as the Hy equivalent, or addition, to Python's standard
+python3-hyrule: library. While intended primarily for Hy programs, its functions and
+python3-hyrule: classes can be used in Python as with any other Python library; just
+python3-hyrule: import hyrule. Hyrule's macros, on the other hand, are only really
+python3-hyrule: usable in Hy.
+python3-hyrule:
+python3-hyrule:
+python3-hyrule:
diff --git a/development/python3-matplotlib/README b/development/python3-matplotlib/README
index b9180f8ab9..6f322abe87 100644
--- a/development/python3-matplotlib/README
+++ b/development/python3-matplotlib/README
@@ -7,8 +7,7 @@ of ipython uses matplotlib to emulate matlab graphics.
This is the Python 3 version of matplotlib and can coexist with
SBo's matplotlib package.
-OPTIONAL DEPENDENCIES: python3-PyQt5, wxPython4, python3-pytest, ffmpeg,
- avconv, Inkscape
+OPTIONAL DEPENDENCIES: wxPython4, python3-pytest, avconv, Inkscape
NOTES: If you want to enable the optional subpackages tests and
@@ -17,5 +16,3 @@ NOTES: If you want to enable the optional subpackages tests and
python3-pytest, ffmpeg, avconv and Inkscape are already
installed. Besides ffmpeg/avconv are also needed if you
wish better support of animation output formats.
-
- The pytz dependency must be compiled with Python 3 support.
diff --git a/development/python3-matplotlib/python3-matplotlib.SlackBuild b/development/python3-matplotlib/python3-matplotlib.SlackBuild
index 5722f9f700..db63d6b275 100644
--- a/development/python3-matplotlib/python3-matplotlib.SlackBuild
+++ b/development/python3-matplotlib/python3-matplotlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for the Python 3 version of matplotlib
@@ -28,16 +28,19 @@
# Updated to 0.99.1.2 by João Felipe Santos <joao.eel@gmail.com>
# Patch for libpng borrowed from Arch Linux (no longer needed, 2019.01.31, S.U.)
# Adapted for Python 3 by Jeremy Hansen
-# Updated up to version 2.2.3 by Serban Udrea <S.Udrea@gsi.de>
+# Updated up to version 3.4.3 by Serban Udrea <S.Udrea@gsi.de>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python3-matplotlib
SRCNAM=matplotlib
-VERSION=${VERSION:-2.2.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.4.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-TARBALL_VERSION=${TARBALL_VERSION:-2.2.3} # Tarball may have wrong versioning
+TARBALL_VERSION=${TARBALL_VERSION:-3.4.3} # Tarball may have wrong versioning
ENABLE_TESTS=${ENABLE_TESTS:-N}
if [ -z "$ARCH" ]; then
@@ -48,9 +51,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -61,6 +71,9 @@ cd $TMP
rm -rf $SRCNAM-$TARBALL_VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$TARBALL_VERSION
+mkdir -p build
+tar -C build -xvf $CWD/freetype-2.6.1.tar.gz
+tar -C build -xvf $CWD/qhull-2020-src-8.0.2.tgz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -77,11 +90,6 @@ then
sed -i "s|#tests = False|tests = True|" setup.cfg
fi
-# Use modified setupext.py to make sure that the build process gets
-# interrupted if requirements are not fulfilled
-#
-cat "${CWD}/setupext.py" > setupext.py
-
python3 setup.py install --root $PKG # > ${CWD}/SETUP.OUTPUT 2>&1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -95,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python3-matplotlib/python3-matplotlib.info b/development/python3-matplotlib/python3-matplotlib.info
index cdbc23526b..3afd76cbec 100644
--- a/development/python3-matplotlib/python3-matplotlib.info
+++ b/development/python3-matplotlib/python3-matplotlib.info
@@ -1,10 +1,14 @@
PRGNAM="python3-matplotlib"
-VERSION="2.2.3"
+VERSION="3.4.3"
HOMEPAGE="https://matplotlib.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/eb/a0/31b6ba00bc4dcbc06f0b80d1ad6119a9cc3081ecb04a00117f6c1ca3a084/matplotlib-2.2.3.tar.gz"
-MD5SUM="403b0bddd751d71187416f20d4cff100"
+DOWNLOAD="https://files.pythonhosted.org/packages/21/37/197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.gz \
+ https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz \
+ http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz"
+MD5SUM="6858958370a26cccfa81abc7b6dd3622 \
+ 348e667d728c597360e4a87c16556597 \
+ 295f7332269a38279478f555cc185296"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="numpy3 python3-dateutil python3-pyparsing pytz python3-cycler python3-six python3-kiwisolver python3-tornado"
+REQUIRES="python3-numpy python3-dateutil pytz python3-cycler python3-kiwisolver python3-tornado"
MAINTAINER="Serban Udrea"
EMAIL="S.Udrea@gsi.de"
diff --git a/development/python3-matplotlib/setupext.py b/development/python3-matplotlib/setupext.py
deleted file mode 100644
index 68ab368443..0000000000
--- a/development/python3-matplotlib/setupext.py
+++ /dev/null
@@ -1,2158 +0,0 @@
-from __future__ import print_function, absolute_import
-
-from importlib import import_module
-
-from distutils import sysconfig
-from distutils import version
-from distutils.core import Extension
-import distutils.command.build_ext
-import glob
-import multiprocessing
-import os
-import platform
-import re
-import subprocess
-from subprocess import check_output
-import sys
-import warnings
-from textwrap import fill
-import shutil
-import versioneer
-
-
-PY3min = (sys.version_info[0] >= 3)
-
-
-def _get_xdg_cache_dir():
- """
- Return the XDG cache directory.
-
- See https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
- """
- cache_dir = os.environ.get('XDG_CACHE_HOME')
- if not cache_dir:
- cache_dir = os.path.expanduser('~/.cache')
- if cache_dir.startswith('~/'): # Expansion failed.
- return None
- return os.path.join(cache_dir, 'matplotlib')
-
-
-# SHA256 hashes of the FreeType tarballs
-_freetype_hashes = {
- '2.6.1': '0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014',
- '2.6.2': '8da42fc4904e600be4b692555ae1dcbf532897da9c5b9fb5ebd3758c77e5c2d4',
- '2.6.3': '7942096c40ee6fea882bd4207667ad3f24bff568b96b10fd3885e11a7baad9a3',
- '2.6.4': '27f0e38347a1850ad57f84fc4dfed68ba0bc30c96a6fa6138ef84d485dd9a8d7',
- '2.6.5': '3bb24add9b9ec53636a63ea8e867ed978c4f8fdd8f1fa5ccfd41171163d4249a',
- '2.7': '7b657d5f872b0ab56461f3bd310bd1c5ec64619bd15f0d8e08282d494d9cfea4',
- '2.7.1': '162ef25aa64480b1189cdb261228e6c5c44f212aac4b4621e28cf2157efb59f5',
- '2.8': '33a28fabac471891d0523033e99c0005b95e5618dc8ffa7fa47f9dadcacb1c9b',
- '2.8.1': '876711d064a6a1bd74beb18dd37f219af26100f72daaebd2d86cb493d7cd7ec6',
-}
-# This is the version of FreeType to use when building a local
-# version. It must match the value in
-# lib/matplotlib.__init__.py and also needs to be changed below in the
-# embedded windows build script (grep for "REMINDER" in this file)
-LOCAL_FREETYPE_VERSION = '2.6.1'
-LOCAL_FREETYPE_HASH = _freetype_hashes.get(LOCAL_FREETYPE_VERSION, 'unknown')
-
-if sys.platform != 'win32':
- if not PY3min:
- from commands import getstatusoutput
- else:
- from subprocess import getstatusoutput
-
-
-if PY3min:
- import configparser
-else:
- import ConfigParser as configparser
-
-
-# matplotlib build options, which can be altered using setup.cfg
-options = {
- 'display_status': True,
- 'verbose': False,
- 'backend': None,
- 'basedirlist': None
- }
-
-
-setup_cfg = os.environ.get('MPLSETUPCFG', 'setup.cfg')
-if os.path.exists(setup_cfg):
- if PY3min:
- config = configparser.ConfigParser()
- else:
- config = configparser.SafeConfigParser()
- config.read(setup_cfg)
-
- if config.has_option('status', 'suppress'):
- options['display_status'] = not config.getboolean("status", "suppress")
-
- if config.has_option('rc_options', 'backend'):
- options['backend'] = config.get("rc_options", "backend")
-
- if config.has_option('directories', 'basedirlist'):
- options['basedirlist'] = [
- x.strip() for x in
- config.get("directories", "basedirlist").split(',')]
-
- if config.has_option('test', 'local_freetype'):
- options['local_freetype'] = config.getboolean("test", "local_freetype")
-else:
- config = None
-
-lft = bool(os.environ.get('MPLLOCALFREETYPE', False))
-options['local_freetype'] = lft or options.get('local_freetype', False)
-
-
-def get_win32_compiler():
- """
- Determine the compiler being used on win32.
- """
- # Used to determine mingw32 or msvc
- # This is pretty bad logic, someone know a better way?
- for v in sys.argv:
- if 'mingw32' in v:
- return 'mingw32'
- return 'msvc'
-win32_compiler = get_win32_compiler()
-
-
-def extract_versions():
- """
- Extracts version values from the main matplotlib __init__.py and
- returns them as a dictionary.
- """
- with open('lib/matplotlib/__init__.py') as fd:
- for line in fd.readlines():
- if (line.startswith('__version__numpy__')):
- exec(line.strip())
- return locals()
-
-
-def has_include_file(include_dirs, filename):
- """
- Returns `True` if `filename` can be found in one of the
- directories in `include_dirs`.
- """
- if sys.platform == 'win32':
- include_dirs = list(include_dirs) # copy before modify
- include_dirs += os.environ.get('INCLUDE', '.').split(os.pathsep)
- for dir in include_dirs:
- if os.path.exists(os.path.join(dir, filename)):
- return True
- return False
-
-
-def check_include_file(include_dirs, filename, package):
- """
- Raises an exception if the given include file can not be found.
- """
- if not has_include_file(include_dirs, filename):
- raise CheckFailed(
- "The C/C++ header for %s (%s) could not be found. You "
- "may need to install the development package." %
- (package, filename))
-
-
-def get_base_dirs():
- """
- Returns a list of standard base directories on this platform.
- """
- if options['basedirlist']:
- return options['basedirlist']
-
- if os.environ.get('MPLBASEDIRLIST'):
- return os.environ.get('MPLBASEDIRLIST').split(os.pathsep)
-
- win_bases = ['win32_static', ]
- # on conda windows, we also add the <conda_env_dir>\Library,
- # as conda installs libs/includes there
- # env var names mess: https://github.com/conda/conda/issues/2312
- conda_env_path = os.getenv('CONDA_PREFIX') # conda >= 4.1
- if not conda_env_path:
- conda_env_path = os.getenv('CONDA_DEFAULT_ENV') # conda < 4.1
- if conda_env_path and os.path.isdir(conda_env_path):
- win_bases.append(os.path.join(conda_env_path, "Library"))
-
- basedir_map = {
- 'win32': win_bases,
- 'darwin': ['/usr/local/', '/usr', '/usr/X11',
- '/opt/X11', '/opt/local'],
- 'sunos5': [os.getenv('MPLIB_BASE') or '/usr/local', ],
- 'gnu0': ['/usr'],
- 'aix5': ['/usr/local'],
- }
- return basedir_map.get(sys.platform, ['/usr/local', '/usr'])
-
-
-def get_include_dirs():
- """
- Returns a list of standard include directories on this platform.
- """
- include_dirs = [os.path.join(d, 'include') for d in get_base_dirs()]
- if sys.platform != 'win32':
- # gcc includes this dir automatically, so also look for headers in
- # these dirs
- include_dirs.extend(
- os.environ.get('CPLUS_INCLUDE_PATH', '').split(os.pathsep))
- return include_dirs
-
-
-def is_min_version(found, minversion):
- """
- Returns `True` if `found` is at least as high a version as
- `minversion`.
- """
- expected_version = version.LooseVersion(minversion)
- found_version = version.LooseVersion(found)
- return found_version >= expected_version
-
-
-# Define the display functions only if display_status is True.
-if options['display_status']:
- def print_line(char='='):
- print(char * 76)
-
- def print_status(package, status):
- initial_indent = "%22s: " % package
- indent = ' ' * 24
- print(fill(str(status), width=76,
- initial_indent=initial_indent,
- subsequent_indent=indent))
-
- def print_message(message):
- indent = ' ' * 24 + "* "
- print(fill(str(message), width=76,
- initial_indent=indent,
- subsequent_indent=indent))
-
- def print_raw(section):
- print(section)
-else:
- def print_line(*args, **kwargs):
- pass
- print_status = print_message = print_raw = print_line
-
-
-# Remove the -Wstrict-prototypes option, is it's not valid for C++
-customize_compiler = distutils.command.build_ext.customize_compiler
-
-
-def my_customize_compiler(compiler):
- retval = customize_compiler(compiler)
- try:
- compiler.compiler_so.remove('-Wstrict-prototypes')
- except (ValueError, AttributeError):
- pass
- return retval
-
-distutils.command.build_ext.customize_compiler = my_customize_compiler
-
-
-def make_extension(name, files, *args, **kwargs):
- """
- Make a new extension. Automatically sets include_dirs and
- library_dirs to the base directories appropriate for this
- platform.
-
- `name` is the name of the extension.
-
- `files` is a list of source files.
-
- Any additional arguments are passed to the
- `distutils.core.Extension` constructor.
- """
- ext = DelayedExtension(name, files, *args, **kwargs)
- for dir in get_base_dirs():
- include_dir = os.path.join(dir, 'include')
- if os.path.exists(include_dir):
- ext.include_dirs.append(include_dir)
- for lib in ('lib', 'lib64'):
- lib_dir = os.path.join(dir, lib)
- if os.path.exists(lib_dir):
- ext.library_dirs.append(lib_dir)
- ext.include_dirs.append('.')
-
- return ext
-
-
-def get_file_hash(filename):
- """
- Get the SHA256 hash of a given filename.
- """
- import hashlib
- BLOCKSIZE = 1 << 16
- hasher = hashlib.sha256()
- with open(filename, 'rb') as fd:
- buf = fd.read(BLOCKSIZE)
- while len(buf) > 0:
- hasher.update(buf)
- buf = fd.read(BLOCKSIZE)
- return hasher.hexdigest()
-
-
-class PkgConfig(object):
- """
- This is a class for communicating with pkg-config.
- """
- def __init__(self):
- """
- Determines whether pkg-config exists on this machine.
- """
- if sys.platform == 'win32':
- self.has_pkgconfig = False
- else:
- try:
- self.pkg_config = os.environ['PKG_CONFIG']
- except KeyError:
- self.pkg_config = 'pkg-config'
-
- self.set_pkgconfig_path()
- status, output = getstatusoutput(self.pkg_config + " --help")
- self.has_pkgconfig = (status == 0)
- if not self.has_pkgconfig:
- print("IMPORTANT WARNING:")
- print(
- " pkg-config is not installed.\n"
- " matplotlib may not be able to find some of its dependencies")
-
- def set_pkgconfig_path(self):
- pkgconfig_path = sysconfig.get_config_var('LIBDIR')
- if pkgconfig_path is None:
- return
-
- pkgconfig_path = os.path.join(pkgconfig_path, 'pkgconfig')
- if not os.path.isdir(pkgconfig_path):
- return
-
- try:
- os.environ['PKG_CONFIG_PATH'] += ':' + pkgconfig_path
- except KeyError:
- os.environ['PKG_CONFIG_PATH'] = pkgconfig_path
-
- def setup_extension(self, ext, package, default_include_dirs=[],
- default_library_dirs=[], default_libraries=[],
- alt_exec=None):
- """
- Add parameters to the given `ext` for the given `package`.
- """
- flag_map = {
- '-I': 'include_dirs', '-L': 'library_dirs', '-l': 'libraries'}
-
- executable = alt_exec
- if self.has_pkgconfig:
- executable = (self.pkg_config + ' {0}').format(package)
-
- use_defaults = True
-
- if executable is not None:
- command = "{0} --libs --cflags ".format(executable)
-
- try:
- output = check_output(command, shell=True,
- stderr=subprocess.STDOUT)
- except subprocess.CalledProcessError:
- pass
- else:
- output = output.decode(sys.getfilesystemencoding())
- use_defaults = False
- for token in output.split():
- attr = flag_map.get(token[:2])
- if attr is not None:
- getattr(ext, attr).insert(0, token[2:])
-
- if use_defaults:
- basedirs = get_base_dirs()
- for base in basedirs:
- for include in default_include_dirs:
- dir = os.path.join(base, include)
- if os.path.exists(dir):
- ext.include_dirs.append(dir)
- for lib in default_library_dirs:
- dir = os.path.join(base, lib)
- if os.path.exists(dir):
- ext.library_dirs.append(dir)
- ext.libraries.extend(default_libraries)
- return True
-
- return False
-
- def get_version(self, package):
- """
- Get the version of the package from pkg-config.
- """
- if not self.has_pkgconfig:
- return None
-
- status, output = getstatusoutput(
- self.pkg_config + " %s --modversion" % (package))
- if status == 0:
- return output
- return None
-
-
-# The PkgConfig class should be used through this singleton
-pkg_config = PkgConfig()
-
-
-class CheckFailed(Exception):
- """
- Exception thrown when a `SetupPackage.check` method fails.
- """
- pass
-
-
-class SetupPackage(object):
- optional = False
- pkg_names = {
- "apt-get": None,
- "yum": None,
- "dnf": None,
- "brew": None,
- "port": None,
- "windows_url": None
- }
-
- def check(self):
- """
- Checks whether the build dependencies are met. Should raise a
- `CheckFailed` exception if the dependency could not be met, otherwise
- return a string indicating a version number or some other message
- indicating what was found.
- """
- pass
-
- def runtime_check(self):
- """
- True if the runtime dependencies of the backend are met. Assumes that
- the build-time dependencies are met.
- """
- return True
-
- def get_packages(self):
- """
- Get a list of package names to add to the configuration.
- These are added to the `packages` list passed to
- `distutils.setup`.
- """
- return []
-
- def get_namespace_packages(self):
- """
- Get a list of namespace package names to add to the configuration.
- These are added to the `namespace_packages` list passed to
- `distutils.setup`.
- """
- return []
-
- def get_py_modules(self):
- """
- Get a list of top-level modules to add to the configuration.
- These are added to the `py_modules` list passed to
- `distutils.setup`.
- """
- return []
-
- def get_package_data(self):
- """
- Get a package data dictionary to add to the configuration.
- These are merged into to the `package_data` list passed to
- `distutils.setup`.
- """
- return {}
-
- def get_extension(self):
- """
- Get a list of C extensions (`distutils.core.Extension`
- objects) to add to the configuration. These are added to the
- `extensions` list passed to `distutils.setup`.
- """
- return None
-
- def get_install_requires(self):
- """
- Get a list of Python packages that we require.
- pip/easy_install will attempt to download and install this
- package if it is not installed.
- """
- return []
-
- def get_setup_requires(self):
- """
- Get a list of Python packages that we require at build time.
- pip/easy_install will attempt to download and install this
- package if it is not installed.
- """
- return []
-
- def _check_for_pkg_config(self, package, include_file, min_version=None,
- version=None):
- """
- A convenience function for writing checks for a
- pkg_config-defined dependency.
-
- `package` is the pkg_config package name.
-
- `include_file` is a top-level include file we expect to find.
-
- `min_version` is the minimum version required.
-
- `version` will override the found version if this package
- requires an alternate method for that. Set version='unknown'
- if the version is not known but you still want to disabled
- pkg_config version check.
- """
- if version is None:
- version = pkg_config.get_version(package)
-
- if version is None:
- raise CheckFailed(
- "pkg-config information for '%s' could not be found." %
- package)
-
- if min_version == 'PATCH':
- raise CheckFailed(
- "Requires patches that have not been merged upstream.")
-
- if min_version and version != 'unknown':
- if (not is_min_version(version, min_version)):
- raise CheckFailed(
- "Requires %s %s or later. Found %s." %
- (package, min_version, version))
-
- ext = self.get_extension()
- if ext is None:
- ext = make_extension('test', [])
- pkg_config.setup_extension(ext, package)
-
- check_include_file(
- ext.include_dirs + get_include_dirs(), include_file, package)
-
- return 'version %s' % version
-
- def do_custom_build(self):
- """
- If a package needs to do extra custom things, such as building a
- third-party library, before building an extension, it should
- override this method.
- """
- pass
-
- def install_help_msg(self):
- """
- Do not override this method !
-
- Generate the help message to show if the package is not installed.
- To use this in subclasses, simply add the dictionary `pkg_names` as
- a class variable:
-
- pkg_names = {
- "apt-get": <Name of the apt-get package>,
- "yum": <Name of the yum package>,
- "dnf": <Name of the dnf package>,
- "brew": <Name of the brew package>,
- "port": <Name of the port package>,
- "windows_url": <The url which has installation instructions>
- }
-
- All the dictionary keys are optional. If a key is not present or has
- the value `None` no message is provided for that platform.
- """
- def _try_managers(*managers):
- for manager in managers:
- pkg_name = self.pkg_names.get(manager, None)
- if pkg_name:
- try:
- # `shutil.which()` can be used when Python 2.7 support
- # is dropped. It is available in Python 3.3+
- _ = check_output(["which", manager],
- stderr=subprocess.STDOUT)
- if manager == 'port':
- pkgconfig = 'pkgconfig'
- else:
- pkgconfig = 'pkg-config'
- return ('Try installing {0} with `{1} install {2}` '
- 'and pkg-config with `{1} install {3}`'
- .format(self.name, manager, pkg_name,
- pkgconfig))
- except subprocess.CalledProcessError:
- pass
-
- message = None
- if sys.platform == "win32":
- url = self.pkg_names.get("windows_url", None)
- if url:
- message = ('Please check {0} for instructions to install {1}'
- .format(url, self.name))
- elif sys.platform == "darwin":
- message = _try_managers("brew", "port")
- elif sys.platform.startswith("linux"):
- release = platform.linux_distribution()[0].lower()
- if release in ('debian', 'ubuntu'):
- message = _try_managers('apt-get')
- elif release in ('centos', 'redhat', 'fedora'):
- message = _try_managers('dnf', 'yum')
- return message
-
-
-class OptionalPackage(SetupPackage):
- optional = True
- force = False
- config_category = "packages"
- default_config = "auto"
-
- @classmethod
- def get_config(cls):
- """
- Look at `setup.cfg` and return one of ["auto", True, False] indicating
- if the package is at default state ("auto"), forced by the user (case
- insensitively defined as 1, true, yes, on for True) or opted-out (case
- insensitively defined as 0, false, no, off for False).
- """
- conf = cls.default_config
- if config is not None and config.has_option(cls.config_category, cls.name):
- try:
- conf = config.getboolean(cls.config_category, cls.name)
- except ValueError:
- conf = config.get(cls.config_category, cls.name)
- return conf
-
- def check(self):
- """
- Do not override this method!
-
- For custom dependency checks override self.check_requirements().
- Two things are checked: Configuration file and requirements.
- """
- # Check configuration file
- conf = self.get_config()
- # Default "auto" state or install forced by user
- if conf in [True, 'auto']:
- message = "installing"
- # Set non-optional if user sets `True` in config
- if conf is True:
- self.optional = False
- # Configuration opt-out by user
- else:
- # Some backend extensions (e.g. Agg) need to be built for certain
- # other GUI backends (e.g. TkAgg) even when manually disabled
- if self.force is True:
- message = "installing forced (config override)"
- else:
- raise CheckFailed("skipping due to configuration")
-
- # Check requirements and add extra information (if any) to message.
- # If requirements are not met a CheckFailed should be raised in there.
- additional_info = self.check_requirements()
- if additional_info:
- message += ", " + additional_info
-
- # No CheckFailed raised until now, return install message.
- return message
-
- def check_requirements(self):
- """
- Override this method to do custom dependency checks.
-
- - Raise CheckFailed() if requirements are not met.
- - Return message with additional information, or an empty string
- (or None) for no additional information.
- """
- return ""
-
-
-class OptionalBackendPackage(OptionalPackage):
- config_category = "gui_support"
-
-
-class Platform(SetupPackage):
- name = "platform"
-
- def check(self):
- return sys.platform
-
-
-class Python(SetupPackage):
- name = "python"
-
- def check(self):
- major, minor1, minor2, s, tmp = sys.version_info
-
- if major < 2:
- raise CheckFailed(
- "Requires Python 2.7 or later")
- elif major == 2 and minor1 < 7:
- raise CheckFailed(
- "Requires Python 2.7 or later (in the 2.x series)")
- elif major == 3 and minor1 < 4:
- raise CheckFailed(
- "Requires Python 3.4 or later (in the 3.x series)")
-
- return sys.version
-
-
-class Matplotlib(SetupPackage):
- name = "matplotlib"
-
- def check(self):
- return versioneer.get_version()
-
- def get_packages(self):
- return [
- 'matplotlib',
- 'matplotlib.backends',
- 'matplotlib.backends.qt_editor',
- 'matplotlib.compat',
- 'matplotlib.projections',
- 'matplotlib.axes',
- 'matplotlib.sphinxext',
- 'matplotlib.style',
- 'matplotlib.testing',
- 'matplotlib.testing._nose',
- 'matplotlib.testing._nose.plugins',
- 'matplotlib.testing.jpl_units',
- 'matplotlib.tri',
- 'matplotlib.cbook'
- ]
-
- def get_py_modules(self):
- return ['pylab']
-
- def get_package_data(self):
- return {
- 'matplotlib':
- [
- 'mpl-data/fonts/afm/*.afm',
- 'mpl-data/fonts/pdfcorefonts/*.afm',
- 'mpl-data/fonts/pdfcorefonts/*.txt',
- 'mpl-data/fonts/ttf/*.ttf',
- 'mpl-data/fonts/ttf/LICENSE_STIX',
- 'mpl-data/fonts/ttf/COPYRIGHT.TXT',
- 'mpl-data/fonts/ttf/README.TXT',
- 'mpl-data/fonts/ttf/RELEASENOTES.TXT',
- 'mpl-data/images/*.xpm',
- 'mpl-data/images/*.svg',
- 'mpl-data/images/*.gif',
- 'mpl-data/images/*.pdf',
- 'mpl-data/images/*.png',
- 'mpl-data/images/*.ppm',
- 'mpl-data/example/*.npy',
- 'mpl-data/matplotlibrc',
- 'backends/web_backend/*.*',
- 'backends/web_backend/js/*.*',
- 'backends/web_backend/jquery/js/*.min.js',
- 'backends/web_backend/jquery/css/themes/base/*.min.css',
- 'backends/web_backend/jquery/css/themes/base/images/*',
- 'backends/web_backend/css/*.*',
- 'backends/Matplotlib.nib/*',
- 'mpl-data/stylelib/*.mplstyle',
- ]}
-
-
-class SampleData(OptionalPackage):
- """
- This handles the sample data that ships with matplotlib. It is
- technically optional, though most often will be desired.
- """
- name = "sample_data"
-
- def get_package_data(self):
- return {
- 'matplotlib':
- [
- 'mpl-data/sample_data/*.*',
- 'mpl-data/sample_data/axes_grid/*.*',
- ]}
-
-
-class Toolkits(OptionalPackage):
- name = "toolkits"
-
- def get_packages(self):
- return [
- 'mpl_toolkits',
- 'mpl_toolkits.mplot3d',
- 'mpl_toolkits.axes_grid',
- 'mpl_toolkits.axes_grid1',
- 'mpl_toolkits.axisartist',
- ]
-
- def get_namespace_packages(self):
- return ['mpl_toolkits']
-
-
-class Tests(OptionalPackage):
- name = "tests"
- pytest_min_version = '3.1'
- default_config = False
-
- def check(self):
- super(Tests, self).check()
-
- msgs = []
- msg_template = ('{package} is required to run the Matplotlib test '
- 'suite. Please install it with pip or your preferred '
- 'tool to run the test suite')
-
- bad_pytest = msg_template.format(
- package='pytest %s or later' % self.pytest_min_version
- )
- try:
- import pytest
- if is_min_version(pytest.__version__, self.pytest_min_version):
- msgs += ['using pytest version %s' % pytest.__version__]
- else:
- msgs += [bad_pytest]
- except ImportError:
- msgs += [bad_pytest]
-
- if PY3min:
- msgs += ['using unittest.mock']
- else:
- try:
- import mock
- msgs += ['using mock %s' % mock.__version__]
- except ImportError:
- msgs += [msg_template.format(package='mock')]
-
- return ' / '.join(msgs)
-
- def get_packages(self):
- return [
- 'matplotlib.tests',
- 'matplotlib.sphinxext.tests',
- ]
-
- def get_package_data(self):
- baseline_images = [
- 'tests/baseline_images/%s/*' % x
- for x in os.listdir('lib/matplotlib/tests/baseline_images')]
-
- return {
- 'matplotlib':
- baseline_images +
- [
- 'tests/cmr10.pfb',
- 'tests/mpltest.ttf',
- 'tests/test_rcparams.rc',
- 'tests/test_utf32_be_rcparams.rc',
- 'sphinxext/tests/tinypages/*.rst',
- 'sphinxext/tests/tinypages/*.py',
- 'sphinxext/tests/tinypages/_static/*',
- ]}
-
-
-class Toolkits_Tests(Tests):
- name = "toolkits_tests"
-
- def check_requirements(self):
- conf = self.get_config()
- toolkits_conf = Toolkits.get_config()
- tests_conf = Tests.get_config()
-
- if conf is True:
- Tests.force = True
- Toolkits.force = True
- elif conf == "auto" and not (toolkits_conf and tests_conf):
- # Only auto-install if both toolkits and tests are set
- # to be installed
- raise CheckFailed("toolkits_tests needs 'toolkits' and 'tests'")
- return ""
-
- def get_packages(self):
- return [
- 'mpl_toolkits.tests',
- ]
-
- def get_package_data(self):
- baseline_images = [
- 'tests/baseline_images/%s/*' % x
- for x in os.listdir('lib/mpl_toolkits/tests/baseline_images')]
-
- return {'mpl_toolkits': baseline_images}
-
- def get_namespace_packages(self):
- return ['mpl_toolkits']
-
-
-class DelayedExtension(Extension, object):
- """
- A distutils Extension subclass where some of its members
- may have delayed computation until reaching the build phase.
-
- This is so we can, for example, get the Numpy include dirs
- after pip has installed Numpy for us if it wasn't already
- on the system.
- """
- def __init__(self, *args, **kwargs):
- super(DelayedExtension, self).__init__(*args, **kwargs)
- self._finalized = False
- self._hooks = {}
-
- def add_hook(self, member, func):
- """
- Add a hook to dynamically compute a member.
-
- Parameters
- ----------
- member : string
- The name of the member
-
- func : callable
- The function to call to get dynamically-computed values
- for the member.
- """
- self._hooks[member] = func
-
- def finalize(self):
- self._finalized = True
-
- class DelayedMember(property):
- def __init__(self, name):
- self._name = name
-
- def __get__(self, obj, objtype=None):
- result = getattr(obj, '_' + self._name, [])
-
- if obj._finalized:
- if self._name in obj._hooks:
- result = obj._hooks[self._name]() + result
-
- return result
-
- def __set__(self, obj, value):
- setattr(obj, '_' + self._name, value)
-
- include_dirs = DelayedMember('include_dirs')
-
-
-class Numpy(SetupPackage):
- name = "numpy"
-
- @staticmethod
- def include_dirs_hook():
- if PY3min:
- import builtins
- if hasattr(builtins, '__NUMPY_SETUP__'):
- del builtins.__NUMPY_SETUP__
- import imp
- import numpy
- imp.reload(numpy)
- else:
- import __builtin__
- if hasattr(__builtin__, '__NUMPY_SETUP__'):
- del __builtin__.__NUMPY_SETUP__
- import numpy
- reload(numpy)
-
- ext = Extension('test', [])
- ext.include_dirs.append(numpy.get_include())
- if not has_include_file(
- ext.include_dirs, os.path.join("numpy", "arrayobject.h")):
- warnings.warn(
- "The C headers for numpy could not be found. "
- "You may need to install the development package")
-
- return [numpy.get_include()]
-
- def check(self):
- min_version = extract_versions()['__version__numpy__']
- try:
- import numpy
- except ImportError:
- return 'not found. pip may install it below.'
-
- if not is_min_version(numpy.__version__, min_version):
- raise SystemExit(
- "Requires numpy %s or later to build. (Found %s)" %
- (min_version, numpy.__version__))
-
- return 'version %s' % numpy.__version__
-
- def add_flags(self, ext):
- # Ensure that PY_ARRAY_UNIQUE_SYMBOL is uniquely defined for
- # each extension
- array_api_name = 'MPL_' + ext.name.replace('.', '_') + '_ARRAY_API'
-
- ext.define_macros.append(('PY_ARRAY_UNIQUE_SYMBOL', array_api_name))
- ext.add_hook('include_dirs', self.include_dirs_hook)
-
- ext.define_macros.append(('NPY_NO_DEPRECATED_API',
- 'NPY_1_7_API_VERSION'))
-
- # Allow NumPy's printf format specifiers in C++.
- ext.define_macros.append(('__STDC_FORMAT_MACROS', 1))
-
- def get_setup_requires(self):
- return ['numpy>=1.7.1']
-
- def get_install_requires(self):
- return ['numpy>=1.7.1']
-
-
-class LibAgg(SetupPackage):
- name = 'libagg'
-
- def check(self):
- self.__class__.found_external = True
- try:
- return self._check_for_pkg_config(
- 'libagg', 'agg2/agg_basics.h', min_version='PATCH')
- except CheckFailed as e:
- self.__class__.found_external = False
- return str(e) + ' Using local copy.'
-
- def add_flags(self, ext, add_sources=True):
- if self.found_external:
- pkg_config.setup_extension(ext, 'libagg')
- else:
- ext.include_dirs.insert(0, 'extern/agg24-svn/include')
- if add_sources:
- agg_sources = [
- 'agg_bezier_arc.cpp',
- 'agg_curves.cpp',
- 'agg_image_filters.cpp',
- 'agg_trans_affine.cpp',
- 'agg_vcgen_contour.cpp',
- 'agg_vcgen_dash.cpp',
- 'agg_vcgen_stroke.cpp',
- 'agg_vpgen_segmentator.cpp'
- ]
- ext.sources.extend(
- os.path.join('extern', 'agg24-svn', 'src', x) for x in agg_sources)
-
-
-class FreeType(SetupPackage):
- name = "freetype"
- pkg_names = {
- "apt-get": "libfreetype6-dev",
- "yum": "freetype-devel",
- "dnf": "freetype-devel",
- "brew": "freetype",
- "port": "freetype",
- "windows_url": "http://gnuwin32.sourceforge.net/packages/freetype.htm"
- }
-
- def check(self):
- if options.get('local_freetype'):
- return "Using local version for testing"
-
- if sys.platform == 'win32':
- try:
- check_include_file(get_include_dirs(), 'ft2build.h', 'freetype')
- except CheckFailed:
- check_include_file(get_include_dirs(), 'freetype2\\ft2build.h', 'freetype')
- return 'Using unknown version found on system.'
-
- status, output = getstatusoutput("freetype-config --ftversion")
- if status == 0:
- version = output
- else:
- version = None
-
- # Early versions of freetype grep badly inside freetype-config,
- # so catch those cases. (tested with 2.5.3).
- if version is None or 'No such file or directory\ngrep:' in version:
- version = self.version_from_header()
-
- # pkg_config returns the libtool version rather than the
- # freetype version so we need to explicitly pass the version
- # to _check_for_pkg_config
- return self._check_for_pkg_config(
- 'freetype2', 'ft2build.h',
- min_version='2.3', version=version)
-
- def version_from_header(self):
- version = 'unknown'
- ext = self.get_extension()
- if ext is None:
- return version
- # Return the first version found in the include dirs.
- for include_dir in ext.include_dirs:
- header_fname = os.path.join(include_dir, 'freetype.h')
- if os.path.exists(header_fname):
- major, minor, patch = 0, 0, 0
- with open(header_fname, 'r') as fh:
- for line in fh:
- if line.startswith('#define FREETYPE_'):
- value = line.rsplit(' ', 1)[1].strip()
- if 'MAJOR' in line:
- major = value
- elif 'MINOR' in line:
- minor = value
- else:
- patch = value
- return '.'.join([major, minor, patch])
-
- def add_flags(self, ext):
- if options.get('local_freetype'):
- src_path = os.path.join(
- 'build', 'freetype-{0}'.format(LOCAL_FREETYPE_VERSION))
- # Statically link to the locally-built freetype.
- # This is certainly broken on Windows.
- ext.include_dirs.insert(0, os.path.join(src_path, 'include'))
- if sys.platform == 'win32':
- libfreetype = 'libfreetype.lib'
- else:
- libfreetype = 'libfreetype.a'
- ext.extra_objects.insert(
- 0, os.path.join(src_path, 'objs', '.libs', libfreetype))
- ext.define_macros.append(('FREETYPE_BUILD_TYPE', 'local'))
- else:
- pkg_config.setup_extension(
- ext, 'freetype2',
- default_include_dirs=[
- 'include/freetype2', 'freetype2',
- 'lib/freetype2/include',
- 'lib/freetype2/include/freetype2'],
- default_library_dirs=[
- 'freetype2/lib'],
- default_libraries=['freetype', 'z'])
- ext.define_macros.append(('FREETYPE_BUILD_TYPE', 'system'))
-
- def do_custom_build(self):
- # We're using a system freetype
- if not options.get('local_freetype'):
- return
-
- src_path = os.path.join(
- 'build', 'freetype-{0}'.format(LOCAL_FREETYPE_VERSION))
-
- # We've already built freetype
- if sys.platform == 'win32':
- libfreetype = 'libfreetype.lib'
- else:
- libfreetype = 'libfreetype.a'
-
- if os.path.isfile(os.path.join(src_path, 'objs', '.libs', libfreetype)):
- return
-
- tarball = 'freetype-{0}.tar.gz'.format(LOCAL_FREETYPE_VERSION)
- tarball_path = os.path.join('build', tarball)
- try:
- tarball_cache_dir = _get_xdg_cache_dir()
- tarball_cache_path = os.path.join(tarball_cache_dir, tarball)
- except:
- # again, do not really care if this fails
- tarball_cache_dir = None
- tarball_cache_path = None
- if not os.path.isfile(tarball_path):
- if (tarball_cache_path is not None and
- os.path.isfile(tarball_cache_path)):
- if get_file_hash(tarball_cache_path) == LOCAL_FREETYPE_HASH:
- try:
- os.makedirs('build')
- except OSError:
- # Don't care if it exists.
- pass
- try:
- shutil.copy(tarball_cache_path, tarball_path)
- print('Using cached tarball: {}'
- .format(tarball_cache_path))
- except OSError:
- # If this fails, oh well just re-download
- pass
-
- if not os.path.isfile(tarball_path):
- if PY3min:
- from urllib.request import urlretrieve
- else:
- from urllib import urlretrieve
-
- if not os.path.exists('build'):
- os.makedirs('build')
-
- url_fmts = [
- 'https://downloads.sourceforge.net/project/freetype'
- '/freetype2/{version}/{tarball}',
- 'https://download.savannah.gnu.org/releases/freetype'
- '/{tarball}'
- ]
- for url_fmt in url_fmts:
- tarball_url = url_fmt.format(
- version=LOCAL_FREETYPE_VERSION, tarball=tarball)
-
- print("Downloading {0}".format(tarball_url))
- try:
- urlretrieve(tarball_url, tarball_path)
- except IOError: # URLError (a subclass) on Py3.
- print("Failed to download {0}".format(tarball_url))
- else:
- if get_file_hash(tarball_path) != LOCAL_FREETYPE_HASH:
- print("Invalid hash.")
- else:
- break
- else:
- raise IOError("Failed to download freetype. "
- "You can download the file by "
- "alternative means and copy it "
- " to '{0}'".format(tarball_path))
- try:
- os.makedirs(tarball_cache_dir)
- except OSError:
- # Don't care if it exists.
- pass
- try:
- shutil.copy(tarball_path, tarball_cache_path)
- print('Cached tarball at: {}'.format(tarball_cache_path))
- except OSError:
- # If this fails, we can always re-download.
- pass
-
- if get_file_hash(tarball_path) != LOCAL_FREETYPE_HASH:
- raise IOError(
- "{0} does not match expected hash.".format(tarball))
-
- print("Building {0}".format(tarball))
- if sys.platform != 'win32':
- # compilation on all other platforms than windows
- cflags = 'CFLAGS="{0} -fPIC" '.format(os.environ.get('CFLAGS', ''))
-
- subprocess.check_call(
- ['tar', 'zxf', tarball], cwd='build')
- subprocess.check_call(
- [cflags + './configure --with-zlib=no --with-bzip2=no '
- '--with-png=no --with-harfbuzz=no'], shell=True, cwd=src_path)
- subprocess.check_call(
- [cflags + 'make'], shell=True, cwd=src_path)
- else:
- # compilation on windows
- FREETYPE_BUILD_CMD = """\
-call "%ProgramFiles%\\Microsoft SDKs\\Windows\\v7.0\\Bin\\SetEnv.Cmd" /Release /{xXX} /xp
-call "{vcvarsall}" {xXX}
-set MSBUILD=C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe
-rd /S /Q %FREETYPE%\\objs
-%MSBUILD% %FREETYPE%\\builds\\windows\\{vc20xx}\\freetype.sln /t:Clean;Build /p:Configuration="{config}";Platform={WinXX}
-echo Build completed, moving result"
-:: move to the "normal" path for the unix builds...
-mkdir %FREETYPE%\\objs\\.libs
-:: REMINDER: fix when changing the version
-copy %FREETYPE%\\objs\\{vc20xx}\\{xXX}\\freetype261.lib %FREETYPE%\\objs\\.libs\\libfreetype.lib
-if errorlevel 1 (
- rem This is a py27 version, which has a different location for the lib file :-/
- copy %FREETYPE%\\objs\\win32\\{vc20xx}\\freetype261.lib %FREETYPE%\\objs\\.libs\\libfreetype.lib
-)
-"""
- from setup_external_compile import fixproj, prepare_build_cmd, VS2010, X64, tar_extract
- # Note: freetype has no build profile for 2014, so we don't bother...
- vc = 'vc2010' if VS2010 else 'vc2008'
- WinXX = 'x64' if X64 else 'Win32'
- tar_extract(tarball_path, "build")
- # This is only false for py2.7, even on py3.5...
- if not VS2010:
- fixproj(os.path.join(src_path, 'builds', 'windows', vc, 'freetype.sln'), WinXX)
- fixproj(os.path.join(src_path, 'builds', 'windows', vc, 'freetype.vcproj'), WinXX)
-
- cmdfile = os.path.join("build", 'build_freetype.cmd')
- with open(cmdfile, 'w') as cmd:
- cmd.write(prepare_build_cmd(FREETYPE_BUILD_CMD, vc20xx=vc, WinXX=WinXX,
- config='Release' if VS2010 else 'LIB Release'))
-
- os.environ['FREETYPE'] = src_path
- subprocess.check_call([cmdfile], shell=True)
-
-
-class FT2Font(SetupPackage):
- name = 'ft2font'
-
- def get_extension(self):
- sources = [
- 'src/ft2font.cpp',
- 'src/ft2font_wrapper.cpp',
- 'src/mplutils.cpp'
- ]
- ext = make_extension('matplotlib.ft2font', sources)
- FreeType().add_flags(ext)
- Numpy().add_flags(ext)
- return ext
-
-
-class Png(SetupPackage):
- name = "png"
- pkg_names = {
- "apt-get": "libpng12-dev",
- "yum": "libpng-devel",
- "dnf": "libpng-devel",
- "brew": "libpng",
- "port": "libpng",
- "windows_url": "http://gnuwin32.sourceforge.net/packages/libpng.htm"
- }
-
- def check(self):
- if sys.platform == 'win32':
- check_include_file(get_include_dirs(), 'png.h', 'png')
- return 'Using unknown version found on system.'
-
- status, output = getstatusoutput("libpng-config --version")
- if status == 0:
- version = output
- else:
- version = None
-
- try:
- return self._check_for_pkg_config(
- 'libpng', 'png.h',
- min_version='1.2', version=version)
- except CheckFailed as e:
- if has_include_file(get_include_dirs(), 'png.h'):
- return str(e) + ' Using unknown version found on system.'
- raise
-
- def get_extension(self):
- sources = [
- 'src/_png.cpp',
- 'src/mplutils.cpp'
- ]
- ext = make_extension('matplotlib._png', sources)
- pkg_config.setup_extension(
- ext, 'libpng', default_libraries=['png', 'z'],
- alt_exec='libpng-config --ldflags')
- Numpy().add_flags(ext)
- return ext
-
-
-class Qhull(SetupPackage):
- name = "qhull"
-
- def check(self):
- self.__class__.found_external = True
- try:
- return self._check_for_pkg_config(
- 'libqhull', 'libqhull/qhull_a.h', min_version='2015.2')
- except CheckFailed as e:
- self.__class__.found_pkgconfig = False
- self.__class__.found_external = False
- return str(e) + ' Using local copy.'
-
- def add_flags(self, ext):
- if self.found_external:
- pkg_config.setup_extension(ext, 'qhull',
- default_libraries=['qhull'])
- else:
- ext.include_dirs.insert(0, 'extern')
- ext.sources.extend(sorted(glob.glob('extern/libqhull/*.c')))
- if sysconfig.get_config_var('LIBM') == '-lm':
- ext.libraries.extend('m')
-
-
-class TTConv(SetupPackage):
- name = "ttconv"
-
- def get_extension(self):
- sources = [
- 'src/_ttconv.cpp',
- 'extern/ttconv/pprdrv_tt.cpp',
- 'extern/ttconv/pprdrv_tt2.cpp',
- 'extern/ttconv/ttutil.cpp'
- ]
- ext = make_extension('matplotlib.ttconv', sources)
- Numpy().add_flags(ext)
- ext.include_dirs.insert(0, 'extern')
- return ext
-
-
-class Path(SetupPackage):
- name = "path"
-
- def get_extension(self):
- sources = [
- 'src/py_converters.cpp',
- 'src/_path_wrapper.cpp'
- ]
-
- ext = make_extension('matplotlib._path', sources)
- Numpy().add_flags(ext)
- LibAgg().add_flags(ext)
- return ext
-
-
-class Image(SetupPackage):
- name = "image"
-
- def get_extension(self):
- sources = [
- 'src/_image.cpp',
- 'src/mplutils.cpp',
- 'src/_image_wrapper.cpp',
- 'src/py_converters.cpp'
- ]
- ext = make_extension('matplotlib._image', sources)
- Numpy().add_flags(ext)
- LibAgg().add_flags(ext)
-
- return ext
-
-
-class Contour(SetupPackage):
- name = "contour"
-
- def get_extension(self):
- sources = [
- "src/_contour.cpp",
- "src/_contour_wrapper.cpp",
- ]
- ext = make_extension('matplotlib._contour', sources)
- Numpy().add_flags(ext)
- return ext
-
-
-class QhullWrap(SetupPackage):
- name = "qhull_wrap"
-
- def get_extension(self):
- sources = ['src/qhull_wrap.c']
- ext = make_extension('matplotlib._qhull', sources,
- define_macros=[('MPL_DEVNULL', os.devnull)])
- Numpy().add_flags(ext)
- Qhull().add_flags(ext)
- return ext
-
-
-class Tri(SetupPackage):
- name = "tri"
-
- def get_extension(self):
- sources = [
- "lib/matplotlib/tri/_tri.cpp",
- "lib/matplotlib/tri/_tri_wrapper.cpp",
- "src/mplutils.cpp"
- ]
- ext = make_extension('matplotlib._tri', sources)
- Numpy().add_flags(ext)
- return ext
-
-
-class InstallRequires(SetupPackage):
- name = "install_requires"
-
- def check(self):
- not_available = []
- wrong_version = []
- inst_req = self.get_install_requires()
- for pack_inf in inst_req:
- pack_inf_disp = pack_inf.split('>=')
- if 'dateutil' in pack_inf_disp[0]:
- pack_inf_disp[0] = 'dateutil'
- pack_name = pack_inf_disp[0]
- try:
- import_module(pack_name)
- if pack_name != pack_inf_disp[-1]:
- # This means that we have to check for the version
- pack_ver = sys.modules[pack_name].__version__
- pack_ver = [int(ele) for ele in pack_ver.split('.')]
- ver_cond = pack_inf_disp[1].split(',!=')
- # Check for minimum version
- if pack_ver < [int(ele) for ele in ver_cond[0].split('.')]:
- if len(ver_cond[1:]) > 0:
- wrong_version.append(pack_name
- +" is not at least at version "
- +ver_cond[0]+os.linesep
- +"Please upgrade!"+os.linesep
- +"WARNING: Version(s) "
- +", ".join(ver_cond[1:])
- +" have issues and must be "
- +"avoided.")
- else:
- wrong_version.append(pack_name
- +" is not at least at version "
- +ver_cond[0]+os.linesep
- +"Please upgrade!")
- continue
- # Check for forbidden versions if any
- for ver in ver_cond[1:]:
- if pack_ver == [int(ele) for ele in ver.split('.')]:
- wrong_version.append(pack_name+" is at version "
- +ver+" which is not allowed."+os.linesep
- +"Please use a version newer than "+ver_cond[0]
- +" but different from "+", ".join(ver_cond[1:]))
- break
- except ImportError:
- not_available.append(pack_name+" could not be found")
- if not_available or wrong_version:
- sp_mult = min(1, len(wrong_version))
- req_fail_msg = "ERROR: At least one third-party python package " + \
- "is missing or has the wrong version:" + os.linesep
- req_fail_msg += (os.linesep.join(not_available) +
- os.linesep*(2*sp_mult)) * min(1, len(not_available))
- req_fail_msg += (os.linesep*2).join(wrong_version)
- print_status(package.name, req_fail_msg)
- raise CheckFailed("missing or faulty third-party python packages")
- return "all third-party python packages are present"
-
- def get_install_requires(self):
- install_requires = [
- "cycler>=0.10",
- "pyparsing>=2.0.1,!=2.0.4,!=2.1.2,!=2.1.6",
- "python-dateutil>=2.1",
- "pytz",
- "six>=1.10",
- "kiwisolver>=1.0.1",
- ]
- if sys.version_info < (3,):
- install_requires += ["backports.functools_lru_cache"]
- if sys.version_info < (3,) and os.name == "posix":
- install_requires += ["subprocess32"]
- return install_requires
-
-
-class BackendAgg(OptionalBackendPackage):
- name = "agg"
- force = True
-
- def get_extension(self):
- sources = [
- "src/mplutils.cpp",
- "src/py_converters.cpp",
- "src/_backend_agg.cpp",
- "src/_backend_agg_wrapper.cpp"
- ]
- ext = make_extension('matplotlib.backends._backend_agg', sources)
- Numpy().add_flags(ext)
- LibAgg().add_flags(ext)
- FreeType().add_flags(ext)
- return ext
-
-
-class BackendTkAgg(OptionalBackendPackage):
- name = "tkagg"
- force = True
-
- def check(self):
- return "installing; run-time loading from Python Tcl / Tk"
-
- def runtime_check(self):
- """ Checks whether TkAgg runtime dependencies are met
- """
- pkg_name = 'tkinter' if PY3min else 'Tkinter'
- try:
- import_module(pkg_name)
- except ImportError:
- return False
- return True
-
- def get_extension(self):
- sources = [
- 'src/_tkagg.cpp'
- ]
-
- ext = make_extension('matplotlib.backends._tkagg', sources)
- self.add_flags(ext)
- LibAgg().add_flags(ext, add_sources=False)
- return ext
-
- def add_flags(self, ext):
- ext.include_dirs.insert(0, 'src')
- if sys.platform == 'win32':
- # PSAPI library needed for finding Tcl / Tk at run time
- ext.libraries.extend(['psapi'])
- elif sys.platform.startswith('linux'):
- ext.libraries.extend(['dl'])
-
-
-class BackendGtk(OptionalBackendPackage):
- name = "gtk"
-
- def check_requirements(self):
- try:
- import gtk
- except ImportError:
- raise CheckFailed("Requires pygtk")
- except RuntimeError:
- raise CheckFailed('pygtk present, but import failed.')
- else:
- version = (2, 2, 0)
- if gtk.pygtk_version < version:
- raise CheckFailed(
- "Requires pygtk %d.%d.%d or later. "
- "Found %d.%d.%d" % (version + gtk.pygtk_version))
-
- ext = self.get_extension()
- self.add_flags(ext)
- check_include_file(ext.include_dirs,
- os.path.join("gtk", "gtk.h"),
- 'gtk')
- check_include_file(ext.include_dirs,
- os.path.join("pygtk", "pygtk.h"),
- 'pygtk')
-
- return 'Gtk: %s pygtk: %s' % (
- ".".join(str(x) for x in gtk.gtk_version),
- ".".join(str(x) for x in gtk.pygtk_version))
-
- def get_package_data(self):
- return {'matplotlib': ['mpl-data/*.glade']}
-
- def get_extension(self):
- sources = [
- 'src/_backend_gdk.c'
- ]
- ext = make_extension('matplotlib.backends._backend_gdk', sources)
- self.add_flags(ext)
- Numpy().add_flags(ext)
- return ext
-
- def add_flags(self, ext):
- if sys.platform == 'win32':
- def getoutput(s):
- ret = os.popen(s).read().strip()
- return ret
-
- if 'PKG_CONFIG_PATH' not in os.environ:
- # If Gtk+ is installed, pkg-config is required to be installed
- os.environ['PKG_CONFIG_PATH'] = 'C:\\GTK\\lib\\pkgconfig'
-
- # popen broken on my win32 platform so I can't use pkgconfig
- ext.library_dirs.extend(
- ['C:/GTK/bin', 'C:/GTK/lib'])
-
- ext.include_dirs.extend(
- ['win32_static/include/pygtk-2.0',
- 'C:/GTK/include',
- 'C:/GTK/include/gobject',
- 'C:/GTK/include/gext',
- 'C:/GTK/include/glib',
- 'C:/GTK/include/pango',
- 'C:/GTK/include/atk',
- 'C:/GTK/include/X11',
- 'C:/GTK/include/cairo',
- 'C:/GTK/include/gdk',
- 'C:/GTK/include/gdk-pixbuf',
- 'C:/GTK/include/gtk',
- ])
-
- pygtkIncludes = getoutput(
- 'pkg-config --cflags-only-I pygtk-2.0').split()
- gtkIncludes = getoutput(
- 'pkg-config --cflags-only-I gtk+-2.0').split()
- includes = pygtkIncludes + gtkIncludes
- ext.include_dirs.extend([include[2:] for include in includes])
-
- pygtkLinker = getoutput('pkg-config --libs pygtk-2.0').split()
- gtkLinker = getoutput('pkg-config --libs gtk+-2.0').split()
- linkerFlags = pygtkLinker + gtkLinker
-
- ext.libraries.extend(
- [flag[2:] for flag in linkerFlags if flag.startswith('-l')])
-
- ext.library_dirs.extend(
- [flag[2:] for flag in linkerFlags if flag.startswith('-L')])
-
- ext.extra_link_args.extend(
- [flag for flag in linkerFlags if not
- (flag.startswith('-l') or flag.startswith('-L'))])
-
- # visual studio doesn't need the math library
- if (sys.platform == 'win32' and
- win32_compiler == 'msvc' and
- 'm' in ext.libraries):
- ext.libraries.remove('m')
-
- elif sys.platform != 'win32':
- pkg_config.setup_extension(ext, 'pygtk-2.0')
- pkg_config.setup_extension(ext, 'gtk+-2.0')
-
-
-class BackendGtkAgg(BackendGtk):
- name = "gtkagg"
-
- def get_package_data(self):
- return {'matplotlib': ['mpl-data/*.glade']}
-
- def get_extension(self):
- sources = [
- 'src/py_converters.cpp',
- 'src/_gtkagg.cpp',
- 'src/mplutils.cpp'
- ]
- ext = make_extension('matplotlib.backends._gtkagg', sources)
- self.add_flags(ext)
- LibAgg().add_flags(ext)
- Numpy().add_flags(ext)
- return ext
-
-
-def backend_gtk3agg_internal_check(x):
- try:
- import gi
- except ImportError:
- return (False, "Requires pygobject to be installed.")
-
- try:
- gi.require_version("Gtk", "3.0")
- except ValueError:
- return (False, "Requires gtk3 development files to be installed.")
- except AttributeError:
- return (False, "pygobject version too old.")
-
- try:
- from gi.repository import Gtk, Gdk, GObject
- except (ImportError, RuntimeError):
- return (False, "Requires pygobject to be installed.")
-
- return (True, "version %s.%s.%s" % (
- Gtk.get_major_version(),
- Gtk.get_micro_version(),
- Gtk.get_minor_version()))
-
-
-class BackendGtk3Agg(OptionalBackendPackage):
- name = "gtk3agg"
-
- def check_requirements(self):
- if 'TRAVIS' in os.environ:
- raise CheckFailed("Can't build with Travis")
-
- # This check needs to be performed out-of-process, because
- # importing gi and then importing regular old pygtk afterward
- # segfaults the interpreter.
- try:
- p = multiprocessing.Pool()
- except:
- return "unknown (can not use multiprocessing to determine)"
- try:
- res = p.map_async(backend_gtk3agg_internal_check, [0])
- success, msg = res.get(timeout=10)[0]
- except multiprocessing.TimeoutError:
- p.terminate()
- # No result returned. Probably hanging, terminate the process.
- success = False
- raise CheckFailed("Check timed out")
- except:
- p.close()
- # Some other error.
- success = False
- msg = "Could not determine"
- raise
- else:
- p.close()
- finally:
- p.join()
-
- if success:
- return msg
- else:
- raise CheckFailed(msg)
-
- def get_package_data(self):
- return {'matplotlib': ['mpl-data/*.glade']}
-
-
-def backend_gtk3cairo_internal_check(x):
- try:
- import cairocffi
- except ImportError:
- try:
- import cairo
- except ImportError:
- return (False, "Requires cairocffi or pycairo to be installed.")
-
- try:
- import gi
- except ImportError:
- return (False, "Requires pygobject to be installed.")
-
- try:
- gi.require_version("Gtk", "3.0")
- except ValueError:
- return (False, "Requires gtk3 development files to be installed.")
- except AttributeError:
- return (False, "pygobject version too old.")
-
- try:
- from gi.repository import Gtk, Gdk, GObject
- except (RuntimeError, ImportError):
- return (False, "Requires pygobject to be installed.")
-
- return (True, "version %s.%s.%s" % (
- Gtk.get_major_version(),
- Gtk.get_micro_version(),
- Gtk.get_minor_version()))
-
-
-class BackendGtk3Cairo(OptionalBackendPackage):
- name = "gtk3cairo"
-
- def check_requirements(self):
- if 'TRAVIS' in os.environ:
- raise CheckFailed("Can't build with Travis")
-
- # This check needs to be performed out-of-process, because
- # importing gi and then importing regular old pygtk afterward
- # segfaults the interpreter.
- try:
- p = multiprocessing.Pool()
- except:
- return "unknown (can not use multiprocessing to determine)"
- try:
- res = p.map_async(backend_gtk3cairo_internal_check, [0])
- success, msg = res.get(timeout=10)[0]
- except multiprocessing.TimeoutError:
- p.terminate()
- # No result returned. Probably hanging, terminate the process.
- success = False
- raise CheckFailed("Check timed out")
- except:
- p.close()
- success = False
- raise
- else:
- p.close()
- finally:
- p.join()
-
- if success:
- return msg
- else:
- raise CheckFailed(msg)
-
- def get_package_data(self):
- return {'matplotlib': ['mpl-data/*.glade']}
-
-
-class BackendWxAgg(OptionalBackendPackage):
- name = "wxagg"
-
- def check_requirements(self):
- wxversioninstalled = True
- try:
- import wxversion
- except ImportError:
- wxversioninstalled = False
-
- if wxversioninstalled:
- try:
- _wx_ensure_failed = wxversion.AlreadyImportedError
- except AttributeError:
- _wx_ensure_failed = wxversion.VersionError
-
- try:
- wxversion.ensureMinimal('2.9')
- except _wx_ensure_failed:
- pass
-
- try:
- import wx
- backend_version = wx.VERSION_STRING
- except ImportError:
- raise CheckFailed("requires wxPython")
-
- if not is_min_version(backend_version, "2.9"):
- raise CheckFailed(
- "Requires wxPython 2.9, found %s" % backend_version)
-
- return "version %s" % backend_version
-
-
-class BackendMacOSX(OptionalBackendPackage):
- name = 'macosx'
-
- def check_requirements(self):
- if sys.platform != 'darwin':
- raise CheckFailed("Mac OS-X only")
-
- return 'darwin'
-
- def get_extension(self):
- sources = [
- 'src/_macosx.m'
- ]
-
- ext = make_extension('matplotlib.backends._macosx', sources)
- ext.extra_link_args.extend(['-framework', 'Cocoa'])
- return ext
-
-
-class Windowing(OptionalBackendPackage):
- """
- Builds the windowing extension.
- """
- name = "windowing"
-
- def check_requirements(self):
- if sys.platform != 'win32':
- raise CheckFailed("Microsoft Windows only")
- config = self.get_config()
- if config is False:
- raise CheckFailed("skipping due to configuration")
- return ""
-
- def get_extension(self):
- sources = [
- "src/_windowing.cpp"
- ]
- ext = make_extension('matplotlib._windowing', sources)
- ext.include_dirs.extend(['C:/include'])
- ext.libraries.extend(['user32'])
- ext.library_dirs.extend(['C:/lib'])
- ext.extra_link_args.append("-mwindows")
- return ext
-
-
-class BackendQtBase(OptionalBackendPackage):
-
- def convert_qt_version(self, version):
- version = '%x' % version
- temp = []
- while len(version) > 0:
- version, chunk = version[:-2], version[-2:]
- temp.insert(0, str(int(chunk, 16)))
- return '.'.join(temp)
-
- def check_requirements(self):
- '''
- If PyQt4/PyQt5 is already imported, importing PyQt5/PyQt4 will fail
- so we need to test in a subprocess (as for Gtk3).
- '''
- try:
- p = multiprocessing.Pool()
-
- except:
- # Can't do multiprocessing, fall back to normal approach
- # (this will fail if importing both PyQt4 and PyQt5).
- try:
- # Try in-process
- msg = self.callback(self)
- except RuntimeError:
- raise CheckFailed(
- "Could not import: are PyQt4 & PyQt5 both installed?")
-
- else:
- # Multiprocessing OK
- try:
- res = p.map_async(self.callback, [self])
- msg = res.get(timeout=10)[0]
- except multiprocessing.TimeoutError:
- p.terminate()
- # No result returned. Probably hanging, terminate the process.
- raise CheckFailed("Check timed out")
- except:
- # Some other error.
- p.close()
- raise
- else:
- # Clean exit
- p.close()
- finally:
- # Tidy up multiprocessing
- p.join()
-
- return msg
-
-
-def backend_pyside_internal_check(self):
- try:
- from PySide import __version__
- from PySide import QtCore
- except ImportError:
- raise CheckFailed("PySide not found")
- else:
- return ("Qt: %s, PySide: %s" %
- (QtCore.__version__, __version__))
-
-
-def backend_pyqt4_internal_check(self):
- try:
- from PyQt4 import QtCore
- except ImportError:
- raise CheckFailed("PyQt4 not found")
-
- try:
- qt_version = QtCore.QT_VERSION
- pyqt_version_str = QtCore.PYQT_VERSION_STR
- except AttributeError:
- raise CheckFailed('PyQt4 not correctly imported')
- else:
- return ("Qt: %s, PyQt: %s" % (self.convert_qt_version(qt_version), pyqt_version_str))
-
-
-def backend_qt4_internal_check(self):
- successes = []
- failures = []
- try:
- successes.append(backend_pyside_internal_check(self))
- except CheckFailed as e:
- failures.append(str(e))
-
- try:
- successes.append(backend_pyqt4_internal_check(self))
- except CheckFailed as e:
- failures.append(str(e))
-
- if len(successes) == 0:
- raise CheckFailed('; '.join(failures))
- return '; '.join(successes + failures)
-
-
-class BackendQt4(BackendQtBase):
- name = "qt4agg"
-
- def __init__(self, *args, **kwargs):
- BackendQtBase.__init__(self, *args, **kwargs)
- self.callback = backend_qt4_internal_check
-
-def backend_pyside2_internal_check(self):
- try:
- from PySide2 import __version__
- from PySide2 import QtCore
- except ImportError:
- raise CheckFailed("PySide2 not found")
- else:
- return ("Qt: %s, PySide2: %s" %
- (QtCore.__version__, __version__))
-
-def backend_pyqt5_internal_check(self):
- try:
- from PyQt5 import QtCore
- except ImportError:
- raise CheckFailed("PyQt5 not found")
-
- try:
- qt_version = QtCore.QT_VERSION
- pyqt_version_str = QtCore.PYQT_VERSION_STR
- except AttributeError:
- raise CheckFailed('PyQt5 not correctly imported')
- else:
- return ("Qt: %s, PyQt: %s" % (self.convert_qt_version(qt_version), pyqt_version_str))
-
-def backend_qt5_internal_check(self):
- successes = []
- failures = []
- try:
- successes.append(backend_pyside2_internal_check(self))
- except CheckFailed as e:
- failures.append(str(e))
-
- try:
- successes.append(backend_pyqt5_internal_check(self))
- except CheckFailed as e:
- failures.append(str(e))
-
- if len(successes) == 0:
- raise CheckFailed('; '.join(failures))
- return '; '.join(successes + failures)
-
-class BackendQt5(BackendQtBase):
- name = "qt5agg"
-
- def __init__(self, *args, **kwargs):
- BackendQtBase.__init__(self, *args, **kwargs)
- self.callback = backend_qt5_internal_check
-
-
-class BackendCairo(OptionalBackendPackage):
- name = "cairo"
-
- def check_requirements(self):
- try:
- import cairocffi
- except ImportError:
- try:
- import cairo
- except ImportError:
- raise CheckFailed("cairocffi or pycairo not found")
- else:
- return "pycairo version %s" % cairo.version
- else:
- return "cairocffi version %s" % cairocffi.version
-
-
-class DviPng(SetupPackage):
- name = "dvipng"
- optional = True
-
- def check(self):
- try:
- output = check_output('dvipng -version', shell=True,
- stderr=subprocess.STDOUT)
- return "version %s" % output.splitlines()[1].decode().split()[-1]
- except (IndexError, ValueError, subprocess.CalledProcessError):
- raise CheckFailed()
-
-
-class Ghostscript(SetupPackage):
- name = "ghostscript"
- optional = True
-
- def check(self):
- if sys.platform == 'win32':
- # mgs is the name in miktex
- gs_execs = ['gswin32c', 'gswin64c', 'mgs', 'gs']
- else:
- gs_execs = ['gs']
- for gs_exec in gs_execs:
- try:
- command = gs_exec + ' --version'
- output = check_output(command, shell=True,
- stderr=subprocess.STDOUT)
- return "version %s" % output.decode()[:-1]
- except (IndexError, ValueError, subprocess.CalledProcessError):
- pass
-
- raise CheckFailed()
-
-
-class LaTeX(SetupPackage):
- name = "latex"
- optional = True
-
- def check(self):
- try:
- output = check_output('latex -version', shell=True,
- stderr=subprocess.STDOUT)
- line = output.splitlines()[0].decode()
- pattern = r'(3\.1\d+)|(MiKTeX \d+.\d+)'
- match = re.search(pattern, line)
- return "version %s" % match.group(0)
- except (IndexError, ValueError, AttributeError, subprocess.CalledProcessError):
- raise CheckFailed()
-
-
-class PdfToPs(SetupPackage):
- name = "pdftops"
- optional = True
-
- def check(self):
- try:
- output = check_output('pdftops -v', shell=True,
- stderr=subprocess.STDOUT)
- for line in output.splitlines():
- line = line.decode()
- if 'version' in line:
- return "version %s" % line.split()[2]
- except (IndexError, ValueError, subprocess.CalledProcessError):
- pass
-
- raise CheckFailed()
-
-
-class OptionalPackageData(OptionalPackage):
- config_category = "package_data"
-
-
-class Dlls(OptionalPackageData):
- """
- On Windows, this packages any DLL files that can be found in the
- lib/matplotlib/* directories.
- """
- name = "dlls"
-
- def check_requirements(self):
- if sys.platform != 'win32':
- raise CheckFailed("Microsoft Windows only")
-
- def get_package_data(self):
- return {'': ['*.dll']}
-
- @classmethod
- def get_config(cls):
- """
- Look at `setup.cfg` and return one of ["auto", True, False] indicating
- if the package is at default state ("auto"), forced by the user (True)
- or opted-out (False).
- """
- try:
- return config.getboolean(cls.config_category, cls.name)
- except:
- return False # <-- default
diff --git a/development/python3-numpy-legacy/README b/development/python3-numpy-legacy/README
new file mode 100644
index 0000000000..3e2209eb5b
--- /dev/null
+++ b/development/python3-numpy-legacy/README
@@ -0,0 +1,45 @@
+This packaging of NumPy with Python 3.x is pegged at version 1.24.4.
+It installs into opt/python3-numpy-legacy/usr/lib$LIBDIRSUFFIX and
+should therefore not conflict with other numpy installations.
+
+To use this installation in another SlackBuild, just before any call
+to python3 setup.py build or install, add the line:
+ export PYTHONPATH=/opt/python3-numpy-legacy/usr/lib$LIBDIRSUFFIX/
+
+
+NumPy is a general-purpose array-processing package designed to
+efficiently manipulate large multi-dimensional arrays of arbitrary
+records without sacrificing too much speed for small multi-dimensional
+arrays. NumPy is built on the Numeric code base and adds features
+introduced by numarray as well as an extended C-API and the ability to
+create arrays of arbitrary type which also makes NumPy suitable for
+interfacing with general-purpose data-base applications.
+
+There are also basic facilities for discrete fourier transform, basic
+linear algebra and random number generation.
+
+If you need to build numpy for debugging, set DEBUG=y. If you use
+software which is having problems with numpy's new relaxed strides
+checking, set NPY_RSC=0.
+
+It is highly recommended to install libraries implementing BLAS and
+LAPACK before installing numpy. You may choose between:
+ a) BLAS and LAPACK (reference but unoptimized and thus slow)
+ b) OpenBLAS (optimized, provides LAPACK too)
+ c) ATLAS and LAPACK (optimized), good to read README.ATLAS
+All these are available on SlackBuilds.org.
+
+If you want to use the UMFPACK library instead of SuperLU to solve
+unsymmetric sparse linear systems, then run this Slackbuild with
+NO_UMFPACK set to "no" and then install scikit-umfpack on top of
+scipy. In this context, UMFPACK is an optional dependency for
+numpy.
+
+IMPORTANT: The version installed by this SlackBuild does NOT include the
+ oldnumeric and numarray compatibility modules since
+ starting with version 1.9.0 these modules got removed by
+ the numpy developers. If you need these compatibility
+ modules please consider the numpy-legacy SlackBuild which
+ is available for python2 only and does not conflict with this
+ installation of numpy.
+
diff --git a/development/numpy3/README.ATLAS b/development/python3-numpy-legacy/README.ATLAS
index bf8972befa..bf8972befa 100644
--- a/development/numpy3/README.ATLAS
+++ b/development/python3-numpy-legacy/README.ATLAS
diff --git a/development/python3-numpy-legacy/python3-numpy-legacy.SlackBuild b/development/python3-numpy-legacy/python3-numpy-legacy.SlackBuild
new file mode 100644
index 0000000000..bd4850b944
--- /dev/null
+++ b/development/python3-numpy-legacy/python3-numpy-legacy.SlackBuild
@@ -0,0 +1,136 @@
+#!/bin/bash
+
+# Slackware build script for python3-numpy-legacy
+
+# Copyright 2015-2023 Christoph Willing Brisbane, Australia
+# 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.
+
+# Based with thanks on original numpy scripts by
+# Aleksandar Samardzic <asamardzic@gmail.com> and Serban Udrea <S.Udrea@gsi.de>
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-numpy-legacy
+SRCNAM=numpy
+VERSION=${VERSION:-1.24.4}
+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
+
+LIBDIRSUFFIX=""
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+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/opt/$PRGNAM $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xf $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 {} \;
+
+# You may want to force numpy to link against a special kind of ATLAS
+#
+ATLAS_SHARED="${ATLAS_SHARED:-yes}"
+ATLAS_SHARED=$(echo "$ATLAS_SHARED"|cut -b 1|tr a-z A-Z)
+ATLAS_NO_THREADS="${ATLAS_NO_THREADS:-no}"
+ATLAS_NO_THREADS=$(echo "$ATLAS_NO_THREADS"|cut -b 1|tr a-z A-Z)
+
+if [ "$ATLAS_SHARED" = "Y" ]; then
+ if [ "$ATLAS_NO_THREADS" = "Y" ]; then
+ echo -e "[atlas]\natlas_libs = satlas" >> site.cfg
+ echo -e "lapack_libs = satlas\nlapack_atlas = satlas\n" >> site.cfg
+ fi
+else
+ if [ "$ATLAS_NO_THREADS" = "Y" ]; then
+ echo -e "[atlas]\natlas_libs = f77blas,cblas,atlas" >> site.cfg
+ echo -e "lapack_libs = lapack\nlapack_atlas = lapack\n" >> site.cfg
+ else
+ echo -e "[atlas]\natlas_libs = ptf77blas,ptcblas,atlas" >> site.cfg
+ echo -e "lapack_libs = ptlapack\nlapack_atlas = ptlapack\n" >> site.cfg
+ fi
+fi
+
+NO_UMFPACK=${NO_UMFPACK:-yes}
+case "$NO_UMFPACK" in
+ [yY]|[yY][eE][sS]) NO_UMFPACK="y" ;;
+ *) NO_UMFPACK="" ;;
+esac
+
+if [ ! "$NO_UMFPACK" ]; then
+ echo -e "[amd]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
+ echo -e "include_dirs = /usr/include/amd\namd_libs = amd\n" >> site.cfg
+ echo -e "[umfpack]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
+ echo -e "include_dirs = /usr/include/umfpack\numfpack_libs = umfpack\n" \
+ >> site.cfg
+fi
+
+DEBUG=${DEBUG:-no}
+case "$DEBUG" in
+ [yY]|[yY][eE][sS]) DEBUG="y" ;;
+ *) DEBUG="" ;;
+esac
+
+if [ ! "$DEBUG" ]; then
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 setup.py install --install-platlib usr/lib${LIBDIRSUFFIX} --root $PKG/opt/$PRGNAM
+
+ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+else
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 setup.py build --debug
+ python3 setup.py install --install-platlib usr/lib${LIBDIRSUFFIX} --root $PKG/opt/$PRGNAM
+fi
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CITATION.bib INSTALL.rst LICENSE.txt README.md THANKS.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python3-numpy-legacy/python3-numpy-legacy.info b/development/python3-numpy-legacy/python3-numpy-legacy.info
new file mode 100644
index 0000000000..9ef1277d7a
--- /dev/null
+++ b/development/python3-numpy-legacy/python3-numpy-legacy.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-numpy-legacy"
+VERSION="1.24.4"
+HOMEPAGE="https://www.numpy.org/"
+DOWNLOAD="https://github.com/numpy/numpy/releases/download/v1.24.4/numpy-1.24.4.tar.gz"
+MD5SUM="3f3995540a17854a29dc79f8eeecd832"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/development/python3-numpy-legacy/slack-desc b/development/python3-numpy-legacy/slack-desc
new file mode 100644
index 0000000000..ea18c0bc40
--- /dev/null
+++ b/development/python3-numpy-legacy/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-numpy-legacy: python3-numpy-legacy (Python3 extension for scientific computing)
+python3-numpy-legacy:
+python3-numpy-legacy: NumPy is an extension to the Python programming language, adding
+python3-numpy-legacy: support for large, multi-dimensional arrays and matrices along
+python3-numpy-legacy: with a large library of high-level mathematical functions to
+python3-numpy-legacy: operate on these arrays.
+python3-numpy-legacy:
+python3-numpy-legacy: This package contains NumPy (held at 1.24.4) for python3.
+python3-numpy-legacy:
+python3-numpy-legacy: Homepage: http://www.numpy.org/
+python3-numpy-legacy:
diff --git a/development/python3-numpy/README b/development/python3-numpy/README
new file mode 100644
index 0000000000..969f8d5b83
--- /dev/null
+++ b/development/python3-numpy/README
@@ -0,0 +1,36 @@
+NumPy is a general-purpose array-processing package designed to
+efficiently manipulate large multi-dimensional arrays of arbitrary
+records without sacrificing too much speed for small multi-dimensional
+arrays. NumPy is built on the Numeric code base and adds features
+introduced by numarray as well as an extended C-API and the ability to
+create arrays of arbitrary type which also makes NumPy suitable for
+interfacing with general-purpose data-base applications.
+
+There are also basic facilities for discrete fourier transform, basic
+linear algebra and random number generation.
+
+If you need to build numpy for debugging, set DEBUG=y. If you use
+software which is having problems with numpy's new relaxed strides
+checking, set NPY_RSC=0.
+
+It is highly recommended to install libraries implementing BLAS and
+LAPACK before installing numpy. You may choose between:
+ a) BLAS and LAPACK (unoptimized reference implementation, thus slow)
+ b) OpenBLAS (optimized, provides LAPACK too)
+ c) ATLAS and LAPACK (optimized), good to read README.ATLAS
+All these are available on SlackBuilds.org.
+
+If you want to use the UMFPACK library instead of SuperLU to solve
+unsymmetric sparse linear systems, then run this Slackbuild with
+NO_UMFPACK set to "no" and then install scikit-umfpack on top of
+scipy. In this context, UMFPACK is an optional dependency for
+numpy.
+
+IMPORTANT: The version installed by this SlackBuild does NOT include the
+ oldnumeric and numarray compatibility modules since
+ starting with version 1.9.0 these modules was removed by
+ the numpy developers. If you need these compatibility
+ modules please consider the numpy-legacy SlackBuild which
+ is available for python2 only and does not conflict with this
+ installation of numpy.
+
diff --git a/development/python3-numpy/README.ATLAS b/development/python3-numpy/README.ATLAS
new file mode 100644
index 0000000000..bf8972befa
--- /dev/null
+++ b/development/python3-numpy/README.ATLAS
@@ -0,0 +1,10 @@
+numpy is able to autodetect the ATLAS libraries, but by default will try
+to use the shared, threaded ones. It would use something else just if these
+are missing. You may force numpy to have another behaviour.
+
+a) Set just ATLAS_NO_THREADS to "yes". In this case numpy will be forced to
+ look for the shared, single threaded libs.
+b) Set just ATLAS_SHARED to "no". In this case numpy will be forced to look for
+ the static, threaded ATLAS libraries.
+c) Set ATLAS_SHARED to "no" and ATLAS_NO_THREADS to "yes". In this case numpy
+ will be forced to look for the static, single threaded ATLAS libraries.
diff --git a/development/python3-numpy/python3-numpy.SlackBuild b/development/python3-numpy/python3-numpy.SlackBuild
new file mode 100644
index 0000000000..b336788851
--- /dev/null
+++ b/development/python3-numpy/python3-numpy.SlackBuild
@@ -0,0 +1,138 @@
+#!/bin/bash
+
+# Slackware build script for python3-numpy
+
+# Copyright 2015-2024 Christoph Willing Sydney, Australia
+# 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.
+
+# Based with thanks on original numpy scripts by
+# Aleksandar Samardzic <asamardzic@gmail.com> and Serban Udrea <S.Udrea@gsi.de>
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-numpy
+SRCNAM=numpy
+VERSION=${VERSION:-1.26.3}
+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
+
+LIBDIRSUFFIX=""
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+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 xf $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 {} \;
+
+# You may want to force numpy to link against a special kind of ATLAS
+#
+ATLAS_SHARED="${ATLAS_SHARED:-yes}"
+ATLAS_SHARED=$(echo "$ATLAS_SHARED"|cut -b 1|tr a-z A-Z)
+ATLAS_NO_THREADS="${ATLAS_NO_THREADS:-no}"
+ATLAS_NO_THREADS=$(echo "$ATLAS_NO_THREADS"|cut -b 1|tr a-z A-Z)
+
+if [ "$ATLAS_SHARED" = "Y" ]; then
+ if [ "$ATLAS_NO_THREADS" = "Y" ]; then
+ echo -e "[atlas]\natlas_libs = satlas" >> site.cfg
+ echo -e "lapack_libs = satlas\nlapack_atlas = satlas\n" >> site.cfg
+ fi
+else
+ if [ "$ATLAS_NO_THREADS" = "Y" ]; then
+ echo -e "[atlas]\natlas_libs = f77blas,cblas,atlas" >> site.cfg
+ echo -e "lapack_libs = lapack\nlapack_atlas = lapack\n" >> site.cfg
+ else
+ echo -e "[atlas]\natlas_libs = ptf77blas,ptcblas,atlas" >> site.cfg
+ echo -e "lapack_libs = ptlapack\nlapack_atlas = ptlapack\n" >> site.cfg
+ fi
+fi
+
+NO_UMFPACK=${NO_UMFPACK:-yes}
+case "$NO_UMFPACK" in
+ [yY]|[yY][eE][sS]) NO_UMFPACK="y" ;;
+ *) NO_UMFPACK="" ;;
+esac
+
+if [ ! "$NO_UMFPACK" ]; then
+ echo -e "[amd]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
+ echo -e "include_dirs = /usr/include/amd\namd_libs = amd\n" >> site.cfg
+ echo -e "[umfpack]\nlibrary_dirs = /usr/lib${LIBDIRSUFFIX}" >> site.cfg
+ echo -e "include_dirs = /usr/include/umfpack\numfpack_libs = umfpack\n" \
+ >> site.cfg
+fi
+
+DEBUG=${DEBUG:-no}
+case "$DEBUG" in
+ [yY]|[yY][eE][sS]) DEBUG="y" ;;
+ *) DEBUG="" ;;
+esac
+
+if [ ! "$DEBUG" ]; then
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 -m build --wheel --no-isolation -Csetup-args="-Dallow-noblas=true"
+ python3 -m installer -d "$PKG" dist/*.whl
+
+ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+else
+ #NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 setup.py build --debug
+ #python3 setup.py install --root $PKG
+ echo "debug here"
+fi
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CITATION.bib INSTALL.rst LICENSE.txt README.md THANKS.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python3-numpy/python3-numpy.info b/development/python3-numpy/python3-numpy.info
new file mode 100644
index 0000000000..add0e1df47
--- /dev/null
+++ b/development/python3-numpy/python3-numpy.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-numpy"
+VERSION="1.26.3"
+HOMEPAGE="https://www.numpy.org/"
+DOWNLOAD="https://github.com/numpy/numpy/releases/download/v1.26.3/numpy-1.26.3.tar.gz"
+MD5SUM="1c915dc6c36dd4c674d9379e9470ff8b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-mesonpy"
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/development/python3-numpy/slack-desc b/development/python3-numpy/slack-desc
new file mode 100644
index 0000000000..77313d1d8f
--- /dev/null
+++ b/development/python3-numpy/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-numpy: python3-numpy (Python3 extension for scientific computing)
+python3-numpy:
+python3-numpy: NumPy is an extension to the Python programming language, adding
+python3-numpy: support for large, multi-dimensional arrays and matrices along
+python3-numpy: with a large library of high-level mathematical functions to
+python3-numpy: operate on these arrays.
+python3-numpy:
+python3-numpy: This packages contains NumPy for python3
+python3-numpy:
+python3-numpy: Homepage: http://www.numpy.org/
+python3-numpy:
diff --git a/development/python3-pyqt-distutils/README b/development/python3-pyqt-distutils/README
new file mode 100644
index 0000000000..c97ee3644b
--- /dev/null
+++ b/development/python3-pyqt-distutils/README
@@ -0,0 +1,5 @@
+python3-pyqt-distutils (distutils extension to work with PyQt apps.)
+
+The goal of this tiny library is to help developers write PyQt
+applications in a pythonic way, using setup.py to build the Qt
+designer Ui files.
diff --git a/development/python3-pyqt-distutils/python3-pyqt-distutils.SlackBuild b/development/python3-pyqt-distutils/python3-pyqt-distutils.SlackBuild
new file mode 100644
index 0000000000..9b40c4b094
--- /dev/null
+++ b/development/python3-pyqt-distutils/python3-pyqt-distutils.SlackBuild
@@ -0,0 +1,94 @@
+#!/bin/bash
+
+# Slackware build script for python3-pyqt-distutils
+
+# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.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=python3-pyqt-distutils
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-0.7.3}
+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 $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 {} \+
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python3-pyqt-distutils/python3-pyqt-distutils.info b/development/python3-pyqt-distutils/python3-pyqt-distutils.info
new file mode 100644
index 0000000000..a2f084021a
--- /dev/null
+++ b/development/python3-pyqt-distutils/python3-pyqt-distutils.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-pyqt-distutils"
+VERSION="0.7.3"
+HOMEPAGE="https://github.com/ColinDuquesnoy/pyqt_distutils"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyqt-distutils/pyqt-distutils-0.7.3.tar.gz"
+MD5SUM="598b52cdfa90cdc548b80ca84772640f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-docopt"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/development/python3-pyqt-distutils/slack-desc b/development/python3-pyqt-distutils/slack-desc
new file mode 100644
index 0000000000..079254d7df
--- /dev/null
+++ b/development/python3-pyqt-distutils/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-pyqt-distutils: python3-pyqt-distutils (distutils extension to work with PyQt apps.)
+python3-pyqt-distutils:
+python3-pyqt-distutils: The goal of this tiny library is to help developers write PyQt
+python3-pyqt-distutils: applications in a pythonic way, using setup.py to build the Qt
+python3-pyqt-distutils: designer Ui files.
+python3-pyqt-distutils:
+python3-pyqt-distutils:
+python3-pyqt-distutils:
+python3-pyqt-distutils:
+python3-pyqt-distutils: Homepage: https://github.com/ColinDuquesnoy/pyqt_distutils
+python3-pyqt-distutils:
diff --git a/development/python3-spyder-kernels/README b/development/python3-spyder-kernels/README
new file mode 100644
index 0000000000..5ca498cf43
--- /dev/null
+++ b/development/python3-spyder-kernels/README
@@ -0,0 +1,6 @@
+Package that provides Jupyter kernels for use with the consoles of
+Spyder, the Scientific Python Development Environment.
+
+These kernels can launched either through Spyder itself or in an
+independent Python session, and allow for interactive or file-based
+execution of Python code inside Spyder.
diff --git a/development/python3-spyder-kernels/python3-spyder-kernels.SlackBuild b/development/python3-spyder-kernels/python3-spyder-kernels.SlackBuild
new file mode 100644
index 0000000000..2c94880cec
--- /dev/null
+++ b/development/python3-spyder-kernels/python3-spyder-kernels.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+# Slackware build script for python3-spyder-kernels
+
+# Copyright 2023-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=python3-spyder-kernels
+VERSION=${VERSION:-2.5.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=spyder-kernels
+
+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 {} \;
+
+# Remove version limitations for ipykernel, ipython and jupyter_client
+sed -i 's|ipykernel>=6.29.3,<7|ipykernel>=6.29.3|' setup.py
+sed -i 's|ipython>=8.13.0,<9|ipython>=8.13.0|' setup.py
+sed -i 's|jupyter-client>=7.4.9,<9|jupyter-client>=7.4.9|' setup.py
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS.txt CHANGELOG.md LICENSE.txt README.md RELEASE.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python3-spyder-kernels/python3-spyder-kernels.info b/development/python3-spyder-kernels/python3-spyder-kernels.info
new file mode 100644
index 0000000000..b59e553a21
--- /dev/null
+++ b/development/python3-spyder-kernels/python3-spyder-kernels.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-spyder-kernels"
+VERSION="2.5.1"
+HOMEPAGE="https://github.com/spyder-ide/spyder-kernels"
+DOWNLOAD="https://github.com/spyder-ide/spyder-kernels/archive/v2.5.1/spyder-kernels-2.5.1.tar.gz"
+MD5SUM="fd00102c1087031c0ea512a21cbd1979"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jupyter-ipykernel cloudpickle python3-wurlitzer"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/python3-spyder-kernels/slack-desc b/development/python3-spyder-kernels/slack-desc
new file mode 100644
index 0000000000..6ae50a200b
--- /dev/null
+++ b/development/python3-spyder-kernels/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-spyder-kernels: python3-spyder-kernels (Jupyter kernels for the Spyder console)
+python3-spyder-kernels:
+python3-spyder-kernels: Package that provides Jupyter kernels for use with the consoles of
+python3-spyder-kernels: Spyder, the Scientific Python Development Environment.
+python3-spyder-kernels:
+python3-spyder-kernels: These kernels can launched either through Spyder itself or in an
+python3-spyder-kernels: independent Python session, and allow for interactive or file-based
+python3-spyder-kernels: execution of Python code inside Spyder.
+python3-spyder-kernels:
+python3-spyder-kernels:
+python3-spyder-kernels:
diff --git a/development/pyvim/pyvim.SlackBuild b/development/pyvim/pyvim.SlackBuild
index 4dfdf37500..c9ae80e276 100644
--- a/development/pyvim/pyvim.SlackBuild
+++ b/development/pyvim/pyvim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyvim
@@ -22,10 +22,13 @@
# 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=pyvim
VERSION=${VERSION:-2.0.24}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/pyvim/pyvim.info b/development/pyvim/pyvim.info
index 353b8cb7b1..0b462b6643 100644
--- a/development/pyvim/pyvim.info
+++ b/development/pyvim/pyvim.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/6e/85/47543120e478ddc5d31e447a
MD5SUM="6636d321f77c0c1b5eb9f547cf8d77e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="prompt_toolkit pyflakes Pygments docopt"
+REQUIRES="prompt_toolkit pyflakes python2-docopt"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/qb64/README b/development/qb64/README
new file mode 100644
index 0000000000..6ce775f7f5
--- /dev/null
+++ b/development/qb64/README
@@ -0,0 +1,22 @@
+QB64 is a modern extended BASIC programming language that retains
+QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for
+Windows, Linux, and macOS.
+
+The QB64 project has evolved over the last decade to bring the magic
+and educational potential of BASIC from its 20th century roots into
+the modern era. The QB64 project is already in use in both
+educational and professional contexts and has an active and helpful
+user community.
+
+Unlike traditional BASIC and QBasic code, QB64 gets compiled
+automatically into machine code – allowing exceptional performance,
+easy distribution, and the ability to link with external C and C++
+programming libaries. Compatible with most QBasic 4.5 code, QB64
+adds a number of extensions, such as OpenGL and other modern
+features, providing the perfect blend of classic and modern
+program development.
+
+On first run this package installs ~/.config/qb64-2.1
+in $HOME in order to run the program and its data.
+You can delete this directory and rebuild you local configuration
+by relaunching the program.
diff --git a/development/qb64/doinst.sh b/development/qb64/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/qb64/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/qb64/qb64-launcher b/development/qb64/qb64-launcher
new file mode 100644
index 0000000000..ae311f62ca
--- /dev/null
+++ b/development/qb64/qb64-launcher
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+DEST="$HOME/.config/qb64-2.1"
+if [ ! -d $DEST ]
+then
+ notify-send "Setting up $DEST workspace for first run, please be patient..."
+ CWD=`pwd`
+ mkdir -p $DEST
+ cd $DEST
+ tar xvfz /usr/src/qb64-2.1/qb64-2.1.tar.gz --strip-components=1
+ pushd internal/c/libqb/os/lnx >/dev/null
+ rm -f libqb_setup.o
+ ./setup_build.sh
+ popd >/dev/null
+ pushd internal/c/parts/video/font/ttf/os/lnx >/dev/null
+ rm -f src.o
+ ./setup_build.sh
+ popd >/dev/null
+ pushd internal/c/parts/core/os/lnx >/dev/null
+ rm -f src.a
+ ./setup_build.sh
+ popd >/dev/null
+ cp -r ./internal/source/* ./internal/temp/
+ pushd internal/c >/dev/null
+ g++ -no-pie -w qbx.cpp libqb/os/lnx/libqb_setup.o parts/video/font/ttf/os/lnx/src.o parts/core/os/lnx/src.a -lGL -lGLU -lX11 -lpthread -ldl -lrt -D FREEGLUT_STATIC -o ../../qb64
+ popd
+ rm -rf .ci
+ rm -rf .github
+ rm -rf .gitignore
+ rm -rf .vscode/
+ rm -rf build.bat
+ rm -rf reset.cmd
+ rm -rf setup_*
+ rm -rf findcurl.cmd
+ rm -rf qb64.1
+ rm -rf run_qb64.sh
+ ln -s /usr/bin/qb64-launcher run_qb64.sh
+ cd $CWD
+fi
+$DEST/qb64 "$@" &
diff --git a/development/qb64/qb64.1 b/development/qb64/qb64.1
new file mode 100644
index 0000000000..2d41e1baea
--- /dev/null
+++ b/development/qb64/qb64.1
@@ -0,0 +1,44 @@
+.TH qb64 "1" "November 2018" "QB64 IDE AND COMPILER" "User Commands"
+.SH NAME
+qb64 \- manual page for QB64
+.SH DESCRIPTION
+QB64 COMPILER
+.PP
+USAGE: qb64 [switches] <file>
+.SS "OPTIONS:"
+.TP
+<file>
+Source file to load
+.TP
+\fB\-v\fR
+Verbose mode (detailed warnings)
+.TP
+\fB\-c\fR
+Compile instead of edit
+.TP
+\fB\-x\fR
+Compile instead of edit and output the result to the
+console
+.TP
+\fB\-p\fR
+Purge all pre\-compiled content first
+.TP
+\fB\-z\fR
+Generate C code without compiling to executable
+.TP
+\fB\-o\fR <output file>
+Write output executable to <output file>
+.TP
+\fB\-e\fR
+Enables OPTION _EXPLICIT, making variable declaration
+mandatory (per\-compilation; doesn't affect the
+source file or global settings)
+.TP
+\fB\-s[\fR:switch=true/false]
+View/edit compiler settings
+.TP
+\fB\-l\fR:<line number>
+Starts the IDE at the specified line number
+.PP
+.SH "INTERNET"
+.B https://qb64.com/
diff --git a/development/qb64/qb64.SlackBuild b/development/qb64/qb64.SlackBuild
new file mode 100644
index 0000000000..ae313042a2
--- /dev/null
+++ b/development/qb64/qb64.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for qb64 (from qb64.com)
+
+# Copyright 2023 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=qb64
+VERSION=${VERSION:-2.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+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/usr/bin $PKG/usr/src/$PRGNAM-$VERSION $PKG/usr/share/pixmaps $PKG/usr/share/applications $PKG/usr/man/man1
+cp $CWD/$PRGNAM-$VERSION.tar.gz $PKG/usr/src/$PRGNAM-$VERSION
+cat $CWD/qb64.1 | gzip -c -f > $PKG/usr/man/man1/qb64.1.gz
+cp $CWD/qb64-launcher $PKG/usr/bin
+cp $CWD/qb64.desktop $PKG/usr/share/applications
+cp $CWD/qb64.png $PKG/usr/share/pixmaps
+( cd $PKG/usr/bin ; rm -rf qb64 )
+( cd $PKG/usr/bin ; ln -s qb64-launcher qb64 )
+
+#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/$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/development/qb64/qb64.desktop b/development/qb64/qb64.desktop
new file mode 100644
index 0000000000..174e67f9cb
--- /dev/null
+++ b/development/qb64/qb64.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=QB64 Programming IDE
+GenericName=QB64 Programming IDE
+Exec=qb64-launcher "$@"
+Icon=qb64.png
+Terminal=false
+Type=Application
+Categories=Development;IDE;
+StartupNotify=false
diff --git a/development/qb64/qb64.info b/development/qb64/qb64.info
new file mode 100644
index 0000000000..07aede8aef
--- /dev/null
+++ b/development/qb64/qb64.info
@@ -0,0 +1,10 @@
+PRGNAM="qb64"
+VERSION="2.1"
+HOMEPAGE="https://qb64.com"
+DOWNLOAD="https://github.com/QB64Official/qb64/archive/v2.1/qb64-2.1.tar.gz"
+MD5SUM="ac34308c52f2bb938fcc5c4304201133"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/qb64/qb64.png b/development/qb64/qb64.png
new file mode 100644
index 0000000000..cd75bbcf18
--- /dev/null
+++ b/development/qb64/qb64.png
Binary files differ
diff --git a/development/qb64/run_qb64.sh b/development/qb64/run_qb64.sh
new file mode 100644
index 0000000000..1a4c6870f4
--- /dev/null
+++ b/development/qb64/run_qb64.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+DEST="$HOME/qb64-2.1"
+if [ ! -d $DEST ]
+then
+ mkdir -p $DEST
+ cp -axu /opt/qb64-2.1/internal $DEST/
+ cp -axu /opt/qb64-2.1/qb64 $DEST/
+ fi
+cd $DEST
+./qb64 &
diff --git a/development/qb64/slack-desc b/development/qb64/slack-desc
new file mode 100644
index 0000000000..78d33f202c
--- /dev/null
+++ b/development/qb64/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------------------------------------------------------|
+qb64: qb64 (Modern QuickBASIC compiler)
+qb64:
+qb64: QB64 is a modern extended BASIC programming language that retains
+qb64: QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for
+qb64: Windows, Linux, and macOS.
+qb64:
+qb64:
+qb64:
+qb64:
+qb64:
+qb64:
diff --git a/development/qb64pe/README b/development/qb64pe/README
new file mode 100644
index 0000000000..36f4d8acfc
--- /dev/null
+++ b/development/qb64pe/README
@@ -0,0 +1,21 @@
+QB64 Phoenix Edition (QB64-PE) is a fork of QB64.com, providing
+additional features and enhancements, maintained by a
+group of original developers of QB64.com.
+
+QB64-PE is a modern extended BASIC programming language with embedded
+OpenGL support that retains QuickBASIC 4.5 and QBasic compatibility
+and compiles native binaries for Windows (Vista and up),
+Linux and macOS.
+
+Unlike traditional BASIC and QBasic code, QB64pe gets compiled
+automatically into machine code – allowing exceptional performance,
+easy distribution, and the ability to link with external C and C++
+programming libaries. Compatible with most QBasic 4.5 code, QB64pe
+adds a number of extensions, such as OpenGL and other modern
+features, providing the perfect blend of classic and modern
+program development.
+
+On first run this package installs ~/.config/qb64pe-(version)
+in $HOME in order to run the program and its data.
+You can delete this directory and rebuild you local configuration
+by relaunching the program.
diff --git a/development/qb64pe/doinst.sh b/development/qb64pe/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/qb64pe/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/qb64pe/qb64pe-launcher b/development/qb64pe/qb64pe-launcher
new file mode 100644
index 0000000000..8729180619
--- /dev/null
+++ b/development/qb64pe/qb64pe-launcher
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+VERSION=3.12.0
+DEST="$HOME/.config/qb64pe-$VERSION"
+if [ ! -d $DEST ]
+then
+ notify-send "Setting up $DEST workspace for first run, please be patient..."
+ CWD=`pwd`
+ mkdir -p $DEST
+ cd $DEST
+ tar xvfz /usr/src/qb64pe-$VERSION/QB64pe-$VERSION.tar.gz --strip-components=1
+ make clean OS=lnx
+ make OS=lnx BUILD_QB64=y -j1
+ rm -rf run_qb64pe.sh
+ ln -s /usr/bin/qb64pe-launcher run_qb64pe.sh
+ rm -rf .ci
+ rm -rf .github
+ rm -rf .gitignore
+ rm -rf .clang-format
+ rm -rf setup_*
+ rm -rf qb64pe.1
+ cd $CWD
+fi
+$DEST/qb64pe "$@" &
diff --git a/development/qb64pe/qb64pe.1 b/development/qb64pe/qb64pe.1
new file mode 100644
index 0000000000..69764a72c5
--- /dev/null
+++ b/development/qb64pe/qb64pe.1
@@ -0,0 +1,56 @@
+.TH qb64pe "1" "August 2022" "QB64 IDE AND COMPILER (Phoenix Edition)" "User Commands"
+.SH NAME
+qb64pe \- manual page for QB64-PE
+.SH DESCRIPTION
+QB64 COMPILER (Phoenix Edition)
+.PP
+USAGE: qb64pe [switches] <file>
+.SS "OPTIONS:"
+.TP
+<file>
+Source file to load
+.TP
+\fB\-v\fR
+Print version number and exit
+.TP
+\fB\-c\fR
+Compile instead of edit
+.TP
+\fB\-x\fR
+Compile instead of edit and output the result to the
+console
+.TP
+\fB\-p\fR
+Purge all pre\-compiled content first
+.TP
+\fB\-z\fR
+Generate C code without compiling to executable
+.TP
+\fB\-o\fR <output file>
+Write output executable to <output file>
+.TP
+\fB\-w\fR
+Show warnings when compiling
+.TP
+\fB\-q\fR
+Quiet mode (suppresses most output other than warnings and errors)
+.TP
+\fB\-m\fR
+Suppress colors in output
+.TP
+\fB\-e\fR
+Enables OPTION _EXPLICIT, making variable declaration
+mandatory (per\-compilation; doesn't affect the
+source file or global settings)
+.TP
+\fB\-s[\fR:switch=true/false]
+View/edit compiler settings
+.TP
+\fB\-f[\fR:setting=value]
+Configure compiler settings for this run of the compiler
+.TP
+\fB\-l\fR:<line number>
+Starts the IDE at the specified line number
+.PP
+.SH "INTERNET"
+.B https://qb64phoenix.com
diff --git a/development/qb64pe/qb64pe.SlackBuild b/development/qb64pe/qb64pe.SlackBuild
new file mode 100644
index 0000000000..4beaac60e4
--- /dev/null
+++ b/development/qb64pe/qb64pe.SlackBuild
@@ -0,0 +1,91 @@
+#!/bin/bash
+
+# Slackware build script for qb64pe (from qb64phoenix.com)
+
+# 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=qb64pe
+VERSION=${VERSION:-3.12.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+TARBALL=${TARBALL:-QB64pe}
+
+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 $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+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/usr/bin $PKG/usr/src/$PRGNAM-$VERSION $PKG/usr/share/pixmaps $PKG/usr/share/applications $PKG/usr/man/man1
+if [ -f "$CWD/$TARBALL-$VERSION.tar.gz" ]; then
+ cp $CWD/$TARBALL-$VERSION.tar.gz $PKG/usr/src/$PRGNAM-$VERSION/$TARBALL-$VERSION.tar.gz
+else
+ cp $CWD/$PRGNAM-$VERSION.tar.gz $PKG/usr/src/$PRGNAM-$VERSION/$TARBALL-$VERSION.tar.gz
+fi
+cat $CWD/qb64pe.1 | gzip -c -f > $PKG/usr/man/man1/qb64pe.1.gz
+cp $CWD/qb64pe-launcher $PKG/usr/bin
+chmod 755 $PKG/usr/bin/qb64pe-launcher
+cp $CWD/qb64pe.desktop $PKG/usr/share/applications
+cp $CWD/qb64pe.png $PKG/usr/share/pixmaps/qb64pe.png
+( cd $PKG/usr/bin ; rm -rf qb64pe )
+( cd $PKG/usr/bin ; ln -sf qb64pe-launcher qb64pe )
+
+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/$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/development/qb64pe/qb64pe.desktop b/development/qb64pe/qb64pe.desktop
new file mode 100644
index 0000000000..cfb8016e10
--- /dev/null
+++ b/development/qb64pe/qb64pe.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=QB64-PE Programming IDE
+GenericName=QB64-PE Programming IDE
+Exec=qb64pe-launcher %F
+Icon=qb64pe
+Terminal=false
+Type=Application
+Categories=Development;IDE;
+StartupNotify=false
diff --git a/development/qb64pe/qb64pe.info b/development/qb64pe/qb64pe.info
new file mode 100644
index 0000000000..e0e7fe2c1a
--- /dev/null
+++ b/development/qb64pe/qb64pe.info
@@ -0,0 +1,10 @@
+PRGNAM="qb64pe"
+VERSION="3.12.0"
+HOMEPAGE="https://qb64phoenix.com/"
+DOWNLOAD="https://github.com/QB64-Phoenix-Edition/QB64pe/archive/v3.12.0/QB64pe-3.12.0.tar.gz"
+MD5SUM="f5e43d15462c169e619bc78d05d004a9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/qb64pe/qb64pe.png b/development/qb64pe/qb64pe.png
new file mode 100644
index 0000000000..03033cfe7d
--- /dev/null
+++ b/development/qb64pe/qb64pe.png
Binary files differ
diff --git a/development/qb64pe/slack-desc b/development/qb64pe/slack-desc
new file mode 100644
index 0000000000..f505d85726
--- /dev/null
+++ b/development/qb64pe/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------------------------------------------------------|
+qb64pe: qb64pe (Modern QuickBASIC compiler)
+qb64pe:
+qb64pe: QB64 Phoenix Edition (QB64-PE) is a fork of QB64.com, providing
+qb64pe: additional features and enhancements, maintained by a
+qb64pe: group of original developers of QB64.com.
+qb64pe:
+qb64pe: QB64-PE is a modern extended BASIC programming language with embedded
+qb64pe: OpenGL support that retains QuickBASIC 4.5 and QBasic compatibility
+qb64pe: and compiles native binaries for Windows (Vista and up),
+qb64pe: Linux and macOS.
+qb64pe: Homepage https://qb64phoenix.com/
diff --git a/development/qbe/README b/development/qbe/README
new file mode 100644
index 0000000000..dcaba04ed7
--- /dev/null
+++ b/development/qbe/README
@@ -0,0 +1,9 @@
+QBE is a compiler backend that aims to provide 70% of the performance of
+industrial optimizing compilers in 10% of the code.
+
+QBE fosters language innovation by offering a compact user-friendly and
+performant backend. The size limit constrains QBE to focus on the
+essential and prevents embarking on a never-ending path of diminishing
+returns.
+
+This package installs an executable: /usr/bin/qbe
diff --git a/development/qbe/qbe.SlackBuild b/development/qbe/qbe.SlackBuild
new file mode 100644
index 0000000000..21da6b8b58
--- /dev/null
+++ b/development/qbe/qbe.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for qbe
+
+# Copyright 2023 Dave Gauer, http://ratfactor.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=qbe
+VERSION=${VERSION:-1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz || tar xvf $CWD/$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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+PREFIX=/usr \
+make
+make install DESTDIR=$PKG PREFIX=/usr
+
+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 \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/qbe/qbe.info b/development/qbe/qbe.info
new file mode 100644
index 0000000000..f932bce7ab
--- /dev/null
+++ b/development/qbe/qbe.info
@@ -0,0 +1,10 @@
+PRGNAM="qbe"
+VERSION="1.1"
+HOMEPAGE="https://c9x.me/compile/"
+DOWNLOAD="https://c9x.me/compile/release/qbe-1.1.tar.xz"
+MD5SUM="e7174b3a57753d94162191b1b58162b5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Dave Gauer"
+EMAIL="dave@ratfactor.com"
diff --git a/development/qbe/slack-desc b/development/qbe/slack-desc
new file mode 100644
index 0000000000..a9a4109140
--- /dev/null
+++ b/development/qbe/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------------------------------------------------------|
+qbe: qbe (a compiler backend)
+qbe:
+qbe: QBE is a compiler backend that aims to provide 70% of the performance
+qbe: of industrial optimizing compilers in 10% of the code.
+qbe:
+qbe: QBE fosters language innovation by offering a compact user-friendly
+qbe: and performant backend. The size limit constrains QBE to focus on the
+qbe: essential and prevents embarking on a never-ending path of diminishing
+qbe: returns.
+qbe:
+qbe: https://c9x.me/compile/
diff --git a/development/qbs/qbs.SlackBuild b/development/qbs/qbs.SlackBuild
index 4ee06c4422..798905e10f 100644
--- a/development/qbs/qbs.SlackBuild
+++ b/development/qbs/qbs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Qbs
@@ -23,10 +23,13 @@
# 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=qbs
VERSION=${VERSION:-1.16.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -121,4 +131,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/qbs/qbs.info b/development/qbs/qbs.info
index e11e59a55e..57f2b93138 100644
--- a/development/qbs/qbs.info
+++ b/development/qbs/qbs.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://download.qt.io/official_releases/qbs/1.16.0/qbs-src-1.16.0.tar
MD5SUM="1981b1625328d8bf16a5552213d6912a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Andrzej Telszewski"
EMAIL="atelszewski@gmail.com"
diff --git a/development/qbsolv/README b/development/qbsolv/README
new file mode 100644
index 0000000000..772f42a824
--- /dev/null
+++ b/development/qbsolv/README
@@ -0,0 +1,5 @@
+ Qbsolv,a decomposing solver, finds a minimum value of a large
+quadratic unconstrained binary optimization (QUBO) problem by splitting
+it into pieces solved either via a D-Wave system or a classical tabu
+solver. (Note that qbsolv by default uses its internal classical
+solver. Access to a D-Wave system must be arranged separately.)
diff --git a/development/qbsolv/qbsolv.SlackBuild b/development/qbsolv/qbsolv.SlackBuild
new file mode 100644
index 0000000000..338d4a483b
--- /dev/null
+++ b/development/qbsolv/qbsolv.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for qbsolv
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM="qbsolv"
+VERSION=${VERSION:-0.3.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+
+python3 setup.py install --root=$PKG
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.rst docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/qbsolv/qbsolv.info b/development/qbsolv/qbsolv.info
new file mode 100644
index 0000000000..78476055e8
--- /dev/null
+++ b/development/qbsolv/qbsolv.info
@@ -0,0 +1,10 @@
+PRGNAM="qbsolv"
+VERSION="0.3.4"
+HOMEPAGE="https://github.com/dwavesystems/qbsolv"
+DOWNLOAD="https://github.com/dwavesystems/qbsolv/archive/0.3.4/qbsolv-0.3.4.tar.gz"
+MD5SUM="9187b4b9821b4778a770ab6e41c6a577"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/qbsolv/slack-desc b/development/qbsolv/slack-desc
new file mode 100644
index 0000000000..ac5597613c
--- /dev/null
+++ b/development/qbsolv/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------------------------------------------------------|
+qbsolv: qbsolv (A decomposing solver for QUBO)
+qbsolv:
+qbsolv:
+qbsolv: Qbsolv, a decomposing solver, finds a minimum value of a large
+qbsolv: quadratic unconstrained binary optimization (QUBO) problem by
+qbsolv: splitting it into pieces solved either via a D-Wave system or a
+qbsolv: classical tabu solver. (Note that qbsolv by default uses its
+qbsolv: internal classical solver. Access to a D-Wave system must be
+qbsolv: arranged separately.)
+qbsolv:
+qbsolv:
diff --git a/development/qconf/qconf.SlackBuild b/development/qconf/qconf.SlackBuild
index c642f886c3..3456c7ccab 100644
--- a/development/qconf/qconf.SlackBuild
+++ b/development/qconf/qconf.SlackBuild
@@ -1,11 +1,14 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qconf
# Written by Alexei Panov <elemc@atisserv.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qconf
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -15,7 +18,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -68,5 +78,5 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/qconf/qconf.info b/development/qconf/qconf.info
index e9a45977ef..836130db8e 100644
--- a/development/qconf/qconf.info
+++ b/development/qconf/qconf.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/qconf-1.4.tar.bz2"
MD5SUM="e0080044f88c31e032008d5a5682a112"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Alexei Panov"
EMAIL="elemc@atisserv.ru"
diff --git a/development/qt-creator-llvm/patches/010_D35355_Fix-templated-type-alias-completion-when-using-global-completion-cache.patch b/development/qt-creator-llvm/patches/010_D35355_Fix-templated-type-alias-completion-when-using-global-completion-cache.patch
deleted file mode 100644
index df57bedff8..0000000000
--- a/development/qt-creator-llvm/patches/010_D35355_Fix-templated-type-alias-completion-when-using-global-completion-cache.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-diff --git a/tools/clang/lib/Frontend/ASTUnit.cpp b/tools/clang/lib/Frontend/ASTUnit.cpp
-index 1094e6d089..5a4cddbebe 100644
---- a/tools/clang/lib/Frontend/ASTUnit.cpp
-+++ b/tools/clang/lib/Frontend/ASTUnit.cpp
-@@ -243,7 +243,8 @@ static unsigned getDeclShowContexts(const NamedDecl *ND,
-
- uint64_t Contexts = 0;
- if (isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND) ||
-- isa<ClassTemplateDecl>(ND) || isa<TemplateTemplateParmDecl>(ND)) {
-+ isa<ClassTemplateDecl>(ND) || isa<TemplateTemplateParmDecl>(ND) ||
-+ isa<TypeAliasTemplateDecl>(ND)) {
- // Types can appear in these contexts.
- if (LangOpts.CPlusPlus || !isa<TagDecl>(ND))
- Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel)
-diff --git a/tools/clang/lib/Parse/ParseTemplate.cpp b/tools/clang/lib/Parse/ParseTemplate.cpp
-index 944cd775d5..6aba10e5c7 100644
---- a/tools/clang/lib/Parse/ParseTemplate.cpp
-+++ b/tools/clang/lib/Parse/ParseTemplate.cpp
-@@ -198,9 +198,11 @@ Parser::ParseSingleDeclarationAfterTemplate(
-
- if (Tok.is(tok::kw_using)) {
- // FIXME: We should return the DeclGroup to the caller.
-- ParseUsingDirectiveOrDeclaration(Context, TemplateInfo, DeclEnd,
-- prefixAttrs);
-- return nullptr;
-+ auto usingDeclPtr = ParseUsingDirectiveOrDeclaration(Context, TemplateInfo, DeclEnd,
-+ prefixAttrs);
-+ if (!usingDeclPtr || !usingDeclPtr.get().isSingleDecl())
-+ return nullptr;
-+ return usingDeclPtr.get().getSingleDecl();
- }
-
- // Parse the declaration specifiers, stealing any diagnostics from
-@@ -1023,8 +1025,8 @@ bool Parser::AnnotateTemplateIdToken(TemplateTy Template, TemplateNameKind TNK,
- ? OO_None
- : TemplateName.OperatorFunctionId.Operator;
-
-- TemplateIdAnnotation *TemplateId = TemplateIdAnnotation::Create(
-- SS, TemplateKWLoc, TemplateNameLoc, TemplateII, OpKind, Template, TNK,
-+ TemplateIdAnnotation *TemplateId = TemplateIdAnnotation::Create(
-+ SS, TemplateKWLoc, TemplateNameLoc, TemplateII, OpKind, Template, TNK,
- LAngleLoc, RAngleLoc, TemplateArgs, TemplateIds);
-
- Tok.setAnnotationValue(TemplateId);
-diff --git a/tools/clang/test/Index/code-completion.cpp b/tools/clang/test/Index/code-completion.cpp
-index f52bb10a35..00f158f3d0 100644
---- a/tools/clang/test/Index/code-completion.cpp
-+++ b/tools/clang/test/Index/code-completion.cpp
-@@ -37,6 +37,16 @@ Z::operator int() const {
- return 0;
- }
-
-+template <typename T>
-+struct Foo { T member; };
-+
-+template<typename T> using Bar = Foo<T>;
-+
-+void test_template_alias() {
-+ // RUN: env CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%s:47:1 %s | FileCheck -check-prefix=CHECK-TEMPLATE-ALIAS %s
-+
-+}
-+
- // CHECK-MEMBER: FieldDecl:{ResultType double}{TypedText member}
- // CHECK-MEMBER: FieldDecl:{ResultType int}{Text X::}{TypedText member}
- // CHECK-MEMBER: FieldDecl:{ResultType float}{Text Y::}{TypedText member}
-@@ -88,3 +98,5 @@ Z::operator int() const {
- // CHECK-EXPR-NEXT: Class name
- // CHECK-EXPR-NEXT: Nested name specifier
- // CHECK-EXPR-NEXT: Objective-C interface
-+
-+// CHECK-TEMPLATE-ALIAS: AliasTemplateDecl:{TypedText Bar}{LeftAngle <}{Placeholder typename T}{RightAngle >} (50)
diff --git a/development/qt-creator-llvm/patches/020_D37435_Dont-show-deleted-function-constructor-candidates-for-code-completion.patch b/development/qt-creator-llvm/patches/020_D37435_Dont-show-deleted-function-constructor-candidates-for-code-completion.patch
deleted file mode 100644
index 01a79b27db..0000000000
--- a/development/qt-creator-llvm/patches/020_D37435_Dont-show-deleted-function-constructor-candidates-for-code-completion.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --git a/tools/clang/lib/Sema/SemaCodeComplete.cpp b/tools/clang/lib/Sema/SemaCodeComplete.cpp
-index 4de7d42207..7001849426 100644
---- a/tools/clang/lib/Sema/SemaCodeComplete.cpp
-+++ b/tools/clang/lib/Sema/SemaCodeComplete.cpp
-@@ -4286,9 +4286,12 @@ static void mergeCandidatesWithResults(Sema &SemaRef,
- });
-
- // Add the remaining viable overload candidates as code-completion results.
-- for (auto &Candidate : CandidateSet)
-+ for (auto &Candidate : CandidateSet) {
-+ if (Candidate.Function && Candidate.Function->isDeleted())
-+ continue;
- if (Candidate.Viable)
- Results.push_back(ResultCandidate(Candidate.Function));
-+ }
- }
- }
-
-diff --git a/tools/clang/test/Index/complete-constructor-params.cpp b/tools/clang/test/Index/complete-constructor-params.cpp
-index 6685626a58..949077a214 100644
---- a/tools/clang/test/Index/complete-constructor-params.cpp
-+++ b/tools/clang/test/Index/complete-constructor-params.cpp
-@@ -18,6 +18,20 @@ int main() {
- int(42);
- }
-
-+struct Foo {
-+ Foo() = default;
-+ Foo(const Foo&) = delete;
-+};
-+
-+struct Bar {
-+ Foo f;
-+};
-+
-+void function() {
-+ Bar b1;
-+ Bar b2(b1);
-+}
-+
- // RUN: c-index-test -code-completion-at=%s:11:10 %s | FileCheck -check-prefix=CHECK-CC1 %s
- // CHECK-CC1: OverloadCandidate:{Text S}{LeftParen (}{CurrentParameter const S<int> &}{RightParen )} (1)
- // CHECK-CC1: OverloadCandidate:{Text S}{LeftParen (}{CurrentParameter int}{Comma , }{Placeholder U}{Comma , }{Placeholder U}{RightParen )} (1)
-@@ -138,3 +152,6 @@ int main() {
- // CHECK-CC10-NEXT: Class name
- // CHECK-CC10-NEXT: Nested name specifier
- // CHECK-CC10-NEXT: Objective-C interface
-+
-+// RUN: c-index-test -code-completion-at=%s:32:12 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC11 %s
-+// CHECK-CC11-NOT: OverloadCandidate:{Text Bar}{LeftParen (}{CurrentParameter const Bar &}{RightParen )} (1)
diff --git a/development/qt-creator-llvm/patches/030_D38615_Only-mark-CXCursors-for-explicit-attributes-with-a-type.patch b/development/qt-creator-llvm/patches/030_D38615_Only-mark-CXCursors-for-explicit-attributes-with-a-type.patch
deleted file mode 100644
index 3357f874aa..0000000000
--- a/development/qt-creator-llvm/patches/030_D38615_Only-mark-CXCursors-for-explicit-attributes-with-a-type.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- /dev/null
-+++ b/tools/clang/test/Index/annotate-tokens-unexposed.cpp
-@@ -0,0 +1,20 @@
-+// RUN: c-index-test -test-annotate-tokens=%s:1:1:16:1 %s -target x86_64-pc-windows-msvc | FileCheck %s
-+class Foo
-+{
-+public:
-+ void step(int v);
-+ Foo();
-+};
-+
-+void bar()
-+{
-+ // Introduce a MSInheritanceAttr node on the CXXRecordDecl for Foo. The
-+ // existence of this attribute should not mark all cursors for tokens in
-+ // Foo as UnexposedAttr.
-+ &Foo::step;
-+}
-+
-+Foo::Foo()
-+{}
-+
-+// CHECK-NOT: UnexposedAttr=
---- a/tools/clang/tools/libclang/CIndex.cpp
-+++ b/tools/clang/tools/libclang/CIndex.cpp
-@@ -1772,7 +1772,7 @@
-
- bool CursorVisitor::VisitAttributes(Decl *D) {
- for (const auto *I : D->attrs())
-- if (Visit(MakeCXCursor(I, D, TU)))
-+ if (!I->isImplicit() && Visit(MakeCXCursor(I, D, TU)))
- return true;
-
- return false;
diff --git a/development/qt-creator-llvm/patches/040_D39957_Honor-TerseOutput-for-constructors.patch b/development/qt-creator-llvm/patches/040_D39957_Honor-TerseOutput-for-constructors.patch
deleted file mode 100644
index a2d096cf16..0000000000
--- a/development/qt-creator-llvm/patches/040_D39957_Honor-TerseOutput-for-constructors.patch
+++ /dev/null
@@ -1,266 +0,0 @@
---- a/tools/clang/lib/AST/DeclPrinter.cpp
-+++ b/tools/clang/lib/AST/DeclPrinter.cpp
-@@ -608,66 +608,69 @@
- }
-
- if (CDecl) {
-- bool HasInitializerList = false;
-- for (const auto *BMInitializer : CDecl->inits()) {
-- if (BMInitializer->isInClassMemberInitializer())
-- continue;
--
-- if (!HasInitializerList) {
-- Proto += " : ";
-- Out << Proto;
-- Proto.clear();
-- HasInitializerList = true;
-- } else
-- Out << ", ";
-+ if (!Policy.TerseOutput) {
-+ bool HasInitializerList = false;
-+ for (const auto *BMInitializer : CDecl->inits()) {
-+ if (BMInitializer->isInClassMemberInitializer())
-+ continue;
-
-- if (BMInitializer->isAnyMemberInitializer()) {
-- FieldDecl *FD = BMInitializer->getAnyMember();
-- Out << *FD;
-- } else {
-- Out << QualType(BMInitializer->getBaseClass(), 0).getAsString(Policy);
-- }
--
-- Out << "(";
-- if (!BMInitializer->getInit()) {
-- // Nothing to print
-- } else {
-- Expr *Init = BMInitializer->getInit();
-- if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init))
-- Init = Tmp->getSubExpr();
--
-- Init = Init->IgnoreParens();
--
-- Expr *SimpleInit = nullptr;
-- Expr **Args = nullptr;
-- unsigned NumArgs = 0;
-- if (ParenListExpr *ParenList = dyn_cast<ParenListExpr>(Init)) {
-- Args = ParenList->getExprs();
-- NumArgs = ParenList->getNumExprs();
-- } else if (CXXConstructExpr *Construct
-- = dyn_cast<CXXConstructExpr>(Init)) {
-- Args = Construct->getArgs();
-- NumArgs = Construct->getNumArgs();
-+ if (!HasInitializerList) {
-+ Proto += " : ";
-+ Out << Proto;
-+ Proto.clear();
-+ HasInitializerList = true;
- } else
-- SimpleInit = Init;
--
-- if (SimpleInit)
-- SimpleInit->printPretty(Out, nullptr, Policy, Indentation);
-- else {
-- for (unsigned I = 0; I != NumArgs; ++I) {
-- assert(Args[I] != nullptr && "Expected non-null Expr");
-- if (isa<CXXDefaultArgExpr>(Args[I]))
-- break;
--
-- if (I)
-- Out << ", ";
-- Args[I]->printPretty(Out, nullptr, Policy, Indentation);
-+ Out << ", ";
-+
-+ if (BMInitializer->isAnyMemberInitializer()) {
-+ FieldDecl *FD = BMInitializer->getAnyMember();
-+ Out << *FD;
-+ } else {
-+ Out << QualType(BMInitializer->getBaseClass(), 0)
-+ .getAsString(Policy);
-+ }
-+
-+ Out << "(";
-+ if (!BMInitializer->getInit()) {
-+ // Nothing to print
-+ } else {
-+ Expr *Init = BMInitializer->getInit();
-+ if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init))
-+ Init = Tmp->getSubExpr();
-+
-+ Init = Init->IgnoreParens();
-+
-+ Expr *SimpleInit = nullptr;
-+ Expr **Args = nullptr;
-+ unsigned NumArgs = 0;
-+ if (ParenListExpr *ParenList = dyn_cast<ParenListExpr>(Init)) {
-+ Args = ParenList->getExprs();
-+ NumArgs = ParenList->getNumExprs();
-+ } else if (CXXConstructExpr *Construct =
-+ dyn_cast<CXXConstructExpr>(Init)) {
-+ Args = Construct->getArgs();
-+ NumArgs = Construct->getNumArgs();
-+ } else
-+ SimpleInit = Init;
-+
-+ if (SimpleInit)
-+ SimpleInit->printPretty(Out, nullptr, Policy, Indentation);
-+ else {
-+ for (unsigned I = 0; I != NumArgs; ++I) {
-+ assert(Args[I] != nullptr && "Expected non-null Expr");
-+ if (isa<CXXDefaultArgExpr>(Args[I]))
-+ break;
-+
-+ if (I)
-+ Out << ", ";
-+ Args[I]->printPretty(Out, nullptr, Policy, Indentation);
-+ }
- }
- }
-+ Out << ")";
-+ if (BMInitializer->isPackExpansion())
-+ Out << "...";
- }
-- Out << ")";
-- if (BMInitializer->isPackExpansion())
-- Out << "...";
- }
- } else if (!ConversionDecl && !isa<CXXDestructorDecl>(D)) {
- if (FT && FT->hasTrailingReturn()) {
-@@ -712,7 +715,7 @@
- if (D->getBody())
- D->getBody()->printPretty(Out, nullptr, SubPolicy, Indentation);
- } else {
-- if (isa<CXXConstructorDecl>(*D))
-+ if (!Policy.TerseOutput && isa<CXXConstructorDecl>(*D))
- Out << " {}";
- }
- }
---- a/tools/clang/test/Index/comment-cplus-decls.cpp
-+++ b/tools/clang/test/Index/comment-cplus-decls.cpp
-@@ -46,7 +46,7 @@
- data* reserved;
- };
- // CHECK: <Declaration>class Test {}</Declaration>
--// CHECK: <Declaration>Test() : reserved(new Test::data()) {}</Declaration>
-+// CHECK: <Declaration>Test()</Declaration>
- // CHECK: <Declaration>unsigned int getID() const</Declaration>
- // CHECK: <Declaration>~Test(){{( noexcept)?}}</Declaration>
- // CHECK: <Declaration>Test::data *reserved</Declaration>
---- a/tools/clang/unittests/AST/DeclPrinterTest.cpp
-+++ b/tools/clang/unittests/AST/DeclPrinterTest.cpp
-@@ -31,18 +31,25 @@
-
- namespace {
-
--void PrintDecl(raw_ostream &Out, const ASTContext *Context, const Decl *D) {
-+using PrintingPolicyModifier = void (*)(PrintingPolicy &policy);
-+
-+void PrintDecl(raw_ostream &Out, const ASTContext *Context, const Decl *D,
-+ PrintingPolicyModifier PolicyModifier) {
- PrintingPolicy Policy = Context->getPrintingPolicy();
- Policy.TerseOutput = true;
-+ if (PolicyModifier)
-+ PolicyModifier(Policy);
- D->print(Out, Policy, /*Indentation*/ 0, /*PrintInstantiation*/ false);
- }
-
- class PrintMatch : public MatchFinder::MatchCallback {
- SmallString<1024> Printed;
- unsigned NumFoundDecls;
-+ PrintingPolicyModifier PolicyModifier;
-
- public:
-- PrintMatch() : NumFoundDecls(0) {}
-+ PrintMatch(PrintingPolicyModifier PolicyModifier)
-+ : NumFoundDecls(0), PolicyModifier(PolicyModifier) {}
-
- void run(const MatchFinder::MatchResult &Result) override {
- const Decl *D = Result.Nodes.getNodeAs<Decl>("id");
-@@ -53,7 +60,7 @@
- return;
-
- llvm::raw_svector_ostream Out(Printed);
-- PrintDecl(Out, Result.Context, D);
-+ PrintDecl(Out, Result.Context, D, PolicyModifier);
- }
-
- StringRef getPrinted() const {
-@@ -65,13 +72,12 @@
- }
- };
-
--::testing::AssertionResult PrintedDeclMatches(
-- StringRef Code,
-- const std::vector<std::string> &Args,
-- const DeclarationMatcher &NodeMatch,
-- StringRef ExpectedPrinted,
-- StringRef FileName) {
-- PrintMatch Printer;
-+::testing::AssertionResult
-+PrintedDeclMatches(StringRef Code, const std::vector<std::string> &Args,
-+ const DeclarationMatcher &NodeMatch,
-+ StringRef ExpectedPrinted, StringRef FileName,
-+ PrintingPolicyModifier PolicyModifier = nullptr) {
-+ PrintMatch Printer(PolicyModifier);
- MatchFinder Finder;
- Finder.addMatcher(NodeMatch, &Printer);
- std::unique_ptr<FrontendActionFactory> Factory(
-@@ -109,16 +115,17 @@
- "input.cc");
- }
-
--::testing::AssertionResult PrintedDeclCXX98Matches(
-- StringRef Code,
-- const DeclarationMatcher &NodeMatch,
-- StringRef ExpectedPrinted) {
-+::testing::AssertionResult
-+PrintedDeclCXX98Matches(StringRef Code, const DeclarationMatcher &NodeMatch,
-+ StringRef ExpectedPrinted,
-+ PrintingPolicyModifier PolicyModifier = nullptr) {
- std::vector<std::string> Args(1, "-std=c++98");
- return PrintedDeclMatches(Code,
- Args,
- NodeMatch,
- ExpectedPrinted,
-- "input.cc");
-+ "input.cc",
-+ PolicyModifier);
- }
-
- ::testing::AssertionResult PrintedDeclCXX11Matches(StringRef Code,
-@@ -478,6 +485,27 @@
- "A(const A &a, int = 0)"));
- }
-
-+TEST(DeclPrinter, TestCXXConstructorDeclWithMemberInitializer) {
-+ ASSERT_TRUE(PrintedDeclCXX98Matches(
-+ "struct A {"
-+ " int m;"
-+ " A() : m(2) {}"
-+ "};",
-+ cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
-+ "A()"));
-+}
-+
-+TEST(DeclPrinter, TestCXXConstructorDeclWithMemberInitializer_NoTerseOutput) {
-+ ASSERT_TRUE(PrintedDeclCXX98Matches(
-+ "struct A {"
-+ " int m;"
-+ " A() : m(2) {}"
-+ "};",
-+ cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
-+ "A() : m(2) {\n}\n",
-+ [](PrintingPolicy &Policy){ Policy.TerseOutput = false; }));
-+}
-+
- TEST(DeclPrinter, TestCXXConstructorDecl5) {
- ASSERT_TRUE(PrintedDeclCXX11Matches(
- "struct A {"
-@@ -540,7 +568,7 @@
- " A(T&&... ts) : T(ts)... {}"
- "};",
- cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
-- "A<T...>(T &&...ts) : T(ts)... {}"));
-+ "A<T...>(T &&...ts)"));
- }
-
- TEST(DeclPrinter, TestCXXDestructorDecl1) {
diff --git a/development/qt-creator-llvm/patches/050_D40027_Fix-cursors-for-in-class-initializer-of-field-declarations.patch b/development/qt-creator-llvm/patches/050_D40027_Fix-cursors-for-in-class-initializer-of-field-declarations.patch
deleted file mode 100644
index 0e11237a5d..0000000000
--- a/development/qt-creator-llvm/patches/050_D40027_Fix-cursors-for-in-class-initializer-of-field-declarations.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/tools/clang/test/Index/get-cursor.cpp
-+++ b/tools/clang/test/Index/get-cursor.cpp
-@@ -152,6 +152,11 @@
- void f_dynamic_noexcept() throw(int);
- void f_dynamic_noexcept_any() throw(...);
-
-+enum EnumType { Enumerator };
-+struct Z {
-+ EnumType e = Enumerator;
-+};
-+
- // RUN: c-index-test -cursor-at=%s:6:4 %s | FileCheck -check-prefix=CHECK-COMPLETION-1 %s
- // CHECK-COMPLETION-1: CXXConstructor=X:6:3
- // CHECK-COMPLETION-1-NEXT: Completion string: {TypedText X}{LeftParen (}{Placeholder int}{Comma , }{Placeholder int}{RightParen )}
-@@ -275,3 +280,6 @@
- // CHECK-FORRANGE: 141:18 DeclRefExpr=coll:140:20 Extent=[141:18 - 141:22] Spelling=coll ([141:18 - 141:22])
- // CHECK-FORRANGE: 142:11 DeclRefExpr=lv:141:13 Extent=[142:11 - 142:13] Spelling=lv ([142:11 - 142:13])
-
-+// RUN: c-index-test -cursor-at=%s:157:18 -std=c++11 %s | FileCheck -check-prefix=CHECK-INCLASSINITIALIZER %s
-+// CHECK-INCLASSINITIALIZER: 157:18 DeclRefExpr=Enumerator:155:17 Extent=[157:18 - 157:28] Spelling=Enumerator ([157:18 - 157:28])
-+
---- a/tools/clang/tools/libclang/CIndex.cpp
-+++ b/tools/clang/tools/libclang/CIndex.cpp
-@@ -877,6 +877,9 @@
- if (Expr *BitWidth = D->getBitWidth())
- return Visit(MakeCXCursor(BitWidth, StmtParent, TU, RegionOfInterest));
-
-+ if (Expr *Init = D->getInClassInitializer())
-+ return Visit(MakeCXCursor(Init, StmtParent, TU, RegionOfInterest));
-+
- return false;
- }
-
diff --git a/development/qt-creator-llvm/patches/060_D40072_Support-querying-whether-a-declaration-is-invalid.patch b/development/qt-creator-llvm/patches/060_D40072_Support-querying-whether-a-declaration-is-invalid.patch
deleted file mode 100644
index 992e1c88f4..0000000000
--- a/development/qt-creator-llvm/patches/060_D40072_Support-querying-whether-a-declaration-is-invalid.patch
+++ /dev/null
@@ -1,154 +0,0 @@
-diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
-index 3b5ea9fa53..f2397d1b63 100644
---- a/tools/clang/include/clang-c/Index.h
-+++ b/tools/clang/include/clang-c/Index.h
-@@ -33,6 +33,7 @@
- */
- #define CINDEX_VERSION_MAJOR 0
- #define CINDEX_VERSION_MINOR 43
-+#define CINDEX_VERSION_HAS_ISINVALIDECL_BACKPORTED
-
- #define CINDEX_VERSION_ENCODE(major, minor) ( \
- ((major) * 10000) \
-@@ -2616,6 +2617,16 @@ CINDEX_LINKAGE enum CXCursorKind clang_getCursorKind(CXCursor);
- */
- CINDEX_LINKAGE unsigned clang_isDeclaration(enum CXCursorKind);
-
-+/**
-+ * \brief Determine whether the given declaration is invalid.
-+ *
-+ * A declaration is invalid if it could not be parsed successfully.
-+ *
-+ * \returns non-zero if the cursor represents a declaration and it is
-+ * invalid, otherwise NULL.
-+ */
-+CINDEX_LINKAGE unsigned clang_isInvalidDeclaration(CXCursor);
-+
- /**
- * \brief Determine whether the given cursor kind represents a simple
- * reference.
-diff --git a/test/Index/opencl-types.cl b/test/Index/opencl-types.cl
-index fe0042aa20..d71893a220 100644
---- a/tools/clang/test/Index/opencl-types.cl
-+++ b/tools/clang/test/Index/opencl-types.cl
-@@ -16,11 +16,11 @@ void kernel testFloatTypes() {
- double4 vectorDouble;
- }
-
--// CHECK: VarDecl=scalarHalf:11:8 (Definition) [type=half] [typekind=Half] [isPOD=1]
-+// CHECK: VarDecl=scalarHalf:11:8 (Definition){{( \(invalid\))?}} [type=half] [typekind=Half] [isPOD=1]
- // CHECK: VarDecl=vectorHalf:12:9 (Definition) [type=half4] [typekind=Typedef] [canonicaltype=half __attribute__((ext_vector_type(4)))] [canonicaltypekind=Unexposed] [isPOD=1]
- // CHECK: VarDecl=scalarFloat:13:9 (Definition) [type=float] [typekind=Float] [isPOD=1]
- // CHECK: VarDecl=vectorFloat:14:10 (Definition) [type=float4] [typekind=Typedef] [canonicaltype=float __attribute__((ext_vector_type(4)))] [canonicaltypekind=Unexposed] [isPOD=1]
--// CHECK: VarDecl=scalarDouble:15:10 (Definition) [type=double] [typekind=Double] [isPOD=1]
-+// CHECK: VarDecl=scalarDouble:15:10 (Definition){{( \(invalid\))?}} [type=double] [typekind=Double] [isPOD=1]
- // CHECK: VarDecl=vectorDouble:16:11 (Definition) [type=double4] [typekind=Typedef] [canonicaltype=double __attribute__((ext_vector_type(4)))] [canonicaltypekind=Unexposed] [isPOD=1]
-
- #pragma OPENCL EXTENSION cl_khr_gl_msaa_sharing : enable
-@@ -45,10 +45,10 @@ void kernel OCLImage3dROTest(read_only image3d_t scalarOCLImage3dRO);
- // CHECK: ParmDecl=scalarOCLImage2dArrayRO:32:61 (Definition) [type=__read_only image2d_array_t] [typekind=OCLImage2dArrayRO] [isPOD=1]
- // CHECK: ParmDecl=scalarOCLImage2dDepthRO:33:61 (Definition) [type=__read_only image2d_depth_t] [typekind=OCLImage2dDepthRO] [isPOD=1]
- // CHECK: ParmDecl=scalarOCLImage2dArrayDepthRO:34:72 (Definition) [type=__read_only image2d_array_depth_t] [typekind=OCLImage2dArrayDepthRO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dMSAARO:35:59 (Definition) [type=__read_only image2d_msaa_t] [typekind=OCLImage2dMSAARO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dArrayMSAARO:36:70 (Definition) [type=__read_only image2d_array_msaa_t] [typekind=OCLImage2dArrayMSAARO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dMSAADepthRO:37:70 (Definition) [type=__read_only image2d_msaa_depth_t] [typekind=OCLImage2dMSAADepthRO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dArrayMSAADepthRO:38:81 (Definition) [type=__read_only image2d_array_msaa_depth_t] [typekind=OCLImage2dArrayMSAADepthRO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dMSAARO:35:59 (Definition){{( \(invalid\))?}} [type=__read_only image2d_msaa_t] [typekind=OCLImage2dMSAARO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dArrayMSAARO:36:70 (Definition){{( \(invalid\))?}} [type=__read_only image2d_array_msaa_t] [typekind=OCLImage2dArrayMSAARO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dMSAADepthRO:37:70 (Definition){{( \(invalid\))?}} [type=__read_only image2d_msaa_depth_t] [typekind=OCLImage2dMSAADepthRO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dArrayMSAADepthRO:38:81 (Definition){{( \(invalid\))?}} [type=__read_only image2d_array_msaa_depth_t] [typekind=OCLImage2dArrayMSAADepthRO] [isPOD=1]
- // CHECK: ParmDecl=scalarOCLImage3dRO:39:50 (Definition) [type=__read_only image3d_t] [typekind=OCLImage3dRO] [isPOD=1]
-
- void kernel OCLImage1dWOTest(write_only image1d_t scalarOCLImage1dWO);
-@@ -71,11 +71,11 @@ void kernel OCLImage3dWOTest(write_only image3d_t scalarOCLImage3dWO);
- // CHECK: ParmDecl=scalarOCLImage2dArrayWO:58:62 (Definition) [type=__write_only image2d_array_t] [typekind=OCLImage2dArrayWO] [isPOD=1]
- // CHECK: ParmDecl=scalarOCLImage2dDepthWO:59:62 (Definition) [type=__write_only image2d_depth_t] [typekind=OCLImage2dDepthWO] [isPOD=1]
- // CHECK: ParmDecl=scalarOCLImage2dArrayDepthWO:60:73 (Definition) [type=__write_only image2d_array_depth_t] [typekind=OCLImage2dArrayDepthWO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dMSAAWO:61:60 (Definition) [type=__write_only image2d_msaa_t] [typekind=OCLImage2dMSAAWO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dArrayMSAAWO:62:71 (Definition) [type=__write_only image2d_array_msaa_t] [typekind=OCLImage2dArrayMSAAWO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dMSAADepthWO:63:71 (Definition) [type=__write_only image2d_msaa_depth_t] [typekind=OCLImage2dMSAADepthWO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dArrayMSAADepthWO:64:82 (Definition) [type=__write_only image2d_array_msaa_depth_t] [typekind=OCLImage2dArrayMSAADepthWO] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage3dWO:65:51 (Definition) [type=__write_only image3d_t] [typekind=OCLImage3dWO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dMSAAWO:61:60 (Definition){{( \(invalid\))?}} [type=__write_only image2d_msaa_t] [typekind=OCLImage2dMSAAWO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dArrayMSAAWO:62:71 (Definition){{( \(invalid\))?}} [type=__write_only image2d_array_msaa_t] [typekind=OCLImage2dArrayMSAAWO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dMSAADepthWO:63:71 (Definition){{( \(invalid\))?}} [type=__write_only image2d_msaa_depth_t] [typekind=OCLImage2dMSAADepthWO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dArrayMSAADepthWO:64:82 (Definition){{( \(invalid\))?}} [type=__write_only image2d_array_msaa_depth_t] [typekind=OCLImage2dArrayMSAADepthWO] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage3dWO:65:51 (Definition){{( \(invalid\))?}} [type=__write_only image3d_t] [typekind=OCLImage3dWO] [isPOD=1]
-
- void kernel OCLImage1dRWTest(read_write image1d_t scalarOCLImage1dRW);
- void kernel OCLImage1dArrayRWTest(read_write image1d_array_t scalarOCLImage1dArrayRW);
-@@ -97,10 +97,10 @@ void kernel OCLImage3dRWTest(read_write image3d_t scalarOCLImage3dRW);
- // CHECK: ParmDecl=scalarOCLImage2dArrayRW:84:62 (Definition) [type=__read_write image2d_array_t] [typekind=OCLImage2dArrayRW] [isPOD=1]
- // CHECK: ParmDecl=scalarOCLImage2dDepthRW:85:62 (Definition) [type=__read_write image2d_depth_t] [typekind=OCLImage2dDepthRW] [isPOD=1]
- // CHECK: ParmDecl=scalarOCLImage2dArrayDepthRW:86:73 (Definition) [type=__read_write image2d_array_depth_t] [typekind=OCLImage2dArrayDepthRW] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dMSAARW:87:60 (Definition) [type=__read_write image2d_msaa_t] [typekind=OCLImage2dMSAARW] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dArrayMSAARW:88:71 (Definition) [type=__read_write image2d_array_msaa_t] [typekind=OCLImage2dArrayMSAARW] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dMSAADepthRW:89:71 (Definition) [type=__read_write image2d_msaa_depth_t] [typekind=OCLImage2dMSAADepthRW] [isPOD=1]
--// CHECK: ParmDecl=scalarOCLImage2dArrayMSAADepthRW:90:82 (Definition) [type=__read_write image2d_array_msaa_depth_t] [typekind=OCLImage2dArrayMSAADepthRW] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dMSAARW:87:60 (Definition){{( \(invalid\))?}} [type=__read_write image2d_msaa_t] [typekind=OCLImage2dMSAARW] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dArrayMSAARW:88:71 (Definition){{( \(invalid\))?}} [type=__read_write image2d_array_msaa_t] [typekind=OCLImage2dArrayMSAARW] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dMSAADepthRW:89:71 (Definition){{( \(invalid\))?}} [type=__read_write image2d_msaa_depth_t] [typekind=OCLImage2dMSAADepthRW] [isPOD=1]
-+// CHECK: ParmDecl=scalarOCLImage2dArrayMSAADepthRW:90:82 (Definition){{( \(invalid\))?}} [type=__read_write image2d_array_msaa_depth_t] [typekind=OCLImage2dArrayMSAADepthRW] [isPOD=1]
- // CHECK: ParmDecl=scalarOCLImage3dRW:91:51 (Definition) [type=__read_write image3d_t] [typekind=OCLImage3dRW] [isPOD=1]
-
- void kernel intPipeTestRO(read_only pipe int scalarPipe);
-diff --git a/test/Index/print-type-size.cpp b/test/Index/print-type-size.cpp
-index 45de93f308..1ea5346273 100644
---- a/tools/clang/test/Index/print-type-size.cpp
-+++ b/tools/clang/test/Index/print-type-size.cpp
-@@ -4,8 +4,8 @@
-
- namespace basic {
-
--// CHECK64: VarDecl=v:[[@LINE+2]]:6 (Definition) [type=void] [typekind=Void]
--// CHECK32: VarDecl=v:[[@LINE+1]]:6 (Definition) [type=void] [typekind=Void]
-+// CHECK64: VarDecl=v:[[@LINE+2]]:6 (Definition) (invalid) [type=void] [typekind=Void]
-+// CHECK32: VarDecl=v:[[@LINE+1]]:6 (Definition) (invalid) [type=void] [typekind=Void]
- void v;
-
- // CHECK64: VarDecl=v1:[[@LINE+2]]:7 (Definition) [type=void *] [typekind=Pointer] [sizeof=8] [alignof=8]
-diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
-index cf3581e259..759ed449a4 100644
---- a/tools/clang/tools/c-index-test/c-index-test.c
-+++ b/tools/clang/tools/c-index-test/c-index-test.c
-@@ -810,6 +810,8 @@ static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) {
- printf(" (variadic)");
- if (clang_Cursor_isObjCOptional(Cursor))
- printf(" (@optional)");
-+ if (clang_isInvalidDeclaration(Cursor))
-+ printf(" (invalid)");
-
- switch (clang_getCursorExceptionSpecificationType(Cursor))
- {
-diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
-index 9ba4d5bf30..584de42e7c 100644
---- a/tools/clang/tools/libclang/CIndex.cpp
-+++ b/tools/clang/tools/libclang/CIndex.cpp
-@@ -5346,6 +5346,15 @@ unsigned clang_isDeclaration(enum CXCursorKind K) {
- (K >= CXCursor_FirstExtraDecl && K <= CXCursor_LastExtraDecl);
- }
-
-+unsigned clang_isInvalidDeclaration(CXCursor C) {
-+ if (clang_isDeclaration(C.kind)) {
-+ if (const Decl *D = getCursorDecl(C))
-+ return D->isInvalidDecl();
-+ }
-+
-+ return 0;
-+}
-+
- unsigned clang_isReference(enum CXCursorKind K) {
- return K >= CXCursor_FirstRef && K <= CXCursor_LastRef;
- }
-diff --git a/tools/libclang/libclang.exports b/tools/libclang/libclang.exports
-index e0d178a529..7192baab6a 100644
---- a/tools/clang/tools/libclang/libclang.exports
-+++ b/tools/clang/tools/libclang/libclang.exports
-@@ -286,6 +286,7 @@ clang_isAttribute
- clang_isConstQualifiedType
- clang_isCursorDefinition
- clang_isDeclaration
-+clang_isInvalidDeclaration
- clang_isExpression
- clang_isFileMultipleIncludeGuarded
- clang_isFunctionTypeVariadic
diff --git a/development/qt-creator-llvm/patches/070_D40561_Fix-cursors-for-functions-with-trailing-return-type.patch b/development/qt-creator-llvm/patches/070_D40561_Fix-cursors-for-functions-with-trailing-return-type.patch
deleted file mode 100644
index 22084c5729..0000000000
--- a/development/qt-creator-llvm/patches/070_D40561_Fix-cursors-for-functions-with-trailing-return-type.patch
+++ /dev/null
@@ -1,79 +0,0 @@
---- a/tools/clang/test/Index/annotate-tokens.cpp
-+++ b/tools/clang/test/Index/annotate-tokens.cpp
-@@ -37,7 +37,9 @@ class C {
- ~C();
- };
-
--// RUN: c-index-test -test-annotate-tokens=%s:1:1:38:1 %s -fno-delayed-template-parsing | FileCheck %s
-+auto test5(X) -> X;
-+
-+// RUN: c-index-test -test-annotate-tokens=%s:1:1:41:1 %s -std=c++14 -fno-delayed-template-parsing | FileCheck %s
- // CHECK: Keyword: "struct" [1:1 - 1:7] StructDecl=bonk:1:8 (Definition)
- // CHECK: Identifier: "bonk" [1:8 - 1:12] StructDecl=bonk:1:8 (Definition)
- // CHECK: Punctuation: "{" [1:13 - 1:14] StructDecl=bonk:1:8 (Definition)
-@@ -184,6 +186,14 @@ class C {
- // CHECK: Punctuation: "}" [29:22 - 29:23] CompoundStmt=
- // CHECK: Punctuation: "~" [37:3 - 37:4] CXXDestructor=~C:37:3
- // CHECK: Identifier: "C" [37:4 - 37:5] CXXDestructor=~C:37:3
-+// CHECK: Keyword: "auto" [40:1 - 40:5] FunctionDecl=test5:40:6
-+// CHECK: Identifier: "test5" [40:6 - 40:11] FunctionDecl=test5:40:6
-+// CHECK: Punctuation: "(" [40:11 - 40:12] FunctionDecl=test5:40:6
-+// CHECK: Identifier: "X" [40:12 - 40:13] TypeRef=struct X:7:8
-+// CHECK: Punctuation: ")" [40:13 - 40:14] FunctionDecl=test5:40:6
-+// CHECK: Punctuation: "->" [40:15 - 40:17] FunctionDecl=test5:40:6
-+// CHECK: Identifier: "X" [40:18 - 40:19] TypeRef=struct X:7:8
-+// CHECK: Punctuation: ";" [40:19 - 40:20]
-
- // RUN: env LIBCLANG_DISABLE_CRASH_RECOVERY=1 c-index-test -test-annotate-tokens=%s:32:1:32:13 %s | FileCheck %s -check-prefix=CHECK2
- // CHECK2: Keyword: "if" [32:3 - 32:5] IfStmt=
---- a/tools/clang/tools/libclang/CIndex.cpp
-+++ b/tools/clang/tools/libclang/CIndex.cpp
-@@ -783,6 +783,16 @@ bool CursorVisitor::VisitDeclaratorDecl(DeclaratorDecl *DD) {
- return false;
- }
-
-+static bool HasTrailingReturnType(FunctionDecl *ND) {
-+ const QualType Ty = ND->getType();
-+ if (const FunctionType *AFT = Ty->getAs<FunctionType>()) {
-+ if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(AFT))
-+ return FT->hasTrailingReturn();
-+ }
-+
-+ return false;
-+}
-+
- /// \brief Compare two base or member initializers based on their source order.
- static int CompareCXXCtorInitializers(CXXCtorInitializer *const *X,
- CXXCtorInitializer *const *Y) {
-@@ -802,14 +812,16 @@ bool CursorVisitor::VisitFunctionDecl(FunctionDecl *ND) {
- // written. This requires a bit of work.
- TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens();
- FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>();
-+ const bool HasTrailingRT = HasTrailingReturnType(ND);
-
- // If we have a function declared directly (without the use of a typedef),
- // visit just the return type. Otherwise, just visit the function's type
- // now.
-- if ((FTL && !isa<CXXConversionDecl>(ND) && Visit(FTL.getReturnLoc())) ||
-+ if ((FTL && !isa<CXXConversionDecl>(ND) && !HasTrailingRT &&
-+ Visit(FTL.getReturnLoc())) ||
- (!FTL && Visit(TL)))
- return true;
--
-+
- // Visit the nested-name-specifier, if present.
- if (NestedNameSpecifierLoc QualifierLoc = ND->getQualifierLoc())
- if (VisitNestedNameSpecifierLoc(QualifierLoc))
-@@ -825,7 +837,11 @@ bool CursorVisitor::VisitFunctionDecl(FunctionDecl *ND) {
- // Visit the function parameters, if we have a function type.
- if (FTL && VisitFunctionTypeLoc(FTL, true))
- return true;
--
-+
-+ // Visit the function's trailing return type.
-+ if (FTL && HasTrailingRT && Visit(FTL.getReturnLoc()))
-+ return true;
-+
- // FIXME: Attributes?
- }
-
diff --git a/development/qt-creator-llvm/patches/080_D40643_Add-function-to-get-the-buffer-for-a-file.patch b/development/qt-creator-llvm/patches/080_D40643_Add-function-to-get-the-buffer-for-a-file.patch
deleted file mode 100644
index 998288dfe9..0000000000
--- a/development/qt-creator-llvm/patches/080_D40643_Add-function-to-get-the-buffer-for-a-file.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
-index f2397d1b63..0f4ade266c 100644
---- a/tools/clang/include/clang-c/Index.h
-+++ b/tools/clang/include/clang-c/Index.h
-@@ -34,6 +34,7 @@
- #define CINDEX_VERSION_MAJOR 0
- #define CINDEX_VERSION_MINOR 43
- #define CINDEX_VERSION_HAS_ISINVALIDECL_BACKPORTED
-+#define CINDEX_VERSION_HAS_GETFILECONTENTS_BACKPORTED
-
- #define CINDEX_VERSION_ENCODE(major, minor) ( \
- ((major) * 10000) \
-@@ -394,6 +395,21 @@ clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu, CXFile file);
- CINDEX_LINKAGE CXFile clang_getFile(CXTranslationUnit tu,
- const char *file_name);
-
-+/**
-+ * \brief Retrieve the buffer associated with the given file.
-+ *
-+ * \param tu the translation unit
-+ *
-+ * \param file the file for which to retrieve the buffer.
-+ *
-+ * \param size [out] if non-NULL, will be set to the size of the buffer.
-+ *
-+ * \returns a pointer to the buffer in memory that holds the contents of
-+ * \p file, or a NULL pointer when the file is not loaded.
-+ */
-+CINDEX_LINKAGE const char *clang_getFileContents(CXTranslationUnit tu,
-+ CXFile file, size_t *size);
-+
- /**
- * \brief Returns non-zero if the \c file1 and \c file2 point to the same file,
- * or they are both NULL.
-diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
-index 13599e1910..7902e8a030 100644
---- a/tools/clang/tools/libclang/CIndex.cpp
-+++ b/tools/clang/tools/libclang/CIndex.cpp
-@@ -4148,6 +4148,27 @@ CXFile clang_getFile(CXTranslationUnit TU, const char *file_name) {
- return const_cast<FileEntry *>(FMgr.getFile(file_name));
- }
-
-+const char *clang_getFileContents(CXTranslationUnit TU, CXFile file,
-+ size_t *size) {
-+ if (isNotUsableTU(TU)) {
-+ LOG_BAD_TU(TU);
-+ return nullptr;
-+ }
-+
-+ const SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager();
-+ FileID fid = SM.translateFile(static_cast<FileEntry *>(file));
-+ bool Invalid = true;
-+ llvm::MemoryBuffer *buf = SM.getBuffer(fid, &Invalid);
-+ if (Invalid) {
-+ if (size)
-+ *size = 0;
-+ return nullptr;
-+ }
-+ if (size)
-+ *size = buf->getBufferSize();
-+ return buf->getBufferStart();
-+}
-+
- unsigned clang_isFileMultipleIncludeGuarded(CXTranslationUnit TU,
- CXFile file) {
- if (isNotUsableTU(TU)) {
-diff --git a/tools/libclang/libclang.exports b/tools/libclang/libclang.exports
-index 7192baab6a..c788abb881 100644
---- a/tools/clang/tools/libclang/libclang.exports
-+++ b/tools/clang/tools/libclang/libclang.exports
-@@ -216,6 +216,7 @@ clang_getExceptionSpecificationType
- clang_getFieldDeclBitWidth
- clang_getExpansionLocation
- clang_getFile
-+clang_getFileContents
- clang_getFileLocation
- clang_getFileName
- clang_getFileTime
diff --git a/development/qt-creator-llvm/patches/090_D40746_Correctly-handle-line-table-entries-without-filenames-during-AST-serialization.patch b/development/qt-creator-llvm/patches/090_D40746_Correctly-handle-line-table-entries-without-filenames-during-AST-serialization.patch
deleted file mode 100644
index c165c69fe5..0000000000
--- a/development/qt-creator-llvm/patches/090_D40746_Correctly-handle-line-table-entries-without-filenames-during-AST-serialization.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/tools/clang/lib/Serialization/ASTReader.cpp
-+++ b/tools/clang/lib/Serialization/ASTReader.cpp
-@@ -1220,6 +1220,7 @@
-
- // Parse the file names
- std::map<int, int> FileIDs;
-+ FileIDs[-1] = -1; // For unspecified filenames.
- for (unsigned I = 0; Record[Idx]; ++I) {
- // Extract the file name
- auto Filename = ReadPath(F, Record, Idx);
---- a/tools/clang/lib/Serialization/ASTWriter.cpp
-+++ b/tools/clang/lib/Serialization/ASTWriter.cpp
-@@ -2363,12 +2363,13 @@
-
- // Emit the needed file names.
- llvm::DenseMap<int, int> FilenameMap;
-+ FilenameMap[-1] = -1; // For unspecified filenames.
- for (const auto &L : LineTable) {
- if (L.first.ID < 0)
- continue;
- for (auto &LE : L.second) {
- if (FilenameMap.insert(std::make_pair(LE.FilenameID,
-- FilenameMap.size())).second)
-+ FilenameMap.size() - 1)).second)
- AddPath(LineTable.getFilename(LE.FilenameID), Record);
- }
- }
---- a/tools/clang/test/PCH/line-directive-nofilename.h
-+++ b/tools/clang/test/PCH/line-directive-nofilename.h
-@@ -0,0 +1,5 @@
-+#line 42
-+int foo; // This should appear as at line-directive-nofilename.h:42
-+
-+#line 100 "foobar.h"
-+int bar; // This should appear as at foobar.h:100
---- a/tools/clang/test/PCH/line-directive-nofilename.c
-+++ b/tools/clang/test/PCH/line-directive-nofilename.c
-@@ -0,0 +1,9 @@
-+// RUN: %clang_cc1 -emit-pch -o %t %S/line-directive-nofilename.h
-+// RUN: not %clang_cc1 -include-pch %t -fsyntax-only %s 2>&1 | FileCheck %s
-+
-+// This causes an "error: redefinition" diagnostic. The notes will have the
-+// locations of the declarations from the PCH file.
-+double foo, bar;
-+
-+// CHECK: line-directive-nofilename.h:42:5: note: previous definition is here
-+// CHECK: foobar.h:100:5: note: previous definition is here
diff --git a/development/qt-creator-llvm/patches/100_D40841_Fix-a-crash-on-C++17-AST-for-non-trivial-construction-into-a-trivial-brace-initialize.patch b/development/qt-creator-llvm/patches/100_D40841_Fix-a-crash-on-C++17-AST-for-non-trivial-construction-into-a-trivial-brace-initialize.patch
deleted file mode 100644
index e759e4a9f5..0000000000
--- a/development/qt-creator-llvm/patches/100_D40841_Fix-a-crash-on-C++17-AST-for-non-trivial-construction-into-a-trivial-brace-initialize.patch
+++ /dev/null
@@ -1,117 +0,0 @@
---- a/tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
-+++ b/tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
-@@ -22,6 +22,7 @@
- //===----------------------------------------------------------------------===//
-
- #include "ClangSACheckers.h"
-+#include "clang/AST/ParentMap.h"
- #include "clang/AST/RecursiveASTVisitor.h"
- #include "clang/Basic/Builtins.h"
- #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
-@@ -262,8 +263,19 @@
- if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) {
- // We just finished a base constructor. Now we can use the subclass's
- // type when resolving virtual calls.
-- const Decl *D = C.getLocationContext()->getDecl();
-- recordFixedType(Target, cast<CXXConstructorDecl>(D), C);
-+ const LocationContext *LCtx = C.getLocationContext();
-+
-+ // FIXME: In C++17 classes with non-virtual bases may be treated as
-+ // aggregates, and in such case no top-frame constructor will be called.
-+ // Figure out if we need to do anything in this case.
-+ // FIXME: Instead of relying on the ParentMap, we should have the
-+ // trigger-statement (InitListExpr in this case) available in this
-+ // callback, ideally as part of CallEvent.
-+ if (dyn_cast_or_null<InitListExpr>(
-+ LCtx->getParentMap().getParent(Ctor->getOriginExpr())))
-+ return;
-+
-+ recordFixedType(Target, cast<CXXConstructorDecl>(LCtx->getDecl()), C);
- }
- return;
- }
---- a/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
-+++ b/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
-@@ -14,6 +14,7 @@
- #include "clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h"
- #include "clang/AST/DeclCXX.h"
- #include "clang/AST/StmtCXX.h"
-+#include "clang/AST/ParentMap.h"
- #include "clang/Basic/PrettyStackTrace.h"
- #include "clang/StaticAnalyzer/Core/CheckerManager.h"
- #include "clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h"
-@@ -267,6 +268,23 @@
- }
- // FALLTHROUGH
- case CXXConstructExpr::CK_NonVirtualBase:
-+ // In C++17, classes with non-virtual bases may be aggregates, so they would
-+ // be initialized as aggregates without a constructor call, so we may have
-+ // a base class constructed directly into an initializer list without
-+ // having the derived-class constructor call on the previous stack frame.
-+ // Initializer lists may be nested into more initializer lists that
-+ // correspond to surrounding aggregate initializations.
-+ // FIXME: For now this code essentially bails out. We need to find the
-+ // correct target region and set it.
-+ // FIXME: Instead of relying on the ParentMap, we should have the
-+ // trigger-statement (InitListExpr in this case) passed down from CFG or
-+ // otherwise always available during construction.
-+ if (dyn_cast_or_null<InitListExpr>(LCtx->getParentMap().getParent(CE))) {
-+ MemRegionManager &MRMgr = getSValBuilder().getRegionManager();
-+ Target = MRMgr.getCXXTempObjectRegion(CE, LCtx);
-+ break;
-+ }
-+ // FALLTHROUGH
- case CXXConstructExpr::CK_Delegating: {
- const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl());
- Loc ThisPtr = getSValBuilder().getCXXThis(CurCtor,
---- a/tools/clang/test/Analysis/initializer.cpp
-+++ a/tools/clang/test/Analysis/initializer.cpp
-@@ -1,4 +1,5 @@
- // RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=constructors -std=c++11 -verify %s
-+// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-inlining=constructors -std=c++17 -DCPLUSPLUS17 -verify %s
-
- void clang_analyzer_eval(bool);
-
-@@ -224,3 +225,42 @@
- const char(&f)[2];
- };
- }
-+
-+namespace CXX17_aggregate_construction {
-+struct A {
-+ A();
-+};
-+
-+struct B: public A {
-+};
-+
-+struct C: public B {
-+};
-+
-+struct D: public virtual A {
-+};
-+
-+// In C++17, classes B and C are aggregates, so they will be constructed
-+// without actually calling their trivial constructor. Used to crash.
-+void foo() {
-+ B b = {}; // no-crash
-+ const B &bl = {}; // no-crash
-+ B &&br = {}; // no-crash
-+
-+ C c = {}; // no-crash
-+ const C &cl = {}; // no-crash
-+ C &&cr = {}; // no-crash
-+
-+ D d = {}; // no-crash
-+
-+#ifdef CPLUSPLUS17
-+ C cd = {{}}; // no-crash
-+ const C &cdl = {{}}; // no-crash
-+ C &&cdr = {{}}; // no-crash
-+
-+ const B &bll = {{}}; // no-crash
-+ const B &bcl = C({{}}); // no-crash
-+ B &&bcr = C({{}}); // no-crash
-+#endif
-+}
-+}
diff --git a/development/qt-creator-llvm/patches/110_D41016_Fix-crash-in-unused-lambda-capture-warning-for-VLAs.patch b/development/qt-creator-llvm/patches/110_D41016_Fix-crash-in-unused-lambda-capture-warning-for-VLAs.patch
deleted file mode 100644
index f9743162ec..0000000000
--- a/development/qt-creator-llvm/patches/110_D41016_Fix-crash-in-unused-lambda-capture-warning-for-VLAs.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/tools/clang/include/clang/Sema/ScopeInfo.h
-+++ b/tools/clang/include/clang/Sema/ScopeInfo.h
-@@ -560,6 +560,7 @@
- void markUsed(bool IsODRUse) { (IsODRUse ? ODRUsed : NonODRUsed) = true; }
-
- VarDecl *getVariable() const {
-+ assert(isVariableCapture());
- return VarAndNestedAndThis.getPointer();
- }
-
---- a/tools/clang/lib/Sema/SemaLambda.cpp
-+++ b/tools/clang/lib/Sema/SemaLambda.cpp
-@@ -1481,6 +1481,9 @@
- if (CaptureHasSideEffects(From))
- return;
-
-+ if (From.isVLATypeCapture())
-+ return;
-+
- auto diag = Diag(From.getLocation(), diag::warn_unused_lambda_capture);
- if (From.isThisCapture())
- diag << "'this'";
---- a/tools/clang/test/SemaCXX/warn-unused-lambda-capture.cpp
-+++ b/tools/clang/test/SemaCXX/warn-unused-lambda-capture.cpp
-@@ -191,3 +191,12 @@
- void test_use_template() {
- test_templated<int>(); // expected-note{{in instantiation of function template specialization 'test_templated<int>' requested here}}
- }
-+
-+namespace pr35555 {
-+int a;
-+void b() {
-+ int c[a];
-+ auto vla_used = [&c] { return c[0]; };
-+ auto vla_unused = [&c] {}; // expected-warning{{lambda capture 'c' is not used}}
-+}
-+} // namespace pr35555
diff --git a/development/qt-creator-llvm/patches/120_D41688_Fix-crash-on-code-completion-in-comment-in-included-file.patch b/development/qt-creator-llvm/patches/120_D41688_Fix-crash-on-code-completion-in-comment-in-included-file.patch
deleted file mode 100644
index 14fe744798..0000000000
--- a/development/qt-creator-llvm/patches/120_D41688_Fix-crash-on-code-completion-in-comment-in-included-file.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/tools/clang/lib/Lex/PPCaching.cpp
-+++ b/tools/clang/lib/Lex/PPCaching.cpp
-@@ -105,8 +105,10 @@
- }
-
- void Preprocessor::EnterCachingLexMode() {
-- if (InCachingLexMode())
-+ if (InCachingLexMode()) {
-+ assert(CurLexerKind == CLK_CachingLexer && "Unexpected lexer kind");
- return;
-+ }
-
- PushIncludeMacroStack();
- CurLexerKind = CLK_CachingLexer;
---- a/tools/clang/lib/Lex/PPLexerChange.cpp
-+++ b/tools/clang/lib/Lex/PPLexerChange.cpp
-@@ -444,6 +444,7 @@
- }
-
- CurPPLexer = nullptr;
-+ recomputeCurLexerKind();
- return true;
- }
-
---- /dev/null
-+++ b/tools/clang/test/CodeCompletion/Inputs/comments.h
-@@ -0,0 +1,4 @@
-+// PR32732
-+struct B {
-+ // <- code completion
-+};
---- /dev/null
-+++ b/tools/clang/test/CodeCompletion/comments.cpp
-@@ -0,0 +1,13 @@
-+// Note: the run lines follow their respective tests, since line/column
-+// matter in this test.
-+
-+#include "comments.h"
-+
-+struct A {
-+ // <- code completion
-+ /* <- code completion */
-+};
-+
-+// RUN: %clang_cc1 -I %S/Inputs -fsyntax-only -code-completion-at=%s:7:6 %s
-+// RUN: %clang_cc1 -I %S/Inputs -fsyntax-only -code-completion-at=%s:8:6 %s
-+// RUN: %clang_cc1 -I %S/Inputs -fsyntax-only -code-completion-at=%S/Inputs/comments.h:3:6 %s
diff --git a/development/qt-creator-llvm/patches/130_QTCREATORBUG-15157_Link-with-clazy_clang.patch b/development/qt-creator-llvm/patches/130_QTCREATORBUG-15157_Link-with-clazy_clang.patch
deleted file mode 100644
index 60acd6d9fa..0000000000
--- a/development/qt-creator-llvm/patches/130_QTCREATORBUG-15157_Link-with-clazy_clang.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/tools/clang/tools/libclang/CIndex.cpp b/tools/clang/tools/libclang/CIndex.cpp
-index 66b6edc8b1..281ab77c23 100644
---- a/tools/clang/tools/libclang/CIndex.cpp
-+++ b/tools/clang/tools/libclang/CIndex.cpp
-@@ -8479,4 +8479,8 @@ static int LLVM_ATTRIBUTE_UNUSED ClangTidyPluginAnchorDestination =
- extern volatile int ClangIncludeFixerPluginAnchorSource;
- static int LLVM_ATTRIBUTE_UNUSED ClangIncludeFixerPluginAnchorDestination =
- ClangIncludeFixerPluginAnchorSource;
-+
-+// This anchor is used to force the linker to link the clazy plugin.
-+extern volatile int ClazyPluginAnchorSource;
-+static int LLVM_ATTRIBUTE_UNUSED ClazyPluginAnchorDestination = ClazyPluginAnchorSource;
- #endif
-diff --git a/tools/clang/tools/libclang/CMakeLists.txt b/tools/clang/tools/libclang/CMakeLists.txt
-index 4440637820..6798d2ee8b 100644
---- a/tools/clang/tools/libclang/CMakeLists.txt
-+++ b/tools/clang/tools/libclang/CMakeLists.txt
-@@ -51,6 +51,7 @@ if (TARGET clangTidyPlugin)
- add_definitions(-DCLANG_TOOL_EXTRA_BUILD)
- list(APPEND LIBS clangTidyPlugin)
- list(APPEND LIBS clangIncludeFixerPlugin)
-+ list(APPEND LIBS clazyPlugin)
- endif ()
-
- find_library(DL_LIBRARY_PATH dl)
diff --git a/development/qt-creator-llvm/patches/140_QTCREATORBUG-15157_Link-with-clazy_extra.patch b/development/qt-creator-llvm/patches/140_QTCREATORBUG-15157_Link-with-clazy_extra.patch
deleted file mode 100644
index f481376fbc..0000000000
--- a/development/qt-creator-llvm/patches/140_QTCREATORBUG-15157_Link-with-clazy_extra.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tools/clang/tools/extra/CMakeLists.txt b/tools/clang/tools/extra/CMakeLists.txt
-index 760340a6..53f720c4 100644
---- a/tools/clang/tools/extra/CMakeLists.txt
-+++ b/tools/clang/tools/extra/CMakeLists.txt
-@@ -5,6 +5,8 @@ if(CLANG_ENABLE_STATIC_ANALYZER)
- add_subdirectory(clang-tidy)
- add_subdirectory(clang-tidy-vs)
- endif()
-+set(CLAZY_BUILD_WITH_CLANG 1)
-+add_subdirectory(clazy)
-
- add_subdirectory(change-namespace)
- add_subdirectory(clang-query)
diff --git a/development/qt-creator-llvm/patches/150_QTCREATORBUG-15157_Link-with-clazy_llvm.patch b/development/qt-creator-llvm/patches/150_QTCREATORBUG-15157_Link-with-clazy_llvm.patch
deleted file mode 100644
index 8862c35f5c..0000000000
--- a/development/qt-creator-llvm/patches/150_QTCREATORBUG-15157_Link-with-clazy_llvm.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/lib/Transforms/CMakeLists.txt b/lib/Transforms/CMakeLists.txt
-index 67bdeb27212..7fcddb15904 100644
---- a/lib/Transforms/CMakeLists.txt
-+++ b/lib/Transforms/CMakeLists.txt
-@@ -4,6 +4,5 @@ add_subdirectory(InstCombine)
- add_subdirectory(Scalar)
- add_subdirectory(IPO)
- add_subdirectory(Vectorize)
--add_subdirectory(Hello)
- add_subdirectory(ObjCARC)
- add_subdirectory(Coroutines)
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 6cf5103bf44..0b9608a2e52 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -35,7 +35,6 @@ endif()
- set(LLVM_TEST_DEPENDS
- BugpointPasses
- FileCheck
-- LLVMHello
- UnitTests
- bugpoint
- count
diff --git a/development/qt-creator-llvm/patches/160_QTCREATORBUG-15449_Fix-files-lock-on-Windows.patch b/development/qt-creator-llvm/patches/160_QTCREATORBUG-15449_Fix-files-lock-on-Windows.patch
deleted file mode 100644
index 9a8c6028fd..0000000000
--- a/development/qt-creator-llvm/patches/160_QTCREATORBUG-15449_Fix-files-lock-on-Windows.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/lib/Support/MemoryBuffer.cpp b/lib/Support/MemoryBuffer.cpp
-index 85e782b2c04..95f10753d96 100644
---- a/lib/Support/MemoryBuffer.cpp
-+++ b/lib/Support/MemoryBuffer.cpp
-@@ -284,6 +284,11 @@ static bool shouldUseMmap(int FD,
- bool RequiresNullTerminator,
- int PageSize,
- bool IsVolatile) {
-+#ifdef _WIN32
-+ // Do not use mmap on Windows in order to avoid file locking
-+ return false;
-+#endif
-+
- // mmap may leave the buffer without null terminator if the file size changed
- // by the time the last page is mapped in, so avoid it if the file size is
- // likely to change.
diff --git a/development/qt-creator-llvm/patches/170_D40013_DeclPrinter-Allow-printing-fully-qualified-name.patch b/development/qt-creator-llvm/patches/170_D40013_DeclPrinter-Allow-printing-fully-qualified-name.patch
deleted file mode 100644
index 304e80a2ff..0000000000
--- a/development/qt-creator-llvm/patches/170_D40013_DeclPrinter-Allow-printing-fully-qualified-name.patch
+++ /dev/null
@@ -1,144 +0,0 @@
-From 363747b90f66f097fd45a6cd665adbaf7612188a Mon Sep 17 00:00:00 2001
-From: Nikolai Kosjar <nikolai.kosjar@qt.io>
-Date: Mon, 15 Jan 2018 12:51:18 +0100
-Subject: [PATCH 2/3] Backport: [DeclPrinter] Allow printing fully qualified
- name of function declaration
-
-https://reviews.llvm.org/D40013
----
- include/clang/AST/PrettyPrinter.h | 7 +++++-
- lib/AST/DeclPrinter.cpp | 16 ++++++++----
- unittests/AST/DeclPrinterTest.cpp | 51 ++++++++++++++++++++++++++++++++++++---
- 3 files changed, 64 insertions(+), 10 deletions(-)
-
-diff --git a/include/clang/AST/PrettyPrinter.h b/include/clang/AST/PrettyPrinter.h
-index 274df220e1..edcef0ae24 100644
---- a/tools/clang/include/clang/AST/PrettyPrinter.h
-+++ b/tools/clang/include/clang/AST/PrettyPrinter.h
-@@ -50,7 +50,8 @@ struct PrintingPolicy {
- UseVoidForZeroParams(!LO.CPlusPlus),
- TerseOutput(false), PolishForDeclaration(false),
- Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
-- IncludeNewlines(true), MSVCFormatting(false) { }
-+ IncludeNewlines(true), MSVCFormatting(false),
-+ FullyQualifiedName(false) { }
-
- /// \brief Adjust this printing policy for cases where it's known that
- /// we're printing C++ code (for instance, if AST dumping reaches a
-@@ -200,6 +201,10 @@ struct PrintingPolicy {
- /// prints anonymous namespaces as `anonymous namespace' and does not insert
- /// spaces after template arguments.
- bool MSVCFormatting : 1;
-+
-+ /// When true, print the fully qualified name of function declarations.
-+ /// This is the opposite of SuppressScope and thus overrules it.
-+ bool FullyQualifiedName : 1;
- };
-
- } // end namespace clang
-diff --git a/lib/AST/DeclPrinter.cpp b/lib/AST/DeclPrinter.cpp
-index 37f08a4985..ea37abe8f6 100644
---- a/tools/clang/lib/AST/DeclPrinter.cpp
-+++ b/tools/clang/lib/AST/DeclPrinter.cpp
-@@ -510,13 +510,19 @@ void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) {
- PrintingPolicy SubPolicy(Policy);
- SubPolicy.SuppressSpecifiers = false;
- std::string Proto;
-- if (!Policy.SuppressScope) {
-- if (const NestedNameSpecifier *NS = D->getQualifier()) {
-- llvm::raw_string_ostream OS(Proto);
-- NS->print(OS, Policy);
-+
-+ if (Policy.FullyQualifiedName) {
-+ Proto += D->getQualifiedNameAsString();
-+ } else {
-+ if (!Policy.SuppressScope) {
-+ if (const NestedNameSpecifier *NS = D->getQualifier()) {
-+ llvm::raw_string_ostream OS(Proto);
-+ NS->print(OS, Policy);
-+ }
- }
-+ Proto += D->getNameInfo().getAsString();
- }
-- Proto += D->getNameInfo().getAsString();
-+
- if (GuideDecl)
- Proto = GuideDecl->getDeducedTemplate()->getDeclName().getAsString();
- if (const TemplateArgumentList *TArgs = D->getTemplateSpecializationArgs()) {
-diff --git a/unittests/AST/DeclPrinterTest.cpp b/unittests/AST/DeclPrinterTest.cpp
-index dc1977d876..4cf8bce20e 100644
---- a/tools/clang/unittests/AST/DeclPrinterTest.cpp
-+++ b/tools/clang/unittests/AST/DeclPrinterTest.cpp
-@@ -104,15 +104,17 @@ PrintedDeclMatches(StringRef Code, const std::vector<std::string> &Args,
- return ::testing::AssertionSuccess();
- }
-
--::testing::AssertionResult PrintedDeclCXX98Matches(StringRef Code,
-- StringRef DeclName,
-- StringRef ExpectedPrinted) {
-+::testing::AssertionResult
-+PrintedDeclCXX98Matches(StringRef Code, StringRef DeclName,
-+ StringRef ExpectedPrinted,
-+ PrintingPolicyModifier PolicyModifier = nullptr) {
- std::vector<std::string> Args(1, "-std=c++98");
- return PrintedDeclMatches(Code,
- Args,
- namedDecl(hasName(DeclName)).bind("id"),
- ExpectedPrinted,
-- "input.cc");
-+ "input.cc",
-+ PolicyModifier);
- }
-
- ::testing::AssertionResult
-@@ -350,6 +352,47 @@ TEST(DeclPrinter, TestFunctionDecl1) {
- "void A()"));
- }
-
-+TEST(DeclPrinter, TestFreeFunctionDecl_FullyQualifiedName) {
-+ ASSERT_TRUE(PrintedDeclCXX98Matches(
-+ "void A();",
-+ "A",
-+ "void A()",
-+ [](PrintingPolicy &Policy){ Policy.FullyQualifiedName = true; }));
-+}
-+
-+TEST(DeclPrinter, TestFreeFunctionDeclInNamespace_FullyQualifiedName) {
-+ ASSERT_TRUE(PrintedDeclCXX98Matches(
-+ "namespace X { void A(); };",
-+ "A",
-+ "void X::A()",
-+ [](PrintingPolicy &Policy){ Policy.FullyQualifiedName = true; }));
-+}
-+
-+TEST(DeclPrinter, TestMemberFunction_FullyQualifiedName) {
-+ ASSERT_TRUE(PrintedDeclCXX98Matches(
-+ "struct X { void A(); };",
-+ "A",
-+ "void X::A()",
-+ [](PrintingPolicy &Policy){ Policy.FullyQualifiedName = true; }));
-+}
-+
-+TEST(DeclPrinter, TestMemberFunctionInNamespace_FullyQualifiedName) {
-+ ASSERT_TRUE(PrintedDeclCXX98Matches(
-+ "namespace Z { struct X { void A(); }; }",
-+ "A",
-+ "void Z::X::A()",
-+ [](PrintingPolicy &Policy){ Policy.FullyQualifiedName = true; }));
-+}
-+
-+TEST(DeclPrinter, TestMemberFunctionOutside_FullyQualifiedName) {
-+ ASSERT_TRUE(PrintedDeclCXX98Matches(
-+ "struct X { void A(); };"
-+ "void X::A() {}",
-+ functionDecl(hasName("A"), isDefinition()).bind("id"),
-+ "void X::A()",
-+ [](PrintingPolicy &Policy){ Policy.FullyQualifiedName = true; }));
-+}
-+
- TEST(DeclPrinter, TestFunctionDecl2) {
- ASSERT_TRUE(PrintedDeclCXX98Matches(
- "void A() {}",
---
-2.15.1
-
diff --git a/development/qt-creator-llvm/patches/180_D39903_libclang-Allow-pretty-printing-declarations.patch b/development/qt-creator-llvm/patches/180_D39903_libclang-Allow-pretty-printing-declarations.patch
deleted file mode 100644
index 27b2e2a01e..0000000000
--- a/development/qt-creator-llvm/patches/180_D39903_libclang-Allow-pretty-printing-declarations.patch
+++ /dev/null
@@ -1,546 +0,0 @@
-diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
-index 0f4ade266c..f188ec9d8c 100644
---- a/tools/clang/include/clang-c/Index.h
-+++ b/tools/clang/include/clang-c/Index.h
-@@ -35,6 +35,7 @@
- #define CINDEX_VERSION_MINOR 43
- #define CINDEX_VERSION_HAS_ISINVALIDECL_BACKPORTED
- #define CINDEX_VERSION_HAS_GETFILECONTENTS_BACKPORTED
-+#define CINDEX_VERSION_HAS_PRETTYDECL_BACKPORTED
-
- #define CINDEX_VERSION_ENCODE(major, minor) ( \
- ((major) * 10000) \
-@@ -4066,6 +4067,90 @@ CINDEX_LINKAGE CXSourceRange clang_Cursor_getSpellingNameRange(CXCursor,
- unsigned pieceIndex,
- unsigned options);
-
-+/**
-+ * \brief Opaque pointer representing a policy that controls pretty printing
-+ * for \c clang_getCursorPrettyPrinted.
-+ */
-+typedef void *CXPrintingPolicy;
-+
-+/**
-+ * \brief Properties for the printing policy.
-+ *
-+ * See \c clang::PrintingPolicy for more information.
-+ */
-+enum CXPrintingPolicyProperty {
-+ CXPrintingPolicy_Indentation,
-+ CXPrintingPolicy_SuppressSpecifiers,
-+ CXPrintingPolicy_SuppressTagKeyword,
-+ CXPrintingPolicy_IncludeTagDefinition,
-+ CXPrintingPolicy_SuppressScope,
-+ CXPrintingPolicy_SuppressUnwrittenScope,
-+ CXPrintingPolicy_SuppressInitializers,
-+ CXPrintingPolicy_ConstantArraySizeAsWritten,
-+ CXPrintingPolicy_AnonymousTagLocations,
-+ CXPrintingPolicy_SuppressStrongLifetime,
-+ CXPrintingPolicy_SuppressLifetimeQualifiers,
-+ CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors,
-+ CXPrintingPolicy_Bool,
-+ CXPrintingPolicy_Restrict,
-+ CXPrintingPolicy_Alignof,
-+ CXPrintingPolicy_UnderscoreAlignof,
-+ CXPrintingPolicy_UseVoidForZeroParams,
-+ CXPrintingPolicy_TerseOutput,
-+ CXPrintingPolicy_PolishForDeclaration,
-+ CXPrintingPolicy_Half,
-+ CXPrintingPolicy_MSWChar,
-+ CXPrintingPolicy_IncludeNewlines,
-+ CXPrintingPolicy_MSVCFormatting,
-+ CXPrintingPolicy_ConstantsAsWritten, /* Ops, not yet there in clang 5.0 and we do not need it. */
-+ CXPrintingPolicy_SuppressImplicitBase, /* Ops, not yet there in clang 5.0 and we do not need it. */
-+ CXPrintingPolicy_FullyQualifiedName,
-+
-+ CXPrintingPolicy_LastProperty = CXPrintingPolicy_FullyQualifiedName
-+};
-+
-+/**
-+ * \brief Get a property value for the given printing policy.
-+ */
-+CINDEX_LINKAGE unsigned
-+clang_PrintingPolicy_getProperty(CXPrintingPolicy Policy,
-+ enum CXPrintingPolicyProperty Property);
-+
-+/**
-+ * \brief Set a property value for the given printing policy.
-+ */
-+CINDEX_LINKAGE void
-+clang_PrintingPolicy_setProperty(CXPrintingPolicy Policy,
-+ enum CXPrintingPolicyProperty Property,
-+ unsigned Value);
-+
-+/**
-+ * \brief Retrieve the default policy for the cursor.
-+ *
-+ * The policy should be released after use with \c
-+ * clang_PrintingPolicy_dispose.
-+ */
-+CINDEX_LINKAGE CXPrintingPolicy clang_getCursorPrintingPolicy(CXCursor);
-+
-+/**
-+ * \brief Release a printing policy.
-+ */
-+CINDEX_LINKAGE void clang_PrintingPolicy_dispose(CXPrintingPolicy Policy);
-+
-+/**
-+ * \brief Pretty print declarations.
-+ *
-+ * \param Cursor The cursor representing a declaration.
-+ *
-+ * \param Policy The policy to control the entities being printed. If
-+ * NULL, a default policy is used.
-+ *
-+ * \returns The pretty printed declaration or the empty string for
-+ * other cursors.
-+ */
-+CINDEX_LINKAGE CXString clang_getCursorPrettyPrinted(CXCursor Cursor,
-+ CXPrintingPolicy Policy);
-+
- /**
- * \brief Retrieve the display name for the entity referenced by this cursor.
- *
-diff --git a/test/Index/print-display-names.cpp b/test/Index/print-display-names.cpp
-index 94fe4665e6..5ba10e43bc 100644
---- a/tools/clang/test/Index/print-display-names.cpp
-+++ b/tools/clang/test/Index/print-display-names.cpp
-@@ -12,9 +12,20 @@ void g(ClassTmpl<T, T>);
-
- template<> void g<int>(ClassTmpl<int, int>);
-
--// RUN: c-index-test -test-load-source all-display %s | FileCheck %s
--// CHECK: print-display-names.cpp:2:7: ClassTemplate=ClassTmpl<T, typename>:2:7
--// CHECK: print-display-names.cpp:6:16: ClassDecl=ClassTmpl<Integer, Integer>:6:16 (Definition)
--// CHECK: print-display-names.cpp:8:6: FunctionDecl=f(ClassTmpl<float, Integer>):8:6
--// CHECK: print-display-names.cpp:11:6: FunctionTemplate=g(ClassTmpl<T, T>):11:6
--// CHECK: print-display-names.cpp:13:17: FunctionDecl=g<>(ClassTmpl<int, int>):13:17 [Specialization of g:11:6]
-+// RUN: c-index-test -test-load-source all-display %s | FileCheck %s --check-prefix=DISPLAY_NAME
-+// DISPLAY_NAME: print-display-names.cpp:2:7: ClassTemplate=ClassTmpl<T, typename>:2:7
-+// DISPLAY_NAME: print-display-names.cpp:6:16: ClassDecl=ClassTmpl<Integer, Integer>:6:16 (Definition)
-+// DISPLAY_NAME: print-display-names.cpp:8:6: FunctionDecl=f(ClassTmpl<float, Integer>):8:6
-+// DISPLAY_NAME: print-display-names.cpp:11:6: FunctionTemplate=g(ClassTmpl<T, T>):11:6
-+// DISPLAY_NAME: print-display-names.cpp:13:17: FunctionDecl=g<>(ClassTmpl<int, int>):13:17 [Specialization of g:11:6]
-+
-+// RUN: env CINDEXTEST_PRINTINGPOLICY_TERSEOUTPUT=1 c-index-test -test-load-source all-pretty %s | FileCheck %s --check-prefix=PRETTY
-+// PRETTY: print-display-names.cpp:2:7: ClassTemplate=template <typename T, typename > class ClassTmpl {}:2:7 (Definition) Extent=[1:1 - 2:20]
-+// PRETTY: print-display-names.cpp:4:13: TypedefDecl=typedef int Integer:4:13 (Definition) Extent=[4:1 - 4:20]
-+// PRETTY: print-display-names.cpp:6:16: ClassDecl=template<> class ClassTmpl<int, int> {}:6:16 (Definition) [Specialization of ClassTmpl:2:7] Extent=[6:1 - 6:43]
-+// PRETTY: print-display-names.cpp:8:6: FunctionDecl=void f(ClassTmpl<float, Integer> p):8:6 Extent=[8:1 - 8:36]
-+// PRETTY: print-display-names.cpp:8:34: ParmDecl=ClassTmpl<float, Integer> p:8:34 (Definition) Extent=[8:8 - 8:35]
-+// PRETTY: print-display-names.cpp:11:6: FunctionTemplate=template <typename T> void g(ClassTmpl<T, T>):11:6 Extent=[10:1 - 11:24]
-+// PRETTY: print-display-names.cpp:11:23: ParmDecl=ClassTmpl<T, T>:11:23 (Definition) Extent=[11:8 - 11:23]
-+// PRETTY: print-display-names.cpp:13:17: FunctionDecl=template<> void g<int>(ClassTmpl<int, int>):13:17 [Specialization of g:11:6] [Template arg 0: kind: 1, type: int] Extent=[13:1 - 13:44]
-+// PRETTY: print-display-names.cpp:13:43: ParmDecl=ClassTmpl<int, int>:13:43 (Definition) Extent=[13:24 - 13:43]
-diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
-index 759ed449a4..ce2f549234 100644
---- a/tools/clang/tools/c-index-test/c-index-test.c
-+++ b/tools/clang/tools/c-index-test/c-index-test.c
-@@ -86,6 +86,69 @@ static unsigned getDefaultParsingOptions() {
- return options;
- }
-
-+static void ModifyPrintingPolicyAccordingToEnv(CXPrintingPolicy Policy) {
-+ struct Mapping {
-+ const char *name;
-+ enum CXPrintingPolicyProperty property;
-+ };
-+ struct Mapping mappings[] = {
-+ {"CINDEXTEST_PRINTINGPOLICY_INDENTATION", CXPrintingPolicy_Indentation},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSSPECIFIERS",
-+ CXPrintingPolicy_SuppressSpecifiers},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSTAGKEYWORD",
-+ CXPrintingPolicy_SuppressTagKeyword},
-+ {"CINDEXTEST_PRINTINGPOLICY_INCLUDETAGDEFINITION",
-+ CXPrintingPolicy_IncludeTagDefinition},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSSCOPE",
-+ CXPrintingPolicy_SuppressScope},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSUNWRITTENSCOPE",
-+ CXPrintingPolicy_SuppressUnwrittenScope},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSINITIALIZERS",
-+ CXPrintingPolicy_SuppressInitializers},
-+ {"CINDEXTEST_PRINTINGPOLICY_CONSTANTARRAYSIZEASWRITTEN",
-+ CXPrintingPolicy_ConstantArraySizeAsWritten},
-+ {"CINDEXTEST_PRINTINGPOLICY_ANONYMOUSTAGLOCATIONS",
-+ CXPrintingPolicy_AnonymousTagLocations},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSSTRONGLIFETIME",
-+ CXPrintingPolicy_SuppressStrongLifetime},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSLIFETIMEQUALIFIERS",
-+ CXPrintingPolicy_SuppressLifetimeQualifiers},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSTEMPLATEARGSINCXXCONSTRUCTORS",
-+ CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors},
-+ {"CINDEXTEST_PRINTINGPOLICY_BOOL", CXPrintingPolicy_Bool},
-+ {"CINDEXTEST_PRINTINGPOLICY_RESTRICT", CXPrintingPolicy_Restrict},
-+ {"CINDEXTEST_PRINTINGPOLICY_ALIGNOF", CXPrintingPolicy_Alignof},
-+ {"CINDEXTEST_PRINTINGPOLICY_UNDERSCOREALIGNOF",
-+ CXPrintingPolicy_UnderscoreAlignof},
-+ {"CINDEXTEST_PRINTINGPOLICY_USEVOIDFORZEROPARAMS",
-+ CXPrintingPolicy_UseVoidForZeroParams},
-+ {"CINDEXTEST_PRINTINGPOLICY_TERSEOUTPUT", CXPrintingPolicy_TerseOutput},
-+ {"CINDEXTEST_PRINTINGPOLICY_POLISHFORDECLARATION",
-+ CXPrintingPolicy_PolishForDeclaration},
-+ {"CINDEXTEST_PRINTINGPOLICY_HALF", CXPrintingPolicy_Half},
-+ {"CINDEXTEST_PRINTINGPOLICY_MSWCHAR", CXPrintingPolicy_MSWChar},
-+ {"CINDEXTEST_PRINTINGPOLICY_INCLUDENEWLINES",
-+ CXPrintingPolicy_IncludeNewlines},
-+ {"CINDEXTEST_PRINTINGPOLICY_MSVCFORMATTING",
-+ CXPrintingPolicy_MSVCFormatting},
-+ {"CINDEXTEST_PRINTINGPOLICY_CONSTANTSASWRITTEN",
-+ CXPrintingPolicy_ConstantsAsWritten},
-+ {"CINDEXTEST_PRINTINGPOLICY_SUPPRESSIMPLICITBASE",
-+ CXPrintingPolicy_SuppressImplicitBase},
-+ {"CINDEXTEST_PRINTINGPOLICY_FULLYQUALIFIEDNAME",
-+ CXPrintingPolicy_FullyQualifiedName},
-+ };
-+
-+ unsigned i;
-+ for (i = 0; i < sizeof(mappings) / sizeof(struct Mapping); i++) {
-+ char *value = getenv(mappings[i].name);
-+ if (value) {
-+ clang_PrintingPolicy_setProperty(Policy, mappings[i].property,
-+ (unsigned)strtoul(value, 0L, 10));
-+ }
-+ }
-+}
-+
- /** \brief Returns 0 in case of success, non-zero in case of a failure. */
- static int checkForErrors(CXTranslationUnit TU);
-
-@@ -356,7 +419,11 @@ static void PrintRange(CXSourceRange R, const char *str) {
- PrintExtent(stdout, begin_line, begin_column, end_line, end_column);
- }
-
--int want_display_name = 0;
-+static enum DisplayType {
-+ DisplayType_Spelling,
-+ DisplayType_DisplayName,
-+ DisplayType_Pretty
-+} wanted_display_type = DisplayType_Spelling;
-
- static void printVersion(const char *Prefix, CXVersion Version) {
- if (Version.Major < 0)
-@@ -656,6 +723,24 @@ static int lineCol_cmp(const void *p1, const void *p2) {
- return (int)lhs->col - (int)rhs->col;
- }
-
-+static CXString CursorToText(CXCursor Cursor) {
-+ switch (wanted_display_type) {
-+ case DisplayType_Spelling:
-+ return clang_getCursorSpelling(Cursor);
-+ case DisplayType_DisplayName:
-+ return clang_getCursorDisplayName(Cursor);
-+ case DisplayType_Pretty:
-+ default: {
-+ CXString text;
-+ CXPrintingPolicy Policy = clang_getCursorPrintingPolicy(Cursor);
-+ ModifyPrintingPolicyAccordingToEnv(Policy);
-+ text = clang_getCursorPrettyPrinted(Cursor, Policy);
-+ clang_PrintingPolicy_dispose(Policy);
-+ return text;
-+ }
-+ }
-+}
-+
- static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) {
- CXTranslationUnit TU = clang_Cursor_getTranslationUnit(Cursor);
- if (clang_isInvalid(Cursor.kind)) {
-@@ -682,8 +767,7 @@ static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) {
- int I;
-
- ks = clang_getCursorKindSpelling(Cursor.kind);
-- string = want_display_name? clang_getCursorDisplayName(Cursor)
-- : clang_getCursorSpelling(Cursor);
-+ string = CursorToText(Cursor);
- printf("%s=%s", clang_getCString(ks),
- clang_getCString(string));
- clang_disposeString(ks);
-@@ -1675,7 +1759,12 @@ static int perform_test_load(CXIndex Idx, CXTranslationUnit TU,
- else if (!strcmp(filter, "all-display") ||
- !strcmp(filter, "local-display")) {
- ck = NULL;
-- want_display_name = 1;
-+ wanted_display_type = DisplayType_DisplayName;
-+ }
-+ else if (!strcmp(filter, "all-pretty") ||
-+ !strcmp(filter, "local-pretty")) {
-+ ck = NULL;
-+ wanted_display_type = DisplayType_Pretty;
- }
- else if (!strcmp(filter, "none")) K = (enum CXCursorKind) ~0;
- else if (!strcmp(filter, "category")) K = CXCursor_ObjCCategoryDecl;
-@@ -1742,8 +1831,11 @@ int perform_test_load_source(int argc, const char **argv,
- unsigned I;
-
- Idx = clang_createIndex(/* excludeDeclsFromPCH */
-- (!strcmp(filter, "local") ||
-- !strcmp(filter, "local-display"))? 1 : 0,
-+ (!strcmp(filter, "local") ||
-+ !strcmp(filter, "local-display") ||
-+ !strcmp(filter, "local-pretty"))
-+ ? 1
-+ : 0,
- /* displayDiagnostics=*/1);
-
- if ((CommentSchemaFile = parse_comments_schema(argc, argv))) {
-diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
-index 45ee9803f2..72b14fdb53 100644
---- a/tools/clang/tools/libclang/CIndex.cpp
-+++ b/tools/clang/tools/libclang/CIndex.cpp
-@@ -4652,6 +4652,197 @@ CXStringSet *clang_Cursor_getCXXManglings(CXCursor C) {
- return cxstring::createSet(Manglings);
- }
-
-+CXPrintingPolicy clang_getCursorPrintingPolicy(CXCursor C) {
-+ if (clang_Cursor_isNull(C))
-+ return 0;
-+ return new PrintingPolicy(getCursorContext(C).getPrintingPolicy());
-+}
-+
-+void clang_PrintingPolicy_dispose(CXPrintingPolicy Policy) {
-+ if (Policy)
-+ delete static_cast<PrintingPolicy *>(Policy);
-+}
-+
-+unsigned
-+clang_PrintingPolicy_getProperty(CXPrintingPolicy Policy,
-+ enum CXPrintingPolicyProperty Property) {
-+ if (!Policy)
-+ return 0;
-+
-+ PrintingPolicy *P = static_cast<PrintingPolicy *>(Policy);
-+ switch (Property) {
-+ case CXPrintingPolicy_Indentation:
-+ return P->Indentation;
-+ case CXPrintingPolicy_SuppressSpecifiers:
-+ return P->SuppressSpecifiers;
-+ case CXPrintingPolicy_SuppressTagKeyword:
-+ return P->SuppressTagKeyword;
-+ case CXPrintingPolicy_IncludeTagDefinition:
-+ return P->IncludeTagDefinition;
-+ case CXPrintingPolicy_SuppressScope:
-+ return P->SuppressScope;
-+ case CXPrintingPolicy_SuppressUnwrittenScope:
-+ return P->SuppressUnwrittenScope;
-+ case CXPrintingPolicy_SuppressInitializers:
-+ return P->SuppressInitializers;
-+ case CXPrintingPolicy_ConstantArraySizeAsWritten:
-+ return P->ConstantArraySizeAsWritten;
-+ case CXPrintingPolicy_AnonymousTagLocations:
-+ return P->AnonymousTagLocations;
-+ case CXPrintingPolicy_SuppressStrongLifetime:
-+ return P->SuppressStrongLifetime;
-+ case CXPrintingPolicy_SuppressLifetimeQualifiers:
-+ return P->SuppressLifetimeQualifiers;
-+ case CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors:
-+ return P->SuppressTemplateArgsInCXXConstructors;
-+ case CXPrintingPolicy_Bool:
-+ return P->Bool;
-+ case CXPrintingPolicy_Restrict:
-+ return P->Restrict;
-+ case CXPrintingPolicy_Alignof:
-+ return P->Alignof;
-+ case CXPrintingPolicy_UnderscoreAlignof:
-+ return P->UnderscoreAlignof;
-+ case CXPrintingPolicy_UseVoidForZeroParams:
-+ return P->UseVoidForZeroParams;
-+ case CXPrintingPolicy_TerseOutput:
-+ return P->TerseOutput;
-+ case CXPrintingPolicy_PolishForDeclaration:
-+ return P->PolishForDeclaration;
-+ case CXPrintingPolicy_Half:
-+ return P->Half;
-+ case CXPrintingPolicy_MSWChar:
-+ return P->MSWChar;
-+ case CXPrintingPolicy_IncludeNewlines:
-+ return P->IncludeNewlines;
-+ case CXPrintingPolicy_MSVCFormatting:
-+ return P->MSVCFormatting;
-+ case CXPrintingPolicy_ConstantsAsWritten:
-+ // Ops, not yet there in clang 5.0 and we do not need it.
-+ return 0;
-+ case CXPrintingPolicy_SuppressImplicitBase:
-+ // Ops, not yet there in clang 5.0 and we do not need it.
-+ return 0;
-+ case CXPrintingPolicy_FullyQualifiedName:
-+ return P->FullyQualifiedName;
-+ }
-+
-+ assert(false && "Invalid CXPrintingPolicyProperty");
-+ return 0;
-+}
-+
-+void clang_PrintingPolicy_setProperty(CXPrintingPolicy Policy,
-+ enum CXPrintingPolicyProperty Property,
-+ unsigned Value) {
-+ if (!Policy)
-+ return;
-+
-+ PrintingPolicy *P = static_cast<PrintingPolicy *>(Policy);
-+ switch (Property) {
-+ case CXPrintingPolicy_Indentation:
-+ P->Indentation = Value;
-+ return;
-+ case CXPrintingPolicy_SuppressSpecifiers:
-+ P->SuppressSpecifiers = Value;
-+ return;
-+ case CXPrintingPolicy_SuppressTagKeyword:
-+ P->SuppressTagKeyword = Value;
-+ return;
-+ case CXPrintingPolicy_IncludeTagDefinition:
-+ P->IncludeTagDefinition = Value;
-+ return;
-+ case CXPrintingPolicy_SuppressScope:
-+ P->SuppressScope = Value;
-+ return;
-+ case CXPrintingPolicy_SuppressUnwrittenScope:
-+ P->SuppressUnwrittenScope = Value;
-+ return;
-+ case CXPrintingPolicy_SuppressInitializers:
-+ P->SuppressInitializers = Value;
-+ return;
-+ case CXPrintingPolicy_ConstantArraySizeAsWritten:
-+ P->ConstantArraySizeAsWritten = Value;
-+ return;
-+ case CXPrintingPolicy_AnonymousTagLocations:
-+ P->AnonymousTagLocations = Value;
-+ return;
-+ case CXPrintingPolicy_SuppressStrongLifetime:
-+ P->SuppressStrongLifetime = Value;
-+ return;
-+ case CXPrintingPolicy_SuppressLifetimeQualifiers:
-+ P->SuppressLifetimeQualifiers = Value;
-+ return;
-+ case CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors:
-+ P->SuppressTemplateArgsInCXXConstructors = Value;
-+ return;
-+ case CXPrintingPolicy_Bool:
-+ P->Bool = Value;
-+ return;
-+ case CXPrintingPolicy_Restrict:
-+ P->Restrict = Value;
-+ return;
-+ case CXPrintingPolicy_Alignof:
-+ P->Alignof = Value;
-+ return;
-+ case CXPrintingPolicy_UnderscoreAlignof:
-+ P->UnderscoreAlignof = Value;
-+ return;
-+ case CXPrintingPolicy_UseVoidForZeroParams:
-+ P->UseVoidForZeroParams = Value;
-+ return;
-+ case CXPrintingPolicy_TerseOutput:
-+ P->TerseOutput = Value;
-+ return;
-+ case CXPrintingPolicy_PolishForDeclaration:
-+ P->PolishForDeclaration = Value;
-+ return;
-+ case CXPrintingPolicy_Half:
-+ P->Half = Value;
-+ return;
-+ case CXPrintingPolicy_MSWChar:
-+ P->MSWChar = Value;
-+ return;
-+ case CXPrintingPolicy_IncludeNewlines:
-+ P->IncludeNewlines = Value;
-+ return;
-+ case CXPrintingPolicy_MSVCFormatting:
-+ P->MSVCFormatting = Value;
-+ return;
-+ case CXPrintingPolicy_ConstantsAsWritten:
-+ // Ops, not yet there in clang 5.0 and we do not need it.
-+ return;
-+ case CXPrintingPolicy_SuppressImplicitBase:
-+ // Ops, not yet there in clang 5.0 and we do not need it.
-+ return;
-+ case CXPrintingPolicy_FullyQualifiedName:
-+ P->FullyQualifiedName = Value;
-+ return;
-+ }
-+
-+ assert(false && "Invalid CXPrintingPolicyProperty");
-+}
-+
-+CXString clang_getCursorPrettyPrinted(CXCursor C, CXPrintingPolicy cxPolicy) {
-+ if (clang_Cursor_isNull(C))
-+ return cxstring::createEmpty();
-+
-+ if (clang_isDeclaration(C.kind)) {
-+ const Decl *D = getCursorDecl(C);
-+ if (!D)
-+ return cxstring::createEmpty();
-+
-+ SmallString<128> Str;
-+ llvm::raw_svector_ostream OS(Str);
-+ PrintingPolicy *UserPolicy = static_cast<PrintingPolicy *>(cxPolicy);
-+ D->print(OS, UserPolicy ? *UserPolicy
-+ : getCursorContext(C).getPrintingPolicy());
-+
-+ return cxstring::createDup(OS.str());
-+ }
-+
-+ return cxstring::createEmpty();
-+}
-+
- CXString clang_getCursorDisplayName(CXCursor C) {
- if (!clang_isDeclaration(C.kind))
- return clang_getCursorSpelling(C);
-diff --git a/tools/libclang/libclang.exports b/tools/libclang/libclang.exports
-index c788abb881..ed4773b132 100644
---- a/tools/clang/tools/libclang/libclang.exports
-+++ b/tools/clang/tools/libclang/libclang.exports
-@@ -175,6 +175,8 @@ clang_getCursorAvailability
- clang_getCursorCompletionString
- clang_getCursorDefinition
- clang_getCursorDisplayName
-+clang_getCursorPrintingPolicy
-+clang_getCursorPrettyPrinted
- clang_getCursorExtent
- clang_getCursorExceptionSpecificationType
- clang_getCursorKind
-@@ -355,3 +357,6 @@ clang_EvalResult_isUnsignedInt
- clang_EvalResult_getAsDouble
- clang_EvalResult_getAsStr
- clang_EvalResult_dispose
-+clang_PrintingPolicy_getProperty
-+clang_PrintingPolicy_setProperty
-+clang_PrintingPolicy_dispose
-diff --git a/unittests/libclang/LibclangTest.cpp b/unittests/libclang/LibclangTest.cpp
-index f2a96d6be6..342fbd5279 100644
---- a/tools/clang/unittests/libclang/LibclangTest.cpp
-+++ b/tools/clang/unittests/libclang/LibclangTest.cpp
-@@ -572,3 +572,35 @@ TEST_F(LibclangReparseTest, clang_parseTranslationUnit2FullArgv) {
- EXPECT_EQ(0U, clang_getNumDiagnostics(ClangTU));
- DisplayDiagnostics();
- }
-+
-+class LibclangPrintingPolicyTest : public LibclangParseTest {
-+public:
-+ CXPrintingPolicy Policy = nullptr;
-+
-+ void SetUp() override {
-+ LibclangParseTest::SetUp();
-+ std::string File = "file.cpp";
-+ WriteFile(File, "int i;\n");
-+ ClangTU = clang_parseTranslationUnit(Index, File.c_str(), nullptr, 0,
-+ nullptr, 0, TUFlags);
-+ CXCursor TUCursor = clang_getTranslationUnitCursor(ClangTU);
-+ Policy = clang_getCursorPrintingPolicy(TUCursor);
-+ }
-+ void TearDown() override {
-+ clang_PrintingPolicy_dispose(Policy);
-+ LibclangParseTest::TearDown();
-+ }
-+};
-+
-+TEST_F(LibclangPrintingPolicyTest, SetAndGetProperties) {
-+ for (unsigned Value = 0; Value < 2; ++Value) {
-+ for (int I = 0; I < CXPrintingPolicy_LastProperty; ++I) {
-+ auto Property = static_cast<enum CXPrintingPolicyProperty>(I);
-+ if (Property == CXPrintingPolicy_ConstantsAsWritten || Property == CXPrintingPolicy_SuppressImplicitBase)
-+ continue; // These are not yet in clang 5.0.
-+
-+ clang_PrintingPolicy_setProperty(Policy, Property, Value);
-+ EXPECT_EQ(Value, clang_PrintingPolicy_getProperty(Policy, Property));
-+ }
-+ }
-+}
diff --git a/development/qt-creator-llvm/patches/200_D36390_Fix-overloaded-static-functions-in-SemaCodeComplete.patch b/development/qt-creator-llvm/patches/200_D36390_Fix-overloaded-static-functions-in-SemaCodeComplete.patch
deleted file mode 100644
index 316f3afd17..0000000000
--- a/development/qt-creator-llvm/patches/200_D36390_Fix-overloaded-static-functions-in-SemaCodeComplete.patch
+++ /dev/null
@@ -1,148 +0,0 @@
---- a/tools/clang/include/clang/Sema/Sema.h
-+++ b/tools/clang/include/clang/Sema/Sema.h
-@@ -2707,7 +2707,8 @@
- OverloadCandidateSet &CandidateSet,
- TemplateArgumentListInfo *ExplicitTemplateArgs = nullptr,
- bool SuppressUserConversions = false,
-- bool PartialOverloading = false);
-+ bool PartialOverloading = false,
-+ bool FirstArgumentIsBase = false);
- void AddMethodCandidate(DeclAccessPair FoundDecl,
- QualType ObjectType,
- Expr::Classification ObjectClassification,
---- a/tools/clang/lib/Sema/SemaCodeComplete.cpp
-+++ b/tools/clang/lib/Sema/SemaCodeComplete.cpp
-@@ -4396,9 +4396,11 @@
- ArgExprs.append(Args.begin(), Args.end());
- UnresolvedSet<8> Decls;
- Decls.append(UME->decls_begin(), UME->decls_end());
-+ const bool FirstArgumentIsBase = !UME->isImplicitAccess() && UME->getBase();
- AddFunctionCandidates(Decls, ArgExprs, CandidateSet, TemplateArgs,
- /*SuppressUsedConversions=*/false,
-- /*PartialOverloading=*/true);
-+ /*PartialOverloading=*/true,
-+ FirstArgumentIsBase);
- } else {
- FunctionDecl *FD = nullptr;
- if (auto MCE = dyn_cast<MemberExpr>(NakedFn))
---- a/tools/clang/lib/Sema/SemaOverload.cpp
-+++ b/tools/clang/lib/Sema/SemaOverload.cpp
-@@ -6343,24 +6343,36 @@
- OverloadCandidateSet& CandidateSet,
- TemplateArgumentListInfo *ExplicitTemplateArgs,
- bool SuppressUserConversions,
-- bool PartialOverloading) {
-+ bool PartialOverloading,
-+ bool FirstArgumentIsBase) {
- for (UnresolvedSetIterator F = Fns.begin(), E = Fns.end(); F != E; ++F) {
- NamedDecl *D = F.getDecl()->getUnderlyingDecl();
- if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
-+ ArrayRef<Expr *> FunctionArgs = Args;
- if (isa<CXXMethodDecl>(FD) && !cast<CXXMethodDecl>(FD)->isStatic()) {
- QualType ObjectType;
- Expr::Classification ObjectClassification;
-- if (Expr *E = Args[0]) {
-- // Use the explit base to restrict the lookup:
-- ObjectType = E->getType();
-- ObjectClassification = E->Classify(Context);
-- } // .. else there is an implit base.
-+ if (Args.size() > 0) {
-+ if (Expr *E = Args[0]) {
-+ // Use the explit base to restrict the lookup:
-+ ObjectType = E->getType();
-+ ObjectClassification = E->Classify(Context);
-+ } // .. else there is an implit base.
-+ FunctionArgs = Args.slice(1);
-+ }
- AddMethodCandidate(cast<CXXMethodDecl>(FD), F.getPair(),
- cast<CXXMethodDecl>(FD)->getParent(), ObjectType,
-- ObjectClassification, Args.slice(1), CandidateSet,
-+ ObjectClassification, FunctionArgs, CandidateSet,
- SuppressUserConversions, PartialOverloading);
- } else {
-- AddOverloadCandidate(FD, F.getPair(), Args, CandidateSet,
-+ // Slice the first argument (which is the base) when we access
-+ // static method as non-static
-+ if (Args.size() > 0 && (!Args[0] || (FirstArgumentIsBase && isa<CXXMethodDecl>(FD) &&
-+ !isa<CXXConstructorDecl>(FD)))) {
-+ assert(cast<CXXMethodDecl>(FD)->isStatic());
-+ FunctionArgs = Args.slice(1);
-+ }
-+ AddOverloadCandidate(FD, F.getPair(), FunctionArgs, CandidateSet,
- SuppressUserConversions, PartialOverloading);
- }
- } else {
---- a/tools/clang/test/Index/complete-call.cpp
-+++ b/tools/clang/test/Index/complete-call.cpp
-@@ -94,6 +94,24 @@
- s.foo_7(42,);
- }
-
-+struct Bar {
-+ static void foo_1();
-+ void foo_1(float);
-+ static void foo_1(int);
-+};
-+
-+void test() {
-+ Bar::foo_1();
-+ Bar b;
-+ b.foo_1();
-+}
-+
-+struct Bar2 : public Bar {
-+ Bar2() {
-+ Bar::foo_1();
-+ }
-+};
-+
- // RUN: c-index-test -code-completion-at=%s:47:9 %s | FileCheck -check-prefix=CHECK-CC1 %s
- // CHECK-CC1: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
- // CHECK-CC1: Completion contexts:
-@@ -803,3 +821,46 @@
- // CHECK-CC59-NEXT: Class name
- // CHECK-CC59-NEXT: Nested name specifier
- // CHECK-CC59-NEXT: Objective-C interface
-+
-+// RUN: c-index-test -code-completion-at=%s:104:14 %s | FileCheck -check-prefix=CHECK-CC60 %s
-+// CHECK-CC60: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
-+// CHECK-CC60: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter float}{RightParen )} (1)
-+// CHECK-CC60: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter int}{RightParen )} (1)
-+// CHECK-CC60: Completion contexts:
-+// CHECK-CC60-NEXT: Any type
-+// CHECK-CC60-NEXT: Any value
-+// CHECK-CC60-NEXT: Enum tag
-+// CHECK-CC60-NEXT: Union tag
-+// CHECK-CC60-NEXT: Struct tag
-+// CHECK-CC60-NEXT: Class name
-+// CHECK-CC60-NEXT: Nested name specifier
-+// CHECK-CC60-NEXT: Objective-C interface
-+
-+// RUN: c-index-test -code-completion-at=%s:106:11 %s | FileCheck -check-prefix=CHECK-CC61 %s
-+// CHECK-CC61: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
-+// CHECK-CC61: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter float}{RightParen )} (1)
-+// CHECK-CC61: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter int}{RightParen )} (1)
-+// CHECK-CC61: Completion contexts:
-+// CHECK-CC61-NEXT: Any type
-+// CHECK-CC61-NEXT: Any value
-+// CHECK-CC61-NEXT: Enum tag
-+// CHECK-CC61-NEXT: Union tag
-+// CHECK-CC61-NEXT: Struct tag
-+// CHECK-CC61-NEXT: Class name
-+// CHECK-CC61-NEXT: Nested name specifier
-+// CHECK-CC61-NEXT: Objective-C interface
-+
-+// RUN: c-index-test -code-completion-at=%s:111:16 %s | FileCheck -check-prefix=CHECK-CC62 %s
-+// CHECK-CC62: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
-+// CHECK-CC62: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter float}{RightParen )} (1)
-+// CHECK-CC62: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter int}{RightParen )} (1)
-+// CHECK-CC62: Completion contexts:
-+// CHECK-CC62-NEXT: Any type
-+// CHECK-CC62-NEXT: Any value
-+// CHECK-CC62-NEXT: Enum tag
-+// CHECK-CC62-NEXT: Union tag
-+// CHECK-CC62-NEXT: Struct tag
-+// CHECK-CC62-NEXT: Class name
-+// CHECK-CC62-NEXT: Nested name specifier
-+// CHECK-CC62-NEXT: Objective-C interface
-+
diff --git a/development/qt-creator-llvm/patches/210_D43453_Fix-overloaded-static-functions-for-templates.patch b/development/qt-creator-llvm/patches/210_D43453_Fix-overloaded-static-functions-for-templates.patch
deleted file mode 100644
index 0223c96e78..0000000000
--- a/development/qt-creator-llvm/patches/210_D43453_Fix-overloaded-static-functions-for-templates.patch
+++ /dev/null
@@ -1,165 +0,0 @@
-diff --git a/tools/clang/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp
-index 1b07ec60ce..46ed08d1cf 100644
---- a/tools/clang/lib/Sema/SemaOverload.cpp
-+++ b/tools/clang/lib/Sema/SemaOverload.cpp
-@@ -6321,57 +6321,56 @@ void Sema::AddFunctionCandidates(const UnresolvedSetImpl &Fns,
- bool FirstArgumentIsBase) {
- for (UnresolvedSetIterator F = Fns.begin(), E = Fns.end(); F != E; ++F) {
- NamedDecl *D = F.getDecl()->getUnderlyingDecl();
-- if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
-- ArrayRef<Expr *> FunctionArgs = Args;
-- if (isa<CXXMethodDecl>(FD) && !cast<CXXMethodDecl>(FD)->isStatic()) {
-- QualType ObjectType;
-- Expr::Classification ObjectClassification;
-- if (Args.size() > 0) {
-- if (Expr *E = Args[0]) {
-- // Use the explit base to restrict the lookup:
-- ObjectType = E->getType();
-- ObjectClassification = E->Classify(Context);
-- } // .. else there is an implit base.
-- FunctionArgs = Args.slice(1);
-- }
-- AddMethodCandidate(cast<CXXMethodDecl>(FD), F.getPair(),
-- cast<CXXMethodDecl>(FD)->getParent(), ObjectType,
-- ObjectClassification, FunctionArgs, CandidateSet,
-- SuppressUserConversions, PartialOverloading);
-- } else {
-- // Slice the first argument (which is the base) when we access
-- // static method as non-static
-- if (Args.size() > 0 && (!Args[0] || (FirstArgumentIsBase && isa<CXXMethodDecl>(FD) &&
-- !isa<CXXConstructorDecl>(FD)))) {
-- assert(cast<CXXMethodDecl>(FD)->isStatic());
-- FunctionArgs = Args.slice(1);
-- }
-- AddOverloadCandidate(FD, F.getPair(), FunctionArgs, CandidateSet,
-- SuppressUserConversions, PartialOverloading);
-- }
-- } else {
-- FunctionTemplateDecl *FunTmpl = cast<FunctionTemplateDecl>(D);
-- if (isa<CXXMethodDecl>(FunTmpl->getTemplatedDecl()) &&
-- !cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl())->isStatic()) {
-- QualType ObjectType;
-- Expr::Classification ObjectClassification;
-+ ArrayRef<Expr *> FunctionArgs = Args;
-+
-+ FunctionTemplateDecl *FunTmpl = nullptr;
-+ FunctionDecl *FD = dyn_cast<FunctionDecl>(D);
-+
-+ const bool IsTemplate = FD ? false : true;
-+ if (IsTemplate) {
-+ FunTmpl = cast<FunctionTemplateDecl>(D);
-+ FD = FunTmpl->getTemplatedDecl();
-+ }
-+
-+ if (isa<CXXMethodDecl>(FD) && !cast<CXXMethodDecl>(FD)->isStatic()) {
-+ QualType ObjectType;
-+ Expr::Classification ObjectClassification;
-+ if (Args.size() > 0) {
- if (Expr *E = Args[0]) {
- // Use the explit base to restrict the lookup:
- ObjectType = E->getType();
- ObjectClassification = E->Classify(Context);
- } // .. else there is an implit base.
-+ FunctionArgs = Args.slice(1);
-+ }
-+ if (IsTemplate)
- AddMethodTemplateCandidate(
- FunTmpl, F.getPair(),
- cast<CXXRecordDecl>(FunTmpl->getDeclContext()),
- ExplicitTemplateArgs, ObjectType, ObjectClassification,
-- Args.slice(1), CandidateSet, SuppressUserConversions,
-+ FunctionArgs, CandidateSet, SuppressUserConversions,
- PartialOverloading);
-- } else {
-- AddTemplateOverloadCandidate(FunTmpl, F.getPair(),
-- ExplicitTemplateArgs, Args,
-- CandidateSet, SuppressUserConversions,
-- PartialOverloading);
-+ else
-+ AddMethodCandidate(cast<CXXMethodDecl>(FD), F.getPair(),
-+ cast<CXXMethodDecl>(FD)->getParent(), ObjectType,
-+ ObjectClassification, FunctionArgs, CandidateSet,
-+ SuppressUserConversions, PartialOverloading);
-+ } else {
-+ // Slice the first argument (which is the base) when we access
-+ // static method as non-static
-+ if (Args.size() > 0 &&
-+ (!Args[0] || (FirstArgumentIsBase && isa<CXXMethodDecl>(FD) &&
-+ !isa<CXXConstructorDecl>(FD)))) {
-+ assert(cast<CXXMethodDecl>(FD)->isStatic());
-+ FunctionArgs = Args.slice(1);
- }
-+ if (IsTemplate)
-+ AddTemplateOverloadCandidate(
-+ FunTmpl, F.getPair(), ExplicitTemplateArgs, FunctionArgs,
-+ CandidateSet, SuppressUserConversions, PartialOverloading);
-+ else
-+ AddOverloadCandidate(FD, F.getPair(), FunctionArgs, CandidateSet,
-+ SuppressUserConversions, PartialOverloading);
- }
- }
- }
-diff --git a/tools/clang/test/Index/complete-call.cpp b/test/Index/complete-call.cpp
-index ca116485ac..35f2009066 100644
---- a/tools/clang/test/Index/complete-call.cpp
-+++ b/tools/clang/test/Index/complete-call.cpp
-@@ -112,6 +112,33 @@ struct Bar2 : public Bar {
- }
- };
-
-+struct BarTemplates {
-+ static void foo_1() {}
-+ void foo_1(float) {}
-+ static void foo_1(int) {}
-+
-+ template<class T1, class T2>
-+ static void foo_1(T1 a, T2 b) { a + b; }
-+
-+ template<class T1, class T2>
-+ void foo_1(T1 a, T2 b, float c) { a + b + c; }
-+
-+ template<class T1, class T2>
-+ static void foo_1(T2 a, int b, T1 c) { a + b + c; }
-+};
-+
-+void testTemplates() {
-+ BarTemplates::foo_1();
-+ BarTemplates b;
-+ b.foo_1();
-+}
-+
-+struct Bar2Template : public BarTemplates {
-+ Bar2Template() {
-+ BarTemplates::foo_1();
-+ }
-+};
-+
- // RUN: c-index-test -code-completion-at=%s:47:9 %s | FileCheck -check-prefix=CHECK-CC1 %s
- // CHECK-CC1: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
- // CHECK-CC1: Completion contexts:
-@@ -864,3 +891,25 @@ struct Bar2 : public Bar {
- // CHECK-CC62-NEXT: Nested name specifier
- // CHECK-CC62-NEXT: Objective-C interface
-
-+// RUN: c-index-test -code-completion-at=%s:131:23 %s | FileCheck -check-prefix=CHECK-CC63 %s
-+// CHECK-CC63: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
-+// CHECK-CC63: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter float}{RightParen )} (1)
-+// CHECK-CC63: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter int}{RightParen )} (1)
-+// CHECK-CC63: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter T1 a}{Comma , }{Placeholder T2 b}{RightParen )} (1)
-+// CHECK-CC63: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter T1 a}{Comma , }{Placeholder T2 b}{Comma , }{Placeholder float c}{RightParen )} (1)
-+// CHECK-CC63: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter T2 a}{Comma , }{Placeholder int b}{Comma , }{Placeholder T1 c}{RightParen )} (1)
-+
-+// RUN: c-index-test -code-completion-at=%s:133:11 %s | FileCheck -check-prefix=CHECK-CC64 %s
-+// CHECK-CC64: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
-+// CHECK-CC64: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter float}{RightParen )} (1)
-+// CHECK-CC64: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter int}{RightParen )} (1)
-+// CHECK-CC64: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter T1 a}{Comma , }{Placeholder T2 b}{RightParen )} (1)
-+// CHECK-CC64: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter T2 a}{Comma , }{Placeholder int b}{Comma , }{Placeholder T1 c}{RightParen )} (1)
-+
-+// RUN: c-index-test -code-completion-at=%s:138:25 %s | FileCheck -check-prefix=CHECK-CC65 %s
-+// CHECK-CC65: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
-+// CHECK-CC65: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter float}{RightParen )} (1)
-+// CHECK-CC65: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter int}{RightParen )} (1)
-+// CHECK-CC65: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter T1 a}{Comma , }{Placeholder T2 b}{RightParen )} (1)
-+// CHECK-CC65: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter T1 a}{Comma , }{Placeholder T2 b}{Comma , }{Placeholder float c}{RightParen )} (1)
-+// CHECK-CC65: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{CurrentParameter T2 a}{Comma , }{Placeholder int b}{Comma , }{Placeholder T1 c}{RightParen )} (1)
diff --git a/development/qt-creator-llvm/patches/220_Support-std-has_unique_object_represesentations.patch b/development/qt-creator-llvm/patches/220_Support-std-has_unique_object_represesentations.patch
deleted file mode 100644
index 71ae413dd2..0000000000
--- a/development/qt-creator-llvm/patches/220_Support-std-has_unique_object_represesentations.patch
+++ /dev/null
@@ -1,739 +0,0 @@
-diff --git a/tools/clang/include/clang/AST/ASTContext.h b/tools/clang/include/clang/AST/ASTContext.h
-index 703f588c56..d7beffa25e 100644
---- a/tools/clang/include/clang/AST/ASTContext.h
-+++ b/tools/clang/include/clang/AST/ASTContext.h
-@@ -2072,6 +2072,10 @@ public:
- void CollectInheritedProtocols(const Decl *CDecl,
- llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols);
-
-+ /// \brief Return true if the specified type has unique object representations
-+ /// according to (C++17 [meta.unary.prop]p9)
-+ bool hasUniqueObjectRepresentations(QualType Ty) const;
-+
- //===--------------------------------------------------------------------===//
- // Type Operators
- //===--------------------------------------------------------------------===//
-diff --git a/tools/clang/include/clang/Basic/TokenKinds.def b/tools/clang/include/clang/Basic/TokenKinds.def
-index be67663a10..90ac33b9ea 100644
---- a/tools/clang/include/clang/Basic/TokenKinds.def
-+++ b/tools/clang/include/clang/Basic/TokenKinds.def
-@@ -448,6 +448,8 @@ TYPE_TRAIT_1(__is_pod, IsPOD, KEYCXX)
- TYPE_TRAIT_1(__is_polymorphic, IsPolymorphic, KEYCXX)
- TYPE_TRAIT_1(__is_trivial, IsTrivial, KEYCXX)
- TYPE_TRAIT_1(__is_union, IsUnion, KEYCXX)
-+TYPE_TRAIT_1(__has_unique_object_representations,
-+ HasUniqueObjectRepresentations, KEYCXX)
-
- // Clang-only C++ Type Traits
- TYPE_TRAIT_N(__is_trivially_constructible, IsTriviallyConstructible, KEYCXX)
-diff --git a/tools/clang/include/clang/Basic/TypeTraits.h b/tools/clang/include/clang/Basic/TypeTraits.h
-index 6aadf795d8..8ecd63f9c3 100644
---- a/tools/clang/include/clang/Basic/TypeTraits.h
-+++ b/tools/clang/include/clang/Basic/TypeTraits.h
-@@ -70,7 +70,8 @@ namespace clang {
- UTT_IsUnsigned,
- UTT_IsVoid,
- UTT_IsVolatile,
-- UTT_Last = UTT_IsVolatile,
-+ UTT_HasUniqueObjectRepresentations,
-+ UTT_Last = UTT_HasUniqueObjectRepresentations,
- BTT_IsBaseOf,
- BTT_IsConvertible,
- BTT_IsConvertibleTo,
-diff --git a/tools/clang/lib/AST/ASTContext.cpp b/tools/clang/lib/AST/ASTContext.cpp
-index c60373c5a9..1ce7d51857 100644
---- a/tools/clang/lib/AST/ASTContext.cpp
-+++ b/tools/clang/lib/AST/ASTContext.cpp
-@@ -1823,7 +1823,9 @@ TypeInfo ASTContext::getTypeInfoImpl(const Type *T) const {
- }
- case Type::MemberPointer: {
- const MemberPointerType *MPT = cast<MemberPointerType>(T);
-- std::tie(Width, Align) = ABI->getMemberPointerWidthAndAlign(MPT);
-+ CXXABI::MemberPointerInfo MPI = ABI->getMemberPointerInfo(MPT);
-+ Width = MPI.Width;
-+ Align = MPI.Align;
- break;
- }
- case Type::Complex: {
-@@ -2107,6 +2109,171 @@ void ASTContext::CollectInheritedProtocols(const Decl *CDecl,
- }
- }
-
-+static bool unionHasUniqueObjectRepresentations(const ASTContext &Context,
-+ const RecordDecl *RD) {
-+ assert(RD->isUnion() && "Must be union type");
-+ CharUnits UnionSize = Context.getTypeSizeInChars(RD->getTypeForDecl());
-+
-+ for (const auto *Field : RD->fields()) {
-+ if (!Context.hasUniqueObjectRepresentations(Field->getType()))
-+ return false;
-+ CharUnits FieldSize = Context.getTypeSizeInChars(Field->getType());
-+ if (FieldSize != UnionSize)
-+ return false;
-+ }
-+ return !RD->field_empty();
-+}
-+
-+bool isStructEmpty(QualType Ty) {
-+ const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl();
-+
-+ if (!RD->field_empty())
-+ return false;
-+
-+ if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RD))
-+ return ClassDecl->isEmpty();
-+
-+ return true;
-+}
-+
-+static llvm::Optional<int64_t>
-+structHasUniqueObjectRepresentations(const ASTContext &Context,
-+ const RecordDecl *RD) {
-+ assert(!RD->isUnion() && "Must be struct/class type");
-+ const auto &Layout = Context.getASTRecordLayout(RD);
-+
-+ int64_t CurOffsetInBits = 0;
-+ if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RD)) {
-+ if (ClassDecl->isDynamicClass())
-+ return llvm::None;
-+
-+ SmallVector<std::pair<QualType, int64_t>, 4> Bases;
-+ for (const auto Base : ClassDecl->bases()) {
-+ // Empty types can be inherited from, and non-empty types can potentially
-+ // have tail padding, so just make sure there isn't an error.
-+ if (!isStructEmpty(Base.getType())) {
-+ llvm::Optional<int64_t> Size = structHasUniqueObjectRepresentations(
-+ Context, Base.getType()->getAs<RecordType>()->getDecl());
-+ if (!Size)
-+ return llvm::None;
-+ Bases.emplace_back(Base.getType(), Size.getValue());
-+ }
-+ }
-+
-+ std::sort(
-+ Bases.begin(), Bases.end(), [&](const std::pair<QualType, int64_t> &L,
-+ const std::pair<QualType, int64_t> &R) {
-+ return Layout.getBaseClassOffset(L.first->getAsCXXRecordDecl()) <
-+ Layout.getBaseClassOffset(R.first->getAsCXXRecordDecl());
-+ });
-+
-+ for (const auto Base : Bases) {
-+ int64_t BaseOffset = Context.toBits(
-+ Layout.getBaseClassOffset(Base.first->getAsCXXRecordDecl()));
-+ int64_t BaseSize = Base.second;
-+ if (BaseOffset != CurOffsetInBits)
-+ return llvm::None;
-+ CurOffsetInBits = BaseOffset + BaseSize;
-+ }
-+ }
-+
-+ for (const auto *Field : RD->fields()) {
-+ if (!Field->getType()->isReferenceType() &&
-+ !Context.hasUniqueObjectRepresentations(Field->getType()))
-+ return llvm::None;
-+
-+ int64_t FieldSizeInBits =
-+ Context.toBits(Context.getTypeSizeInChars(Field->getType()));
-+ if (Field->isBitField()) {
-+ int64_t BitfieldSize = Field->getBitWidthValue(Context);
-+
-+ if (BitfieldSize > FieldSizeInBits)
-+ return llvm::None;
-+ FieldSizeInBits = BitfieldSize;
-+ }
-+
-+ int64_t FieldOffsetInBits = Context.getFieldOffset(Field);
-+
-+ if (FieldOffsetInBits != CurOffsetInBits)
-+ return llvm::None;
-+
-+ CurOffsetInBits = FieldSizeInBits + FieldOffsetInBits;
-+ }
-+
-+ return CurOffsetInBits;
-+}
-+
-+bool ASTContext::hasUniqueObjectRepresentations(QualType Ty) const {
-+ // C++17 [meta.unary.prop]:
-+ // The predicate condition for a template specialization
-+ // has_unique_object_representations<T> shall be
-+ // satisfied if and only if:
-+ // (9.1) - T is trivially copyable, and
-+ // (9.2) - any two objects of type T with the same value have the same
-+ // object representation, where two objects
-+ // of array or non-union class type are considered to have the same value
-+ // if their respective sequences of
-+ // direct subobjects have the same values, and two objects of union type
-+ // are considered to have the same
-+ // value if they have the same active member and the corresponding members
-+ // have the same value.
-+ // The set of scalar types for which this condition holds is
-+ // implementation-defined. [ Note: If a type has padding
-+ // bits, the condition does not hold; otherwise, the condition holds true
-+ // for unsigned integral types. -- end note ]
-+ assert(!Ty.isNull() && "Null QualType sent to unique object rep check");
-+
-+ // Arrays are unique only if their element type is unique.
-+ if (Ty->isArrayType())
-+ return hasUniqueObjectRepresentations(getBaseElementType(Ty));
-+
-+ // (9.1) - T is trivially copyable...
-+ if (!Ty.isTriviallyCopyableType(*this))
-+ return false;
-+
-+ // All integrals and enums are unique.
-+ if (Ty->isIntegralOrEnumerationType())
-+ return true;
-+
-+ // All other pointers are unique.
-+ if (Ty->isPointerType())
-+ return true;
-+
-+ if (Ty->isMemberPointerType()) {
-+ const MemberPointerType *MPT = Ty->getAs<MemberPointerType>();
-+ return !ABI->getMemberPointerInfo(MPT).HasPadding;
-+ }
-+
-+ if (Ty->isRecordType()) {
-+ const RecordDecl *Record = Ty->getAs<RecordType>()->getDecl();
-+
-+ if (Record->isInvalidDecl())
-+ return false;
-+
-+ if (Record->isUnion())
-+ return unionHasUniqueObjectRepresentations(*this, Record);
-+
-+ Optional<int64_t> StructSize =
-+ structHasUniqueObjectRepresentations(*this, Record);
-+
-+ return StructSize &&
-+ StructSize.getValue() == static_cast<int64_t>(getTypeSize(Ty));
-+ }
-+
-+ // FIXME: More cases to handle here (list by rsmith):
-+ // vectors (careful about, eg, vector of 3 foo)
-+ // _Complex int and friends
-+ // _Atomic T
-+ // Obj-C block pointers
-+ // Obj-C object pointers
-+ // and perhaps OpenCL's various builtin types (pipe, sampler_t, event_t,
-+ // clk_event_t, queue_t, reserve_id_t)
-+ // There're also Obj-C class types and the Obj-C selector type, but I think it
-+ // makes sense for those to return false here.
-+
-+ return false;
-+}
-+
- unsigned ASTContext::CountNonClassIvars(const ObjCInterfaceDecl *OI) const {
- unsigned count = 0;
- // Count ivars declared in class extension.
-diff --git a/tools/clang/lib/AST/CXXABI.h b/tools/clang/lib/AST/CXXABI.h
-index 924ef00e81..06295b5817 100644
---- a/tools/clang/lib/AST/CXXABI.h
-+++ b/tools/clang/lib/AST/CXXABI.h
-@@ -31,9 +31,16 @@ class CXXABI {
- public:
- virtual ~CXXABI();
-
-- /// Returns the width and alignment of a member pointer in bits.
-- virtual std::pair<uint64_t, unsigned>
-- getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const = 0;
-+ struct MemberPointerInfo {
-+ uint64_t Width;
-+ unsigned Align;
-+ bool HasPadding;
-+ };
-+
-+ /// Returns the width and alignment of a member pointer in bits, as well as
-+ /// whether it has padding.
-+ virtual MemberPointerInfo
-+ getMemberPointerInfo(const MemberPointerType *MPT) const = 0;
-
- /// Returns the default calling convention for C++ methods.
- virtual CallingConv getDefaultMethodCallConv(bool isVariadic) const = 0;
-diff --git a/tools/clang/lib/AST/ItaniumCXXABI.cpp b/tools/clang/lib/AST/ItaniumCXXABI.cpp
-index 692a455eaf..d6bc16b635 100644
---- a/tools/clang/lib/AST/ItaniumCXXABI.cpp
-+++ b/tools/clang/lib/AST/ItaniumCXXABI.cpp
-@@ -101,15 +101,17 @@ protected:
- public:
- ItaniumCXXABI(ASTContext &Ctx) : Context(Ctx) { }
-
-- std::pair<uint64_t, unsigned>
-- getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const override {
-+ MemberPointerInfo
-+ getMemberPointerInfo(const MemberPointerType *MPT) const override {
- const TargetInfo &Target = Context.getTargetInfo();
- TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0);
-- uint64_t Width = Target.getTypeWidth(PtrDiff);
-- unsigned Align = Target.getTypeAlign(PtrDiff);
-+ MemberPointerInfo MPI;
-+ MPI.Width = Target.getTypeWidth(PtrDiff);
-+ MPI.Align = Target.getTypeAlign(PtrDiff);
-+ MPI.HasPadding = false;
- if (MPT->isMemberFunctionPointer())
-- Width = 2 * Width;
-- return std::make_pair(Width, Align);
-+ MPI.Width *= 2;
-+ return MPI;
- }
-
- CallingConv getDefaultMethodCallConv(bool isVariadic) const override {
-diff --git a/tools/clang/lib/AST/MicrosoftCXXABI.cpp b/tools/clang/lib/AST/MicrosoftCXXABI.cpp
-index 73324e40f3..b19491f313 100644
---- a/tools/clang/lib/AST/MicrosoftCXXABI.cpp
-+++ b/tools/clang/lib/AST/MicrosoftCXXABI.cpp
-@@ -76,8 +76,8 @@ class MicrosoftCXXABI : public CXXABI {
- public:
- MicrosoftCXXABI(ASTContext &Ctx) : Context(Ctx) { }
-
-- std::pair<uint64_t, unsigned>
-- getMemberPointerWidthAndAlign(const MemberPointerType *MPT) const override;
-+ MemberPointerInfo
-+ getMemberPointerInfo(const MemberPointerType *MPT) const override;
-
- CallingConv getDefaultMethodCallConv(bool isVariadic) const override {
- if (!isVariadic &&
-@@ -227,7 +227,7 @@ getMSMemberPointerSlots(const MemberPointerType *MPT) {
- return std::make_pair(Ptrs, Ints);
- }
-
--std::pair<uint64_t, unsigned> MicrosoftCXXABI::getMemberPointerWidthAndAlign(
-+CXXABI::MemberPointerInfo MicrosoftCXXABI::getMemberPointerInfo(
- const MemberPointerType *MPT) const {
- // The nominal struct is laid out with pointers followed by ints and aligned
- // to a pointer width if any are present and an int width otherwise.
-@@ -237,22 +237,25 @@ std::pair<uint64_t, unsigned> MicrosoftCXXABI::getMemberPointerWidthAndAlign(
-
- unsigned Ptrs, Ints;
- std::tie(Ptrs, Ints) = getMSMemberPointerSlots(MPT);
-- uint64_t Width = Ptrs * PtrSize + Ints * IntSize;
-- unsigned Align;
-+ MemberPointerInfo MPI;
-+ MPI.HasPadding = false;
-+ MPI.Width = Ptrs * PtrSize + Ints * IntSize;
-
- // When MSVC does x86_32 record layout, it aligns aggregate member pointers to
- // 8 bytes. However, __alignof usually returns 4 for data memptrs and 8 for
- // function memptrs.
- if (Ptrs + Ints > 1 && Target.getTriple().isArch32Bit())
-- Align = 64;
-+ MPI.Align = 64;
- else if (Ptrs)
-- Align = Target.getPointerAlign(0);
-+ MPI.Align = Target.getPointerAlign(0);
- else
-- Align = Target.getIntAlign();
-+ MPI.Align = Target.getIntAlign();
-
-- if (Target.getTriple().isArch64Bit())
-- Width = llvm::alignTo(Width, Align);
-- return std::make_pair(Width, Align);
-+ if (Target.getTriple().isArch64Bit()) {
-+ MPI.Width = llvm::alignTo(MPI.Width, MPI.Align);
-+ MPI.HasPadding = MPI.Width != (Ptrs * PtrSize + Ints * IntSize);
-+ }
-+ return MPI;
- }
-
- CXXABI *clang::CreateMicrosoftCXXABI(ASTContext &Ctx) {
-diff --git a/tools/clang/lib/Parse/ParseExpr.cpp b/tools/clang/lib/Parse/ParseExpr.cpp
-index 44b87af01a..73aac10c23 100644
---- a/tools/clang/lib/Parse/ParseExpr.cpp
-+++ b/tools/clang/lib/Parse/ParseExpr.cpp
-@@ -716,6 +716,7 @@ class CastExpressionIdValidator : public CorrectionCandidateCallback {
- /// '__is_sealed' [MS]
- /// '__is_trivial'
- /// '__is_union'
-+/// '__has_unique_object_representations'
- ///
- /// [Clang] unary-type-trait:
- /// '__is_aggregate'
-diff --git a/tools/clang/lib/Sema/SemaExprCXX.cpp b/tools/clang/lib/Sema/SemaExprCXX.cpp
-index a9cf3ec799..a7d75ad977 100644
---- a/tools/clang/lib/Sema/SemaExprCXX.cpp
-+++ b/tools/clang/lib/Sema/SemaExprCXX.cpp
-@@ -4141,6 +4141,7 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S, TypeTrait UTT,
- case UTT_IsDestructible:
- case UTT_IsNothrowDestructible:
- case UTT_IsTriviallyDestructible:
-+ case UTT_HasUniqueObjectRepresentations:
- if (ArgTy->isIncompleteArrayType() || ArgTy->isVoidType())
- return true;
-
-@@ -4580,6 +4581,8 @@ static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait UTT,
- // Returns True if and only if T is a complete type at the point of the
- // function call.
- return !T->isIncompleteType();
-+ case UTT_HasUniqueObjectRepresentations:
-+ return C.hasUniqueObjectRepresentations(T);
- }
- }
-
-diff --git a/tools/clang/test/SemaCXX/has_unique_object_reps_member_ptr.cpp b/tools/clang/test/SemaCXX/has_unique_object_reps_member_ptr.cpp
-new file mode 100644
-index 0000000000..b8e27f82ff
---- /dev/null
-+++ b/tools/clang/test/SemaCXX/has_unique_object_reps_member_ptr.cpp
-@@ -0,0 +1,32 @@
-+// RUN: %clang_cc1 -triple x86_64-linux-pc -DIS64 -fsyntax-only -verify -std=c++17 %s
-+// RUN: %clang_cc1 -triple x86_64-windows-pc -DIS64 -fsyntax-only -verify -std=c++17 %s
-+// RUN: %clang_cc1 -triple i386-linux-pc -fsyntax-only -verify -std=c++17 %s
-+// RUN: %clang_cc1 -triple i386-windows-pc -DW32 -fsyntax-only -verify -std=c++17 %s
-+// expected-no-diagnostics
-+
-+struct Base {};
-+struct A : virtual Base {
-+ virtual void n() {}
-+};
-+
-+auto p = &A::n;
-+static_assert(__has_unique_object_representations(decltype(p)));
-+
-+struct B {
-+ decltype(p) x;
-+ int b;
-+#ifdef IS64
-+ // required on 64 bit to fill out the tail padding.
-+ int c;
-+#endif
-+};
-+static_assert(__has_unique_object_representations(B));
-+
-+struct C { // has padding on Win32, but nothing else.
-+ decltype(p) x;
-+};
-+#ifdef W32
-+static_assert(!__has_unique_object_representations(C));
-+#else
-+static_assert(__has_unique_object_representations(C));
-+#endif
-diff --git a/tools/clang/test/SemaCXX/type-traits.cpp b/tools/clang/test/SemaCXX/type-traits.cpp
-index 5879a77dd5..3c2f9c7f0f 100644
---- a/tools/clang/test/SemaCXX/type-traits.cpp
-+++ b/tools/clang/test/SemaCXX/type-traits.cpp
-@@ -2352,3 +2352,321 @@ void is_trivially_destructible_test() {
- { int arr[F(__is_trivially_destructible(void))]; }
- { int arr[F(__is_trivially_destructible(const volatile void))]; }
- }
-+
-+// Instantiation of __has_unique_object_representations
-+template <typename T>
-+struct has_unique_object_representations {
-+ static const bool value = __has_unique_object_representations(T);
-+};
-+
-+static_assert(!has_unique_object_representations<void>::value, "void is never unique");
-+static_assert(!has_unique_object_representations<const void>::value, "void is never unique");
-+static_assert(!has_unique_object_representations<volatile void>::value, "void is never unique");
-+static_assert(!has_unique_object_representations<const volatile void>::value, "void is never unique");
-+
-+static_assert(has_unique_object_representations<int>::value, "integrals are");
-+static_assert(has_unique_object_representations<const int>::value, "integrals are");
-+static_assert(has_unique_object_representations<volatile int>::value, "integrals are");
-+static_assert(has_unique_object_representations<const volatile int>::value, "integrals are");
-+
-+static_assert(has_unique_object_representations<void *>::value, "as are pointers");
-+static_assert(has_unique_object_representations<const void *>::value, "as are pointers");
-+static_assert(has_unique_object_representations<volatile void *>::value, "are pointers");
-+static_assert(has_unique_object_representations<const volatile void *>::value, "as are pointers");
-+
-+static_assert(has_unique_object_representations<int *>::value, "as are pointers");
-+static_assert(has_unique_object_representations<const int *>::value, "as are pointers");
-+static_assert(has_unique_object_representations<volatile int *>::value, "as are pointers");
-+static_assert(has_unique_object_representations<const volatile int *>::value, "as are pointers");
-+
-+class C {};
-+using FP = int (*)(int);
-+using PMF = int (C::*)(int);
-+using PMD = int C::*;
-+
-+static_assert(has_unique_object_representations<FP>::value, "even function pointers");
-+static_assert(has_unique_object_representations<const FP>::value, "even function pointers");
-+static_assert(has_unique_object_representations<volatile FP>::value, "even function pointers");
-+static_assert(has_unique_object_representations<const volatile FP>::value, "even function pointers");
-+
-+static_assert(has_unique_object_representations<PMF>::value, "and pointer to members");
-+static_assert(has_unique_object_representations<const PMF>::value, "and pointer to members");
-+static_assert(has_unique_object_representations<volatile PMF>::value, "and pointer to members");
-+static_assert(has_unique_object_representations<const volatile PMF>::value, "and pointer to members");
-+
-+static_assert(has_unique_object_representations<PMD>::value, "and pointer to members");
-+static_assert(has_unique_object_representations<const PMD>::value, "and pointer to members");
-+static_assert(has_unique_object_representations<volatile PMD>::value, "and pointer to members");
-+static_assert(has_unique_object_representations<const volatile PMD>::value, "and pointer to members");
-+
-+static_assert(has_unique_object_representations<bool>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<char>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<signed char>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<unsigned char>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<short>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<unsigned short>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<int>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<unsigned int>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<long>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<unsigned long>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<long long>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<unsigned long long>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<wchar_t>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<char16_t>::value, "yes, all integral types");
-+static_assert(has_unique_object_representations<char32_t>::value, "yes, all integral types");
-+
-+static_assert(!has_unique_object_representations<void>::value, "but not void!");
-+static_assert(!has_unique_object_representations<decltype(nullptr)>::value, "or nullptr_t");
-+static_assert(!has_unique_object_representations<float>::value, "definitely not Floating Point");
-+static_assert(!has_unique_object_representations<double>::value, "definitely not Floating Point");
-+static_assert(!has_unique_object_representations<long double>::value, "definitely not Floating Point");
-+
-+struct NoPadding {
-+ int a;
-+ int b;
-+};
-+
-+static_assert(has_unique_object_representations<NoPadding>::value, "types without padding are");
-+
-+struct InheritsFromNoPadding : NoPadding {
-+ int c;
-+ int d;
-+};
-+
-+static_assert(has_unique_object_representations<InheritsFromNoPadding>::value, "types without padding are");
-+
-+struct VirtuallyInheritsFromNoPadding : virtual NoPadding {
-+ int c;
-+ int d;
-+};
-+
-+static_assert(!has_unique_object_representations<VirtuallyInheritsFromNoPadding>::value, "No virtual inheritence");
-+
-+struct Padding {
-+ char a;
-+ int b;
-+};
-+
-+//static_assert(!has_unique_object_representations<Padding>::value, "but not with padding");
-+
-+struct InheritsFromPadding : Padding {
-+ int c;
-+ int d;
-+};
-+
-+static_assert(!has_unique_object_representations<InheritsFromPadding>::value, "or its subclasses");
-+
-+struct TailPadding {
-+ int a;
-+ char b;
-+};
-+
-+static_assert(!has_unique_object_representations<TailPadding>::value, "even at the end");
-+
-+struct TinyStruct {
-+ char a;
-+};
-+
-+static_assert(has_unique_object_representations<TinyStruct>::value, "Should be no padding");
-+
-+struct InheritsFromTinyStruct : TinyStruct {
-+ int b;
-+};
-+
-+static_assert(!has_unique_object_representations<InheritsFromTinyStruct>::value, "Inherit causes padding");
-+
-+union NoPaddingUnion {
-+ int a;
-+ unsigned int b;
-+};
-+
-+static_assert(has_unique_object_representations<NoPaddingUnion>::value, "unions follow the same rules as structs");
-+
-+union PaddingUnion {
-+ int a;
-+ long long b;
-+};
-+
-+static_assert(!has_unique_object_representations<PaddingUnion>::value, "unions follow the same rules as structs");
-+
-+struct NotTriviallyCopyable {
-+ int x;
-+ NotTriviallyCopyable(const NotTriviallyCopyable &) {}
-+};
-+
-+static_assert(!has_unique_object_representations<NotTriviallyCopyable>::value, "must be trivially copyable");
-+
-+struct HasNonUniqueMember {
-+ float x;
-+};
-+
-+static_assert(!has_unique_object_representations<HasNonUniqueMember>::value, "all members must be unique");
-+
-+enum ExampleEnum { xExample,
-+ yExample };
-+enum LLEnum : long long { xLongExample,
-+ yLongExample };
-+
-+static_assert(has_unique_object_representations<ExampleEnum>::value, "Enums are integrals, so unique!");
-+static_assert(has_unique_object_representations<LLEnum>::value, "Enums are integrals, so unique!");
-+
-+enum class ExampleEnumClass { xExample,
-+ yExample };
-+enum class LLEnumClass : long long { xLongExample,
-+ yLongExample };
-+
-+static_assert(has_unique_object_representations<ExampleEnumClass>::value, "Enums are integrals, so unique!");
-+static_assert(has_unique_object_representations<LLEnumClass>::value, "Enums are integrals, so unique!");
-+
-+// because references aren't trivially copyable.
-+static_assert(!has_unique_object_representations<int &>::value, "No references!");
-+static_assert(!has_unique_object_representations<const int &>::value, "No references!");
-+static_assert(!has_unique_object_representations<volatile int &>::value, "No references!");
-+static_assert(!has_unique_object_representations<const volatile int &>::value, "No references!");
-+static_assert(!has_unique_object_representations<Empty>::value, "No empty types!");
-+static_assert(!has_unique_object_representations<EmptyUnion>::value, "No empty types!");
-+
-+class Compressed : Empty {
-+ int x;
-+};
-+
-+static_assert(has_unique_object_representations<Compressed>::value, "But inheriting from one is ok");
-+
-+class EmptyInheritor : Compressed {};
-+
-+static_assert(has_unique_object_representations<EmptyInheritor>::value, "As long as the base has items, empty is ok");
-+
-+class Dynamic {
-+ virtual void A();
-+ int i;
-+};
-+
-+static_assert(!has_unique_object_representations<Dynamic>::value, "Dynamic types are not valid");
-+
-+class InheritsDynamic : Dynamic {
-+ int j;
-+};
-+
-+static_assert(!has_unique_object_representations<InheritsDynamic>::value, "Dynamic types are not valid");
-+
-+static_assert(has_unique_object_representations<int[42]>::value, "Arrays are fine, as long as their value type is");
-+static_assert(has_unique_object_representations<int[]>::value, "Arrays are fine, as long as their value type is");
-+static_assert(has_unique_object_representations<int[][42]>::value, "Arrays are fine, as long as their value type is");
-+static_assert(!has_unique_object_representations<double[42]>::value, "So no array of doubles!");
-+static_assert(!has_unique_object_representations<double[]>::value, "So no array of doubles!");
-+static_assert(!has_unique_object_representations<double[][42]>::value, "So no array of doubles!");
-+
-+struct __attribute__((aligned(16))) WeirdAlignment {
-+ int i;
-+};
-+union __attribute__((aligned(16))) WeirdAlignmentUnion {
-+ int i;
-+};
-+static_assert(!has_unique_object_representations<WeirdAlignment>::value, "Alignment causes padding");
-+static_assert(!has_unique_object_representations<WeirdAlignmentUnion>::value, "Alignment causes padding");
-+static_assert(!has_unique_object_representations<WeirdAlignment[42]>::value, "Also no arrays that have padding");
-+
-+static_assert(!has_unique_object_representations<int(int)>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) const>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) volatile>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) const volatile>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) &>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) const &>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) volatile &>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) const volatile &>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) &&>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) const &&>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) volatile &&>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int) const volatile &&>::value, "Functions are not unique");
-+
-+static_assert(!has_unique_object_representations<int(int, ...)>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) const>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) volatile>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) const volatile>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) &>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) const &>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) volatile &>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) const volatile &>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) &&>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) const &&>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) volatile &&>::value, "Functions are not unique");
-+static_assert(!has_unique_object_representations<int(int, ...) const volatile &&>::value, "Functions are not unique");
-+
-+void foo(){
-+ static auto lambda = []() {};
-+ static_assert(!has_unique_object_representations<decltype(lambda)>::value, "Lambdas follow struct rules");
-+ int i;
-+ static auto lambda2 = [i]() {};
-+ static_assert(has_unique_object_representations<decltype(lambda2)>::value, "Lambdas follow struct rules");
-+}
-+
-+struct PaddedBitfield {
-+ char c : 6;
-+ char d : 1;
-+};
-+
-+struct UnPaddedBitfield {
-+ char c : 6;
-+ char d : 2;
-+};
-+
-+struct AlignedPaddedBitfield {
-+ char c : 6;
-+ __attribute__((aligned(1)))
-+ char d : 2;
-+};
-+
-+static_assert(!has_unique_object_representations<PaddedBitfield>::value, "Bitfield padding");
-+static_assert(has_unique_object_representations<UnPaddedBitfield>::value, "Bitfield padding");
-+static_assert(!has_unique_object_representations<AlignedPaddedBitfield>::value, "Bitfield padding");
-+
-+struct BoolBitfield {
-+ bool b : 8;
-+};
-+
-+static_assert(has_unique_object_representations<BoolBitfield>::value, "Bitfield bool");
-+
-+struct BoolBitfield2 {
-+ bool b : 16;
-+};
-+
-+static_assert(!has_unique_object_representations<BoolBitfield2>::value, "Bitfield bool");
-+
-+struct GreaterSizeBitfield {
-+ //expected-warning@+1 {{width of bit-field 'n'}}
-+ int n : 1024;
-+};
-+
-+static_assert(sizeof(GreaterSizeBitfield) == 128, "Bitfield Size");
-+static_assert(!has_unique_object_representations<GreaterSizeBitfield>::value, "Bitfield padding");
-+
-+struct StructWithRef {
-+ int &I;
-+};
-+
-+static_assert(has_unique_object_representations<StructWithRef>::value, "References are still unique");
-+
-+struct NotUniqueBecauseTailPadding {
-+ int &r;
-+ char a;
-+};
-+struct CanBeUniqueIfNoPadding : NotUniqueBecauseTailPadding {
-+ char b[7];
-+};
-+
-+static_assert(!has_unique_object_representations<NotUniqueBecauseTailPadding>::value,
-+ "non trivial");
-+// Can be unique on Itanium, since the is child class' data is 'folded' into the
-+// parent's tail padding.
-+static_assert(sizeof(CanBeUniqueIfNoPadding) != 16 ||
-+ has_unique_object_representations<CanBeUniqueIfNoPadding>::value,
-+ "inherit from std layout");
-+
-+namespace ErrorType {
-+ struct S; //expected-note{{forward declaration of 'ErrorType::S'}}
-+
-+ struct T {
-+ S t; //expected-error{{field has incomplete type 'ErrorType::S'}}
-+ };
-+ bool b = __has_unique_object_representations(T);
-+};
---
-2.14.1
-
diff --git a/development/qt-creator-llvm/patches/230_D40673_Add-Float128-as-alias-to-__float128.patch b/development/qt-creator-llvm/patches/230_D40673_Add-Float128-as-alias-to-__float128.patch
deleted file mode 100644
index b1ca72f0f1..0000000000
--- a/development/qt-creator-llvm/patches/230_D40673_Add-Float128-as-alias-to-__float128.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-diff --git a/tools/clang/include/clang/Basic/TokenKinds.def b/tools/clang/include/clang/Basic/TokenKinds.def
-index 90ac33b9ea..67fea10788 100644
---- a/tools/clang/include/clang/Basic/TokenKinds.def
-+++ b/tools/clang/include/clang/Basic/TokenKinds.def
-@@ -390,6 +390,7 @@ TYPE_TRAIT_2(__builtin_types_compatible_p, TypeCompatible, KEYNOCXX)
- KEYWORD(__builtin_va_arg , KEYALL)
- KEYWORD(__extension__ , KEYALL)
- KEYWORD(__float128 , KEYALL)
-+ALIAS("_Float128", __float128 , KEYNOCXX)
- KEYWORD(__imag , KEYALL)
- KEYWORD(__int128 , KEYALL)
- KEYWORD(__label__ , KEYALL)
-diff --git a/tools/clang/lib/Frontend/InitPreprocessor.cpp b/tools/clang/lib/Frontend/InitPreprocessor.cpp
-index 92d61369b4..8edc06fe93 100644
---- a/tools/clang/lib/Frontend/InitPreprocessor.cpp
-+++ b/tools/clang/lib/Frontend/InitPreprocessor.cpp
-@@ -790,6 +790,10 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
- DefineFloatMacros(Builder, "FLT", &TI.getFloatFormat(), "F");
- DefineFloatMacros(Builder, "DBL", &TI.getDoubleFormat(), "");
- DefineFloatMacros(Builder, "LDBL", &TI.getLongDoubleFormat(), "L");
-+ if (TI.hasFloat128Type())
-+ // FIXME: Switch away from the non-standard "Q" when we can
-+ DefineFloatMacros(Builder, "FLT128", &TI.getFloat128Format(), "Q");
-+
-
- // Define a __POINTER_WIDTH__ macro for stdint.h.
- Builder.defineMacro("__POINTER_WIDTH__",
-diff --git a/tools/clang/test/Preprocessor/cuda-types.cu b/tools/clang/test/Preprocessor/cuda-types.cu
-index 5f7b91655c..9e96f6a15e 100644
---- a/tools/clang/test/Preprocessor/cuda-types.cu
-+++ b/tools/clang/test/Preprocessor/cuda-types.cu
-@@ -5,42 +5,44 @@
- // FIXME: We really should make __GCC_HAVE_SYNC_COMPARE_AND_SWAP identical on
- // host and device, but architecturally this is difficult at the moment.
-
-+// RUN: mkdir -p %t
-+
- // RUN: %clang --cuda-host-only -nocudainc -target i386-unknown-linux-gnu -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/i386-host-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/i386-host-defines-filtered
- // RUN: %clang --cuda-device-only -nocudainc -nocudalib -target i386-unknown-linux-gnu -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/i386-device-defines-filtered
--// RUN: diff %T/i386-host-defines-filtered %T/i386-device-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/i386-device-defines-filtered
-+// RUN: diff %t/i386-host-defines-filtered %t/i386-device-defines-filtered
-
- // RUN: %clang --cuda-host-only -nocudainc -target x86_64-unknown-linux-gnu -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/x86_64-host-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/x86_64-host-defines-filtered
- // RUN: %clang --cuda-device-only -nocudainc -nocudalib -target x86_64-unknown-linux-gnu -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/x86_64-device-defines-filtered
--// RUN: diff %T/x86_64-host-defines-filtered %T/x86_64-device-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/x86_64-device-defines-filtered
-+// RUN: diff %t/x86_64-host-defines-filtered %t/x86_64-device-defines-filtered
-
- // RUN: %clang --cuda-host-only -nocudainc -target powerpc64-unknown-linux-gnu -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/powerpc64-host-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/powerpc64-host-defines-filtered
- // RUN: %clang --cuda-device-only -nocudainc -nocudalib -target powerpc64-unknown-linux-gnu -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/powerpc64-device-defines-filtered
--// RUN: diff %T/powerpc64-host-defines-filtered %T/powerpc64-device-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/powerpc64-device-defines-filtered
-+// RUN: diff %t/powerpc64-host-defines-filtered %t/powerpc64-device-defines-filtered
-
- // RUN: %clang --cuda-host-only -nocudainc -target i386-windows-msvc -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/i386-msvc-host-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/i386-msvc-host-defines-filtered
- // RUN: %clang --cuda-device-only -nocudainc -nocudalib -target i386-windows-msvc -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/i386-msvc-device-defines-filtered
--// RUN: diff %T/i386-msvc-host-defines-filtered %T/i386-msvc-device-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/i386-msvc-device-defines-filtered
-+// RUN: diff %t/i386-msvc-host-defines-filtered %t/i386-msvc-device-defines-filtered
-
- // RUN: %clang --cuda-host-only -nocudainc -target x86_64-windows-msvc -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/x86_64-msvc-host-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/x86_64-msvc-host-defines-filtered
- // RUN: %clang --cuda-device-only -nocudainc -nocudalib -target x86_64-windows-msvc -x cuda -E -dM -o - /dev/null \
- // RUN: | grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)\|define __GCC_ATOMIC' \
--// RUN: | grep -v '__LDBL\|_LONG_DOUBLE' > %T/x86_64-msvc-device-defines-filtered
--// RUN: diff %T/x86_64-msvc-host-defines-filtered %T/x86_64-msvc-device-defines-filtered
-+// RUN: | grep -v '__FLT128\|__LDBL\|_LONG_DOUBLE' > %t/x86_64-msvc-device-defines-filtered
-+// RUN: diff %t/x86_64-msvc-host-defines-filtered %t/x86_64-msvc-device-defines-filtered
-diff --git a/tools/clang/test/Sema/_Float128.c b/tools/clang/test/Sema/_Float128.c
-new file mode 100644
-index 0000000000..f0c3c6d555
---- /dev/null
-+++ b/tools/clang/test/Sema/_Float128.c
-@@ -0,0 +1,22 @@
-+// RUN: %clang_cc1 -verify %s
-+// RUN: %clang_cc1 -triple powerpc64-linux -verify %s
-+// RUN: %clang_cc1 -triple i686-windows-gnu -verify %s
-+// RUN: %clang_cc1 -triple x86_64-windows-gnu -verify %s
-+// RUN: %clang_cc1 -triple x86_64-windows-msvc -verify %s
-+
-+#if defined(__FLOAT128__) || defined(__SIZEOF_FLOAT128__)
-+_Float128 f;
-+_Float128 tiny = __FLT128_EPSILON__;
-+int g(int x, _Float128 *y) {
-+ return x + *y;
-+}
-+
-+// expected-no-diagnostics
-+#else
-+_Float128 f; // expected-error {{__float128 is not supported on this target}}
-+float tiny = __FLT128_EPSILON__; // expected-error{{use of undeclared identifier}}
-+int g(int x, _Float128 *y) { // expected-error {{__float128 is not supported on this target}}
-+ return x + *y;
-+}
-+
-+#endif // defined(__FLOAT128__) || defined(__SIZEOF_FLOAT128__)
---
-2.14.1
-
diff --git a/development/qt-creator-llvm/patches/README.md b/development/qt-creator-llvm/patches/README.md
deleted file mode 100644
index d57bb1d5ef..0000000000
--- a/development/qt-creator-llvm/patches/README.md
+++ /dev/null
@@ -1,149 +0,0 @@
-Extra patches to LLVM/Clang 5.0
-===============================
-
-The patches in this directory are applied to LLVM/Clang with:
-
- $ cd $LLVM_SOURCE_DIR
- $ git apply --whitespace=fix $QT_CREATOR_SOURCE/dist/clang/patches/*.patch
-
-Backported changes
-------------------
-
-##### 110_D41016_Fix-crash-in-unused-lambda-capture-warning-for-VLAs.patch
-
-* <https://reviews.llvm.org/D41016>
-
-[Sema] Fix crash in unused-lambda-capture warning for VLAs
-
-##### 010_D35355_Fix-templated-type-alias-completion-when-using-global-completion-cache.patch
-
-* <https://reviews.llvm.org/D35355>
-
-Fixes completion involving templated type alias.
-
-##### 120_D41688_Fix-crash-on-code-completion-in-comment-in-included-file.patch
-
-* <https://reviews.llvm.org/D41688>
-
-[Lex] Fix crash on code completion in comment in included file.
-
-##### 100_D40841_Fix-a-crash-on-C++17-AST-for-non-trivial-construction-into-a-trivial-brace-initialize.patch
-
-* <https://reviews.llvm.org/D40841>
-
-[analyzer] Fix a crash on C++17 AST for non-trivial construction into a trivial brace initializer.
-
-##### 090_D40746_Correctly-handle-line-table-entries-without-filenames-during-AST-serialization.patch
-
-* <https://reviews.llvm.org/D40746>
-
-Correctly handle line table entries without filenames during AST serialization
-Fixes crash during a reparse.
-
-##### 050_D40027_Fix-cursors-for-in-class-initializer-of-field-declarations.patch
-
-* <https://reviews.llvm.org/D40027>
-* <https://bugs.llvm.org/show_bug.cgi?id=33745>
-
-[libclang] Fix cursors for in-class initializer of field declarations
-Fixes AST access to initializers of class members. Affects mostly semantic highlighting and highlighting of local uses.
-
-##### 070_D40561_Fix-cursors-for-functions-with-trailing-return-type.patch
-
-* <https://reviews.llvm.org/D40561>
-
-[libclang] Fix cursors for functions with trailing return type
-
-##### 060_D40072_Support-querying-whether-a-declaration-is-invalid.patch
-
-* <https://reviews.llvm.org/D40072>
-
-[libclang] Add support for checking abstractness of records
-Would need https://codereview.qt-project.org/#/c/211497/ on Qt Creator side.
-
-##### 040_D39957_Honor-TerseOutput-for-constructors.patch
-
-* <https://reviews.llvm.org/D39957>
-
-[DeclPrinter] Honor TerseOutput for constructors
-Avoids printing member initialization list and body for constructor.
-
-##### 080_D40643_Add-function-to-get-the-buffer-for-a-file.patch
-
-* <https://reviews.llvm.org/D40643>
-* <https://reviews.llvm.org/rL319881>
-
-[libclang] Add function to get the buffer for a file
-Together with https://codereview.qt-project.org/#/c/212972/ fixes highlighting
-
-##### 030_D38615_Only-mark-CXCursors-for-explicit-attributes-with-a-type.patch
-
-* <https://reviews.llvm.org/D38615>
-
-[libclang] Only mark CXCursors for explicit attributes with a type
-Some classes have totally broken highlighting (like classes inside texteditor.cpp)
-
-##### 170_D40013_DeclPrinter-Allow-printing-fully-qualified-name.patch
-##### 180_D39903_libclang-Allow-pretty-printing-declarations.patch
-
-* <https://reviews.llvm.org/D40013>
-* <https://reviews.llvm.org/D39903>
-
-[DeclPrinter] Allow printing fully qualified name of function declaration
-[libclang] Allow pretty printing declarations
-
-Improves pretty printing for tooltips.
-
-##### 220_Support-std-has_unique_object_represesentations.patch
-
-* https://reviews.llvm.org/D39064 mplement __has_unique_object_representations
-* https://reviews.llvm.org/D39347 Fix __has_unique_object_representations implementation
-* (without review, git sha1 133cba2f9263f63f44b6b086a500f374bff13eee) Fix ICE when __has_unqiue_object_representations called with invalid decl
-* (without review, git cb61fc53dc997bca3bee98d898d3406d0acb221c) Revert unintended hunk from ICE-Change
-* https://reviews.llvm.org/D42863 Make __has_unique_object_representations reject empty union types.
-
-Backport patches implementing std::has_unique_object_representations for
-parsing type_traits header of stdlibc++ 7.
-
-
-##### 230_D40673_Add-Float128-as-alias-to-__float128.patch
-
-* https://reviews.llvm.org/D40673
-
-Fixes parsing stdlib.h with -DGNU_SOURCE for GCC 7.2 (and maybe others).
-
-Additional changes
-------------------
-
-##### 160_QTCREATORBUG-15449_Fix-files-lock-on-Windows.patch
-
-* <https://reviews.llvm.org/D35200>
-* <https://bugreports.qt.io/browse/QTCREATORBUG-15449>
-
-Significantly reduces problems when saving a header file on Windows.
-
-##### 150_QTCREATORBUG-15157_Link-with-clazy_llvm.patch
-##### 130_QTCREATORBUG-15157_Link-with-clazy_clang.patch
-##### 140_QTCREATORBUG-15157_Link-with-clazy_extra.patch
-
-* <https://bugreports.qt.io/browse/QTCREATORBUG-15157>
-
-Builds Clazy as an LLVM part and forces link for Clazy plugin registry entry.
-
-##### 200_D36390_Fix-overloaded-static-functions-in-SemaCodeComplete.patch
-
-* <https://reviews.llvm.org/D36390>
-* <https://bugs.llvm.org/show_bug.cgi?id=33904>
-
-Fix overloaded static functions in SemaCodeComplete
-
-Happens when static function is accessed via the class variable.
-That leads to incorrect overloads number because the variable is considered as the first argument.
-
-##### 210_D43453_Fix-overloaded-static-functions-for-templates.patch
-
-* <https://reviews.llvm.org/D43453>
-
-Fix overloaded static functions for templates
-
-Apply almost the same fix as D36390 but for templates
diff --git a/development/qt-creator-llvm/qt-creator-llvm.SlackBuild b/development/qt-creator-llvm/qt-creator-llvm.SlackBuild
index 1228b7ceab..d3ba280f7f 100644
--- a/development/qt-creator-llvm/qt-creator-llvm.SlackBuild
+++ b/development/qt-creator-llvm/qt-creator-llvm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LLVM/Clang tools for Qt Creator
@@ -22,10 +22,13 @@
# 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-creator-llvm
-VERSION=${VERSION:-8.0_c47ba33}
+VERSION=${VERSION:-13.0.0_d7b669b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -56,61 +66,12 @@ fi
set -e
-build_install_cmake_tmp()
-{
- CMAKE_VERSION=3.17.1
-
- mkdir cmake-tmp
- pushd cmake-tmp
-
- tar xvf $CWD/cmake-${CMAKE_VERSION}.tar.gz
- cd cmake-${CMAKE_VERSION}
-
- mkdir build
- cd build
-
- CMAKE_INSTALL_ROOT=$(pwd)
-
- CFLAGS="${SLKCFLAGS}" \
- CXXFLAGS="${SLKCFLAGS}" \
- ../configure \
- --prefix=/usr \
- --system-curl \
- --system-expat \
- --no-system-jsoncpp \
- --system-zlib \
- --system-bzip2 \
- --system-libarchive
-
- make || make -j1
- make install DESTDIR=${CMAKE_INSTALL_ROOT}
-
- # Favour the CMake version we just built.
-
- export PATH=${CMAKE_INSTALL_ROOT}/usr/bin:${PATH}
-
- # Return to caller's working dir.
-
- popd
-
- # Clean up the environment.
-
- unset CMAKE_INSTALL_ROOT
- unset CMAKE_VERSION
-
- # Debug info.
-
- printf "\nPATH: %s\nwhich cmake: %s\n%s\n\n" \
- "${PATH}" "$(which cmake)" \
- "$($(which cmake) --version | head -n1)"
-}
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
mv clang-tools-extra clang/tools/extra
@@ -124,7 +85,7 @@ chmod -R a-st,u+rwX,go-w+rX .
# Exceptionally, copy docs before the build starts. This can save quite
# some script development time should one of the files be missing.
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{clang,clang-tools-extra,clazy}
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{clang,clang-tools-extra}
mkdir -p $PKG/install
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -138,15 +99,8 @@ cp -a CODE_OWNERS.TXT CREDITS.TXT LICENSE.TXT README.txt RELEASE_TESTERS.TXT \
$PKG/usr/doc/$PRGNAM-$VERSION/clang
cp -a tools/extra/{CODE_OWNERS.TXT,LICENSE.TXT,README.txt} \
$PKG/usr/doc/$PRGNAM-$VERSION/clang-tools-extra
- cp -a tools/extra/clazy/{COPYING-LGPL2.txt,Changelog,HOWTO,README.md} \
- $PKG/usr/doc/$PRGNAM-$VERSION/clazy
)
-# Newer version of CMake than in Slackware 14.2 is needed to build LLVM/Clang.
-# Build and install that newer version in temp path.
-
-build_install_cmake_tmp
-
# Build LLVM/Clang proper.
mkdir -p build
@@ -170,7 +124,7 @@ cd ..
find $PKG/usr/libexec/qtcreator/clang/bin -mindepth 1 -not \
\( -name clang -o -name clang-[0-9]\* -o -name clang-tidy -o \
- -name clangd -o -name clazy-standalone -o -name llvm-config \) \
+ -name clangd -o -name llvm-config \) \
-exec rm {} \;
rm -rf $PKG/usr/libexec/qtcreator/clang/libexec
@@ -179,12 +133,5 @@ rm -rf $PKG/usr/libexec/qtcreator/clang/share
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
-# _clazy_ has troubles finding _libLLVM-8.so_. Help it.
-# NOTE: Run _patchelf_ only after running _strip_, otherwise stripping breaks
-# the binary. See https://github.com/probonopd/linuxdeployqt/issues/29
-
-patchelf --set-rpath /usr/libexec/qtcreator/clang/lib \
- $PKG/usr/libexec/qtcreator/clang/bin/clazy-standalone
-
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/qt-creator-llvm/qt-creator-llvm.info b/development/qt-creator-llvm/qt-creator-llvm.info
index 407280cca0..b4c706f176 100644
--- a/development/qt-creator-llvm/qt-creator-llvm.info
+++ b/development/qt-creator-llvm/qt-creator-llvm.info
@@ -1,12 +1,10 @@
PRGNAM="qt-creator-llvm"
-VERSION="8.0_c47ba33"
+VERSION="13.0.0_d7b669b"
HOMEPAGE="https://code.qt.io/cgit/clang/llvm-project.git/"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/qt-creator-llvm/qt-creator-llvm-8.0_c47ba33.tar.gz \
- https://github.com/Kitware/CMake/releases/download/v3.17.1/cmake-3.17.1.tar.gz"
-MD5SUM="36f76ea4a550cdd48884841861b1812c \
- 958959aa5e0338144eed7320e9b48561"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/qt-creator-llvm-13.0.0_d7b669b.tar.xz"
+MD5SUM="f141a7ba8ecd121e9db455232f63834c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="patchelf"
+REQUIRES=""
MAINTAINER="Andrzej Telszewski"
EMAIL="atelszewski@gmail.com"
diff --git a/development/qt-creator/qt-creator.SlackBuild b/development/qt-creator/qt-creator.SlackBuild
index 32a65255dc..91390d5318 100644
--- a/development/qt-creator/qt-creator.SlackBuild
+++ b/development/qt-creator/qt-creator.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Qt Creator
@@ -26,11 +26,14 @@
# For building -rc or -beta releases, set VERSION to something like:
# VERSION=4.2.0_rc1 or VERSION=4.2.0_beta1 (note the underscore).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qt-creator
-VERSION=${VERSION:-4.12.3}
+VERSION=${VERSION:-5.0.3}
SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -67,7 +77,7 @@ cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-opensource-src-$SRCVER.tar.gz
-mv $PRGNAM-opensource-src-$SRCVER $PRGNAM-$SRCVER
+#mv $PRGNAM-opensource-src-$SRCVER $PRGNAM-$SRCVER
cd $PRGNAM-$SRCVER
chown -R root:root .
@@ -75,9 +85,9 @@ chmod -R a-st,u+rwX,go-w+rX .
# Adjust docs location.
-sed -i "s|share/doc/qtcreator|doc/$PRGNAM-$VERSION|g" qtcreator.pri
-sed -i "s|share/doc/qtcreator|doc/$PRGNAM-$VERSION|g" doc/qtcreatordev/src/qtcreator-documentation.qdoc
-sed -i "s|share/doc/\${IDE_ID}|doc/$PRGNAM-$VERSION|g" cmake/QtCreatorAPI.cmake
+sed -i "s|share/doc/qtcreator|doc/$PRGNAM-$VERSION|g" qtcreator.pri || exit 1
+sed -i "s|share/doc/qtcreator|doc/$PRGNAM-$VERSION|g" doc/qtcreatordev/src/qtcreator-documentation.qdoc || exit 1
+sed -i "s|share/doc/\${IDE_ID}|doc/$PRGNAM-$VERSION|g" cmake/QtCreatorAPI.cmake || exit 1
# LLVM/Clang can be used to extend Qt Creator functionality.
@@ -140,4 +150,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/qt-creator/qt-creator.info b/development/qt-creator/qt-creator.info
index f0d73d1dae..d896008e1d 100644
--- a/development/qt-creator/qt-creator.info
+++ b/development/qt-creator/qt-creator.info
@@ -1,10 +1,10 @@
PRGNAM="qt-creator"
-VERSION="4.12.3"
+VERSION="5.0.3"
HOMEPAGE="https://wiki.qt.io/Qt_Creator"
-DOWNLOAD="https://download.qt.io/official_releases/qtcreator/4.12/4.12.3/qt-creator-opensource-src-4.12.3.tar.gz"
-MD5SUM="7ee294ef4316875a355c43f62918e13f"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/qt-creator-opensource-src-5.0.3.tar.gz"
+MD5SUM="6c4a0f7f9aad5561cee919f1a82f46e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qbs"
+REQUIRES=""
MAINTAINER="Andrzej Telszewski"
EMAIL="atelszewski@gmail.com"
diff --git a/development/qt-creator2/README b/development/qt-creator2/README
deleted file mode 100644
index 8c18f1ba1c..0000000000
--- a/development/qt-creator2/README
+++ /dev/null
@@ -1,23 +0,0 @@
-Qt Creator 2 is a Cross-Platform Qt IDE.
-
-The goal of Qt Creator is to provide a cross-platform, complete
-Integrated Development Environment (IDE) to develop Qt projects.
-
-NOTE1: This package conflicts with qt-creator: install only one of
- the two.
-
-NOTE2: QmlDesigner needs Qt Private Headers. If you intend to build the
- QmlDesigner you need to specify the Qt source location. Besides,
- it is required to apply all patches from Slackware tree and run
- configure. Note that the configure process takes some time to
- finish due to the qmake compile process.
-
-Follow these steps to prepare source tree:
-1 - Copy Qt SlackBuild directory from Slackware source tree to /tmp;
-2 - Edit qt-nowebkit.SlackBuild and place an exit command AFTER the
- configure command;
-3 - Execute qt.SlackBuild;
-4 - move /tmp/qt-everywhere-opensource-src-x.x.x to /usr/src
-
-QTSOURCEDIR is set to /usr/src/qt-everywhere-opensource-src-x.x.x
-(Qt version from Slackware tree).
diff --git a/development/qt-creator2/doinst.sh b/development/qt-creator2/doinst.sh
deleted file mode 100644
index 0fb9c8b686..0000000000
--- a/development/qt-creator2/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/development/qt-creator2/qt-creator.desktop b/development/qt-creator2/qt-creator.desktop
deleted file mode 100644
index 5883e10729..0000000000
--- a/development/qt-creator2/qt-creator.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Name=Qt Creator IDE
-GenericName=IDE for Qt Developers
-Comment=Qt-Creator is a cross-platform IDE tailored to the needs of Qt developers.
-Exec=qtcreator
-Icon=QtProject-qtcreator
-Categories=Development;IDE;GUIDesigner;Qt;
-Version=1.0
-StartupNotify=true
-Type=Application
-Terminal=false
-MimeType=application/x-qt-creator;
diff --git a/development/qt-creator2/qt-creator2.SlackBuild b/development/qt-creator2/qt-creator2.SlackBuild
deleted file mode 100644
index 048d957754..0000000000
--- a/development/qt-creator2/qt-creator2.SlackBuild
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qt-creator2
-
-# Copyright 2016 Andre Barboza
-# 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.
-
-# Written by Andre Barboza <bmg.andre@gmail.com>
-# Modified by the SlackBuilds.org project.
-# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
-
-PRGNAM=qt-creator2
-SRCNAM=qt-creator
-VERSION=${VERSION:-2.8.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-# QmlDesigner needs Qt Private Headers
-# Extract Qt source (from Slackware) into /usr/src, apply all the patches,
-# and run configure
-QTSOURCEDIR=${QTSOURCEDIR:-"/usr/src/qt-everywhere-opensource-src-4.8.7/"}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION-src
-tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz
-cd $SRCNAM-$VERSION-src
-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 {} \;
-
-# We are intentionally using an in-source build here,
-# because the out-of-source build was causing errors
-qmake \
- IDE_LIBRARY_BASENAME="lib$LIBDIRSUFFIX" \
- QMAKE_CXXFLAGS="$SLKCFLAGS" \
- QT_PRIVATE_HEADERS="${QTSOURCEDIR}/include" \
- qtcreator.pro
-make
-make install INSTALL_ROOT=$PKG/usr
-
-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/share/applications
-cat $CWD/qt-creator.desktop > $PKG/usr/share/applications/qt-creator.desktop
-
-mkdir -p $PKG/usr/share/mime/packages
-cat $CWD/x-qt-creator.xml > $PKG/usr/share/mime/packages/x-qt-creator.xml
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a HACKING LICENSE.LGPL README LGPL_EXCEPTION.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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/qt-creator2/qt-creator2.info b/development/qt-creator2/qt-creator2.info
deleted file mode 100644
index 7411eac9fb..0000000000
--- a/development/qt-creator2/qt-creator2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qt-creator2"
-VERSION="2.8.0"
-HOMEPAGE="http://qt-project.org/"
-DOWNLOAD="http://download.qt-project.org/official_releases/qtcreator/2.8/2.8.0/qt-creator-2.8.0-src.tar.gz"
-MD5SUM="5aacdad4491b7dda9758a81384d8da79"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/qt-creator2/slack-desc b/development/qt-creator2/slack-desc
deleted file mode 100644
index ba7b57c417..0000000000
--- a/development/qt-creator2/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------------------------------------------------------|
-qt-creator2: qt-creator2 (Cross-Platform Qt IDE)
-qt-creator2:
-qt-creator2: The goal of Qt Creator is to provide a cross-platform, complete
-qt-creator2: Integrated Development Environment (IDE) to develop Qt projects.
-qt-creator2: It is available for the Linux, Mac OS X and Windows platforms.
-qt-creator2:
-qt-creator2: Homepage: https://www.qt.io/ide/
-qt-creator2:
-qt-creator2:
-qt-creator2:
-qt-creator2:
diff --git a/development/qt-creator2/x-qt-creator.xml b/development/qt-creator2/x-qt-creator.xml
deleted file mode 100644
index 000cf46d08..0000000000
--- a/development/qt-creator2/x-qt-creator.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
- <mime-type type="application/x-qt-creator">
- <sub-class-of type="text/plain"/>
- <comment>Qt Creator Project</comment>
- <glob pattern="*.pro"/>
- </mime-type>
-</mime-info>
diff --git a/development/quickjs/README b/development/quickjs/README
new file mode 100644
index 0000000000..3ffa3044b1
--- /dev/null
+++ b/development/quickjs/README
@@ -0,0 +1,37 @@
+QuickJS is a small and embeddable Javascript engine by Fabrice Bellard
+and Charlie Gordon. It supports the ES2023 specification including
+modules, asynchronous generators, proxies and BigInt.
+It optionally supports mathematical extensions such as big decimal
+floating point numbers (BigDecimal), big binary floating point numbers
+(BigFloat) and operator overloading.
+
+Main Features:
+* Small and easily embeddable: just a few C files, no external
+ dependency.
+* Fast interpreter with very low startup time
+* Almost complete ES2023 support including modules, asynchronous
+ generators and full Annex B support (legacy web compatibility).
+* Passes nearly 100% of the ECMAScript Test Suite tests when selecting
+ the ES2023 features.
+* Can compile Javascript sources to executables with no external
+ dependency.
+* Garbage collection using reference counting (to reduce memory usage
+ and have deterministic behavior) with cycle removal.
+* Mathematical extensions: BigDecimal, BigFloat, operator overloading,
+ bigint mode, math mode.
+* Command line interpreter with contextual colorization in JS.
+* Small built-in standard library with C library wrappers.
+
+NOTE:
+In order to adhere to Slackware standards the source is patched to:
+* change library paths in the compiler
+* build a shared library
+Since the default behaviour of the compiler is to output statically
+linked binaries, an aditional shared library is provided so that users
+may produce C files from Javascript source code
+(e.g.: qjsc -e in.js -o out.c), and then compile and link dynamically,
+e.g.:
+ cc -I /usr/include/quickjs out.c -o executable -lquickjs
+I believe this is the less intrussive set of changes to achieve those
+goals.
+
diff --git a/development/quickjs/patches/01-Makefile.patch b/development/quickjs/patches/01-Makefile.patch
new file mode 100644
index 0000000000..10eb343fb3
--- /dev/null
+++ b/development/quickjs/patches/01-Makefile.patch
@@ -0,0 +1,116 @@
+01-Makefile.patch, changes:
+* on x86_64 systems, install libraries in /usr/lib64
+* added shared library target
+* added CFLAGS_EXTRA to pass $SLKCFLAGS (can be improved)
+* avoid building examples
+* disabled debug information
+
+--- quickjs-2024-01-13/Makefile 2024-01-13 07:20:39.000000000 -0300
++++ quickjs-2024-01-13m/Makefile 2024-02-04 02:01:09.732016372 -0300
+@@ -39,6 +39,8 @@
+ # installation directory
+ PREFIX?=/usr/local
+
++CFLAGS+=$(CFLAGS_EXTRA)
++
+ # use the gprof profiler
+ #CONFIG_PROFILE=y
+ # use address sanitizer
+@@ -69,7 +71,7 @@
+ ifdef CONFIG_CLANG
+ HOST_CC=clang
+ CC=$(CROSS_PREFIX)clang
+- CFLAGS+=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
++ CFLAGS+= -Wall -MMD -MF $(OBJDIR)/$(@F).d
+ CFLAGS += -Wextra
+ CFLAGS += -Wno-sign-compare
+ CFLAGS += -Wno-missing-field-initializers
+@@ -92,13 +94,13 @@
+ HOST_CC=gcc
+ CC=cosmocc
+ # cosmocc does not correct support -MF
+- CFLAGS=-g -Wall #-MMD -MF $(OBJDIR)/$(@F).d
++ CFLAGS= -Wall #-MMD -MF $(OBJDIR)/$(@F).d
+ CFLAGS += -Wno-array-bounds -Wno-format-truncation
+ AR=cosmoar
+ else
+ HOST_CC=gcc
+ CC=$(CROSS_PREFIX)gcc
+- CFLAGS+=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
++ CFLAGS+= -Wall -MMD -MF $(OBJDIR)/$(@F).d
+ CFLAGS += -Wno-array-bounds -Wno-format-truncation
+ ifdef CONFIG_LTO
+ AR=$(CROSS_PREFIX)gcc-ar
+@@ -127,7 +129,7 @@
+ ifdef CONFIG_COSMO
+ LDFLAGS+=-s # better to strip by default
+ else
+-LDFLAGS+=-g
++LDFLAGS+=
+ endif
+ ifdef CONFIG_LTO
+ CFLAGS_SMALL+=-flto
+@@ -176,16 +178,16 @@
+
+ # examples
+ ifeq ($(CROSS_PREFIX),)
+-PROGS+=examples/hello
++#PROGS+=examples/hello
+ ifndef CONFIG_ASAN
+-PROGS+=examples/hello_module
++#PROGS+=examples/hello_module
+ endif
+ ifdef CONFIG_SHARED_LIBS
+-PROGS+=examples/test_fib examples/fib.so examples/point.so
++#PROGS+=examples/test_fib examples/fib.so examples/point.so
+ endif
+ endif
+
+-all: $(OBJDIR) $(OBJDIR)/quickjs.check.o $(OBJDIR)/qjs.check.o $(PROGS)
++all: $(OBJDIR) $(OBJDIR)/quickjs.check.o $(OBJDIR)/qjs.check.o $(PROGS) libquickjs.so
+
+ QJS_LIB_OBJS=$(OBJDIR)/quickjs.o $(OBJDIR)/libregexp.o $(OBJDIR)/libunicode.o $(OBJDIR)/cutils.o $(OBJDIR)/quickjs-libc.o $(OBJDIR)/libbf.o
+
+@@ -213,6 +215,9 @@
+ qjsc$(EXE): $(OBJDIR)/qjsc.o $(QJS_LIB_OBJS)
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+
++libquickjs.so: $(QJS_LIB_OBJS)
++ $(CC) -shared -fPIC $(LDFLAGS) -o $@ $^ $(LIBS)
++
+ ifneq ($(CROSS_PREFIX),)
+
+ $(QJSC): $(OBJDIR)/qjsc.host.o \
+@@ -221,11 +226,11 @@
+
+ endif #CROSS_PREFIX
+
+-QJSC_DEFINES:=-DCONFIG_CC=\"$(QJSC_CC)\" -DCONFIG_PREFIX=\"$(PREFIX)\"
++QJSC_DEFINES:=-DCONFIG_CC=\"$(QJSC_CC)\" -DCONFIG_PREFIX=\"$(PREFIX)\" -DCONFIG_LIBDIR=\"$(LIBDIR)\"
+ ifdef CONFIG_LTO
+ QJSC_DEFINES+=-DCONFIG_LTO
+ endif
+-QJSC_HOST_DEFINES:=-DCONFIG_CC=\"$(HOST_CC)\" -DCONFIG_PREFIX=\"$(PREFIX)\"
++QJSC_HOST_DEFINES:=-DCONFIG_CC=\"$(HOST_CC)\" -DCONFIG_PREFIX=\"$(PREFIX)\" -DCONFIG_LIBDIR=\"$(LIBDIR)\"
+
+ $(OBJDIR)/qjsc.o: CFLAGS+=$(QJSC_DEFINES)
+ $(OBJDIR)/qjsc.host.o: CFLAGS+=$(QJSC_HOST_DEFINES)
+@@ -319,14 +324,12 @@
+
+ install: all
+ mkdir -p "$(DESTDIR)$(PREFIX)/bin"
+- $(STRIP) qjs qjsc
++ $(STRIP) qjs qjsc libquickjs.so
+ install -m755 qjs qjsc "$(DESTDIR)$(PREFIX)/bin"
+ ln -sf qjs "$(DESTDIR)$(PREFIX)/bin/qjscalc"
+- mkdir -p "$(DESTDIR)$(PREFIX)/lib/quickjs"
+- install -m644 libquickjs.a "$(DESTDIR)$(PREFIX)/lib/quickjs"
+-ifdef CONFIG_LTO
+- install -m644 libquickjs.lto.a "$(DESTDIR)$(PREFIX)/lib/quickjs"
+-endif
++ mkdir -p "$(DESTDIR)$(LIBDIR)/quickjs"
++ install -m644 libquickjs.a "$(DESTDIR)$(LIBDIR)/quickjs"
++ install -m755 libquickjs.so "$(DESTDIR)$(LIBDIR)"
+ mkdir -p "$(DESTDIR)$(PREFIX)/include/quickjs"
+ install -m644 quickjs.h quickjs-libc.h "$(DESTDIR)$(PREFIX)/include/quickjs"
+
diff --git a/development/quickjs/patches/02-qjsc.c.patch b/development/quickjs/patches/02-qjsc.c.patch
new file mode 100644
index 0000000000..13d725fba2
--- /dev/null
+++ b/development/quickjs/patches/02-qjsc.c.patch
@@ -0,0 +1,12 @@
+This is a simple patch to compile on 64 bit systems.
+--- quickjs-2024-01-13/qjsc.c 2024-01-13 07:20:39.000000000 -0300
++++ quickjs-2024-01-13m/qjsc.c 2024-02-04 01:43:19.516094810 -0300
+@@ -419,7 +419,7 @@
+ pstrcpy(lib_dir, sizeof(lib_dir), exe_dir);
+ } else {
+ snprintf(inc_dir, sizeof(inc_dir), "%s/include/quickjs", CONFIG_PREFIX);
+- snprintf(lib_dir, sizeof(lib_dir), "%s/lib/quickjs", CONFIG_PREFIX);
++ snprintf(lib_dir, sizeof(lib_dir), "%s/quickjs", CONFIG_LIBDIR);
+ }
+
+ lto_suffix = "";
diff --git a/development/quickjs/quickjs.SlackBuild b/development/quickjs/quickjs.SlackBuild
new file mode 100644
index 0000000000..c798c85dd9
--- /dev/null
+++ b/development/quickjs/quickjs.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for quickjs
+
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=quickjs
+VERSION=${VERSION:-2024.01.13}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCVERSION=${VERSION//./-}
+
+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-$SRCVERSION.tar.xz
+mv $PRGNAM-$SRCVERSION $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 < $CWD/patches/01-Makefile.patch || exit 1;
+patch -p1 < $CWD/patches/02-qjsc.c.patch || exit 1;
+
+make install \
+ DESTDIR=$PKG \
+ CFLAGS_EXTRA="$SLKCFLAGS" \
+ PREFIX=/usr \
+ LIBDIR=/usr/lib${LIBDIRSUFFIX}
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
+cp -a \
+ doc/jsbignum.html doc/quickjs.html \
+ LICENSE Changelog TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a examples/*.c examples/*.js $PKG/usr/doc/$PRGNAM-$VERSION/examples
+cp -a tests $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/quickjs/quickjs.info b/development/quickjs/quickjs.info
new file mode 100644
index 0000000000..2f902dfab3
--- /dev/null
+++ b/development/quickjs/quickjs.info
@@ -0,0 +1,10 @@
+PRGNAM="quickjs"
+VERSION="2024.01.13"
+HOMEPAGE="https://bellard.org/quickjs"
+DOWNLOAD="https://bellard.org/quickjs/quickjs-2024-01-13.tar.xz"
+MD5SUM="ea9fa8c503c4125dff9fd42c38b891d0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/quickjs/slack-desc b/development/quickjs/slack-desc
new file mode 100644
index 0000000000..0d81084831
--- /dev/null
+++ b/development/quickjs/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------------------------------------------------------|
+quickjs: quickjs (a small and embeddable Javascript engine)
+quickjs:
+quickjs: QuickJS is a small and embeddable Javascript engine by Fabrice
+quickjs: Bellard and Charlie Gordon. It supports the ES2020 specification
+quickjs: including modules, asynchronous generators, proxies and BigInt.
+quickjs: It optionally supports mathematical extensions such as big decimal
+quickjs: floating point numbers (BigDecimal), big binary floating point
+quickjs: numbers (BigFloat) and operator overloading.
+quickjs:
+quickjs: https://bellard.org/quickjs
+quickjs:
diff --git a/development/quilt/quilt.SlackBuild b/development/quilt/quilt.SlackBuild
index 7fd084720b..6a5585d092 100644
--- a/development/quilt/quilt.SlackBuild
+++ b/development/quilt/quilt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for quilt
@@ -25,26 +25,36 @@
# 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=quilt
VERSION=${VERSION:-0.65}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -100,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/racer/README b/development/racer/README
index 58845484e3..8614f48dfe 100644
--- a/development/racer/README
+++ b/development/racer/README
@@ -1,6 +1 @@
racer - Rust Code Completion utility
-
-This requires rust nightly installed through rustup. Before running this
-slackbuild, you should install the nightly from 2020-10-26 by running:
-
- rustup toolchain install --profile minimal nightly-2020-10-26
diff --git a/development/racer/racer.SlackBuild b/development/racer/racer.SlackBuild
index 627de50068..f4901fce37 100644
--- a/development/racer/racer.SlackBuild
+++ b/development/racer/racer.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for racer
-# Copyright 2017-2018,2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2018,2020-2021 Andrew Clemons, Wellington New Zealand
+# Copyright 2022 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=racer
-VERSION=${VERSION:-2.1.40}
+VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +45,11 @@ if [ -z "$ARCH" ]; then
fi
fi
-CWD=$(pwd)
+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}
@@ -49,15 +57,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- CARGOTARGET="--target i586-unknown-linux-gnu"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- CARGOTARGET="--target i686-unknown-linux-gnu"
-elif [ "$ARCH" = "x86_64" ]; then
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- CARGOTARGET="--target x86_64-unknown-linux-gnu"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -70,7 +78,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.crate
cd $PRGNAM-$VERSION
# build offline
@@ -123,6 +131,20 @@ mkdir vendor
done
)
+# racer needs a specific nightly version of rust
+tar -xf $CWD/rust-nightly-$ARCH*-unknown-linux-gnu*.tar.gz
+tar -xf $CWD/rustc-dev-nightly-$ARCH*-unknown-linux-gnu*.tar.gz
+(
+ cd rust-nightly-$ARCH*-unknown-linux-gnu*
+ ./install.sh --destdir=../.rust --prefix="" --without=rust-docs --disable-ldconfig
+)
+(
+ cd rustc-dev-nightly-$ARCH*-unknown-linux-gnu*
+ ./install.sh --destdir=../.rust --prefix="" --disable-ldconfig
+)
+rm -rf rust-nightly-$ARCH*-unknown-linux-gnu*
+rm -rf rustc-dev-nightly-$ARCH*-unknown-linux-gnu*
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -130,16 +152,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-(
- mkdir rustup-bin
- cd rustup-bin
- ln -s /usr/bin/rustup rustc
-)
-PATH="$(pwd)/rustup-bin:$PATH" \
+PATH="$(pwd)/.rust/bin/:$PATH" \
+LD_LIBRARY_PATH="$(pwd)/.rust/lib:$LD_LIBRARY_PATH" \
+CARGO_HOME=.cargo \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-rustup run nightly-2020-10-26 cargo build --release $CARGOTARGET
+cargo build --release $CARGOTARGET
mkdir -p $PKG/usr/bin/
@@ -156,4 +175,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/racer/racer.info b/development/racer/racer.info
index eb160100bd..8336467620 100644
--- a/development/racer/racer.info
+++ b/development/racer/racer.info
@@ -1,240 +1,226 @@
PRGNAM="racer"
-VERSION="2.1.40"
+VERSION="2.2.2"
HOMEPAGE="https://github.com/racer-rust/racer"
-DOWNLOAD="https://github.com/racer-rust/racer/archive/v2.1.40/racer-2.1.40.tar.gz \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/aho-corasick/aho-corasick-0.7.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/annotate-snippets/annotate-snippets-0.8.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ansi_term/ansi_term-0.11.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/arrayvec/arrayvec-0.5.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/atty/atty-0.2.14.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/block-buffer/block-buffer-0.7.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/block-padding/block-padding-0.1.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/byte-tools/byte-tools-0.3.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/byteorder/byteorder-1.3.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.53.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-2.33.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cloudabi/cloudabi-0.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-deque/crossbeam-deque-0.7.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-epoch/crossbeam-epoch-0.8.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-queue/crossbeam-queue-0.1.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-utils/crossbeam-utils-0.6.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-utils/crossbeam-utils-0.7.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/derive_more/derive_more-0.99.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/digest/digest-0.8.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/either/either-1.5.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ena/ena-0.14.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/env_logger/env_logger-0.7.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/fake-simd/fake-simd-0.1.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/generic-array/generic-array-0.12.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/getopts/getopts-0.2.21.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/getrandom/getrandom-0.1.14.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/hashbrown/hashbrown-0.8.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/humantime/humantime-1.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/humantime/humantime-2.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/indexmap/indexmap-1.5.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/instant/instant-0.1.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/itoa/itoa-0.4.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/jobserver/jobserver-0.1.21.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lazycell/lazycell-1.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.77.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lock_api/lock_api-0.4.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/maybe-uninit/maybe-uninit-2.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/md-5/md-5-0.8.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/measureme/measureme-9.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/memchr/memchr-2.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/memoffset/memoffset-0.5.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num_cpus/num_cpus-1.12.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/opaque-debug/opaque-debug-0.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/parking_lot/parking_lot-0.11.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/parking_lot_core/parking_lot_core-0.8.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ppv-lite86/ppv-lite86-0.2.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/psm/psm-0.1.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/quick-error/quick-error-1.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.7.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.2.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.5.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.1.56.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/regex-syntax/regex-syntax-0.6.17.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/regex/regex-1.3.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/remove_dir_all/remove_dir_all-0.5.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rls-span/rls-span-0.5.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_arena/rustc-ap-rustc_arena-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_ast/rustc-ap-rustc_ast-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_ast_pretty/rustc-ap-rustc_ast_pretty-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_data_structures/rustc-ap-rustc_data_structures-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_errors/rustc-ap-rustc_errors-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_feature/rustc-ap-rustc_feature-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_fs_util/rustc-ap-rustc_fs_util-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_graphviz/rustc-ap-rustc_graphviz-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_index/rustc-ap-rustc_index-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_lexer/rustc-ap-rustc_lexer-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_macros/rustc-ap-rustc_macros-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_parse/rustc-ap-rustc_parse-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_serialize/rustc-ap-rustc_serialize-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_session/rustc-ap-rustc_session-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_span/rustc-ap-rustc_span-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-ap-rustc_target/rustc-ap-rustc_target-686.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-hash/rustc-hash-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-rayon-core/rustc-rayon-core-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-rayon/rustc-rayon-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ryu/ryu-1.0.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/scoped-tls/scoped-tls-1.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/scopeguard/scopeguard-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde/serde-1.0.105.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_derive/serde_derive-1.0.105.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_json/serde_json-1.0.50.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/sha-1/sha-1-0.8.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/smallvec/smallvec-1.4.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/stable_deref_trait/stable_deref_trait-1.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/stacker/stacker-0.1.12.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/strsim/strsim-0.8.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.17.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/synstructure/synstructure-0.12.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tempfile/tempfile-3.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/termcolor/termcolor-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/termize/termize-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.11.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/thread_local/thread_local-1.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-attributes/tracing-attributes-0.1.11.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-core/tracing-core-0.1.15.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing/tracing-0.1.19.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/typenum/typenum-1.12.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-normalization/unicode-normalization-0.1.12.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/vec_map/vec_map-0.8.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-util/winapi-util-0.1.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.8.crate"
-MD5SUM="8d0e62bd594614be54929d5c3e2b5828 \
- abc51f82118d86e83165ba87e2521e96 \
- f26a43d3bcc31a6e0a6fa649e32b04c3 \
- 294a49d3c53865fa7ac5d0ce2f5d5735 \
- 38a5278571eefda86428a8ebfc1cedc2 \
+DOWNLOAD="https://static.crates.io/crates/racer/racer-2.2.2.crate \
+ https://static.rust-lang.org/dist/2022-04-06/rust-nightly-i686-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2022-04-06/rustc-dev-nightly-i686-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2022-04-06/rust-nightly-armv7-unknown-linux-gnueabihf.tar.gz \
+ https://static.rust-lang.org/dist/2022-04-06/rustc-dev-nightly-armv7-unknown-linux-gnueabihf.tar.gz \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.18.crate \
+ https://static.crates.io/crates/ansi_term/ansi_term-0.12.1.crate \
+ https://static.crates.io/crates/atty/atty-0.2.14.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/clap/clap-2.34.0.crate \
+ https://static.crates.io/crates/convert_case/convert_case-0.4.0.crate \
+ https://static.crates.io/crates/derive_more/derive_more-0.99.17.crate \
+ https://static.crates.io/crates/env_logger/env_logger-0.7.1.crate \
+ https://static.crates.io/crates/fastrand/fastrand-1.6.0.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.19.crate \
+ https://static.crates.io/crates/humantime/humantime-1.3.0.crate \
+ https://static.crates.io/crates/humantime/humantime-2.1.0.crate \
+ https://static.crates.io/crates/instant/instant-0.1.12.crate \
+ https://static.crates.io/crates/itoa/itoa-1.0.1.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/lazycell/lazycell-1.3.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.112.crate \
+ https://static.crates.io/crates/log/log-0.4.14.crate \
+ https://static.crates.io/crates/memchr/memchr-2.4.1.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.36.crate \
+ https://static.crates.io/crates/quick-error/quick-error-1.2.3.crate \
+ https://static.crates.io/crates/quote/quote-1.0.14.crate \
+ https://static.crates.io/crates/racer-cargo-metadata/racer-cargo-metadata-0.1.2.crate \
+ https://static.crates.io/crates/racer-interner/racer-interner-0.1.0.crate \
+ https://static.crates.io/crates/racer-testutils/racer-testutils-0.1.0.crate \
+ https://static.crates.io/crates/racer/racer-2.2.1.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.10.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.25.crate \
+ https://static.crates.io/crates/regex/regex-1.5.4.crate \
+ https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
+ https://static.crates.io/crates/rls-span/rls-span-0.5.4.crate \
+ https://static.crates.io/crates/rustc_version/rustc_version-0.4.0.crate \
+ https://static.crates.io/crates/ryu/ryu-1.0.9.crate \
+ https://static.crates.io/crates/semver/semver-1.0.4.crate \
+ https://static.crates.io/crates/serde/serde-1.0.133.crate \
+ https://static.crates.io/crates/serde_derive/serde_derive-1.0.133.crate \
+ https://static.crates.io/crates/serde_json/serde_json-1.0.74.crate \
+ https://static.crates.io/crates/strsim/strsim-0.8.0.crate \
+ https://static.crates.io/crates/syn/syn-1.0.85.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.3.0.crate \
+ https://static.crates.io/crates/termcolor/termcolor-1.1.2.crate \
+ https://static.crates.io/crates/textwrap/textwrap-0.11.0.crate \
+ https://static.crates.io/crates/unicode-width/unicode-width-0.1.9.crate \
+ https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.2.crate \
+ https://static.crates.io/crates/vec_map/vec_map-0.8.2.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-util/winapi-util-0.1.5.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate"
+MD5SUM="d0ea405f21903379be95cde2b5a14b85 \
+ 04060498f29fdd62676d883e77de024a \
+ 054361da1785333afdde1f2bd5a478cb \
+ f8f763e45296095d1473c9fb4a646733 \
+ 52c1262d1790337904f8914a27668d9d \
+ 425b8fdf70df59998d9b7c89083e48d1 \
+ f44e8d1d2e61974b268852797530ea41 \
142cb4b9a653e56e56311f0c883b8582 \
- 7c6515c4b7f4c7723a3c6d1f07acc261 \
- 6799c26a7eacaf8e58d3e45c6c5add89 \
- a885637c56c780044d778f18420687cc \
- 95414d4f9c612bbe8a061dd2ff0bc519 \
- 4bd3c3b61fe602e6078615a491e5050a \
- e502e6c6b0dca9c1ae2d99e92b26f645 \
- 547dbf225c61b70c81f74f79a83affc9 \
- 882dbbc613a93f64c3709b0a2bd0d6dc \
- 135f6d6306e50606f0475ada50c33ce2 \
- f48ac29c2c56d6476450dab08af8eb4f \
- 897911f15f349a357899045e6b0c04e0 \
- 49b4b022e9fa4cc60376a79ecb39d04f \
- 7c90c5d981a715d9863d6bfcc984d6ed \
- 66912c6b316cfec144c4fbcbf59bf862 \
- ff67cf2eb9668167782b8012d3b48e7b \
- 6f6a2da3625c871ad764dad18af0b97b \
- b00352aced738d455145117157604783 \
- 82241b59d4b793d862900b62220cf05a \
- 25e033b68503b1eb640318d93b08ccc2 \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ 59ae9122b2946d4d52bc48a1da5c5e06 \
+ fff3aa07be4920daefab088326186e76 \
+ b4585736b4551ce939e025bce98973fc \
081ed755ceb8e0b7c78cffde40fd084d \
- 1aef0dd636d3ef234e4f035fc26c0069 \
- 916a6c827f4f0f64b7652bebf67d82e1 \
- c3ec5977ecc0f6244ef3be87f5325e72 \
- de1228e571c94ef53ec4c21db57279ab \
- 9927498754f34d2c215da2319a5ad7e8 \
- 334b652e896801bf9fe7ef698b92bf32 \
+ af4d95b1232fad952cb92c95e77f5f3c \
+ 0b7994d1256215201bdfb810a357ffa2 \
bb2582cae7b3d837f5da1df153001db5 \
- 361bd9fd6988aa4ac291c63336fb29c3 \
- 109549b7b02ac35510fc7eba0cd0cccd \
- 8a4c1319b7ee6d5b4b13faa2dcff0f3e \
- 493f4bd45cf2a6c3963f66f58884f622 \
- 04a84513cdad48c92d8363d627904227 \
+ c01022fe0357c10ca1d48b16187f81bd \
+ 5f153f7135dceb02f88266121c836b4e \
+ 5c98b89b530b563b6e5f6e1b631c4b35 \
fba3b040a55c01be7376d3dd5c4d4920 \
- 09c2a456bd4064675a0c53ca70f5eea1 \
- ed2d6dbb4c04586444e1aef9d4b27d90 \
- f4fb30c478bff7ea5e52563db8608abc \
- 61e508ca2eee543023c5e1ba777e5ede \
- b5cf10e268e8a3bee2de8a734104245e \
- 1496714cc54d3d97ec7c6d2060568852 \
- 91563ee17c3381e127f1fc66168060ed \
- 124ec4f35274a0e9c1a4ef3dc0958643 \
- cad5d756bde12e98d82fc950fc9a0dc9 \
- 09931e9b99240bb850c9e9c9ccb22668 \
- 797752fea1f2c8b458cf7383b61433c9 \
- e8a7d203e73b7ab9cd3f6769fe4a1479 \
- 158c5ffb9d075be2a8fa088ae3e0915c \
- 7c4bfd315ee9de1c1b2f2d56163567cf \
- cd6039ff311cf275ebc82ee4dea96ad1 \
- f6cebca4a4b7dbc6be9e00472b398549 \
+ 23cc9e52c52465f5b225e62ab7cc3457 \
+ b47e45d4ce97cc8801c9607638fd86eb \
+ 40e508baeee8cdccbc471489b0f449ff \
+ d75b1c734f85b007c55ca84217df4201 \
+ 5af0856196b1bb934f25a66b082c4131 \
3181dca31efe33cbed29a45d0ec67848 \
- 2d2578337a3ff53dce9b46fb5bf7102c \
- 66d1cb32dce999907409f636f004b884 \
- 0a80ed36a125ac3cdfa09f8707055873 \
- a0f55fda89c0f97784edb18f4c253a49 \
- b269356e8646f3184a0e8d52a58cee69 \
- 8dc2aa474c2cba342120ade9e98de066 \
- 04031b2ff0f95e8fb3c09d2d1d3b3b77 \
- d970b77df4375ae08279d6ce61600ad7 \
- 526f5ebac8d794185afbc71959c5c968 \
- 7344a18f4a154b52182a0bdedcbae55d \
- ae49c22eb5d2744f00716d4b467cdca9 \
- 7502032dbb7e402f2649abc86c58411e \
- b4831b66454612e85f7620bea96534c9 \
- 89386e9687342c450408b09539788f74 \
- 8d90943cd1311a171618dd1f38c67dae \
- 46d39681e1b8bfad21473692dfca7338 \
- 42bf1aaa292ee1c4e8c7000d44c3fe76 \
- 956cd538d37bad1ac25cf6dbe03af42d \
- b757e71e75b8d8f5b29fe326d455ea08 \
- d776925f6262faff19b108d5e92d686b \
- 87764748beba0739ab62af21e4f2383e \
- 0e092171b2e5127fdb377d91de63fc4a \
- 5914fcd3ce79de6d94784f3ebdc4e1fa \
- 1620ee54603d4fb000cfd6e44e456468 \
- 35c9741414b52f31bb23189dbbb24f03 \
- d79015fffd50c553ec630aaf4ec005c5 \
- 7b1261ea730a9314bc9bcdf4a379bf98 \
- 2ed568738b13ab0fa2ac85a935e3f161 \
- b595c6929fdc19615cc86bfd4a2f0d65 \
- 9436ca5c7881b6e8f3caae39515498df \
- fc60e4ecd18db5e582b9e7dd19dd62e4 \
- b4a0a98a54439a5a37952c8879187ee3 \
- 9f340031dada0fc1168826e25c283e56 \
- 5134162b34de0aa912c0d64754ca8370 \
- b05bc089853d7c61da615700fe443778 \
- b1cace2e0c87bbbf5753996e28016787 \
- 51cdbc77f4b359baa519c19e32abe0a0 \
- a986c51d8a91f91704da0c440295640d \
- f7eea874be0ac423bd5d97e2ba9228a5 \
+ c6a333e4527b04e6914a54b6342cda18 \
+ acfdfcc11f5a5c1b578f17c92ba14c6f \
+ 6be82954a00fe487a750e94130a7add2 \
+ 928776f72771363b26b2c5628f2ec0b6 \
+ 0713f210274e0e04c16aa2514a0dcd55 \
+ 4a80ab58144fc731cd12abc6d5139d7f \
+ 82401c70623ccc1bfc0bcb5c3b0ac8b7 \
+ 4606e4a248df4d70509afded817aca14 \
+ 0538d1da369f3e3f0412aa4d735c1b61 \
+ f3ecdd7e46e81e0d54b4839dca48ae4e \
+ fdf3aa5e1f6c33e4f68b0f7b08e1e94e \
+ 7fe15f165a1812b23e5b1980aa364de2 \
+ d8d8d451b56798b0485b1f21e31bfed2 \
+ eb46ec258f86967c4e82b1a18aef2ccc \
+ fc80378369ae5eb3ed948ca679f57d75 \
+ bf157ab39406e7d8e470044e0764600e \
781d4ccf5d04c98fa02af207a9639249 \
- 8a227260b1b37a3672254267d22cb1e6 \
- bd5f9d9900731be1a4e4df05db231991 \
- bb3ae104a9fa1b31568cc98c920a4653 \
- 62e883807a65ebe1ba9d0e555d703339 \
- 43b5447f0726665d42ed52a6ce73ef49 \
+ 54a1cfe5d06974014c253f60b3a7cd82 \
+ f29a1bb1b5f3f29cedb36f40f720d765 \
+ ebdff467249aa3dca005a441dc824236 \
a8de006fe0c7e373c560dd51599287a8 \
- a5dd75e77c7324f5c1d2d372c990d0a7 \
- 04343a1a4c847486609808bd3f34d640 \
- fce66eec81098f8c8b4842c027593e12 \
- 1b356956a58e63469c2b64724760f8be \
- 55927226b06f62ccbd2890269d68c2fd \
- 3d394ff298f20e04de3ce053ab63ccc7 \
- 0f65fd26370e1fd67c8e8812cabea574 \
- e628ca8adb2b572bffb210f014656b6f \
- 0eedbc32447f40b3045d6de3910b5415 \
- 6e23e0eee42b1ba9ec61a6db7ec2dc08 \
+ a42cc2834b2150027d7b427558a87803 \
+ 087bfc476e9d73628cebd265590f11f7 \
+ 333b4ba3f64c35b6f89b521e8d64548b \
db96b50050277bf05a3c68534bbb9586 \
- f1d4ff6943e35dc03ead31cca71edb30 \
+ b9e37d5fc4ad28b612b78ad37816684d \
09de9d01e7331ff3da11f58be8bef0df \
- ce68e06a2cd4f180747cf169fc388a95"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="rustup"
+ 0498c4a11448bfc35dc7bb2caa64c753"
+DOWNLOAD_x86_64="https://static.crates.io/crates/racer/racer-2.2.2.crate \
+ https://static.rust-lang.org/dist/2022-04-06/rust-nightly-x86_64-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2022-04-06/rustc-dev-nightly-x86_64-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2022-04-06/rust-nightly-aarch64-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2022-04-06/rustc-dev-nightly-aarch64-unknown-linux-gnu.tar.gz \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.18.crate \
+ https://static.crates.io/crates/ansi_term/ansi_term-0.12.1.crate \
+ https://static.crates.io/crates/atty/atty-0.2.14.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/clap/clap-2.34.0.crate \
+ https://static.crates.io/crates/convert_case/convert_case-0.4.0.crate \
+ https://static.crates.io/crates/derive_more/derive_more-0.99.17.crate \
+ https://static.crates.io/crates/env_logger/env_logger-0.7.1.crate \
+ https://static.crates.io/crates/fastrand/fastrand-1.6.0.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.19.crate \
+ https://static.crates.io/crates/humantime/humantime-1.3.0.crate \
+ https://static.crates.io/crates/humantime/humantime-2.1.0.crate \
+ https://static.crates.io/crates/instant/instant-0.1.12.crate \
+ https://static.crates.io/crates/itoa/itoa-1.0.1.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/lazycell/lazycell-1.3.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.112.crate \
+ https://static.crates.io/crates/log/log-0.4.14.crate \
+ https://static.crates.io/crates/memchr/memchr-2.4.1.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.36.crate \
+ https://static.crates.io/crates/quick-error/quick-error-1.2.3.crate \
+ https://static.crates.io/crates/quote/quote-1.0.14.crate \
+ https://static.crates.io/crates/racer-cargo-metadata/racer-cargo-metadata-0.1.2.crate \
+ https://static.crates.io/crates/racer-interner/racer-interner-0.1.0.crate \
+ https://static.crates.io/crates/racer-testutils/racer-testutils-0.1.0.crate \
+ https://static.crates.io/crates/racer/racer-2.2.1.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.10.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.25.crate \
+ https://static.crates.io/crates/regex/regex-1.5.4.crate \
+ https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
+ https://static.crates.io/crates/rls-span/rls-span-0.5.4.crate \
+ https://static.crates.io/crates/rustc_version/rustc_version-0.4.0.crate \
+ https://static.crates.io/crates/ryu/ryu-1.0.9.crate \
+ https://static.crates.io/crates/semver/semver-1.0.4.crate \
+ https://static.crates.io/crates/serde/serde-1.0.133.crate \
+ https://static.crates.io/crates/serde_derive/serde_derive-1.0.133.crate \
+ https://static.crates.io/crates/serde_json/serde_json-1.0.74.crate \
+ https://static.crates.io/crates/strsim/strsim-0.8.0.crate \
+ https://static.crates.io/crates/syn/syn-1.0.85.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.3.0.crate \
+ https://static.crates.io/crates/termcolor/termcolor-1.1.2.crate \
+ https://static.crates.io/crates/textwrap/textwrap-0.11.0.crate \
+ https://static.crates.io/crates/unicode-width/unicode-width-0.1.9.crate \
+ https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.2.crate \
+ https://static.crates.io/crates/vec_map/vec_map-0.8.2.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-util/winapi-util-0.1.5.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate"
+MD5SUM_x86_64="d0ea405f21903379be95cde2b5a14b85 \
+ 322cbdf2167a874a17ac3eb055239083 \
+ 5f11fb235d5a266df06055c2f0d9faf9 \
+ 8cefa1427a0a8d6c508770925a8b55d4 \
+ 90685e8784fa60dac788228910e46918 \
+ 425b8fdf70df59998d9b7c89083e48d1 \
+ f44e8d1d2e61974b268852797530ea41 \
+ 142cb4b9a653e56e56311f0c883b8582 \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ 59ae9122b2946d4d52bc48a1da5c5e06 \
+ fff3aa07be4920daefab088326186e76 \
+ b4585736b4551ce939e025bce98973fc \
+ 081ed755ceb8e0b7c78cffde40fd084d \
+ af4d95b1232fad952cb92c95e77f5f3c \
+ 0b7994d1256215201bdfb810a357ffa2 \
+ bb2582cae7b3d837f5da1df153001db5 \
+ c01022fe0357c10ca1d48b16187f81bd \
+ 5f153f7135dceb02f88266121c836b4e \
+ 5c98b89b530b563b6e5f6e1b631c4b35 \
+ fba3b040a55c01be7376d3dd5c4d4920 \
+ 23cc9e52c52465f5b225e62ab7cc3457 \
+ b47e45d4ce97cc8801c9607638fd86eb \
+ 40e508baeee8cdccbc471489b0f449ff \
+ d75b1c734f85b007c55ca84217df4201 \
+ 5af0856196b1bb934f25a66b082c4131 \
+ 3181dca31efe33cbed29a45d0ec67848 \
+ c6a333e4527b04e6914a54b6342cda18 \
+ acfdfcc11f5a5c1b578f17c92ba14c6f \
+ 6be82954a00fe487a750e94130a7add2 \
+ 928776f72771363b26b2c5628f2ec0b6 \
+ 0713f210274e0e04c16aa2514a0dcd55 \
+ 4a80ab58144fc731cd12abc6d5139d7f \
+ 82401c70623ccc1bfc0bcb5c3b0ac8b7 \
+ 4606e4a248df4d70509afded817aca14 \
+ 0538d1da369f3e3f0412aa4d735c1b61 \
+ f3ecdd7e46e81e0d54b4839dca48ae4e \
+ fdf3aa5e1f6c33e4f68b0f7b08e1e94e \
+ 7fe15f165a1812b23e5b1980aa364de2 \
+ d8d8d451b56798b0485b1f21e31bfed2 \
+ eb46ec258f86967c4e82b1a18aef2ccc \
+ fc80378369ae5eb3ed948ca679f57d75 \
+ bf157ab39406e7d8e470044e0764600e \
+ 781d4ccf5d04c98fa02af207a9639249 \
+ 54a1cfe5d06974014c253f60b3a7cd82 \
+ f29a1bb1b5f3f29cedb36f40f720d765 \
+ ebdff467249aa3dca005a441dc824236 \
+ a8de006fe0c7e373c560dd51599287a8 \
+ a42cc2834b2150027d7b427558a87803 \
+ 087bfc476e9d73628cebd265590f11f7 \
+ 333b4ba3f64c35b6f89b521e8d64548b \
+ db96b50050277bf05a3c68534bbb9586 \
+ b9e37d5fc4ad28b612b78ad37816684d \
+ 09de9d01e7331ff3da11f58be8bef0df \
+ 0498c4a11448bfc35dc7bb2caa64c753"
+REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/development/racket/racket.SlackBuild b/development/racket/racket.SlackBuild
index a424d46f76..c35cdd1017 100644
--- a/development/racket/racket.SlackBuild
+++ b/development/racket/racket.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for racket
@@ -23,27 +23,37 @@
# 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=racket
VERSION=${VERSION:-7.9}
SUFFIX=src-builtpkgs # suffix of the UNIX sourcepackage
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -100,4 +110,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/racket/racket.info b/development/racket/racket.info
index e42bf8a36d..0b7cfc47e5 100644
--- a/development/racket/racket.info
+++ b/development/racket/racket.info
@@ -2,7 +2,7 @@ PRGNAM="racket"
VERSION="7.9"
HOMEPAGE="http://racket-lang.org/"
DOWNLOAD="https://mirror.racket-lang.org/installers/7.9/racket-7.9-src-builtpkgs.tgz"
-MD5SUM="43c4fb6fbdb0ef4e6064af3c81399ebe"
+MD5SUM="be3b9ba2b5b5fb04b48cc6d2942f26a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/radare2/radare2.SlackBuild b/development/radare2/radare2.SlackBuild
index 008455eb48..41699acce1 100644
--- a/development/radare2/radare2.SlackBuild
+++ b/development/radare2/radare2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for radare2
@@ -23,10 +23,13 @@
# 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=radare2
-VERSION=${VERSION:-4.5.1}
+VERSION=${VERSION:-5.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -97,11 +107,11 @@ 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.md DEVELOPERS.md CONTRIBUTING.md AUTHORS.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COMMUNITY.md CONTRIBUTING.md COPYING* DEVELOPERS.md 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/radare2/radare2.info b/development/radare2/radare2.info
index 90a74006e5..a7fa83c59e 100644
--- a/development/radare2/radare2.info
+++ b/development/radare2/radare2.info
@@ -1,8 +1,8 @@
PRGNAM="radare2"
-VERSION="4.5.1"
+VERSION="5.8.8"
HOMEPAGE="http://radare.org/"
-DOWNLOAD="https://github.com/radareorg/radare2/archive/4.5.1/radare2-4.5.1.tar.gz"
-MD5SUM="12fdc9db3936af7136f8830b4cc08c4a"
+DOWNLOAD="https://github.com/radareorg/radare2/archive/5.8.8/radare2-5.8.8.tar.gz"
+MD5SUM="5eb5b1f817bf1ca0ce86dd2c4f182f75"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="capstone"
diff --git a/development/ragel/lib64.patch b/development/ragel/lib64.patch
new file mode 100644
index 0000000000..53aa3b8e62
--- /dev/null
+++ b/development/ragel/lib64.patch
@@ -0,0 +1,15 @@
+--- a/configure.ac 2021-02-15 20:45:20.000000000 +0100
++++ b/configure.ac 2021-02-21 17:59:13.593674832 +0100
+@@ -46,9 +46,9 @@
+ COLM_WRAP="$withval/bin/colm-wrap"
+ CPPFLAGS="-I$withval/include ${CPPFLAGS}"
+ CPPFLAGS="-I$withval/include/aapl ${CPPFLAGS}"
+- LDFLAGS="-L$withval/lib ${LDFLAGS}"
+- LIBCOLM_LA="$withval/lib/libcolm.la"
+- LIBFSM_LA="$withval/lib/libfsm.la"
++ LDFLAGS="-L$withval/lib64 ${LDFLAGS}"
++ LIBCOLM_LA="$withval/lib64/libcolm.la"
++ LIBFSM_LA="$withval/lib64/libfsm.la"
+ COLM_SHARE="$withval/share"
+ ],
+ []
diff --git a/development/ragel/ragel.SlackBuild b/development/ragel/ragel.SlackBuild
index 7fdc9dd47d..083354d312 100644
--- a/development/ragel/ragel.SlackBuild
+++ b/development/ragel/ragel.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ragel
@@ -22,10 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220308 bkw: Modified by SlackBuilds.org:
+# This build always fails if ragel is already installed. Add a check
+# to make it fail quickly, with a useful error message (instead of a
+# confusing link error, after compiling for several minutes).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ragel
-VERSION=${VERSION:-7.0.0.12}
+VERSION=${VERSION:-7.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -54,7 +66,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING README TODO"
+DOCS="COPYING README"
set -e
@@ -63,14 +75,19 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+if [ "$LIBDIRSUFFIX" = "64" ]; then
+ patch --verbose -p1 -i $CWD/lib64.patch
+fi
+patch --verbose -p1 -i $CWD/shared-colm.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,23 +99,22 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
+ --with-colm=/usr \
+ --disable-manual \
--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
-
-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
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ragel/ragel.info b/development/ragel/ragel.info
index 62c36c2745..dd0ca9e48e 100644
--- a/development/ragel/ragel.info
+++ b/development/ragel/ragel.info
@@ -1,8 +1,8 @@
PRGNAM="ragel"
-VERSION="7.0.0.12"
+VERSION="7.0.4"
HOMEPAGE="https://www.colm.net/open-source/ragel/"
-DOWNLOAD="https://www.colm.net/files/ragel/ragel-7.0.0.12.tar.gz"
-MD5SUM="f95b1830fa6d9acea34f753d91e038e8"
+DOWNLOAD="https://www.colm.net/files/ragel/ragel-7.0.4.tar.gz"
+MD5SUM="2ca4f5507c1923bcf9a7909baa8254d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="colm kelbt"
diff --git a/development/ragel/shared-colm.patch b/development/ragel/shared-colm.patch
new file mode 100644
index 0000000000..3f26ae58fa
--- /dev/null
+++ b/development/ragel/shared-colm.patch
@@ -0,0 +1,31 @@
+diff --git a/configure.ac b/configure.ac
+index e1a0fc67..07a2b075 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -59,6 +59,26 @@ AC_CHECK_FILES(
+ [],
+ [AC_ERROR([colm is required to build ragel])]
+ )
++
++dnl If the .la files are present use those, otherwise locate the libs with AC_CHECK_LIB.
++AC_CHECK_FILES(
++ [$LIBCOLM_LA $LIBFSM_LA],
++ [],
++ [
++ AC_CHECK_LIB(
++ [colm],
++ [colm_run_program],
++ [LIBCOLM_LA=-lcolm],
++ [AC_ERROR([libcolm is required to build ragel])]
++ )
++ AC_CHECK_LIB(
++ [fsm],
++ [libfsm_present],
++ [LIBFSM_LA=-lfsm],
++ [AC_ERROR([libfsm is required to build ragel])]
++ )
++ ]
++)
+ AC_SUBST(COLM)
+ AC_SUBST(COLM_WRAP)
+ AC_SUBST(COLM_SHARE)
diff --git a/development/rapidsvn/rapidsvn-wx3.0.patch b/development/rapidsvn/rapidsvn-wx3.0.patch
new file mode 100644
index 0000000000..9f0813ea40
--- /dev/null
+++ b/development/rapidsvn/rapidsvn-wx3.0.patch
@@ -0,0 +1,203 @@
+Description: Update for wx 3.0.0
+ Update configure to recognise that wx 3.0.0 >= 2.4.2.
+ Fix code for wx API changes.
+Author: Olly Betts <olly@survex.com>
+Origin: debian
+Forwarded: no
+Last-Update: 2014-04-10
+
+--- a/configure
++++ b/configure
+@@ -15176,6 +15176,8 @@
+ ;;
+ 2.[5-9].*)
+ ;;
++ 3.*)
++ ;;
+ *)
+ as_fn_error $? "wxWidgets >= 2.4.2 required, found version $WX_VERSION" "$LINENO" 5
+ as_fn_error $? "Try --with-wx-config." "$LINENO" 5
+--- a/configure.in
++++ b/configure.in
+@@ -171,6 +171,8 @@
+ ;;
+ [2.[5-9].*])
+ ;;
++ 3.*)
++ ;;
+ *)
+ AC_MSG_ERROR([wxWidgets >= 2.4.2 required, found version $WX_VERSION])
+ AC_MSG_ERROR([Try --with-wx-config.])
+--- a/src/filelist_ctrl.cpp
++++ b/src/filelist_ctrl.cpp
+@@ -1029,7 +1029,7 @@
+
+ // Workaround for issue 324 (only local+non-flat+update):
+ // we chdir to the requested dir and pass "." to svn
+- if (!pathUtf8.isUrl() && m->WithUpdate && !m->FlatMode)
++ if (!pathUtf8.isUrl() && m->WithUpdate && !m->FlatMode && !m->Path.empty())
+ {
+ m->IsRelative = true;
+ ::wxSetWorkingDirectory(m->Path);
+@@ -1606,7 +1606,7 @@
+ }
+ }
+
+-inline void
++bool
+ FileListCtrl::SetColumnWidth(const int col, const int width)
+ {
+ m->ColumnWidth[col] = width;
+@@ -1614,8 +1614,9 @@
+ int index = m->ColumnIndex[col];
+ if (index != -1)
+ {
+- wxListCtrl::SetColumnWidth(index, width);
++ return wxListCtrl::SetColumnWidth(index, width);
+ }
++ return false;
+ }
+
+ int
+--- a/src/filelist_ctrl.hpp
++++ b/src/filelist_ctrl.hpp
+@@ -118,7 +118,7 @@
+ * @param col column number
+ * @param width
+ */
+- void
++ bool
+ SetColumnWidth(const int col, const int width);
+
+ /**
+--- a/src/hist_val.cpp
++++ b/src/hist_val.cpp
+@@ -113,7 +113,7 @@
+ }
+
+ // if we have an entry, select it
+- if (!comboBox->IsEmpty())
++ if (!comboBox->IsListEmpty())
+ comboBox->SetSelection(0, 0);
+ }
+
+--- a/src/listener.cpp
++++ b/src/listener.cpp
+@@ -167,7 +167,7 @@
+ wxMutexLocker lock(mutex);
+ wxString localCertFile = wxFileSelector(
+ _("Select Certificate File"), wxT(""), wxT(""), wxT(""),
+- wxT("*.*"), wxOPEN | wxFILE_MUST_EXIST, parent);
++ wxT("*.*"), wxFD_OPEN | wxFD_FILE_MUST_EXIST, parent);
+ LocalToUtf8(localCertFile, certFile);
+
+ dataReceived = !localCertFile.empty();
+--- a/src/log_dlg.cpp
++++ b/src/log_dlg.cpp
+@@ -211,7 +211,7 @@
+
+ for (size_t idx = 0; idx < str.Length(); idx++)
+ {
+- switch (str[idx])
++ switch ((wchar_t)str[idx])
+ {
+ case wxT('\r'):
+ case wxT('\n'):
+--- a/src/preferences_dlg.cpp
++++ b/src/preferences_dlg.cpp
+@@ -126,7 +126,7 @@
+ PreferencesDlg::SelectExecutable(const wxString & title, wxTextCtrl * textCtrl)
+ {
+ wxFileDialog dlg(this, title, wxEmptyString, wxEmptyString,
+- EXECUTABLE_WILDCARD, wxOPEN);
++ EXECUTABLE_WILDCARD, wxFD_OPEN);
+ dlg.SetPath(textCtrl->GetValue());
+
+ if (dlg.ShowModal() != wxID_OK)
+--- a/src/verblist.cpp
++++ b/src/verblist.cpp
+@@ -71,7 +71,7 @@
+ const wxString &
+ VerbList::GetName(size_t /*index*/) const
+ {
+- return wxT("");
++ return wxEmptyString;
+ }
+
+
+--- a/src/checkout_action.cpp
++++ b/src/checkout_action.cpp
+@@ -120,7 +120,8 @@
+ pegRevision = svn::Revision(revnum);
+ }
+
+- wxSetWorkingDirectory(m_data.DestFolder);
++ if (!m_data.DestFolder.empty())
++ wxSetWorkingDirectory(m_data.DestFolder);
+
+ svn::Path repUrlUtf8(PathUtf8(m_data.RepUrl));
+ svn::Path destFolderUtf8(PathUtf8(dest_folder));
+--- a/src/action.cpp
++++ b/src/action.cpp
+@@ -218,7 +218,9 @@
+ bool
+ Action::Prepare()
+ {
+- wxSetWorkingDirectory(Utf8ToLocal(m->path.c_str()));
++ const wxString & dir = Utf8ToLocal(m->path.c_str());
++ if (!dir.empty())
++ wxSetWorkingDirectory(dir);
+
+ return true;
+ }
+--- a/src/cleanup_action.cpp
++++ b/src/cleanup_action.cpp
+@@ -52,7 +52,9 @@
+ svn::Client client(GetContext());
+ const svn::Path & path = GetPath();
+
+- wxSetWorkingDirectory(Utf8ToLocal(path.c_str()));
++ const wxString & dir = Utf8ToLocal(path.c_str());
++ if (!dir.empty())
++ wxSetWorkingDirectory(dir);
+ client.cleanup(path.c_str());
+
+ return true;
+--- a/src/export_action.cpp
++++ b/src/export_action.cpp
+@@ -111,7 +111,8 @@
+ pegRevision = svn::Revision(revnum);
+ }
+
+- wxSetWorkingDirectory(m_data.DestPath);
++ if (!m_data.DestPath.empty())
++ wxSetWorkingDirectory(m_data.DestPath);
+
+ svn::Path srcPathUtf8(PathUtf8(m_data.SrcPath));
+ svn::Path destPathUtf8(PathUtf8(m_data.DestPath));
+--- a/src/get_action.cpp
++++ b/src/get_action.cpp
+@@ -56,7 +56,9 @@
+ m_data.revision.revnum());
+ Trace(msg);
+
+- wxSetWorkingDirectory(Utf8ToLocal(GetPath().c_str()));
++ const wxString & dir = Utf8ToLocal(GetPath().c_str());
++ if (!dir.empty())
++ wxSetWorkingDirectory(dir);
+ client.update(svn::Path(LocalToUtf8(m_data.path)),
+ m_data.revision,
+ true, false);
+--- a/src/update_action.cpp
++++ b/src/update_action.cpp
+@@ -75,7 +75,9 @@
+ }
+ }
+
+- wxSetWorkingDirectory(Utf8ToLocal(GetPath().c_str()));
++ const wxString & dir = Utf8ToLocal(GetPath().c_str());
++ if (!dir.empty())
++ wxSetWorkingDirectory(dir);
+ svn::Client client(GetContext());
+
+ client.update(GetTargets(), revision, m_data.recursive,
diff --git a/development/rapidsvn/rapidsvn.SlackBuild b/development/rapidsvn/rapidsvn.SlackBuild
index 68f194e2db..c6f33e0f59 100644
--- a/development/rapidsvn/rapidsvn.SlackBuild
+++ b/development/rapidsvn/rapidsvn.SlackBuild
@@ -1,31 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for RapidSVN
# Written by <youngmug@animeneko.net>
-# Modified slightly by Robby Workman <rworkman@slackbuilds.org>
# Currently maintained by David Delansay
+# 20220308 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - fix wxPython/wxGTK3 conflict.
+# - don't try to build API docs with doxygen (it fails).
+# - fix download URL (original went away).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rapidsvn
VERSION=${VERSION:-0.12.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -49,16 +60,19 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# Thanx Archlinux!
+patch -p1 < $CWD/rapidsvn-wx3.0.patch
# Reworked from KDE kdevplatform to build with subversion 1.9
# https://quickgit.kde.org/?p=kdevplatform.git&a=commit&h=8117ca137b45816865554d6e86b96d9e633a7e08
patch -p1 < $CWD/subversion1.9.patch
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -66,6 +80,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--with-apr-config=apr-1-config \
--with-apu-config=apu-1-config \
+ --with-wx-config=/usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0 \
+ --without-doxygen \
--disable-static \
--build=$ARCH-slackware-linux
@@ -82,9 +98,11 @@ cp -a AUTHORS CHANGES COPYING ChangeLog FDL.txt GPL.txt HACKING.txt INSTALL \
LICENSE.txt NEWS README TRANSLATIONS $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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rapidsvn/rapidsvn.info b/development/rapidsvn/rapidsvn.info
index e75bfd64e3..53cf447e35 100644
--- a/development/rapidsvn/rapidsvn.info
+++ b/development/rapidsvn/rapidsvn.info
@@ -1,10 +1,10 @@
PRGNAM="rapidsvn"
VERSION="0.12.1"
HOMEPAGE="http://www.rapidsvn.org/"
-DOWNLOAD="http://www.rapidsvn.org/download/release/0.12.1/rapidsvn-0.12.1.tar.gz"
+DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/rapidsvn-0.12.1.tar.gz"
MD5SUM="8de3ca6da3ef6a27d59f959d1bbcd96b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxPython"
+REQUIRES="wxGTK3"
MAINTAINER="David Delansay"
EMAIL="david.delansay@laposte.net"
diff --git a/development/rarian/rarian.SlackBuild b/development/rarian/rarian.SlackBuild
index 020bf5f9ef..2eaf241158 100644
--- a/development/rarian/rarian.SlackBuild
+++ b/development/rarian/rarian.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Rarian
# Copyright (c) 2009 Andrzej Telszewski <atelszewski@gmail.com>
# All rights reserved.
-# updates copyright (c) 2016 Tim Dickson <dickson.tim@googlemail.com>
+# Copyright (c) 2016-2023 Tim Dickson <dickson.tim@googlemail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -32,10 +32,13 @@
# (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=rarian
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,12 +48,19 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
-DOCS="MAINTAINERS TODO COPYING NEWS README INSTALL COPYING.UTILS COPYING.LIB ChangeLog"
+DOCS="MAINTAINERS TODO COPYING NEWS README COPYING.UTILS COPYING.LIB ChangeLog"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -81,6 +91,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 -i
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -102,8 +113,10 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/help $PKG/usr/doc/$PRGNAM-$VERSION/help
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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rarian/rarian.info b/development/rarian/rarian.info
index 9effc4b13d..0235a43ae8 100644
--- a/development/rarian/rarian.info
+++ b/development/rarian/rarian.info
@@ -1,10 +1,10 @@
PRGNAM="rarian"
-VERSION="0.8.1"
-HOMEPAGE="https://rarian.freedesktop.org/"
-DOWNLOAD="https://rarian.freedesktop.org/Releases/rarian-0.8.1.tar.bz2"
-MD5SUM="75091185e13da67a0ff4279de1757b94"
+VERSION="0.8.5"
+HOMEPAGE="https://rarian.freedesktop.org"
+DOWNLOAD="https://gitlab.freedesktop.org/rarian/rarian/-/archive/0.8.5/rarian-0.8.5.tar.bz2"
+MD5SUM="ee6b1c28878097dddbb062e9ff001a31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="tinyxml"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"
diff --git a/development/ratfor/README b/development/ratfor/README
new file mode 100644
index 0000000000..7aee00f42c
--- /dev/null
+++ b/development/ratfor/README
@@ -0,0 +1,27 @@
+ratfor (ratfor preprocessor for fortran77)
+
+Ratfor is short for Rational Fortran. If you are not familiar with
+Ratfor, SEP has a good page about it here:
+
+ https://sepwww.stanford.edu/sep/prof/pvi/rat/paper_html/node1.html
+
+...and Brian W. Kernighan's paper on the language can be found here:
+
+ http://www.econ.uiuc.edu/~roger/research/repro/ratfor.pdf
+
+Ratfor was used in the classic Software Tools text by Kernighan and
+Plauger, published by Addison and Wesley. Ratfor translates Rational
+Fortran to Fortran-77, which can then be compiled with a F77 compiler
+such as GNU Fortran.
+
+This Linux Ratfor is derived from the public domain ratfor
+version 1.0 by Oz, Ken Yap, W. Bauske (IBM), and SEP
+(http://sepwww.stanford.edu). It is still in the public domain.
+
+To compile and run a ratfor program:
+
+ ratfor -o prog.f prog.r
+ f77 -o prog prog.f
+ ./prog
+
+There are some sample/test programs in "/usr/doc/ratfor-$VERSION/tests".
diff --git a/development/ratfor/ratfor.SlackBuild b/development/ratfor/ratfor.SlackBuild
new file mode 100644
index 0000000000..6b61b0e501
--- /dev/null
+++ b/development/ratfor/ratfor.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for ratfor
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# The Slackware package includes everything that's in upstream's RPM,
+# plus the test*.r programs, test*.std outputs from the test programs,
+# and the output from 'make check'.
+
+# I also did a SlackBuild for another fork of ratfor, called
+# c-ratfor (https://gitorious.org/ratfor-revived/c-ratfor), but
+# I haven't submitted it to SBo because I don't think we need
+# two implementations of this historical language. Come to that,
+# we probably don't *need* one at all, but I find this to be an
+# interesting bit of programming history. If you really have a burning
+# desire to see c-ratfor on SBo, email me and ask for it, and I'll
+# either submit it or let you have the work I've done as a basis for
+# your own c-ratfor SlackBuild.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ratfor
+VERSION=${VERSION:-1.05}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make check 2>&1 | tee makecheck.txt
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC/tests
+cp -a BUGS README $PKGDOC
+cp -a makecheck.txt *.r *.std $PKGDOC/tests
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ratfor/ratfor.info b/development/ratfor/ratfor.info
new file mode 100644
index 0000000000..aa3c918a5f
--- /dev/null
+++ b/development/ratfor/ratfor.info
@@ -0,0 +1,10 @@
+PRGNAM="ratfor"
+VERSION="1.05"
+HOMEPAGE="http://www.dgate.org/ratfor/"
+DOWNLOAD="http://www.dgate.org/ratfor/tars/ratfor-1.05.tar.gz"
+MD5SUM="72266173c45f401bbf12b2098955b080"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/ratfor/slack-desc b/development/ratfor/slack-desc
new file mode 100644
index 0000000000..dc3c20ea55
--- /dev/null
+++ b/development/ratfor/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------------------------------------------------------|
+ratfor: ratfor (ratfor preprocessor for fortran77)
+ratfor:
+ratfor: Ratfor is short for Rational Fortran. Ratfor was used in the classic
+ratfor: Software Tools text by Kernighan and Plauger, published by Addison and
+ratfor: Wesley. Ratfor translates Rational Fortran to Fortran-77, which can
+ratfor: then be compiled with a F77 compiler such as GNU Fortran.
+ratfor:
+ratfor: This Linux Ratfor is derived from the public domain ratfor
+ratfor: version 1.0 by Oz, Ken Yap, W. Bauske (IBM), and SEP
+ratfor: (http://sepwww.stanford.edu). It is still in the public domain.
+ratfor:
diff --git a/development/re2c/README b/development/re2c/README
deleted file mode 100644
index 227f25951c..0000000000
--- a/development/re2c/README
+++ /dev/null
@@ -1,6 +0,0 @@
-re2c is a tool for writing very fast and very flexible scanners. Unlike
-any other such tool, re2c focuses on generating high efficient code for
-regular expression matching. As a result this allows a much broader
-range of use than any traditional lexer offers. And last but not least
-re2c generates warning free code that is equal to hand-written code in
-terms of size, speed and quality.
diff --git a/development/re2c/re2c.SlackBuild b/development/re2c/re2c.SlackBuild
deleted file mode 100644
index dd71e03f81..0000000000
--- a/development/re2c/re2c.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for re2c
-
-# Copyright 2008-2015 LukenShiro, Italy
-# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-# 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.
-
-PRGNAM=re2c
-VERSION=${VERSION:-2.0.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# .html file needs to be manually installed
-DOCFILES="README.md CHANGELOG LICENSE NO_WARRANTY"
-
-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.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# --htmldir= is ignored
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-golang
-
-make
-make install-strip DESTDIR=$PKG
-
-# compress man pages
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-# remove windows-only files
-rm -rf lessons/001_upn_calculator/windows/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
-
-# copy other doc files
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
-cp -R examples/* /$PKG/usr/doc/$PRGNAM-$VERSION/examples/
-
-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:-tgz}
diff --git a/development/re2c/re2c.info b/development/re2c/re2c.info
deleted file mode 100644
index 848f86a773..0000000000
--- a/development/re2c/re2c.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="re2c"
-VERSION="2.0.3"
-HOMEPAGE="http://re2c.org/"
-DOWNLOAD="https://github.com/skvadrik/re2c/releases/download/2.0.3/re2c-2.0.3.tar.xz"
-MD5SUM="2e0bd0ecbd20bf15a4648111f14a4f0a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/development/re2c/slack-desc b/development/re2c/slack-desc
deleted file mode 100644
index 3c90f77767..0000000000
--- a/development/re2c/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------------------------------------------------------|
-re2c: re2c (regular expressions to C/C++ conversion tool)
-re2c:
-re2c: It is a tool for writing very fast and very flexible scanners. Unlike
-re2c: any other such tool, re2c focuses on generating high efficient code
-re2c: for regular expression matching. As a result this allows a much
-re2c: broader range of use than any traditional lexer offers. And last but
-re2c: not least re2c generates warning free code that is equal to
-re2c: hand-written code in terms of size, speed and quality
-re2c:
-re2c: Homepage: http://re2c.org
-re2c:
diff --git a/development/rebar/README b/development/rebar/README
new file mode 100644
index 0000000000..111c1dac78
--- /dev/null
+++ b/development/rebar/README
@@ -0,0 +1,4 @@
+rebar is an Erlang build tool that makes it easy to compile and test
+Erlang applications, port drivers and releases.
+
+rebar is deprecated in favor of rebar3.
diff --git a/development/rebar/rebar.SlackBuild b/development/rebar/rebar.SlackBuild
new file mode 100644
index 0000000000..b9ac56c4cc
--- /dev/null
+++ b/development/rebar/rebar.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for rebar
+
+# Copyright 2024 Alexander Verbovetsky, Moscow, Russia
+# 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=rebar
+VERSION=${VERSION:-2.6.4}
+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 {} \;
+
+/usr/bin/escript bootstrap
+install -Dm0755 rebar -t $PKG/usr/bin/
+
+install -Dm0644 priv/shell-completion/bash/rebar \
+ -t $PKG/usr/share/bash-completion/completions/
+install -Dm0644 priv/shell-completion/fish/rebar.fish \
+ -t $PKG/usr/share/fish/vendor_completions.d/
+install -Dm0644 priv/shell-completion/zsh/_rebar \
+ -t $PKG/usr/share/zsh/site-functions/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.* README.* RELEASE-NOTES* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rebar/rebar.info b/development/rebar/rebar.info
new file mode 100644
index 0000000000..e1947e1c61
--- /dev/null
+++ b/development/rebar/rebar.info
@@ -0,0 +1,10 @@
+PRGNAM="rebar"
+VERSION="2.6.4"
+HOMEPAGE="https://github.com/rebar/rebar"
+DOWNLOAD="https://github.com/rebar/rebar/archive/2.6.4/rebar-2.6.4.tar.gz"
+MD5SUM="5704a54547096b9b910e840db4c61caf"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="erlang-otp"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/development/rebar/slack-desc b/development/rebar/slack-desc
new file mode 100644
index 0000000000..670379d5cb
--- /dev/null
+++ b/development/rebar/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------------------------------------------------------|
+rebar: rebar (Erlang build tool)
+rebar:
+rebar:
+rebar: rebar is an Erlang build tool that makes it easy to compile and
+rebar: test Erlang applications, port drivers and releases.
+rebar:
+rebar: rebar is deprecated in favor of rebar3.
+rebar:
+rebar: Homepage: https://github.com/rebar/rebar
+rebar:
+rebar:
diff --git a/development/rebar3/README b/development/rebar3/README
new file mode 100644
index 0000000000..81ab5ead8a
--- /dev/null
+++ b/development/rebar3/README
@@ -0,0 +1,16 @@
+Rebar3 is an Erlang tool that makes it easy to create, develop, and
+release Erlang libraries, applications, and systems in a repeatable
+manner.
+
+Rebar3 will:
+
+* respect and enforce standard Erlang/OTP conventions for project
+ structure so they are easily reusable by the community;
+* manage source dependencies and Erlang packages while ensuring
+ repeatable builds;
+* handle build artifacts, paths, and libraries such that standard
+ development tools can be used without a headache;
+* adapt to projects of all sizes on almost any platform;
+* treat documentation as a feature, and errors or lack of
+ documentation as a bug.
+
diff --git a/development/rebar3/rebar3.SlackBuild b/development/rebar3/rebar3.SlackBuild
new file mode 100644
index 0000000000..aed7b08400
--- /dev/null
+++ b/development/rebar3/rebar3.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for rebar3
+
+# Copyright 2024 Alexander Verbovetsky, Moscow, Russia
+# 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=rebar3
+VERSION=${VERSION:-3.23.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ 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 {} \;
+
+/usr/bin/escript bootstrap
+install -Dm0755 rebar3 -t $PKG/usr/bin/
+
+mkdir -p $PKG/usr/man/man1
+gzip -9c manpages/rebar3.1 > $PKG/usr/man/man1/rebar3.1.gz
+
+install -Dm0644 apps/rebar/priv/shell-completion/bash/rebar3 \
+ -t $PKG/usr/share/bash-completion/completions/
+install -Dm0644 apps/rebar/priv/shell-completion/fish/rebar3.fish \
+ -t $PKG/usr/share/fish/vendor_completions.d/
+install -Dm0644 apps/rebar/priv/shell-completion/zsh/_rebar3 \
+ -t $PKG/usr/share/zsh/site-functions/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.* README.* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rebar3/rebar3.info b/development/rebar3/rebar3.info
new file mode 100644
index 0000000000..e43e3d0748
--- /dev/null
+++ b/development/rebar3/rebar3.info
@@ -0,0 +1,10 @@
+PRGNAM="rebar3"
+VERSION="3.23.0"
+HOMEPAGE="https://github.com/erlang/rebar3"
+DOWNLOAD="https://github.com/erlang/rebar3/archive/3.23.0/rebar3-3.23.0.tar.gz"
+MD5SUM="9b3fe45691c2eb7ad27a64e457838bad"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="erlang-otp"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/development/rebar3/slack-desc b/development/rebar3/slack-desc
new file mode 100644
index 0000000000..cf346b27d8
--- /dev/null
+++ b/development/rebar3/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------------------------------------------------------|
+rebar3: rebar3 (Erlang build tool)
+rebar3:
+rebar3:
+rebar3: Rebar3 is an Erlang tool that makes it easy to create, develop, and
+rebar3: release Erlang libraries, applications, and systems in a repeatable
+rebar3: manner.
+rebar3:
+rebar3:
+rebar3: Homepage: https://github.com/erlang/rebar3/
+rebar3:
+rebar3:
diff --git a/development/reckless/reckless.SlackBuild b/development/reckless/reckless.SlackBuild
index 7da60bb2a6..696f31e6d7 100644
--- a/development/reckless/reckless.SlackBuild
+++ b/development/reckless/reckless.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for reckless
@@ -22,10 +22,13 @@
# 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=reckless
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-3.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -75,11 +85,11 @@ find -L . \
cd detail
sed -i.bkp 's/boost_1_56_0/boost/g' *.hpp
)
-CXXFLAGS="-std=c++11 ${SLKCFLAGS} -Ireckless/include" make -e
+CXXFLAGS="${SLKCFLAGS} -Ireckless/include" make -e
# install lib
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-install -m644 reckless/lib/libasynclog.a $PKG/usr/lib${LIBDIRSUFFIX}
+install -m644 reckless/lib/libreckless.a $PKG/usr/lib${LIBDIRSUFFIX}
# install include
mkdir -p $PKG/usr/include/reckless/detail
@@ -97,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/reckless/reckless.info b/development/reckless/reckless.info
index 5109b921ed..4e881ce470 100644
--- a/development/reckless/reckless.info
+++ b/development/reckless/reckless.info
@@ -1,8 +1,8 @@
PRGNAM="reckless"
-VERSION="2.2.0"
+VERSION="3.0.3"
HOMEPAGE="https://github.com/mattiasflodin/reckless"
-DOWNLOAD="https://github.com/mattiasflodin/reckless/archive/v2.2.0/reckless-2.2.0.tar.gz"
-MD5SUM="fbf58a4729aeaeb4413b87bb8b52b90a"
+DOWNLOAD="https://github.com/mattiasflodin/reckless/archive/v3.0.3/reckless-3.0.3.tar.gz"
+MD5SUM="6980380a0a3fae24bc5df558a1886d0b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/recutils/README b/development/recutils/README
new file mode 100644
index 0000000000..980d7dd9a8
--- /dev/null
+++ b/development/recutils/README
@@ -0,0 +1,10 @@
+GNU Recutils is a set of tools and libraries to access human-editable,
+plain text databases called recfiles. The data is stored as a sequence
+of records, each record containing an arbitrary number of named fields.
+
+mdbutils is an optional dependency (autodetected) required to build the
+mdb2rec utility (will patch the source and run autoreconf).
+If you already have the mdbutils package installed, but do not want the
+mdb2rec utility, set the MDB2REC environment variable to "no" before
+executing the script, e.g.
+ MDB2REC="no" ./recutils.SlackBuild
diff --git a/development/recutils/configure.ac.patch b/development/recutils/configure.ac.patch
new file mode 100644
index 0000000000..e82f4ae6e9
--- /dev/null
+++ b/development/recutils/configure.ac.patch
@@ -0,0 +1,4 @@
+126c126
+< AC_CHECK_LIB([mdb],[mdb_init],[have_mdb=yes],)
+---
+> AC_CHECK_LIB([mdb],[mdb_get_version],[have_mdb=yes],)
diff --git a/development/recutils/mdb2rec.c.patch b/development/recutils/mdb2rec.c.patch
new file mode 100644
index 0000000000..5b6798b51d
--- /dev/null
+++ b/development/recutils/mdb2rec.c.patch
@@ -0,0 +1,9 @@
+391a392,393
+> col = g_ptr_array_index (table->columns, i);
+> column_name = col->name;
+431,432d432
+< mdb_init();
+< mdb_set_date_fmt ("%Y-%m-%dT%H:%M:%S%z"); /* ISO 8601 */
+441a442,443
+>
+> mdb_set_date_fmt (mdb, "%Y-%m-%dT%H:%M:%S%z"); /* ISO 8601 */
diff --git a/development/recutils/recutils.SlackBuild b/development/recutils/recutils.SlackBuild
new file mode 100644
index 0000000000..df8a919102
--- /dev/null
+++ b/development/recutils/recutils.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for recutils
+
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=recutils
+VERSION=${VERSION:-1.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -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 {} \;
+
+# If libmdb (mdbtools) is present and the user did not disable the build of
+# the `mdb2rec` utility, patch the source tree and run `atoreconf`.
+if [ "${MDB2REC:-yes}" != "no" ] && [ -f /usr/lib${LIBDIRSUFFIX}/libmdb.so ]; then
+ patch configure.ac $CWD/configure.ac.patch
+ patch utils/mdb2rec.c $CWD/mdb2rec.c.patch
+ autoreconf -f -i
+fi;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-static=no \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+
+gzip -9 ChangeLog
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README COPYING NEWS AUTHORS ChangeLog.gz \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/recutils/recutils.info b/development/recutils/recutils.info
new file mode 100644
index 0000000000..f2105dfe15
--- /dev/null
+++ b/development/recutils/recutils.info
@@ -0,0 +1,10 @@
+PRGNAM="recutils"
+VERSION="1.9"
+HOMEPAGE="https://www.gnu.org/software/recutils/"
+DOWNLOAD="https://mirror.cedia.org.ec/gnu/recutils/recutils-1.9.tar.gz"
+MD5SUM="ee5da209df9a1f80e65c9739a814ce34"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/recutils/slack-desc b/development/recutils/slack-desc
new file mode 100644
index 0000000000..762869c1cb
--- /dev/null
+++ b/development/recutils/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------------------------------------------------------|
+recutils: recutils (tools and libraries to access recfiles)
+recutils:
+recutils: GNU Recutils is a set of tools and libraries to access
+recutils: human-editable, plain text databases called recfiles. The data is
+recutils: stored as a sequence of records, each record containing an arbitrary
+recutils: number of named fields.
+recutils:
+recutils: https://www.gnu.org/software/recutils/
+recutils:
+recutils:
+recutils:
diff --git a/development/redo/redo.SlackBuild b/development/redo/redo.SlackBuild
index 8dbc926e1e..1e5fa898b0 100644
--- a/development/redo/redo.SlackBuild
+++ b/development/redo/redo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for redo
@@ -22,10 +22,13 @@
# 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=redo
-VERSION=${VERSION:-0.42c}
+VERSION=${VERSION:-0.42d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -45,8 +55,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$PRGNAM-$VERSION
DESTDIR=$PKG \
@@ -71,4 +81,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/redo/redo.info b/development/redo/redo.info
index 548e345cef..ae61aece23 100644
--- a/development/redo/redo.info
+++ b/development/redo/redo.info
@@ -1,10 +1,10 @@
PRGNAM="redo"
-VERSION="0.42c"
+VERSION="0.42d"
HOMEPAGE="https://redo.readthedocs.io"
-DOWNLOAD="https://github.com/apenwarr/redo/archive/redo-0.42c.tar.gz"
-MD5SUM="8f46244d6e2760c089c8efac521f639a"
+DOWNLOAD="https://github.com/apenwarr/redo/archive/redo-0.42d/redo-redo-0.42d.tar.gz"
+MD5SUM="ccea62f43c6911955517cae03781ac8f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Markdown BeautifulSoup"
+REQUIRES="BeautifulSoup4 python2-BeautifulSoup4"
MAINTAINER="Jeff Parent"
EMAIL="jeff+SBo@sh0.xyz"
diff --git a/development/referenceassemblies-pcl/README b/development/referenceassemblies-pcl/README
deleted file mode 100644
index be267f513c..0000000000
--- a/development/referenceassemblies-pcl/README
+++ /dev/null
@@ -1,8 +0,0 @@
-The Microsoft .NET Portable Library Reference Assemblies is a set of
-reference assemblies that can be used to compile .NET source code as
-a Portable Class Library (PCL), on any platform.
-
-The package referenceassemblies-pcl should be installed for PCL
-compilation support - this will resolve most cases of
-"Framework not installed: .NETPortable" errors during software
-compilation.
diff --git a/development/referenceassemblies-pcl/referenceassemblies-pcl.SlackBuild b/development/referenceassemblies-pcl/referenceassemblies-pcl.SlackBuild
deleted file mode 100644
index e16b4a61a2..0000000000
--- a/development/referenceassemblies-pcl/referenceassemblies-pcl.SlackBuild
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for referenceassemblies-pcl
-
-# Copyright 2016 Andre Barboza, Belo Horizonte - Brazil
-# 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.
-
-PRGNAM=referenceassemblies-pcl
-VERSION=${VERSION:-20140414}
-SRCVERSION=${SRCVERSION:-2014.04.14}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-ARCH=noarch
-
-CWD=$(pwd)
-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 linux-packaging-referenceassemblies-pcl-upstream-${SRCVERSION}
-tar xvf $CWD/${SRCVERSION}.tar.gz || tar xvf $CWD/linux-packaging-referenceassemblies-pcl-upstream-${SRCVERSION}.tar.gz
-cd linux-packaging-referenceassemblies-pcl-upstream-${SRCVERSION}
-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/usr/lib/mono/xbuild-frameworks/.NETPortable/"
-cp -r "v4.0" "$PKG/usr/lib/mono/xbuild-frameworks/.NETPortable/"
-cp -r "v4.5" "$PKG/usr/lib/mono/xbuild-frameworks/.NETPortable/"
-cp -r "v4.6" "$PKG/usr/lib/mono/xbuild-frameworks/.NETPortable/"
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a 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:-tgz}
diff --git a/development/referenceassemblies-pcl/referenceassemblies-pcl.info b/development/referenceassemblies-pcl/referenceassemblies-pcl.info
deleted file mode 100644
index 2800558fd9..0000000000
--- a/development/referenceassemblies-pcl/referenceassemblies-pcl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="referenceassemblies-pcl"
-VERSION="20140414"
-HOMEPAGE="https://github.com/directhex/xamarin-referenceassemblies-pcl"
-DOWNLOAD="https://github.com/directhex/xamarin-referenceassemblies-pcl/archive/upstream/2014.04.14.tar.gz"
-MD5SUM="dd54c795b6d986582c175d55627d537a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="mono"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/development/referenceassemblies-pcl/slack-desc b/development/referenceassemblies-pcl/slack-desc
deleted file mode 100644
index 404d198c45..0000000000
--- a/development/referenceassemblies-pcl/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------------------------------------------------------|
-referenceassemblies-pcl: referenceassemblies-pcl (Portable Reference Assemblies)
-referenceassemblies-pcl:
-referenceassemblies-pcl: The Microsoft .NET Portable Library Reference Assemblies is a set of
-referenceassemblies-pcl: reference assemblies that can be used to compile .NET source code as
-referenceassemblies-pcl: a Portable Class Library (PCL), on any platform.
-referenceassemblies-pcl:
-referenceassemblies-pcl: The package referenceassemblies-pcl should be installed for PCL
-referenceassemblies-pcl: compilation support - this will resolve most cases of
-referenceassemblies-pcl: "Framework not installed: .NETPortable" errors during software
-referenceassemblies-pcl: compilation.
-referenceassemblies-pcl:
diff --git a/development/reflex/reflex.SlackBuild b/development/reflex/reflex.SlackBuild
index d2954ce964..4c48548ad4 100644
--- a/development/reflex/reflex.SlackBuild
+++ b/development/reflex/reflex.SlackBuild
@@ -1,15 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for reflex
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230912 bkw: updated for v2.5.4.20230523
+# 20230103 bkw: updated for v2.5.4.20221012.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=reflex
-VERSION=${VERSION:-2.5.4.20200715}
+VERSION=${VERSION:-2.5.4.20230523}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +25,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -88,7 +98,7 @@ make
make install DESTDIR=$PKG
strip $PKG/usr/bin/$PRGNAM
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+[ -e $PKG/usr/man/man1/$PRGNAM.1.gz ] || gzip -9 $PKG/usr/man/man1/$PRGNAM.1
# Considered adding MISC/* to the doc dir, but it's almost all cruft
# from 20+ years ago, from before reflex forked from flex, and it looks
@@ -101,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/reflex/reflex.info b/development/reflex/reflex.info
index 44a1d828f7..9eb837376a 100644
--- a/development/reflex/reflex.info
+++ b/development/reflex/reflex.info
@@ -1,10 +1,10 @@
PRGNAM="reflex"
-VERSION="2.5.4.20200715"
-HOMEPAGE="http://invisible-island.net/reflex/reflex.html"
-DOWNLOAD="ftp://ftp.invisible-island.net/reflex/reflex-20200715.tgz"
-MD5SUM="864494e63fa8dec456fd5b55eb749ed4"
+VERSION="2.5.4.20230523"
+HOMEPAGE="https://invisible-island.net/reflex/reflex.html"
+DOWNLOAD="https://invisible-mirror.net/archives/reflex/reflex-20230523.tgz"
+MD5SUM="964fc686621c26a3f80b4ab13a237012"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/regexxer/regexxer.SlackBuild b/development/regexxer/regexxer.SlackBuild
index 62ce3eb8e4..3a43a77e35 100644
--- a/development/regexxer/regexxer.SlackBuild
+++ b/development/regexxer/regexxer.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for regexxer
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=regexxer
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/regina-rexx/README b/development/regina-rexx/README
index 0f6f8c3f7f..716fd69c4c 100644
--- a/development/regina-rexx/README
+++ b/development/regina-rexx/README
@@ -8,18 +8,13 @@ inexperienced programmers yet powerful enough for experienced users.
It is also a language ideally suited as a macro language for other
applications.
-To create the normal dynamic version just do this:
- sh regina-rexx.SlackBuild
+To create the normal dynamic library version just do this:
+
+ bash regina-rexx.SlackBuild
Or to create a static version of the rexx binary executable do this:
- 1) The Slackware 14.2 ncurses package is built without static libs.
- This prevents the static build of regina-rexx from loading properly.
- In this case:
- a) Modify the ncurses.SlackBuild and change the "--without-normal"
- option to "--with-normal"
- b) Rebuild and reinstall the ncurses package.
- 2) FLAVOR=static sh regina-rexx.SlackBuild
+ FLAVOR=static bash regina-rexx.SlackBuild
After installation of the package, a startup script for the rxstack is
created: /etc/rc.d/rc.rxstack
diff --git a/development/regina-rexx/regina-rexx.SlackBuild b/development/regina-rexx/regina-rexx.SlackBuild
index eff7d560d7..4b2ecbf6c6 100644
--- a/development/regina-rexx/regina-rexx.SlackBuild
+++ b/development/regina-rexx/regina-rexx.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Regina REXX Interpreter
# Written by Diogo Leal (diogo@diogoleal.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=regina-rexx
-VERSION=${VERSION:-3.9.3}
+VERSION=${VERSION:-3.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
FLAVOR=${FLAVOR:-dynamic} # set FLAVOR=static for a rexx static binary.
if [ -z "$ARCH" ]; then
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -52,6 +62,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "$FLAVOR" = "static" ]; then
+ SLKCFLAGS="$SLKCFLAGS -static"
mv -f configure configure.orig
sed -e 's/STATIC_LDFLAGS=""/STATIC_LDFLAGS="-static"/' <configure.orig >configure
chmod 744 configure
@@ -92,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/regina-rexx/regina-rexx.info b/development/regina-rexx/regina-rexx.info
index 3383bcc505..410cbbbbf6 100644
--- a/development/regina-rexx/regina-rexx.info
+++ b/development/regina-rexx/regina-rexx.info
@@ -1,8 +1,8 @@
PRGNAM="regina-rexx"
-VERSION="3.9.3"
+VERSION="3.9.5"
HOMEPAGE="http://regina-rexx.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/regina-rexx/regina-rexx-3.9.3.tar.gz"
-MD5SUM="9631f4a8859fb44f7e76f80682e76494"
+DOWNLOAD="http://downloads.sourceforge.net/regina-rexx/regina-rexx-3.9.5.tar.gz"
+MD5SUM="cf87ed347677f751ecce14d751f03291"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/remake/README b/development/remake/README
new file mode 100644
index 0000000000..777d3f3ef3
--- /dev/null
+++ b/development/remake/README
@@ -0,0 +1,5 @@
+Remake is an enahanced version of GNU Make that adds improved
+error reporting, better tracing, profiling and a debugger.
+
+remake-4.3+dbg_1.6_1.tar.xz was generated from git commit 79616aa1
+plus the command "sed -i configure.ac -e s/dbg-1.6/dbg_1.6_1/"
diff --git a/development/remake/doinst.sh b/development/remake/doinst.sh
new file mode 100644
index 0000000000..ff24a4e389
--- /dev/null
+++ b/development/remake/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/install-info ]; then
+ /usr/bin/install-info --info-dir=usr/info usr/info/remake.info.gz 1> /dev/null 2>&1
+fi
diff --git a/development/remake/remake.SlackBuild b/development/remake/remake.SlackBuild
new file mode 100644
index 0000000000..44d2067a17
--- /dev/null
+++ b/development/remake/remake.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for <remake>
+
+# Copyright 2023 Duncan Roe, Melbourne, Australia
+# 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=remake
+VERSION=${VERSION:-4.3+dbg_1.6_4}
+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.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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --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
+
+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
+
+# Delete bogus replacement info files for `make`
+rm -f $PKG/usr/info/make.info*
+
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING NEWS-remake.md README.remake REMAKE.todo \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+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/development/remake/remake.info b/development/remake/remake.info
new file mode 100644
index 0000000000..45c154ab93
--- /dev/null
+++ b/development/remake/remake.info
@@ -0,0 +1,10 @@
+PRGNAM="remake"
+VERSION="4.3+dbg_1.6_4"
+HOMEPAGE="https://bashdb.sourceforge.net/remake/"
+DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/remake/remake-4.3+dbg_1.6_4.tar.xz"
+MD5SUM="03afc0e42429dafc8392aaba7fbe88f0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Duncan Roe"
+EMAIL="duncan_roe@optusnet.com.au"
diff --git a/development/remake/slack-desc b/development/remake/slack-desc
new file mode 100644
index 0000000000..b0e1ae1369
--- /dev/null
+++ b/development/remake/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------------------------------------------------------|
+remake: remake (Makefile debugger)
+remake:
+remake: Remake is an enahanced version of GNU Make that adds improved
+remake: error reporting, better tracing, profiling and a debugger.
+remake:
+remake: Home page: https://bashdb.sourceforge.net/remake/
+remake:
+remake:
+remake:
+remake:
+remake:
diff --git a/development/reuse-tool/README b/development/reuse-tool/README
new file mode 100644
index 0000000000..1f08e867af
--- /dev/null
+++ b/development/reuse-tool/README
@@ -0,0 +1,5 @@
+REUSE is started by Free Software Foundation Europe
+[FSFE] to provide a set of recommendations to make licensing
+your Free software projects easier.It also makes it
+easier for your computer to understand how your project
+is licensed.
diff --git a/development/reuse-tool/changelog b/development/reuse-tool/changelog
new file mode 100644
index 0000000000..b7a2e829c0
--- /dev/null
+++ b/development/reuse-tool/changelog
@@ -0,0 +1,11 @@
+Changelog for reuse-tool SlackBuild Script
+--------------------------------------------------------------------
+
+05/11/2022:
+
+Added to slackbuilds.org
+
+15/05/2023:
+
+updated Deps
+Updated to version 1.1.2
diff --git a/development/reuse-tool/reuse-tool.SlackBuild b/development/reuse-tool/reuse-tool.SlackBuild
new file mode 100644
index 0000000000..b359217c42
--- /dev/null
+++ b/development/reuse-tool/reuse-tool.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for reuse-tool
+
+# Copyright 2022-2023 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=reuse-tool
+VERSION=${VERSION:-1.1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+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 AUTHORS.rst CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md docs LICENSES/* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+rm -rvf $PKG/usr/doc/reuse-tool-1.0.0/docs/_static
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/reuse-tool/reuse-tool.info b/development/reuse-tool/reuse-tool.info
new file mode 100644
index 0000000000..8a2b048d6f
--- /dev/null
+++ b/development/reuse-tool/reuse-tool.info
@@ -0,0 +1,10 @@
+PRGNAM="reuse-tool"
+VERSION="1.1.2"
+HOMEPAGE="https://reuse.software"
+DOWNLOAD="https://github.com/fsfe/reuse-tool/archive/v1.1.2/reuse-tool-1.1.2.tar.gz"
+MD5SUM="b99af0a2301b78a815f029e82be7b0aa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-wheel python3-poetry-core binaryornot license-expression python-debian"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/development/reuse-tool/slack-desc b/development/reuse-tool/slack-desc
new file mode 100644
index 0000000000..cb32c27da1
--- /dev/null
+++ b/development/reuse-tool/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------------------------------------------------------|
+reuse-tool: reuse-tool (License Compliance Tool)
+reuse-tool:
+reuse-tool: REUSE was started by the Free Software Foundation Europe
+reuse-tool: [FSFE] to provide a set of recommendations to make licensing
+reuse-tool: your Free software projects easier.It also makes it
+reuse-tool: easier for your computer to understand how your project
+reuse-tool: is licensed.
+reuse-tool:
+reuse-tool: Homepage:https://reuse.software
+reuse-tool:
+reuse-tool:
diff --git a/development/rgbds/README b/development/rgbds/README
new file mode 100644
index 0000000000..e0e489daec
--- /dev/null
+++ b/development/rgbds/README
@@ -0,0 +1,9 @@
+rgbds (cross assembler targeting Nintendo Game Boy and Game Boy Color)
+
+RGBDS (Rednex Game Boy Development System) is a free assembler/linker
+package for the Game Boy and Game Boy Color. It consists of rgbasm
+(assembler), rgblink (linker), rgbfix (checksum/header fixer), and
+rgbgfx (PNG-to-Game Boy graphics converter).
+
+This is a fork of the original RGBDS which aims to make the programs
+more like other UNIX tools.
diff --git a/development/rgbds/rgbds.SlackBuild b/development/rgbds/rgbds.SlackBuild
new file mode 100644
index 0000000000..15660c7169
--- /dev/null
+++ b/development/rgbds/rgbds.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for rgbds
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20240209 bkw: update for v0.7.0
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rgbds
+VERSION=${VERSION:-0.7.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Fix hardcoded man page path, and do not install tests/ binaries to
+# $PKG/$PKG (ugh).
+sed -i 's,share/man,man,' CMakeLists.txt
+sed -i '/^install(/s,\(DESTINATION\).*,\1 bin),' test/CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+gzip -9 $PKG/usr/man/man*/*
+
+# bash and zsh completions are a nice extra, they seem to work OK.
+BCOMP=$PKG/usr/share/bash-completion/completions
+ZCOMP=$PKG/usr/share/zsh/site-functions
+mkdir -p $BCOMP $ZCOMP
+for i in contrib/bash_compl/_*.bash; do
+ fname="$( basename $i | cut -d_ -f2 | cut -d. -f1 )"
+ cat $i > $BCOMP/$fname
+done
+install -m0644 contrib/zsh_compl/_* $ZCOMP
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC/contrib
+cp -a CONTRIB* LICENSE* README* RELEASE* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# no idea if this stuff is useful, put it in the doc dir.
+install -m0644 contrib/*.bash $PKGDOC/contrib
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rgbds/rgbds.info b/development/rgbds/rgbds.info
new file mode 100644
index 0000000000..4b527ca2a8
--- /dev/null
+++ b/development/rgbds/rgbds.info
@@ -0,0 +1,10 @@
+PRGNAM="rgbds"
+VERSION="0.7.0"
+HOMEPAGE="https://github.com/gbdev/rgbds"
+DOWNLOAD="https://github.com/gbdev/rgbds/archive/v0.7.0/rgbds-0.7.0.tar.gz"
+MD5SUM="e73ca5f719ac18bd04fb626fd2c14332"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/rgbds/slack-desc b/development/rgbds/slack-desc
new file mode 100644
index 0000000000..a15dc4bb2a
--- /dev/null
+++ b/development/rgbds/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------------------------------------------------------|
+rgbds: rgbds (cross assembler targeting Nintendo Game Boy and Game Boy Color)
+rgbds:
+rgbds: RGBDS (Rednex Game Boy Development System) is a free assembler/linker
+rgbds: package for the Game Boy and Game Boy Color. It consists of rgbasm
+rgbds: (assembler), rgblink (linker), rgbfix (checksum/header fixer), and
+rgbds: rgbgfx (PNG-to-Game Boy graphics converter).
+rgbds:
+rgbds: This is a fork of the original RGBDS which aims to make the programs
+rgbds: more like other UNIX tools.
+rgbds:
+rgbds:
diff --git a/development/rizin/README b/development/rizin/README
new file mode 100644
index 0000000000..4afb0fb7d6
--- /dev/null
+++ b/development/rizin/README
@@ -0,0 +1,11 @@
+rizin (Free and Open Source Reverse Engineering Framework)
+
+A free and open-source Reverse Engineering framework, providing a
+complete binary analysis experience with features like Disassembler,
+Hexadecimal editor, Emulation, Binary inspection, Debugger, and more.
+
+Rizin takes a unique, Unix-friendly approach on reverse engineering. By
+default, it can be used in a shell-like environment tailored
+specifically to analyzing binaries directly from the command line
+without unnecessary weight. However, if you do want more, it provides a
+perfect basis for GUI and scripting.
diff --git a/development/rizin/rizin.SlackBuild b/development/rizin/rizin.SlackBuild
new file mode 100644
index 0000000000..bbc7e61e60
--- /dev/null
+++ b/development/rizin/rizin.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for rizin
+
+# Copyright 2022-2024 Ebben Aries <slackbuilds@dscp.org>
+# 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=rizin
+VERSION=${VERSION:-0.7.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-src-v$VERSION.tar.xz
+cd $PRGNAM-v$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ -Duse_sys_libzip=enabled \
+ -Duse_sys_openssl=enabled \
+ -Duse_sys_capstone=enabled \
+ -Duse_capstone_version=v4
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+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.md DEVELOPERS.md CODE_OF_CONDUCT.md CONTRIBUTING.md SECURITY.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rizin/rizin.info b/development/rizin/rizin.info
new file mode 100644
index 0000000000..80e38e2f63
--- /dev/null
+++ b/development/rizin/rizin.info
@@ -0,0 +1,10 @@
+PRGNAM="rizin"
+VERSION="0.7.3"
+HOMEPAGE="https://rizin.re/"
+DOWNLOAD="https://github.com/rizinorg/rizin/releases/download/v0.7.3/rizin-src-v0.7.3.tar.xz"
+MD5SUM="04d24ac0c1776ff69c53c8a47a430c07"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="capstone"
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/development/rizin/slack-desc b/development/rizin/slack-desc
new file mode 100644
index 0000000000..518ddf405c
--- /dev/null
+++ b/development/rizin/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------------------------------------------------------|
+rizin: rizin (Free and Open Source Reverse Engineering Framework)
+rizin:
+rizin:
+rizin: free and open-source Reverse Engineering framework, providing a
+rizin: complete binary analysis experience with features like Disassembler,
+rizin: Hexadecimal editor, Emulation, Binary inspection, Debugger, and more.
+rizin:
+rizin:
+rizin:
+rizin: Homepage: https://rizin.re/
+rizin:
diff --git a/development/rmac/rmac.1 b/development/rmac/rmac.1
index bf28056a44..4b151440ea 100644
--- a/development/rmac/rmac.1
+++ b/development/rmac/rmac.1
@@ -1,8 +1,5 @@
.\" Man page generated from reStructuredText.
.
-.TH RMAC 1 "2017-09-01" "1.8.6" "SlackBuilds.org"
-.SH NAME
-RMAC \- 68000 and 6502 cross assembler
.
.nr rst2man-indent-level 0
.
@@ -30,6 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
+.TH "RMAC" 1 "2023-01-03" "2.2.14_20221221" "SlackBuilds.org"
+.SH NAME
+rmac \- 68000 and 6502 cross assembler
.\" RST source for rmac(1) man page. Convert with:
.
.\" rst2man.py rmac.rst > rmac.1
@@ -64,8 +64,14 @@ BSD COFF output object file format.
.BI \-f\fB e
ELF output object file format.
.TP
+.BI \-f\fB r
+Absolute address. Source is required to have only one \fB\&.org\fP\&.
+.TP
.BI \-f\fB x
Atari 800 com/exe/xex output object file format.
+.TP
+.B \-g
+Generate source level debug info. Requires BSD COFF object file format.
.UNINDENT
.INDENT 0.0
.TP
@@ -75,20 +81,26 @@ Atari 800 com/exe/xex output object file format.
.sp
\-l\fI[file[prn]]\fP Construct and direct assembly listing to the specified file.
.sp
-\-l\fI*[filename]\fP Create an output listing file without pagination
+\-l\fI*[filename]\fP Create an output listing file without pagination.
.INDENT 0.0
.TP
-.B \-n
-Don\(aqt do things behind your back in RISC assembler
+.B \-m\fIcpu\fP Set default CPU type. Choices are: \fB68000\fP \fB68020\fP
+\fB68030\fP \fB68040\fP \fB68060\fP \fB68881\fP \fB68882\fP
+\fB56001\fP \fB6502\fP \fBtom\fP \fBjerry\fP
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-n
+Don\(aqt do things behind your back in RISC assembler.
.UNINDENT
.sp
\-o\fIfile[.o]\fP Direct object code output to the specified file.
.sp
+/~oall Turn all optimisations on/off
.sp
-+o\fI0\-3\fP Enable specific optimisation
++o\fI0\-30\fP Enable specific optimisation
.sp
-~o\fI0\-3\fP Disable specific optimisation
+~o\fI0\-30\fP Disable specific optimisation
.INDENT 0.0
.INDENT 3.5
\fI0: Absolute long adddresses to word (default: on)\fP
@@ -98,21 +110,33 @@ Don\(aqt do things behind your back in RISC assembler
\fI2: Word branches to short (default: on)\fP
.sp
\fI3: Outer displacement 0(an) to (an) (default: on)\fP
-.sp
\fI4: lea size(An),An to addq #size,An (default: off)\fP
+\fI5: 68020+ Absolute long base displacement to word (default: off)\fP
.sp
-\fI5: Absolute long base displacement to word (default: off)\fP
+\fI6: Convert null short branches to NOP\fP
+.sp
+\fI7: Convert clr.l Dn to moveq #0,Dn\fP
+.sp
+\fI8: Convert adda.w/l #x,Dy to addq.w/l #x,Dy\fP
+.sp
+\fI9: Convert adda.w/l #x,Dy to lea x(Dy),Dy\fP
+.sp
+\fI10: 56001 Use short format for immediate values if possible\fP
+.sp
+\fI11: 56001 Auto convert short addressing mode to long (default: on)\fP
+.sp
+\fI30: Enforce PC relative (alternative name: op)\fP
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
-.B \-p
+.B \-p
Produce an executable (\fB\&.prg\fP) output file.
.TP
.BI \-p\fB s
Produce an executable (\fB\&.prg\fP) output file with symbols.
.TP
-.B \-q
+.B \-q
Make RMAC resident in memory (Atari ST only).
.UNINDENT
.INDENT 0.0
@@ -136,20 +160,23 @@ specified boundary. Size is a letter that specifies the desired boundary.
.UNINDENT
.INDENT 0.0
.TP
-.B \-s
+.B \-s
Warn about unoptimized long branches and applied optimisations.
.TP
-.B \-u
+.B \-u
Force referenced and undefined symbols global.
.TP
-.B \-v
+.B \-v
Verbose mode (print running dialogue).
.TP
-.B \-x
+.B \-x
Turn on debugging mode
.TP
.BI \-y\fB n
Set listing page size to n lines.
+.TP
+.B \-4
+Use C style operator precedence.
.UNINDENT
.sp
file\fI[s]\fP Assemble the specified file.
@@ -183,6 +210,6 @@ by B. Watson, and is licensed under the WTFPL.
.sp
\fIhatari\fP(1)
.sp
-The full \fBrmac\fP documentation in /usr/doc/rmac\-1.8.6/rmac.rst.
+The full \fBrmac\fP documentation: /usr/doc/rmac\-2.2.14_20221221/rmac.html
.\" Generated by docutils manpage writer.
.
diff --git a/development/rmac/rmac.SlackBuild b/development/rmac/rmac.SlackBuild
index a304fad8b7..b1d39b41ac 100644
--- a/development/rmac/rmac.SlackBuild
+++ b/development/rmac/rmac.SlackBuild
@@ -1,20 +1,28 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rmac
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# Upstream doesn't do source release tarballs, see git2targz.sh.
+# 20230103 bkw:
+# - update for v2.2.14_20221221.
+# - convert rst doc to html.
+
+# 20210907 bkw: update for v2.1.12_20210820.
# 20180922 bkw:
# - updated for v1.13.5_20180603, had to add -j1 to make command.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rmac
-VERSION=${VERSION:-1.13.5_20180603}
+VERSION=${VERSION:-2.2.14_20221221}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +32,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -82,9 +94,10 @@ cd -
mkdir -p $PKG/usr/man/man1
gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+# rst2html is part of Slackware now, use it.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
ln -s ../../share/$PRGNAM/examples $PKG/usr/doc/$PRGNAM-$VERSION/examples
-cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+rst2html.py docs/rmac.rst > $PKG/usr/doc/$PRGNAM-$VERSION/rmac.html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -93,4 +106,4 @@ sed "s,@gitrev@,$( cat $PRGNAM.gitrev )," \
> $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rmac/rmac.info b/development/rmac/rmac.info
index 2ad2328bd2..dd1ab18943 100644
--- a/development/rmac/rmac.info
+++ b/development/rmac/rmac.info
@@ -1,12 +1,12 @@
PRGNAM="rmac"
-VERSION="1.13.5_20180603"
-HOMEPAGE="http://atariage.com/forums/topic/264842-rmac-the-grandchild-of-madmac-assembler-finally-gets-6502-support/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/rmac-1.13.5_20180603.tar.xz \
+VERSION="2.2.14_20221221"
+HOMEPAGE="https://atariage.com/forums/topic/264842-rmac-the-grandchild-of-madmac-assembler-finally-gets-6502-support/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/rmac-2.2.14_20221221.tar.xz \
https://slackware.uk/~urchlay/src/madmac-examples.tar.xz"
-MD5SUM="b42fb292daf2f20147bead7dc9fe607d \
+MD5SUM="c329d5c0cc01b46529f171b1033f7699 \
3d6dff2b72815935c322c91277ea5074"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/rmac/rmac.rst b/development/rmac/rmac.rst
index aeb8d8eaf7..e0f5bd1920 100644
--- a/development/rmac/rmac.rst
+++ b/development/rmac/rmac.rst
@@ -2,11 +2,11 @@
.. rst2man.py rmac.rst > rmac.1
.. rst2man.py comes from the SBo development/docutils package.
-.. |version| replace:: 1.8.6
+.. |version| replace:: 2.2.14_20221221
.. |date| date::
====
-RMAC
+rmac
====
------------------------------
@@ -47,24 +47,32 @@ OPTIONS
-fe ELF output object file format.
+-fr Absolute address. Source is required to have only one **.org**.
+
-fx Atari 800 com/exe/xex output object file format.
+-g Generate source level debug info. Requires BSD COFF object file format.
+
-i\ *path* Set include-file directory search path. *Note* this is a
**semicolon** separated list of directories.
-l\ *[file[prn]]* Construct and direct assembly listing to the specified file.
--l\ *\*[filename]* Create an output listing file without pagination
+-l\ *\*[filename]* Create an output listing file without pagination.
+
+-m\ *cpu* Set default CPU type. Choices are: **68000** **68020**
+ **68030** **68040** **68060** **68881** **68882**
+ **56001** **6502** **tom** **jerry**
--n Don't do things behind your back in RISC assembler
+-n Don't do things behind your back in RISC assembler.
-o\ *file[.o]* Direct object code output to the specified file.
+/~oall Turn all optimisations on/off
-+o\ *0-3* Enable specific optimisation
++o\ *0-30* Enable specific optimisation
-~o\ *0-3* Disable specific optimisation
+~o\ *0-30* Disable specific optimisation
`0: Absolute long adddresses to word (default: on)`
@@ -73,10 +81,22 @@ OPTIONS
`2: Word branches to short (default: on)`
`3: Outer displacement 0(an) to (an) (default: on)`
-
`4: lea size(An),An to addq #size,An (default: off)`
+ `5: 68020+ Absolute long base displacement to word (default: off)`
+
+ `6: Convert null short branches to NOP`
+
+ `7: Convert clr.l Dn to moveq #0,Dn`
- `5: Absolute long base displacement to word (default: off)`
+ `8: Convert adda.w/l #x,Dy to addq.w/l #x,Dy`
+
+ `9: Convert adda.w/l #x,Dy to lea x(Dy),Dy`
+
+ `10: 56001 Use short format for immediate values if possible`
+
+ `11: 56001 Auto convert short addressing mode to long (default: on)`
+
+ `30: Enforce PC relative (alternative name: op)`
-p Produce an executable (**.prg**) output file.
@@ -108,6 +128,8 @@ OPTIONS
-yn Set listing page size to n lines.
+-4 Use C style operator precedence.
+
file\ *[s]* Assemble the specified file.
FILES
@@ -135,4 +157,4 @@ SEE ALSO
*hatari*\ (1)
-The full **rmac** documentation in /usr/doc/rmac-|version|/rmac.rst.
+The full **rmac** documentation: /usr/doc/rmac-|version|/rmac.html
diff --git a/development/rmlmmc/rmlmmc.SlackBuild b/development/rmlmmc/rmlmmc.SlackBuild
index 557ac10de4..d33842d518 100644
--- a/development/rmlmmc/rmlmmc.SlackBuild
+++ b/development/rmlmmc/rmlmmc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rmlmmc
@@ -22,26 +22,36 @@
# 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=rmlmmc
VERSION=${VERSION:-280}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/robomongo/robomongo.SlackBuild b/development/robomongo/robomongo.SlackBuild
index 2091165fd4..d9ca9d031e 100644
--- a/development/robomongo/robomongo.SlackBuild
+++ b/development/robomongo/robomongo.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for robomongo
# Home Page http://www.robomongo.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="robomongo"
VERSION=${VERSION:-0.8.4}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
case "$( uname -m )" in
x86_64)
@@ -23,7 +26,14 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
+# 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}
@@ -67,4 +77,4 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/robotframework/robotframework.SlackBuild b/development/robotframework/robotframework.SlackBuild
index 6f26c266e3..f371bfaf2b 100644
--- a/development/robotframework/robotframework.SlackBuild
+++ b/development/robotframework/robotframework.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for robotframework
@@ -22,10 +22,13 @@
# 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=robotframework
-VERSION=${VERSION:-3.2.2}
+VERSION=${VERSION:-7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +38,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -69,14 +65,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYRIGHT.txt AUTHORS.rst LICENSE.txt \
+ COPYRIGHT.txt AUTHORS.rst LICENSE.txt README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -84,4 +80,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/robotframework/robotframework.info b/development/robotframework/robotframework.info
index 57920ca33d..d800877e71 100644
--- a/development/robotframework/robotframework.info
+++ b/development/robotframework/robotframework.info
@@ -1,8 +1,8 @@
PRGNAM="robotframework"
-VERSION="3.2.2"
+VERSION="7.0"
HOMEPAGE="https://robotframework.org/"
-DOWNLOAD="https://github.com/robotframework/robotframework/archive/v3.2.2/robotframework-3.2.2.tar.gz"
-MD5SUM="4a151bbf0e6438cf4e12ce3caad2b96c"
+DOWNLOAD="https://github.com/robotframework/robotframework/archive/v7.0/robotframework-7.0.tar.gz"
+MD5SUM="db4d516294ef7839d835251cde68bd3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/roswell/README b/development/roswell/README
new file mode 100644
index 0000000000..b339f79462
--- /dev/null
+++ b/development/roswell/README
@@ -0,0 +1,15 @@
+Roswell is a full-stack environment for Common Lisp development and
+provides many features that make it easy to test, share and
+distribute your Lisp applications.
+
+Roswell is still in beta. Despite this, the basic interfaces are
+stable and not likely to change.
+
+Please note that you should run the following command as a chosen user
+to build (compile, load and dump) the lisp-based part of roswell, using
+the `ros` binary after installation. The result is the dumped lisp
+image, which is saved in ~/.roswell:
+
+ $ ros setup
+
+You should also repeat this step after upgrading the package.
diff --git a/development/roswell/roswell.SlackBuild b/development/roswell/roswell.SlackBuild
new file mode 100644
index 0000000000..952f5ffcf7
--- /dev/null
+++ b/development/roswell/roswell.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for roswell
+
+# Copyright 2024 n1to <n1to-slack@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=roswell
+VERSION=${VERSION:-23.10.14.114}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# do not use windres as it is not necessary and it will throw an error
+# otherwise
+sed -i '/AC_CHECK_TOOL..WINDRES]/c\WINDRES=' configure.ac
+
+sh bootstrap
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/HTML
+# skip AUTHORS and NEWS as they are empty
+cp -a \
+ COPYING ChangeLog HACKING.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a documents/html/*.html $PKG/usr/doc/$PRGNAM-$VERSION/HTML
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/roswell/roswell.info b/development/roswell/roswell.info
new file mode 100644
index 0000000000..e14a765c70
--- /dev/null
+++ b/development/roswell/roswell.info
@@ -0,0 +1,10 @@
+PRGNAM="roswell"
+VERSION="23.10.14.114"
+HOMEPAGE="https://roswell.github.io/"
+DOWNLOAD="https://github.com/roswell/roswell/archive/v23.10.14.114/roswell-23.10.14.114.tar.gz"
+MD5SUM="e28b79e5964845bdc17a5afba99d49da"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="n1to"
+EMAIL="n1to-slack@posteo.net"
diff --git a/development/roswell/slack-desc b/development/roswell/slack-desc
new file mode 100644
index 0000000000..e8ee1879e5
--- /dev/null
+++ b/development/roswell/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------------------------------------------------------|
+roswell: roswell (Common Lisp environment setup utility)
+roswell:
+roswell: Roswell is a full-stack environment for Common Lisp development and
+roswell: provides many features that make it easy to test, share and
+roswell: distribute your Lisp applications.
+roswell:
+roswell: Roswell is still in beta. Despite this, the basic interfaces are
+roswell: stable and not likely to change.
+roswell:
+roswell: Homepage: https://roswell.github.io/
+roswell:
diff --git a/development/rr/README b/development/rr/README
new file mode 100644
index 0000000000..6c3cfbb82b
--- /dev/null
+++ b/development/rr/README
@@ -0,0 +1,5 @@
+rr aspires to be your primary C/C++ debugging tool for Linux
+You record a failure once, then debug the recording, deterministically,
+as many times as you want. The same execution is replayed every time.
+
+Only 64-bit version of rr is built.
diff --git a/development/rr/rr.SlackBuild b/development/rr/rr.SlackBuild
new file mode 100644
index 0000000000..64f6ad6ce6
--- /dev/null
+++ b/development/rr/rr.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for rr
+
+# Copyright 2022 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=rr
+VERSION=${VERSION:-5.7.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 build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DWILL_RUN_TESTS=False \
+ -DBUILD_TESTS=False \
+ -Ddisable32bit=ON \
+ ..
+ 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 \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rr/rr.info b/development/rr/rr.info
new file mode 100644
index 0000000000..99e7c8c46a
--- /dev/null
+++ b/development/rr/rr.info
@@ -0,0 +1,10 @@
+PRGNAM="rr"
+VERSION="5.7.0"
+HOMEPAGE="https://rr-project.org/"
+DOWNLOAD="https://github.com/rr-debugger/rr/archive/5.7.0/rr-5.7.0.tar.gz"
+MD5SUM="b8ebc587a171fa371361019f29fce893"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="capnproto"
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/development/rr/slack-desc b/development/rr/slack-desc
new file mode 100644
index 0000000000..a79e382f78
--- /dev/null
+++ b/development/rr/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------------------------------------------------------|
+rr: rr (Record and Replay Framework)
+rr:
+rr: rr aspires to be your primary C/C++ debugging tool for Linux,
+rr: enhancing gdb. You record a failure once, then debug the recording,
+rr: deterministically, as many times as you want. The same execution is
+rr: replayed every time.
+rr:
+rr: https://rr-project.org/
+rr:
+rr:
+rr:
diff --git a/development/rstudio-desktop-legacy/README b/development/rstudio-desktop-legacy/README
new file mode 100644
index 0000000000..708f331407
--- /dev/null
+++ b/development/rstudio-desktop-legacy/README
@@ -0,0 +1,8 @@
+RStudio is a cross-platform IDE for the R statistical computing
+environment. It is available in desktop and server versions.
+This is the Linux desktop version.
+
+This script repackages the Debian package provided by RStudio.
+
+RStudio 1.1.463 is the last supported version for 32-bit systems.
+Newer versions of RStudio only support 64-bit systems.
diff --git a/development/rstudio-desktop-legacy/doinst.sh b/development/rstudio-desktop-legacy/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/rstudio-desktop-legacy/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/rstudio-desktop-legacy/rstudio-desktop-legacy.SlackBuild b/development/rstudio-desktop-legacy/rstudio-desktop-legacy.SlackBuild
new file mode 100644
index 0000000000..7eddd53816
--- /dev/null
+++ b/development/rstudio-desktop-legacy/rstudio-desktop-legacy.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for rstudio-desktop-legacy
+
+# Copyright 2018 Ekin Akoglu, Erdemli/Mersin, Turkey <ekinakoglu@gmail.com>
+# Copyright 2022 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=rstudio-desktop-legacy
+SRCNAM=rstudio
+VERSION=${VERSION:-1.1.463}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ PACKAGESUFFIX="i386"
+elif [ "$ARCH" = "x86_64" ]; then
+ PACKAGESUFFIX="amd64"
+else
+ echo "$ARCH is not supported." >&2
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar x $CWD/${SRCNAM}-${VERSION}-${PACKAGESUFFIX}.deb
+tar xvzf data.tar.gz
+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 $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
+
+rm -f $PKG/_gpgbuilder
+rm -f $PKG/control.tar.gz
+rm -r $PKG/data.tar.gz
+rm -f $PKG/debian-binary
+
+mkdir -p $PKG/usr/bin
+ln -sf /usr/lib/rstudio/bin/rstudio $PKG/usr/bin
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ $PKG/usr/lib/rstudio/{COPYING,INSTALL,NOTICE,README.md,SOURCE} \
+ $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
+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/development/rstudio-desktop-legacy/rstudio-desktop-legacy.info b/development/rstudio-desktop-legacy/rstudio-desktop-legacy.info
new file mode 100644
index 0000000000..933dd6c402
--- /dev/null
+++ b/development/rstudio-desktop-legacy/rstudio-desktop-legacy.info
@@ -0,0 +1,10 @@
+PRGNAM="rstudio-desktop-legacy"
+VERSION="1.1.463"
+HOMEPAGE="http://rstudio.com"
+DOWNLOAD="https://download1.rstudio.org/rstudio-1.1.463-i386.deb"
+MD5SUM="8a6755fa9fae2bafce289df3358aaf63"
+DOWNLOAD_x86_64="https://download1.rstudio.org/rstudio-1.1.463-amd64.deb"
+MD5SUM_x86_64="bc50d6bd34926c1cc3ae4a209d67d649"
+REQUIRES="R gst0-plugins-base"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/rstudio-desktop-legacy/slack-desc b/development/rstudio-desktop-legacy/slack-desc
new file mode 100644
index 0000000000..c6151bf3a5
--- /dev/null
+++ b/development/rstudio-desktop-legacy/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------------------------------------------------------|
+rstudio-desktop-legacy: rstudio-desktop-legacy (R Statistical IDE)
+rstudio-desktop-legacy:
+rstudio-desktop-legacy: RStudio is a cross-platform IDE for the R statistical computing
+rstudio-desktop-legacy: environment. It is available in desktop and server versions.
+rstudio-desktop-legacy: This is the Linux desktop version.
+rstudio-desktop-legacy:
+rstudio-desktop-legacy: This package is the last supported version for 32-bit systems.
+rstudio-desktop-legacy:
+rstudio-desktop-legacy: See http://www.rstudio.com
+rstudio-desktop-legacy:
+rstudio-desktop-legacy:
diff --git a/development/rstudio-desktop/README b/development/rstudio-desktop/README
index c21cf89f67..5ee939f0a8 100644
--- a/development/rstudio-desktop/README
+++ b/development/rstudio-desktop/README
@@ -1,5 +1,26 @@
-RStudio is a cross-platform IDE for the R statistical computing
-environment. It is available in desktop and server versions.
-This is the Linux desktop version.
+RStudio IDE: the most popular coding environment for R
-This script repackages the Debian package provided by RStudio.
+the RStudio integrated development environment (IDE) is a set of tools
+built to help you be more productive with R and Python. It includes a
+console, syntax-highlighting editor that supports direct code execution.
+It also features tools for plotting, viewing history, debugging and
+managing your workspace.
+
+RStudio is available in desktop and server versions. This is the DESKTOP
+version, featuring:
+
+* Syntax highlighting, code completion, and smart indentation
+* Execute R code directly from the source editor
+* Quickly jump to function definitions
+* View content changes in real-time with the Visual Markdown Editor
+* Easily manage multiple working directories
+* Integrated R help and documentation
+* Interactive debugger
+* Extensive package development tools
+
+At the moment, the script just repackages the Fedora/Redhat binaries,
+provided by upstream.
+
+NOTE
+RStudio currently only supports 64-bit systems. The last 32-bit version
+is 1.1.463, provided by "rstudio-desktop-legacy", available at SBo.
diff --git a/development/rstudio-desktop/rstudio-desktop.SlackBuild b/development/rstudio-desktop/rstudio-desktop.SlackBuild
index 22db996363..bb963e3e1f 100644
--- a/development/rstudio-desktop/rstudio-desktop.SlackBuild
+++ b/development/rstudio-desktop/rstudio-desktop.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rstudio-desktop
-# Copyright 2018 Ekin Akoglu, Erdemli/Mersin, Turkey
+# Copyright 2023 Petar Petrov, slackalaxy at gmail dot com
+# Copyright 2022-2023 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2018 Ekin Akoglu, Erdemli/Mersin, Turkey <ekinakoglu@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +24,13 @@
# 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=rstudio-desktop
-SRCNAM=rstudio
-VERSION=${VERSION:-1.1.463}
+VERSION=${VERSION:-2023.09.1+494}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,27 +40,29 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
- PACKAGESUFFIX="i386"
-elif [ "$ARCH" = "x86_64" ]; then
- PACKAGESUFFIX="amd64"
-else
- echo "$ARCH is not supported." >&2
+if [ "$ARCH" != "x86_64" ]; then
+ printf "\n\n$ARCH is not supported... \n"
exit 1
fi
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-ar x $CWD/${SRCNAM}-${VERSION}-${PACKAGESUFFIX}.deb
-tar xvzf data.tar.gz
+cd $TMP
+rm -rf rstudio-${VERSION/+/-}
+mkdir rstudio-${VERSION/+/-}
+cd rstudio-${VERSION/+/-}
+bsdtar -xvf $CWD/rstudio-${VERSION/+/-}-$ARCH.rpm
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -64,20 +70,23 @@ 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 {} \;
-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/{bin,lib64}
+cp -a usr/lib/rstudio $PKG/usr/lib64
+cp -a usr/share $PKG/usr
-rm -f $PKG/_gpgbuilder
-rm -f $PKG/control.tar.gz
-rm -r $PKG/data.tar.gz
-rm -f $PKG/debian-binary
+cd $PKG/usr/bin
+ln -s ../lib64/rstudio/rstudio .
+cd -
-mkdir -p $PKG/usr/bin
-ln -sf /usr/lib/rstudio/bin/rstudio $PKG/usr/bin
+# We use the symlink in /usr/bin
+sed -i 's:/usr/lib/rstudio/rstudio:rstudio:' $PKG/usr/share/applications/rstudio.desktop
+
+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 \
- $PKG/usr/lib/rstudio/{COPYING,INSTALL,NOTICE,README.md,SOURCE} \
+ $PKG/usr/lib64/rstudio/resources/app/{COPYING,NOTICE,README.md,SOURCE} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -86,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rstudio-desktop/rstudio-desktop.info b/development/rstudio-desktop/rstudio-desktop.info
index 5037e20be0..10dfa1bb7d 100644
--- a/development/rstudio-desktop/rstudio-desktop.info
+++ b/development/rstudio-desktop/rstudio-desktop.info
@@ -1,10 +1,10 @@
PRGNAM="rstudio-desktop"
-VERSION="1.1.463"
-HOMEPAGE="http://rstudio.com"
-DOWNLOAD="https://download1.rstudio.org/rstudio-1.1.463-i386.deb"
-MD5SUM="8a6755fa9fae2bafce289df3358aaf63"
-DOWNLOAD_x86_64="https://download1.rstudio.org/rstudio-1.1.463-amd64.deb"
-MD5SUM_x86_64="bc50d6bd34926c1cc3ae4a209d67d649"
-REQUIRES="R"
-MAINTAINER="Ekin Akoglu"
-EMAIL="ekinakoglu@gmail.com"
+VERSION="2023.09.1+494"
+HOMEPAGE="https://posit.co/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download1.rstudio.org/electron/rhel8/x86_64/rstudio-2023.09.1-494-x86_64.rpm"
+MD5SUM_x86_64="dec51845fb2f4185d64fe3c38cbce110"
+REQUIRES="R postgresql"
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/development/rstudio-desktop/slack-desc b/development/rstudio-desktop/slack-desc
index 80ad384c8e..4683bf3cb3 100644
--- a/development/rstudio-desktop/slack-desc
+++ b/development/rstudio-desktop/slack-desc
@@ -12,7 +12,7 @@ rstudio-desktop: RStudio is a cross-platform IDE for the R statistical computing
rstudio-desktop: environment. It is available in desktop and server versions.
rstudio-desktop: This is the Linux desktop version.
rstudio-desktop:
-rstudio-desktop: See http://www.rstudio.com
+rstudio-desktop: https://posit.co/
rstudio-desktop:
rstudio-desktop:
rstudio-desktop:
diff --git a/development/rtags/rtags.SlackBuild b/development/rtags/rtags.SlackBuild
index 8d3ce0bc12..646b8932f6 100644
--- a/development/rtags/rtags.SlackBuild
+++ b/development/rtags/rtags.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rtags
@@ -22,10 +22,13 @@
# 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=rtags
VERSION=${VERSION:-2.38}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
RCT_VERSION=${RCT_VERSION:-e706998697b8d48fa9e5b9ab33aeded705129a66}
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -103,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rtaudio/README b/development/rtaudio/README
new file mode 100644
index 0000000000..1de575a872
--- /dev/null
+++ b/development/rtaudio/README
@@ -0,0 +1,15 @@
+RtAudio is a set of C++ classes that provides a common API for
+realtime audio input/output. RtAudio significantly simplifies the
+process of interacting with computer audio hardware.
+
+It was designed with the following objectives:
+- object-oriented C++ design
+- simple, common API across all supported platforms
+- only one source and one header file for easy inclusion in
+ programming projects
+- allow simultaneous multi-api support
+- support dynamic connection of devices
+- provide extensive audio device parameter control
+- allow audio device capability probing
+- automatic internal conversion for data format, channel number
+ compensation, (de)interleaving, and byte-swapping
diff --git a/development/rtaudio/rtaudio.SlackBuild b/development/rtaudio/rtaudio.SlackBuild
new file mode 100644
index 0000000000..aa981cb0a6
--- /dev/null
+++ b/development/rtaudio/rtaudio.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for rtaudio
+
+# Copyright 2023 Andrea Sacchetti Picchio Italy
+# 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=rtaudio
+VERSION=${VERSION:-6.0.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"
+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 {} \;
+
+./autogen.sh --no-configure
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# package some useful programs
+mkdir -p $PKG/usr/bin
+cp \
+ tests/{audioprobe,playsaw,playraw,record,duplex,apinames} \
+ $PKG/usr/bin
+find $PKG/usr/bin -type f -exec chmod 755 {} \;
+
+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 install.txt LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc -type f -exec chmod 644 {} \;
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rtaudio/rtaudio.info b/development/rtaudio/rtaudio.info
new file mode 100644
index 0000000000..cbca9bd11a
--- /dev/null
+++ b/development/rtaudio/rtaudio.info
@@ -0,0 +1,10 @@
+PRGNAM="rtaudio"
+VERSION="6.0.1"
+HOMEPAGE="https://github.com/thestk/rtaudio/"
+DOWNLOAD="https://github.com/thestk/rtaudio/archive/6.0.1/rtaudio-6.0.1.tar.gz"
+MD5SUM="62625b2fd4a2e5ddd9797ff7eb4fa2de"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andrea Sacchetti Picchio"
+EMAIL="andrea dot sacchettipicchio at gmail dot com"
diff --git a/development/rtaudio/slack-desc b/development/rtaudio/slack-desc
new file mode 100644
index 0000000000..824405666a
--- /dev/null
+++ b/development/rtaudio/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------------------------------------------------------|
+rtaudio: rtaudio (a set of realtime audio i/o C++ classes)
+rtaudio:
+rtaudio: RtAudio is a set of C++ classes that provide a common API
+rtaudio: for realtime audio input/output.
+rtaudio:
+rtaudio:
+rtaudio:
+rtaudio:
+rtaudio:
+rtaudio: Homepage: https://github.com/thestk/rtaudio/
+rtaudio:
diff --git a/development/ruff/ruff.SlackBuild b/development/ruff/ruff.SlackBuild
index 15e76edfc6..52a88e8b60 100644
--- a/development/ruff/ruff.SlackBuild
+++ b/development/ruff/ruff.SlackBuild
@@ -1,37 +1,73 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ruff
+# Copyright 2020-2022 Ruben Schuller
+# 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.
+
+# Previous maintainers copyright notice:
# Written by Richard Ellis (rellis@dp100.com)
# Released into the public domain
# V1 - Slackware 13.37 - November 12, 2011
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ruff
-VERSION=${VERSION:-0.4}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+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
@@ -41,26 +77,44 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip -o $CWD/$PRGNAM-$VERSION.zip -d $TMP
-cd $PRGNAM
+
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION
-mv ruff.tcl pkgIndex.tcl $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
+ assets \
+ diagram.tcl \
+ formatter.tcl \
+ formatter_html.tcl \
+ formatter_markdown.tcl \
+ formatter_nroff.tcl \
+ pkgIndex.tcl \
+ ruff.tcl \
+ msgs \
+ $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 \
+ LICENSE \
ruff.html \
+ ruff-ruff.html \
+ ruff-ruff-sample.html \
+ sample.tcl \
$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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ruff/ruff.info b/development/ruff/ruff.info
index 918373a898..eebbe8a160 100644
--- a/development/ruff/ruff.info
+++ b/development/ruff/ruff.info
@@ -1,10 +1,10 @@
PRGNAM="ruff"
-VERSION="0.4"
-HOMEPAGE="http://woof.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/woof/ruff-0.4.zip"
-MD5SUM="8de7ca0f7642b923a0d1b5a11482d339"
+VERSION="2.3.0"
+HOMEPAGE="https://ruff.magicsplat.com"
+DOWNLOAD="https://sourceforge.net/projects/magicsplat/files/ruff/ruff-2.3.0.tgz"
+MD5SUM="09a32ef4c75e6372fcde3a78c2809621"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Richard Ellis"
-EMAIL="rellis@dp100.com"
+MAINTAINER="Ruben Schuller"
+EMAIL="sb@rbn.im"
diff --git a/development/rust16/README b/development/rust16/README
new file mode 100644
index 0000000000..97cfbe0b15
--- /dev/null
+++ b/development/rust16/README
@@ -0,0 +1,21 @@
+rust16 installs a limited set of Rust stable binaries to /opt/rust16.
+This is to allow Rust-based SlackBuilds to build more recent versions
+than would be possible with system Rust.
+
+To use the rust16 binaries in a SlackBuild, make the following export
+statements:
+
+export PATH="/opt/rust16/bin:$PATH"
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+fi
+
+If your SlackBuild experiences build failures on 64-bit systems, please
+ensure that the LIBDIRSUFFIX variable is set.
+
+rust16 is not intended as a substitute for rustup or for the Slackware
+Rust package in terms of Rust development purposes.
+
+Separate downloads are available for i686 and x86_64.
diff --git a/development/rust16/rust16.SlackBuild b/development/rust16/rust16.SlackBuild
new file mode 100644
index 0000000000..1029773a03
--- /dev/null
+++ b/development/rust16/rust16.SlackBuild
@@ -0,0 +1,140 @@
+#!/bin/bash
+
+# Slackware build script for rust16
+
+# Copyright 2023-2024 K. Eugene Carlson Tsukuba, Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rust16
+SRCNAM=rust
+VERSION=${VERSION:-1.76.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+
+ if [ "$ARCH" = "i586" ]; then
+ if rustc -Vv | grep host | grep -q i686; then
+ ARCH=i686
+ fi
+ fi
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+fi
+
+if [ "$ARCH" = "arm" ]; then
+ TRIPLET="$ARCH-unknown-linux-gnueabihf"
+else
+ TRIPLET="$ARCH-unknown-linux-gnu"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION-$TRIPLET
+tar xvf $CWD/$SRCNAM-$VERSION-$TRIPLET.tar.gz
+cd $SRCNAM-$VERSION-$TRIPLET
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+./install.sh \
+ --destdir=$PKG \
+ --prefix="opt/rust16" \
+ --disable-ldconfig \
+ --without=rust-docs-json-preview,\
+rust-docs,\
+clippy-preview,\
+rls-preview,\
+llvm-tools-preview,\
+rust-analysis-$TRIPLET,\
+rust-analyzer-preview,\
+rust-demangler-preview,\
+rustfmt-preview
+
+find $PKG/opt/$PRGNAM/lib -type f -name "*.so" -exec chmod +x {} \; 2> /dev/null || true
+# As of 1.76.0, stripping the libraries causes memory faults on Slackware64-15.0.
+if [ $ARCH = "x86_64" ]; then
+ find $PKG -print0 | xargs -0 file | grep "executable" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+else
+ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+fi
+
+rm -f $PKG/opt/$PRGNAM/lib/rustlib/uninstall.sh
+rm -f $PKG/opt/$PRGNAM/lib/rustlib/install.log
+rm -f $PKG/opt/$PRGNAM/lib/rustlib/manifest-*
+rm -f $PKG/opt/$PRGNAM/lib/rustlib/rust-installer-version
+rm -f $PKG/opt/$PRGNAM/lib/rustlib/components
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ $PKG/opt/$PRGNAM/share/doc/* \
+ COPYRIGHT LICENSE-APACHE LICENSE-MIT \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.sw
+
+# Nothing in share is needed at this point.
+rm -rf $PKG/opt/$PRGNAM/share
+# Don't need bash completions.
+rm -rf $PKG/opt/$PRGNAM/etc
+# Appropriate directory name for the lib dir.
+[ -n "$LIBDIRSUFFIX" ] && mv $PKG/opt/$PRGNAM/lib $PKG/opt/$PRGNAM/lib$LIBDIRSUFFIX
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rust16/rust16.info b/development/rust16/rust16.info
new file mode 100644
index 0000000000..588184a035
--- /dev/null
+++ b/development/rust16/rust16.info
@@ -0,0 +1,12 @@
+PRGNAM="rust16"
+VERSION="1.76.0"
+HOMEPAGE="https://rust-lang.org"
+DOWNLOAD="https://static.rust-lang.org/dist/2024-02-08/rust-1.76.0-i686-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2024-02-08/rust-1.76.0-arm-unknown-linux-gnueabihf.tar.gz"
+MD5SUM="9d8fb8d9d18987d3c65e781fd916adfa \
+ 3f27044b6d18155a3849ae3d3958faf5"
+DOWNLOAD_x86_64="https://static.rust-lang.org/dist/2024-02-08/rust-1.76.0-x86_64-unknown-linux-gnu.tar.gz"
+MD5SUM_x86_64="3d00cf0861b0eb28e7010663dc59b2ed"
+REQUIRES=""
+MAINTAINER="K. Eugene Carlson"
+EMAIL="kvngncrlsn@gmail.com"
diff --git a/development/rust16/slack-desc b/development/rust16/slack-desc
new file mode 100644
index 0000000000..59a492264e
--- /dev/null
+++ b/development/rust16/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------------------------------------------------------|
+rust16: rust16 (Rust: a safe, concurrent, practical language)
+rust16:
+rust16: rust16 installs a limited set of up-to-date Rust stable binaries to
+rust16: /opt/rust16 for use in SlackBuilds.
+rust16:
+rust16:
+rust16:
+rust16:
+rust16:
+rust16:
+rust16: Homepage: https://rust-lang.org
diff --git a/development/rustup/README b/development/rustup/README
index f8dce7775c..70d31e61fa 100644
--- a/development/rustup/README
+++ b/development/rustup/README
@@ -7,7 +7,8 @@ on your path before the system rust.
You are free to choose where, but here is an example for a single user:
mkdir -p $HOME/.rustup/shims
-for lnk in cargo cargo-fmt rls rustc rustdoc rustfmt rust-gdb rust-lldb
+for lnk in cargo cargo-clippy cargo-fmt cargo-miri clippy-driver \
+rls rust-gdb rust-lldb rustc rustdoc rustfmt
do
(
cd $HOME/.rustup/shims
diff --git a/development/rustup/offline_build.diff.gz b/development/rustup/offline_build.diff.gz
deleted file mode 100644
index 5617059415..0000000000
--- a/development/rustup/offline_build.diff.gz
+++ /dev/null
Binary files differ
diff --git a/development/rustup/rustup.SlackBuild b/development/rustup/rustup.SlackBuild
index 0f0fb1a7e1..420d9f4215 100644
--- a/development/rustup/rustup.SlackBuild
+++ b/development/rustup/rustup.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rustup
-# Copyright 2017-2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2021 Andrew Clemons, Wellington New Zealand
+# Copyright 2023 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=rustup
-VERSION=${VERSION:-1.22.1}
+VERSION=${VERSION:-1.26.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,22 +45,30 @@ if [ -z "$ARCH" ]; then
fi
fi
-CWD=$(pwd)
+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"
- CARGOTARGET="--target i586-unknown-linux-gnu"
+ LIBDIRSUFFIX=""
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- CARGOTARGET="--target i686-unknown-linux-gnu"
-elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX=""
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
- CARGOTARGET="--target x86_64-unknown-linux-gnu"
+ LIBDIRSUFFIX="64"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
else
SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
CARGOTARGET=""
fi
@@ -69,11 +81,9 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-zcat $CWD/offline_build.diff.gz | patch -p1
-
# build offline
# configuration tells cargo to use the configured directory
-# for dependencies intead of downloading from crates.io
+# for dependencies instead of downloading from crates.io
mkdir -p .cargo
cat << EOF >> .cargo/config
[source.crates-io]
@@ -92,17 +102,12 @@ mkdir vendor
grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \
- grep 'source=' | sed 's/ source=.*$//' | sort -u | while read -r dep ; do
+ grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do
ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
- if [ "$dep" = "home" ] ; then
- tar xvf "$CWD/home-a243ee2fbee6022c57d56f5aa79aefe194eabe53.tar.gz"
- mv home-a243ee2fbee6022c57d56f5aa79aefe194eabe53 home-0.5.3
- else
- tar xvf $CWD/$dep-$ver.crate
- fi
+ tar xvf $CWD/$dep-$ver.crate
touch $dep-$ver/.cargo-ok
@@ -119,11 +124,7 @@ mkdir vendor
printf " },\n"
printf ' "package": "'
- if [ "$dep" = "home" ] ; then
- printf "%s\"\\n" "479b7f48df1046b51085dcc214350c0ca7a303d91ca17944c0977fb72cf6bbac"
- else
- sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
- fi
+ sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
printf "}\n"
} > $dep-$ver/.cargo-checksum.json
@@ -137,7 +138,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 {} \;
-cargo build --release --features no-self-update $CARGOTARGET
+export PATH="/opt/rust16/bin:$PATH"
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+fi
+
+CARGO_HOME=.cargo \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+cargo build --offline --release --features no-self-update $CARGOTARGET
mkdir -p $PKG/usr/bin/
@@ -155,11 +166,11 @@ $PKG/usr/bin/rustup completions zsh > $PKG/usr/share/zsh/site-functions/_rustup
chmod 0644 $PKG/usr/share/zsh/site-functions/_rustup $PKG/usr/share/bash-completion/completions/rustup
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE-APACHE LICENSE-MIT README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.md LICENSE-APACHE LICENSE-MIT 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/rustup/rustup.info b/development/rustup/rustup.info
index 48c6e05ce1..51e661678a 100644
--- a/development/rustup/rustup.info
+++ b/development/rustup/rustup.info
@@ -1,478 +1,522 @@
PRGNAM="rustup"
-VERSION="1.22.1"
+VERSION="1.26.0"
HOMEPAGE="https://github.com/rust-lang/rustup"
-DOWNLOAD="https://github.com/rust-lang/rustup/archive/1.22.1/rustup-1.22.1.tar.gz \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/addr2line/addr2line-0.12.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/adler32/adler32-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/aes-soft/aes-soft-0.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/aes/aes-0.3.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/aesni/aesni-0.6.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/aho-corasick/aho-corasick-0.7.13.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ansi_term/ansi_term-0.11.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/async-compression/async-compression-0.3.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/atty/atty-0.2.14.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-0.1.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/backtrace/backtrace-0.3.49.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/base64/base64-0.11.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/base64/base64-0.12.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bitfield/bitfield-0.13.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/block-buffer/block-buffer-0.7.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/block-cipher-trait/block-cipher-trait-0.6.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/block-modes/block-modes-0.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/block-padding/block-padding-0.1.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/blowfish/blowfish-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/buf_redux/buf_redux-0.8.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bumpalo/bumpalo-3.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/byte-tools/byte-tools-0.3.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/byteorder/byteorder-1.3.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bytes/bytes-0.5.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cast5/cast5-0.6.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.55.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cfb-mode/cfb-mode-0.3.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/chrono/chrono-0.4.11.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/circular/circular-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-2.33.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/clear_on_drop/clear_on_drop-0.2.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/core-foundation-sys/core-foundation-sys-0.7.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/core-foundation/core-foundation-0.7.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crc24/crc24-0.1.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/crc32fast/crc32fast-1.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/curl-sys/curl-sys-0.4.32+curl-7.70.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/curl/curl-0.4.30.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/curve25519-dalek/curve25519-dalek-2.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/darling/darling-0.10.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/darling_core/darling_core-0.10.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/darling_macro/darling_macro-0.10.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/derive_builder/derive_builder-0.9.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/derive_builder_core/derive_builder_core-0.9.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/des/des-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/digest/digest-0.8.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/dtoa/dtoa-0.4.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ed25519-dalek/ed25519-dalek-1.0.0-pre.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/effective-limits/effective-limits-0.5.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/encoding_rs/encoding_rs-0.8.23.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/env_proxy/env_proxy-0.4.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/error-chain/error-chain-0.12.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/failure/failure-0.1.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/failure_derive/failure_derive-0.1.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/fake-simd/fake-simd-0.1.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/filetime/filetime-0.2.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/flate2/flate2-1.0.14.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/fnv/fnv-1.0.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/foreign-types-shared/foreign-types-shared-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/foreign-types/foreign-types-0.3.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-zircon-sys/fuchsia-zircon-sys-0.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-zircon/fuchsia-zircon-0.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-channel/futures-channel-0.3.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-core/futures-core-0.3.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-io/futures-io-0.3.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-sink/futures-sink-0.3.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-task/futures-task-0.3.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-util/futures-util-0.3.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/generator/generator-0.6.21.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/generic-array/generic-array-0.12.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/getrandom/getrandom-0.1.14.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/gimli/gimli-0.21.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/git-testament-derive/git-testament-derive-0.1.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/git-testament/git-testament-0.1.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/h2/h2-0.2.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.14.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/hex/hex-0.4.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/http-body/http-body-0.3.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/http/http-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/httparse/httparse-1.3.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/hyper-tls/hyper-tls-0.4.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/hyper/hyper-0.13.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ident_case/ident_case-1.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/idna/idna-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/indexmap/indexmap-1.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/iovec/iovec-0.1.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/itoa/itoa-0.4.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/js-sys/js-sys-0.3.40.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/keccak/keccak-0.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/kernel32-sys/kernel32-sys-0.2.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.71.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/libm/libm-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/libz-sys/libz-sys-1.0.25.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/loom/loom-0.3.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lzma-sys/lzma-sys-0.1.16.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/matches/matches-0.1.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/md-5/md-5-0.8.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/memchr/memchr-2.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/mime/mime-0.3.16.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/mime_guess/mime_guess-2.0.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/miniz_oxide/miniz_oxide-0.3.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/mio/mio-0.6.22.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/miow/miow-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/native-tls/native-tls-0.2.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/net2/net2-0.2.34.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/nom/nom-4.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-bigint-dig/num-bigint-dig-0.6.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-derive/num-derive-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-integer/num-integer-0.1.43.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-iter/num-iter-0.1.41.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-traits/num-traits-0.2.12.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num_cpus/num_cpus-1.13.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/object/object-0.20.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/once_cell/once_cell-1.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/opaque-debug/opaque-debug-0.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/opener/opener-0.4.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl-probe/openssl-probe-0.1.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl-src/openssl-src-111.10.0+1.1.1g.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl-sys/openssl-sys-0.9.58.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl/openssl-0.10.30.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/percent-encoding/percent-encoding-2.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pgp/pgp-0.5.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-internal/pin-project-internal-0.4.22.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-lite/pin-project-lite-0.1.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project/pin-project-0.4.22.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-utils/pin-utils-0.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.17.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ppv-lite86/ppv-lite86-0.2.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.18.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pulldown-cmark/pulldown-cmark-0.7.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.7.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.2.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.5.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.1.56.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/regex-syntax/regex-syntax-0.6.18.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/regex/regex-1.3.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/reqwest/reqwest-0.10.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/retry/retry-1.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ripemd160/ripemd160-0.8.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rs_tracing/rs_tracing-1.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rsa/rsa-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-demangle/rustc-demangle-0.1.16.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc_version/rustc_version-0.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ryu/ryu-1.0.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/safemem/safemem-0.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/same-file/same-file-1.0.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/schannel/schannel-0.1.19.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/scoped-tls/scoped-tls-0.1.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/scopeguard/scopeguard-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/security-framework-sys/security-framework-sys-0.4.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/security-framework/security-framework-0.4.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/semver-parser/semver-parser-0.7.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/semver/semver-0.9.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde/serde-1.0.114.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_derive/serde_derive-1.0.114.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_json/serde_json-1.0.55.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_urlencoded/serde_urlencoded-0.6.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/sha-1/sha-1-0.8.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/sha2/sha2-0.8.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/sha3/sha3-0.8.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/slab/slab-0.4.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/smallvec/smallvec-1.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/socket2/socket2-0.3.12.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/spin/spin-0.5.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/stream-cipher/stream-cipher-0.3.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/strsim/strsim-0.10.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/strsim/strsim-0.8.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/strsim/strsim-0.9.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/subtle/subtle-2.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.33.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/synstructure/synstructure-0.12.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/sys-info/sys-info-0.6.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tar/tar-0.4.29.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tempfile/tempfile-3.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/term/term-0.5.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.11.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror-impl/thiserror-impl-1.0.20.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror/thiserror-1.0.20.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/thread_local/thread_local-1.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/threadpool/threadpool-1.8.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.43.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tinyvec/tinyvec-0.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-tls/tokio-tls-0.3.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-util/tokio-util-0.3.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-0.2.21.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/toml/toml-0.5.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-service/tower-service-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/try-lock/try-lock-0.2.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/try_from/try_from-0.3.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/twofish/twofish-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/typenum/typenum-1.12.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicase/unicase-2.6.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-bidi/unicode-bidi-0.3.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-normalization/unicode-normalization-0.1.13.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/url/url-2.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/vcpkg/vcpkg-0.2.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/vec_map/vec_map-0.8.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.1.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.9.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wait-timeout/wait-timeout-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/walkdir/walkdir-2.3.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/want/want-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.63.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-futures/wasm-bindgen-futures-0.4.13.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.63.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.63.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.63.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen/wasm-bindgen-0.2.63.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/web-sys/web-sys-0.3.40.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-build/winapi-build-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-util/winapi-util-0.1.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.2.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winreg/winreg-0.6.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winreg/winreg-0.7.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ws2_32-sys/ws2_32-sys-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/x25519-dalek/x25519-dalek-0.6.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/xattr/xattr-0.2.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/xz2/xz2-0.1.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/zeroize/zeroize-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/zeroize_derive/zeroize_derive-1.0.0.crate \
- https://github.com/rbtcollins/home/archive/a243ee2fbee6022c57d56f5aa79aefe194eabe53/home-a243ee2fbee6022c57d56f5aa79aefe194eabe53.tar.gz"
-MD5SUM="216e3d37cf73896efa1d5690e4d80c36 \
- 25a74a8231216192a91e873cf05214dc \
- 8a679a0b3b17299c1b4d20781431e071 \
- 4b9c1b735db83c01c4fbfc5f85081147 \
- a5cc55030cb8d87a0dfdad9a0103d4ec \
- 8c7b77031a5cbcf10d18b40c118a3f36 \
- 837ec91351db79aee59d6c96111460b0 \
- 294a49d3c53865fa7ac5d0ce2f5d5735 \
- 042f9fe2e3b5ac9d381f00cf2251d279 \
+DOWNLOAD="https://github.com/rust-lang/rustup/archive/1.26.0/rustup-1.26.0.tar.gz \
+ https://static.crates.io/crates/adler/adler-1.0.2.crate \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.20.crate \
+ https://static.crates.io/crates/aligned/aligned-0.4.1.crate \
+ https://static.crates.io/crates/android_system_properties/android_system_properties-0.1.5.crate \
+ https://static.crates.io/crates/anyhow/anyhow-1.0.69.crate \
+ https://static.crates.io/crates/as-slice/as-slice-0.2.1.crate \
+ https://static.crates.io/crates/async-compression/async-compression-0.3.15.crate \
+ https://static.crates.io/crates/atty/atty-0.2.14.crate \
+ https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \
+ https://static.crates.io/crates/base64/base64-0.21.0.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/block-buffer/block-buffer-0.10.3.crate \
+ https://static.crates.io/crates/bstr/bstr-1.3.0.crate \
+ https://static.crates.io/crates/bumpalo/bumpalo-3.12.0.crate \
+ https://static.crates.io/crates/byteorder/byteorder-1.4.3.crate \
+ https://static.crates.io/crates/bytes/bytes-1.4.0.crate \
+ https://static.crates.io/crates/cc/cc-1.0.79.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/chrono/chrono-0.4.23.crate \
+ https://static.crates.io/crates/clap/clap-3.2.23.crate \
+ https://static.crates.io/crates/clap_complete/clap_complete-3.2.5.crate \
+ https://static.crates.io/crates/clap_lex/clap_lex-0.2.4.crate \
+ https://static.crates.io/crates/codespan-reporting/codespan-reporting-0.11.1.crate \
+ https://static.crates.io/crates/concolor-query/concolor-query-0.1.0.crate \
+ https://static.crates.io/crates/concolor/concolor-0.0.12.crate \
+ https://static.crates.io/crates/content_inspector/content_inspector-0.2.4.crate \
+ https://static.crates.io/crates/core-foundation-sys/core-foundation-sys-0.8.3.crate \
+ https://static.crates.io/crates/core-foundation/core-foundation-0.9.3.crate \
+ https://static.crates.io/crates/cpufeatures/cpufeatures-0.2.5.crate \
+ https://static.crates.io/crates/crc32fast/crc32fast-1.3.2.crate \
+ https://static.crates.io/crates/crossbeam-channel/crossbeam-channel-0.5.6.crate \
+ https://static.crates.io/crates/crossbeam-deque/crossbeam-deque-0.8.2.crate \
+ https://static.crates.io/crates/crossbeam-epoch/crossbeam-epoch-0.9.13.crate \
+ https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.14.crate \
+ https://static.crates.io/crates/crypto-common/crypto-common-0.1.6.crate \
+ https://static.crates.io/crates/curl-sys/curl-sys-0.4.60+curl-7.88.1.crate \
+ https://static.crates.io/crates/curl/curl-0.4.44.crate \
+ https://static.crates.io/crates/cvt/cvt-0.1.1.crate \
+ https://static.crates.io/crates/cxx-build/cxx-build-1.0.91.crate \
+ https://static.crates.io/crates/cxx/cxx-1.0.91.crate \
+ https://static.crates.io/crates/cxxbridge-flags/cxxbridge-flags-1.0.91.crate \
+ https://static.crates.io/crates/cxxbridge-macro/cxxbridge-macro-1.0.91.crate \
+ https://static.crates.io/crates/digest/digest-0.10.6.crate \
+ https://static.crates.io/crates/dunce/dunce-1.0.3.crate \
+ https://static.crates.io/crates/effective-limits/effective-limits-0.5.5.crate \
+ https://static.crates.io/crates/either/either-1.8.1.crate \
+ https://static.crates.io/crates/encoding_rs/encoding_rs-0.8.32.crate \
+ https://static.crates.io/crates/enum-map-derive/enum-map-derive-0.11.0.crate \
+ https://static.crates.io/crates/enum-map/enum-map-2.4.2.crate \
+ https://static.crates.io/crates/env_proxy/env_proxy-0.4.1.crate \
+ https://static.crates.io/crates/errno-dragonfly/errno-dragonfly-0.1.2.crate \
+ https://static.crates.io/crates/errno/errno-0.2.8.crate \
+ https://static.crates.io/crates/fastrand/fastrand-1.9.0.crate \
+ https://static.crates.io/crates/filetime/filetime-0.2.20.crate \
+ https://static.crates.io/crates/flate2/flate2-1.0.25.crate \
+ https://static.crates.io/crates/fnv/fnv-1.0.7.crate \
+ https://static.crates.io/crates/foreign-types-shared/foreign-types-shared-0.1.1.crate \
+ https://static.crates.io/crates/foreign-types/foreign-types-0.3.2.crate \
+ https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.1.0.crate \
+ https://static.crates.io/crates/fs_at/fs_at-0.1.3.crate \
+ https://static.crates.io/crates/futures-channel/futures-channel-0.3.26.crate \
+ https://static.crates.io/crates/futures-core/futures-core-0.3.26.crate \
+ https://static.crates.io/crates/futures-io/futures-io-0.3.26.crate \
+ https://static.crates.io/crates/futures-sink/futures-sink-0.3.26.crate \
+ https://static.crates.io/crates/futures-task/futures-task-0.3.26.crate \
+ https://static.crates.io/crates/futures-util/futures-util-0.3.26.crate \
+ https://static.crates.io/crates/generic-array/generic-array-0.14.6.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.2.8.crate \
+ https://static.crates.io/crates/git-testament-derive/git-testament-derive-0.1.14.crate \
+ https://static.crates.io/crates/git-testament/git-testament-0.2.4.crate \
+ https://static.crates.io/crates/glob/glob-0.3.1.crate \
+ https://static.crates.io/crates/h2/h2-0.3.16.crate \
+ https://static.crates.io/crates/hashbrown/hashbrown-0.12.3.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.19.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.2.6.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.3.1.crate \
+ https://static.crates.io/crates/home/home-0.5.4.crate \
+ https://static.crates.io/crates/http-body/http-body-0.4.5.crate \
+ https://static.crates.io/crates/http/http-0.2.9.crate \
+ https://static.crates.io/crates/httparse/httparse-1.8.0.crate \
+ https://static.crates.io/crates/httpdate/httpdate-1.0.2.crate \
+ https://static.crates.io/crates/humantime-serde/humantime-serde-1.1.1.crate \
+ https://static.crates.io/crates/humantime/humantime-2.1.0.crate \
+ https://static.crates.io/crates/hyper-rustls/hyper-rustls-0.23.2.crate \
+ https://static.crates.io/crates/hyper-tls/hyper-tls-0.5.0.crate \
+ https://static.crates.io/crates/hyper/hyper-0.14.24.crate \
+ https://static.crates.io/crates/iana-time-zone-haiku/iana-time-zone-haiku-0.1.1.crate \
+ https://static.crates.io/crates/iana-time-zone/iana-time-zone-0.1.53.crate \
+ https://static.crates.io/crates/idna/idna-0.3.0.crate \
+ https://static.crates.io/crates/indexmap/indexmap-1.9.2.crate \
+ https://static.crates.io/crates/instant/instant-0.1.12.crate \
+ https://static.crates.io/crates/io-lifetimes/io-lifetimes-1.0.5.crate \
+ https://static.crates.io/crates/ipnet/ipnet-2.7.1.crate \
+ https://static.crates.io/crates/is-terminal/is-terminal-0.4.4.crate \
+ https://static.crates.io/crates/itoa/itoa-1.0.5.crate \
+ https://static.crates.io/crates/jobserver/jobserver-0.1.25.crate \
+ https://static.crates.io/crates/js-sys/js-sys-0.3.61.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.139.crate \
+ https://static.crates.io/crates/libz-sys/libz-sys-1.1.8.crate \
+ https://static.crates.io/crates/link-cplusplus/link-cplusplus-1.0.8.crate \
+ https://static.crates.io/crates/linux-raw-sys/linux-raw-sys-0.1.4.crate \
+ https://static.crates.io/crates/log/log-0.4.17.crate \
+ https://static.crates.io/crates/lzma-sys/lzma-sys-0.1.20.crate \
+ https://static.crates.io/crates/memchr/memchr-2.5.0.crate \
+ https://static.crates.io/crates/memoffset/memoffset-0.7.1.crate \
+ https://static.crates.io/crates/mime/mime-0.3.16.crate \
+ https://static.crates.io/crates/miniz_oxide/miniz_oxide-0.6.2.crate \
+ https://static.crates.io/crates/mio/mio-0.8.6.crate \
+ https://static.crates.io/crates/native-tls/native-tls-0.2.11.crate \
+ https://static.crates.io/crates/nix/nix-0.26.2.crate \
+ https://static.crates.io/crates/no-std-compat/no-std-compat-0.4.1.crate \
+ https://static.crates.io/crates/normalize-line-endings/normalize-line-endings-0.3.0.crate \
+ https://static.crates.io/crates/normpath/normpath-1.1.0.crate \
+ https://static.crates.io/crates/num-integer/num-integer-0.1.45.crate \
+ https://static.crates.io/crates/num-traits/num-traits-0.2.15.crate \
+ https://static.crates.io/crates/num_cpus/num_cpus-1.15.0.crate \
+ https://static.crates.io/crates/once_cell/once_cell-1.17.1.crate \
+ https://static.crates.io/crates/opener/opener-0.5.2.crate \
+ https://static.crates.io/crates/openssl-macros/openssl-macros-0.1.0.crate \
+ https://static.crates.io/crates/openssl-probe/openssl-probe-0.1.5.crate \
+ https://static.crates.io/crates/openssl-src/openssl-src-111.25.1+1.1.1t.crate \
+ https://static.crates.io/crates/openssl-sys/openssl-sys-0.9.80.crate \
+ https://static.crates.io/crates/openssl/openssl-0.10.45.crate \
+ https://static.crates.io/crates/os_pipe/os_pipe-1.1.3.crate \
+ https://static.crates.io/crates/os_str_bytes/os_str_bytes-6.4.1.crate \
+ https://static.crates.io/crates/percent-encoding/percent-encoding-2.2.0.crate \
+ https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.9.crate \
+ https://static.crates.io/crates/pin-utils/pin-utils-0.1.0.crate \
+ https://static.crates.io/crates/pkg-config/pkg-config-0.3.26.crate \
+ https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.17.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.51.crate \
+ https://static.crates.io/crates/pulldown-cmark/pulldown-cmark-0.9.2.crate \
+ https://static.crates.io/crates/quote/quote-1.0.23.crate \
+ https://static.crates.io/crates/rand/rand-0.8.5.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.6.4.crate \
+ https://static.crates.io/crates/rayon-core/rayon-core-1.10.2.crate \
+ https://static.crates.io/crates/rayon/rayon-1.6.1.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.16.crate \
+ https://static.crates.io/crates/regex-automata/regex-automata-0.1.10.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.28.crate \
+ https://static.crates.io/crates/regex/regex-1.7.1.crate \
+ https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.8.1.crate \
+ https://static.crates.io/crates/reqwest/reqwest-0.11.14.crate \
+ https://static.crates.io/crates/retry/retry-1.3.1.crate \
+ https://static.crates.io/crates/ring/ring-0.16.20.crate \
+ https://static.crates.io/crates/rs_tracing/rs_tracing-1.1.0.crate \
+ https://static.crates.io/crates/rustix/rustix-0.36.8.crate \
+ https://static.crates.io/crates/rustls-native-certs/rustls-native-certs-0.6.2.crate \
+ https://static.crates.io/crates/rustls-pemfile/rustls-pemfile-1.0.2.crate \
+ https://static.crates.io/crates/rustls/rustls-0.20.8.crate \
+ https://static.crates.io/crates/ryu/ryu-1.0.12.crate \
+ https://static.crates.io/crates/same-file/same-file-1.0.6.crate \
+ https://static.crates.io/crates/schannel/schannel-0.1.21.crate \
+ https://static.crates.io/crates/scopeguard/scopeguard-1.1.0.crate \
+ https://static.crates.io/crates/scratch/scratch-1.0.3.crate \
+ https://static.crates.io/crates/sct/sct-0.7.0.crate \
+ https://static.crates.io/crates/security-framework-sys/security-framework-sys-2.8.0.crate \
+ https://static.crates.io/crates/security-framework/security-framework-2.8.2.crate \
+ https://static.crates.io/crates/semver/semver-1.0.16.crate \
+ https://static.crates.io/crates/serde/serde-1.0.152.crate \
+ https://static.crates.io/crates/serde_derive/serde_derive-1.0.152.crate \
+ https://static.crates.io/crates/serde_json/serde_json-1.0.93.crate \
+ https://static.crates.io/crates/serde_spanned/serde_spanned-0.6.1.crate \
+ https://static.crates.io/crates/serde_urlencoded/serde_urlencoded-0.7.1.crate \
+ https://static.crates.io/crates/sha2/sha2-0.10.6.crate \
+ https://static.crates.io/crates/sharded-slab/sharded-slab-0.1.4.crate \
+ https://static.crates.io/crates/shlex/shlex-1.1.0.crate \
+ https://static.crates.io/crates/similar/similar-2.2.1.crate \
+ https://static.crates.io/crates/slab/slab-0.4.8.crate \
+ https://static.crates.io/crates/smart-default/smart-default-0.6.0.crate \
+ https://static.crates.io/crates/snapbox-macros/snapbox-macros-0.3.1.crate \
+ https://static.crates.io/crates/snapbox/snapbox-0.4.8.crate \
+ https://static.crates.io/crates/socket2/socket2-0.4.7.crate \
+ https://static.crates.io/crates/spin/spin-0.5.2.crate \
+ https://static.crates.io/crates/stable_deref_trait/stable_deref_trait-1.2.0.crate \
+ https://static.crates.io/crates/static_assertions/static_assertions-1.1.0.crate \
+ https://static.crates.io/crates/strsim/strsim-0.10.0.crate \
+ https://static.crates.io/crates/syn/syn-1.0.109.crate \
+ https://static.crates.io/crates/sys-info/sys-info-0.9.1.crate \
+ https://static.crates.io/crates/tar/tar-0.4.38.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.4.0.crate \
+ https://static.crates.io/crates/term/term-0.5.1.crate \
+ https://static.crates.io/crates/termcolor/termcolor-1.2.0.crate \
+ https://static.crates.io/crates/terminal_size/terminal_size-0.2.5.crate \
+ https://static.crates.io/crates/textwrap/textwrap-0.16.0.crate \
+ https://static.crates.io/crates/thiserror-impl/thiserror-impl-1.0.38.crate \
+ https://static.crates.io/crates/thiserror/thiserror-1.0.38.crate \
+ https://static.crates.io/crates/threadpool/threadpool-1.8.1.crate \
+ https://static.crates.io/crates/time-core/time-core-0.1.0.crate \
+ https://static.crates.io/crates/time-macros/time-macros-0.2.8.crate \
+ https://static.crates.io/crates/time/time-0.1.45.crate \
+ https://static.crates.io/crates/time/time-0.3.20.crate \
+ https://static.crates.io/crates/tinyvec/tinyvec-1.6.0.crate \
+ https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.1.crate \
+ https://static.crates.io/crates/tokio-native-tls/tokio-native-tls-0.3.1.crate \
+ https://static.crates.io/crates/tokio-rustls/tokio-rustls-0.23.4.crate \
+ https://static.crates.io/crates/tokio-socks/tokio-socks-0.5.1.crate \
+ https://static.crates.io/crates/tokio-util/tokio-util-0.7.7.crate \
+ https://static.crates.io/crates/tokio/tokio-1.25.0.crate \
+ https://static.crates.io/crates/toml/toml-0.5.11.crate \
+ https://static.crates.io/crates/toml_datetime/toml_datetime-0.6.1.crate \
+ https://static.crates.io/crates/toml_edit/toml_edit-0.19.4.crate \
+ https://static.crates.io/crates/tower-service/tower-service-0.3.2.crate \
+ https://static.crates.io/crates/tracing-core/tracing-core-0.1.30.crate \
+ https://static.crates.io/crates/tracing/tracing-0.1.37.crate \
+ https://static.crates.io/crates/try-lock/try-lock-0.2.4.crate \
+ https://static.crates.io/crates/trycmd/trycmd-0.14.13.crate \
+ https://static.crates.io/crates/typenum/typenum-1.16.0.crate \
+ https://static.crates.io/crates/unicase/unicase-2.6.0.crate \
+ https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.10.crate \
+ https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.6.crate \
+ https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.22.crate \
+ https://static.crates.io/crates/unicode-width/unicode-width-0.1.10.crate \
+ https://static.crates.io/crates/untrusted/untrusted-0.7.1.crate \
+ https://static.crates.io/crates/url/url-2.3.1.crate \
+ https://static.crates.io/crates/vcpkg/vcpkg-0.2.15.crate \
+ https://static.crates.io/crates/version_check/version_check-0.9.4.crate \
+ https://static.crates.io/crates/wait-timeout/wait-timeout-0.2.0.crate \
+ https://static.crates.io/crates/walkdir/walkdir-2.3.2.crate \
+ https://static.crates.io/crates/want/want-0.3.0.crate \
+ https://static.crates.io/crates/wasi/wasi-0.10.0+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.84.crate \
+ https://static.crates.io/crates/wasm-bindgen-futures/wasm-bindgen-futures-0.4.34.crate \
+ https://static.crates.io/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.84.crate \
+ https://static.crates.io/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.84.crate \
+ https://static.crates.io/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.84.crate \
+ https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.84.crate \
+ https://static.crates.io/crates/web-sys/web-sys-0.3.61.crate \
+ https://static.crates.io/crates/webpki/webpki-0.22.0.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-util/winapi-util-0.1.5.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.42.0.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.45.0.crate \
+ https://static.crates.io/crates/windows-targets/windows-targets-0.42.1.crate \
+ https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.42.1.crate \
+ https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.42.1.crate \
+ https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.42.1.crate \
+ https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.42.1.crate \
+ https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.42.1.crate \
+ https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.42.1.crate \
+ https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.42.1.crate \
+ https://static.crates.io/crates/winnow/winnow-0.3.3.crate \
+ https://static.crates.io/crates/winreg/winreg-0.10.1.crate \
+ https://static.crates.io/crates/winreg/winreg-0.11.0.crate \
+ https://static.crates.io/crates/xattr/xattr-0.2.3.crate \
+ https://static.crates.io/crates/xz2/xz2-0.1.7.crate \
+ https://static.crates.io/crates/yansi/yansi-0.5.1.crate \
+ https://static.crates.io/crates/zstd-safe/zstd-safe-6.0.4+zstd.1.5.4.crate \
+ https://static.crates.io/crates/zstd-sys/zstd-sys-2.0.7+zstd.1.5.4.crate \
+ https://static.crates.io/crates/zstd/zstd-0.12.3+zstd.1.5.2.crate"
+MD5SUM="bdcaa72ceb9301d9af0b2a0ddce04982 \
+ 669215548c64019c08c92b2c1afd3deb \
+ 96f06331c915195bce97c8542c0eb728 \
+ d82a09f1c1a60aa9f46c0f76e4ea1265 \
+ bf23cd323c33a8c283c41bb9b79e4ce4 \
+ ee4e2682a0fe87a36210b97aea8b9634 \
+ fdd18ab1fcd6905d1abb3dce8a86ea68 \
+ f99f20440436fd92b335deb12fdcc77b \
142cb4b9a653e56e56311f0c883b8582 \
- 898079c1c795b5aa847169137918c7bc \
- 7c6515c4b7f4c7723a3c6d1f07acc261 \
- 96762c62b23169ec325ac300fb7d1ee7 \
- bbaf2cabce203fecd54c0c294eb7fb2b \
- 600137b12b6b717eec0f376bc6680540 \
- fb5d5c306d1dd0ecd2613b8ade78af61 \
- 6799c26a7eacaf8e58d3e45c6c5add89 \
- a885637c56c780044d778f18420687cc \
- 1b442c013dfbb02eaa0576b03296f3da \
- d177cfe6671b55abaf6219d266e4f004 \
- 95414d4f9c612bbe8a061dd2ff0bc519 \
- 049ca1414e83ad6c2801f2a935c4ea18 \
- 5a075b6490fe21776e47653dd664658b \
- 7f74a18288dd952887eb53f90404ea23 \
- 4bd3c3b61fe602e6078615a491e5050a \
- e502e6c6b0dca9c1ae2d99e92b26f645 \
- cbdfce0d178f454b8c8b2a9066251f77 \
- 6693805dd19c318bd9a9dcc4bf7c884b \
- e9d9112d8404dadc4f2641513bf3136c \
- ca28e1be1ca62751ed2faa130630f897 \
+ 05d77ef52e90ad161fdd41b252420467 \
+ cf0f1cbb3733e7153959edffc25adac4 \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ 7caa371ca22e7a14288920a69c081d40 \
+ eed2ae3c96c8315312b165b8ceebfb4f \
+ a931236e210885462e4b4b92ea47e246 \
+ 1e704be5ddde9d6b5383ef1035309f91 \
+ 596cab766930d487256260ab9ca55b71 \
+ 7d83f411bb22318c65fec8bbee937ece \
882dbbc613a93f64c3709b0a2bd0d6dc \
- 372b0092eb56ebfa98956f810f148610 \
- 6020ef596fbfe810a0071b72aa72795d \
- 42af3a1e965585d80dcc1e0324fda6eb \
- a5062f2992a4d2b79952f4fa4c4582fa \
- bf6400d68b678d4deedcf4b4d0695e71 \
- 521cdd4682315b0e822cbfc9009aa83b \
- e3907f1e3ff298226c57ba1e7cb5263b \
- 3c153e21729b743f5127dec47670de17 \
- 1fd2386fd5e1f175d56f5ab65bed81d3 \
- 85e02ddf79a54a58972f5a1debb10e66 \
- ab6a4a2938d528346f5e5ce12d21d3eb \
- a42201f337a8d7cd51aae9e5ecad91f0 \
- b1c8b47b8fc9077b6a6aadc47c819115 \
- 5663ea952316dfff411bc1ef78c1979d \
- a9045fa57c1e4ed702e51da973b658cb \
- 2ff8927b9cc3e6bcec18745859808751 \
- f8bc817d179fa4f7c4c1133c1c1a8659 \
- b00352aced738d455145117157604783 \
- cb752f0454c59d6effa9409f18a9a9b7 \
- 0042e9d57f5570fd80b64f4ca78ba6e0 \
- d57f7b62cad22618967902c82b0c80ce \
- cba3538d5dac64d269dda867ba6c5011 \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ 4a9390915b209721b7a1b87e2bb5c571 \
+ 4d1f211abd7fd3f68016d5bfb2577d3b \
+ 72781938243c274aff75d3c9b57efdef \
+ a2e1b64489b6bdae548ec08f883eaecf \
+ faa32da3be14130a4525bb7ba601c62e \
+ 6d9200f6835f6d6e31abd3088b4f85d9 \
+ 7d6960bc9dae3b14a6d51fa5c62572e2 \
+ 64bebafaf681f39deebbc41b24b3527f \
+ d05cbf26ed52299487a802688a1d22cb \
+ ae6dd0cd5319220586d8ace4c4be87ce \
+ ebdc1f779823eaad615501b1cd3822b1 \
+ a9d6492a1bd21d93dbc27c32eabd0c70 \
+ 0324dfd2b4384ae8c82433bd0efdabf8 \
+ 5a734a3aa2e5a9f47b3c05ae597a21fa \
+ 209db6d29c00d1184ee616e21b9242bc \
+ 9924872c20a6be30ea1120cd899d2c18 \
+ 89e88633cab0e4b6f3d3878b84dffe8b \
+ 6b55f4807b5416d5c3f578b7ebbdbef9 \
+ 2055aa2a8c9da89dadfd1e9012a26a20 \
+ 1c8d0a43d1a7b8ba7fb19ff18a739bb8 \
+ 6da0accac3d8fcfab7fad423948c507d \
+ fed64780685a0beb2babdbd1a6413e0e \
+ 25dd9507b44ba437b395926c599aa310 \
+ abe2f0ab3976ce1d05ca46d723e41a63 \
+ 732c54e5b65b869d7301eec81c97f6a1 \
+ 7280d20293b49a61b6e4ff41cfe3276b \
+ ddd214822063d0b3199fc4080f7063bb \
+ ba94e4b62665e48cc27ca8b14c5f5ff7 \
+ 28925d0d3649d0577f07bc9ab288999c \
+ 50bc4d8395ca69fd56d45f79d66e0c95 \
+ 4d4403f0d5eac20aa0d9ee4e79a8b958 \
249636a8c8e57527d0e72ae772df5acd \
- e40f8ca2f829fb9f88a1c6578cb531ef \
- e0f2cb8a84777de3cf3ab813b96f42f6 \
- 2fe508e60645a30eeed34748e278bd3b \
- 1aef0dd636d3ef234e4f035fc26c0069 \
- b9f03f84345e22eae7858abc75dea31c \
- 5941f4a3d3435767e79260f61093ecd3 \
+ fc65414dcac661c46f2cfad7722304f9 \
+ 0854e3c796252e12dbfc40ad1fe82ae6 \
+ 06e723078de46119c270eea21ec4344e \
+ 38710df269a1f084f9927de94a82c6e2 \
+ 40290701abf90017215441da33b0dc15 \
8dab3b3ec00dc56cffde0b0c410d47b5 \
667e86b8b8d96ab4e9605627ce7dcc9a \
78c898fdaa3968e23904bf8538c4a271 \
- 54cfab480b7a5f7302eadf44129d3f4b \
- dd7c80c2d04d2e9ceba82826cf69764d \
- e3b07d31dc7a11568d2a9530fe4251d1 \
- 4554d3a0b77373fba853c413f30d6f59 \
- 1be22726ca03cdeb68635c3501ae7338 \
- f3370df5ab2b2aa2522877c2f9c10e40 \
- fa318418d9fc6e69f420e8336278b741 \
- f33946641991cbb65f107ce0223987f2 \
- b4b83b7327b7332e519c7728800ed5ea \
- 916a6c827f4f0f64b7652bebf67d82e1 \
- de1228e571c94ef53ec4c21db57279ab \
- 3b292e94713350e991d41c30a489634b \
- c5d606afb4249cd8c668d410e9b5f054 \
- 07d4cad96f7bab84c2ec1a29ea0f2bc2 \
- eab575df1f3753767d822aaa9c9d6467 \
- 0c3e4c82f86bc64d11f0bf0ec06bfa81 \
- 139e82145454c3890131417576dd0b97 \
- 0181369fc9db8aa137e427c1f4559b4f \
- 1c9eb415ab7f61e8ed5087ad88038878 \
- 2399dfc187794c0016997cc48327d6a7 \
- 9f4de44f550c08554338d793d7c60c1e \
- 11f29f121bd549854fd0a67e4fe21ec1 \
- fe77a3f609b6fd8d5b08f3b2ef14d2ad \
- 54ac4c56d9ec2800b8428020f24be67c \
- 44a9cdb1637be9c1631d8976692ceaf4 \
- f1c40b9836035b69e464df711a1d2950 \
- 396bc88987f4bc192f975d94cdf326c7 \
- 6a28248817735541cadae1401a5af69f \
- dd9ddd25c1fd24dae39d732389c7350f \
- 9d033cc2daa6924420a4a89e6705773f \
+ 357f2bcdc622476ad883fe9d07f874c3 \
+ 69476ba62401361e4560b6c6ab7594e6 \
+ 33c6a65a07354886102e917783ba4e13 \
+ 5329468d3efc2b43dd628f8bdb4397e5 \
+ af48680d31f067c33ef15f9a2a91c713 \
+ 1736d597947715518fb4928a67e37af3 \
+ 53030efc4eb919791407c0b49790ffc3 \
+ 49ccc67d2ee6e8506790f4bb551340bc \
+ e3480971fb7f7462149056fd70df74e2 \
+ 7e3435db94bbfde52efb6e639cfff542 \
+ df7229192f4f1525054edc74584dd24c \
+ 3c1d8c04518830ebfb65e80232ccd987 \
+ 2d6d28ec311884da69bcaf320ada8ad5 \
+ 44a2a4706af2360c0ff7a471ec0eab25 \
+ 1b41b97d982520b7364a87a39e2a1ed8 \
+ 0b7994d1256215201bdfb810a357ffa2 \
+ 4bb3ee6be8ce77402250dd0d0f26e131 \
+ c9fa9187985880eb320b350bd9024510 \
+ 6385d8499b2b26e3d41edd145e744f24 \
+ c21c16e3bdc619cf65a31b23136d62ce \
+ c6a140bb2c9817edf8792e3c754c6e12 \
+ 92968aee56cb2f162a55008fedddbb78 \
+ 4918da28fbc2f6888ad71c159996a9b5 \
+ c652c81dfe0024377e22814c88d86ed7 \
+ c01022fe0357c10ca1d48b16187f81bd \
+ 1905479762684512c247482da7088d88 \
+ 6540f0c2d7dce570f06661292fc68cab \
+ 2dd38d9f88feab3e6067874e535dc758 \
+ 1e49f16311d2a62e44c05750c0ec0dc7 \
+ b6c59717dc5601672c3e73fa2258e64c \
+ c3425a02781d0bb3c4f8d5d025d12266 \
+ 7e70355483fc2559770b4db2ff32bcde \
+ 5f153f7135dceb02f88266121c836b4e \
+ 102ecbaf18ca6c818d0356363989b117 \
+ b44902c06647f969a51567efcb95e0a7 \
+ 48709f175ee15a70a9916e437283dea4 \
+ f2ffcbe94a83f2437ffe47d7dbf4ad04 \
+ 75e2156746dcd795a4fcfeee4ce4953f \
+ 0779350c00b03603f72eef7f737686ad \
fba3b040a55c01be7376d3dd5c4d4920 \
- 0a258dcd990afe3d83e0c103edd7f095 \
- 5b23904f9579d1efd0e914257517eeb5 \
- 8a79353ba205d0a86f695053dd4d15be \
- 61e508ca2eee543023c5e1ba777e5ede \
- 2fb5b5f4b467dc00174e2f330fff2f56 \
- 3674d9cf648b32f19e53c79b21a97b5d \
- 7916dcd738a8fa6a2798754c20d6e146 \
- 1496714cc54d3d97ec7c6d2060568852 \
- 124ec4f35274a0e9c1a4ef3dc0958643 \
+ 2f4991ee29e75b732dbfbbe637506066 \
+ 591b0243c421bf8e6df09e3209fce861 \
+ 06356b72118cb4ea0f63177479b7575a \
+ 766c7633e290d0614ec54ed6ceb09a86 \
+ b31bf94ffe7e0f2ada93afae1076eaeb \
+ 61f358bf6f442c02189af8a9c50e745a \
+ 94b8bf179385ff071bdc33b58bf047c0 \
+ 48e7cc866f45af55ea3f627e29a2cd98 \
a362e890dd0dfe51ecd95a4a1be6e28c \
- f7bde0c2e5fd9542f7ccb5e6fc40eb04 \
- db1ea84c5ee1938888b78e4050dd5cfd \
- e820082de1cf13e1111d2acbae898fcc \
- a82e0b9efe7f6385071c9fd9b3bccfa3 \
- 98731fbefe42841dce239a8e8064431d \
- 683a998da434a7ff8558bdf6eaa7b8c7 \
- 92bcd45a654d9e24c86f3465c6387c47 \
- 120eca90d4b29e71b33e2527fb9ff8a2 \
- fde25b4b3d49ec466335f2a6fab7a8d5 \
- 759816fe5b617674ae5dee83e3c3e6e2 \
- 05d11031bec5456993601f9f660b37fb \
- 2daa59d0efd38e9b5fbb2658b080eaa1 \
- c36d452e37c73b1e99f40bae18cddfdb \
- 22d284a6253f4fd9b34ae40ff88f57f8 \
- 539ac00d7f70684e55b02c4bd955f65b \
- 797752fea1f2c8b458cf7383b61433c9 \
- ceef2a7834bdaa9fb2226366aa729591 \
- 0fb8f799f959c69991d54556c5457068 \
- dce42be9eaf8423dc88a83d5ef79625c \
- 48067cc7d8ace5851af5f3ea557fee17 \
- 589eb9c74cd6b5fc5098c6fd6fb62647 \
- f490982aceabdbd515348f63e638a782 \
- a45cb61c15e24864bcfd02e2249b937b \
- 58c6c5da003c21880ae1c7d0509cdfb3 \
- 62e9fc18f293722fdded066f34714585 \
- eb1cb7f6e8d95b7d516b2d730143183d \
+ bb21a8ff26ec16bc15758b1625bc0f46 \
+ 7d439888f1d12b29249e4f12e0e420fa \
+ 790ae5bbcccc91d97517bb1bde7ecd8e \
+ 580f8f88379ff0678e8336a781dda55d \
+ 1ec040c5f481967b8fe8f57d40021e3e \
+ f9ddf92ded75c1df47b2dd1379a482fd \
+ d01ecb1388fffe6c9ff60125e0a87897 \
+ 073b4c53e303ccf2a807dfce7f5e986a \
+ a0de6eabdeb1320350abcbd7c02df6ac \
+ 09adf9a15c5576d25da061a0e576d056 \
+ ec9e9fe40bacdde764862148c53386de \
+ 0c41ebb1be6375dd01eba0527c620a15 \
+ 73212ff5e0f8cd8844081a2461393707 \
+ 907244c0d3791f3f981c7cc8e4cad0a3 \
+ bb007cd1cc3f945e17d8a9738133243c \
+ 99094dc9de392d7b233df089aaec5589 \
+ 81dbea4c1b0b46aa4c923c9afd80249e \
+ 31144b730a3fe2fa60dd93a5e17e0431 \
+ cbdec2af76c0cb6941296af17b0c9065 \
+ c7ce684666ac9c76223b1a0a5034ce99 \
+ ce6dde2ea2691fdd97632fb8c9b3e042 \
07c75fec267864bcbb800ca7709ceae2 \
- d6f8f8aba0bdb5edb2dc41705b9d1144 \
- d8bd5a8204fe41dc04b344884b55381b \
- fc4118a91764a0ab8abd01d1b97cece3 \
- 6232cd368a13f8852b07289681f142ff \
- 63b29211eef9ccee0b0401d423db0efd \
- 66d1cb32dce999907409f636f004b884 \
- 0a80ed36a125ac3cdfa09f8707055873 \
- a0f55fda89c0f97784edb18f4c253a49 \
- b269356e8646f3184a0e8d52a58cee69 \
- 8dc2aa474c2cba342120ade9e98de066 \
- 24118e5657591c6f208dbb1d77fbc482 \
- eee136546e9f4735577dd20f45727c69 \
- 0538d1da369f3e3f0412aa4d735c1b61 \
- fc7bf55318c1ff2249d50bccf2c09de4 \
- 521545b7c5ffa195fe5faa15f092d80f \
- c80779193e4db6142d498549c9213557 \
- 77e2941b1ce8d056c64f3e19f51841a1 \
- 1dc40cc1cddaecbda2abe7add9722746 \
- 94136c77f70313d3162e031638fc67ed \
- 4d101ab24d14c54937c5f45ece8fad5f \
- a69721c73263cd2040e1a5f120b03a6f \
- 994b165f971ecfc09dc13fca8d394691 \
+ 57a5575d623bcbc7ba5c033c9f87744f \
+ 5c69337d37e58a380e00eac9ce0373bb \
+ cd9614d4d4afcfe5e26c118a42120d40 \
+ 3d427577206be985d2161b7555724f7f \
+ 41defdffa40e7cbcc7e17a933c5660ab \
+ ee7a5f842c39bc47c474196e83b0df5f \
+ e30085994bbeb4b7f4895d48216d5476 \
+ a1626b8f4d165b1b60d960862eba4cf0 \
+ 61984640cb81febd276b50868b146be9 \
+ 7dbb3b72a7481777ded6afc7b15b37bb \
+ 16111f31a29feae4ce4a324b83dc0189 \
+ 95f4b6766a27d814b4e54d1ccb3b7fc9 \
+ 39cfd27d1728af99cbae763b4f81acd3 \
+ 267efbd05da2900424b1fa6e841d1280 \
+ 622f299efa49282aacdcfe057e3cd555 \
+ 7c0a5f8076ead090a2fc8417ef231c58 \
+ 7897f50c6c3e4b9d940db70b03c555aa \
+ 17462a66e5dda514a57afefa0295d8f0 \
+ 767276cda7db10d65ba4537c6b13df11 \
+ 9bc656cfb08cba00e401bd6c87289153 \
+ 8822eabf10210c24cdff69d7f86ee99b \
+ 1fee79742060399cb46964ba4c7a9ab2 \
+ 226bd1176bb26ee05bc1c1cda314c8b5 \
+ 4ca29f2ce41fb9f282c527c1d8ae5cc4 \
2d8d8b377d144f5e32b4f65a69eb0b24 \
- f505a218806e44b2369671089d65e839 \
- aa66bbfd8cd16850fc54f0de89a79ac2 \
+ 0bf4ac47fef874d61250f4d4afe4866b \
b4a0a98a54439a5a37952c8879187ee3 \
- 1024ac462fe90a1d7882a6911bd70604 \
- 9e0c7fedb6287e5090bab920da5c1d09 \
- 8b4d8c7b6e3a060d365bc1ad650929fa \
- 64111c20b69aa1532fb66b70c4660b55 \
- ac0e15851ba9d041a68ee01ac624f081 \
- fc832a688af624c472465d3ed7ffc282 \
- d5949afb81711077548cd307438ee30d \
- 48d4ca11f30e1976378c7f84854db36a \
- b1cace2e0c87bbbf5753996e28016787 \
- 9440c2bedf3748dbcdd897e9f756a974 \
- 1e7c9e52b0baba424a3da0dc5e333656 \
- c7bfa89e6da163f1474bb3787987bb12 \
- 079297fc0fb968f749368577d9131549 \
- 77db363940fc8039d4389406375031d0 \
+ a661bb863762e9f20761215a7650e6d5 \
+ 97925b5e8882e9af3c54753eb0184ce4 \
+ 020e58f9782f7cec01a5a585a103432c \
+ 0ee7a1ea2700dab59dd62c27e5843f8c \
+ 3828d2d048ce354388c0de6ba5649754 \
+ 2d82330c9f218f42ccc9e44c2d18ff8f \
+ 3338953ce1388e5ff5fef5aac76ab1f5 \
+ de68d2e964ba3b051ca2107aa12ebe4f \
+ f326459b8053582a774a8ee95db40946 \
+ 47151b766b6b73e638fabe6fae7b723d \
+ e3e93a5606f450c13fcad764fa1c4bed \
+ aea6e994efc417ef3e4b6de03255b64d \
+ 0bfb08b9dd5df72ba5ed7d74dd5fe6eb \
+ 304b7e874b1432fdb71c1e574b47e0db \
+ cf636206d0c3287ce209551fc5b02d88 \
+ 26b4ac1432c227434bc943817f42872e \
+ 5179371574fc9a2187a08db3b2f67443 \
+ 419806502d26a122316d5623cbc9a3e3 \
+ 362eebacce3b2c9204fdef6d1c04d757 \
422ea23fbfe5bff61f519d960647ebf8 \
- 4f95faebbd6f757ff4be7131930c7a2a \
+ 5988bad1543264a9f48b542192e7de9a \
+ c9defe80406280bcfce4ecf31c0200b3 \
82d98dc87dc8503400aa095f5aa70f13 \
- 781d4ccf5d04c98fa02af207a9639249 \
- 90253ab52670a0551a533eb78a1f6b10 \
- 56199481065bceb8518b04c8ea24e876 \
- 4ee1b2e274a3e790560dc1781d225861 \
- 09f09b3f56045183393726a31d8a0192 \
- afc6a60faadff5a3b18fcdd64edb38f5 \
- 6008b124ea54c3c5b688228d970b0eaf \
- bb3ae104a9fa1b31568cc98c920a4653 \
+ 64d9f46e9ba78f68c30c486be3d8b7df \
+ 4668cb8d079162e0113240a4072900fa \
+ 7645c62a572f12b67d1b582d7257776e \
+ 25d208b79f6194a30c750e777e128d62 \
019b9ca883a71e25e109e49d8cf779d1 \
- a8de006fe0c7e373c560dd51599287a8 \
- beabdc8d600943dbf46d6c39a73b7b1b \
- 00ecc8ec68a0c63c134d24b6b1890d7c \
- a5dd75e77c7324f5c1d2d372c990d0a7 \
+ 36c7197f00034ff87f3b849dd6b98b6e \
+ 5eb3f3acb91d3c759d1daa0e9d4ba288 \
+ 9c4f3ba15578559f5c511cfc2620d0c5 \
+ 44e45d4d9b0904fd06d6f46107eda592 \
+ 3d2277774414ad0f59584e7021b9be06 \
192229a7b481a4becf170d8a34528739 \
- 9d66208e00715217a8c1f2e40efe4a0c \
- 34add515c13318e0c661956f6590387e \
- a6ee95c895582a773a5ee6aa7251581a \
- bf41c63b7f486045605d856c0658d31b \
- 0cbd71de65c98e60358c17046d35f10e \
- 2e99b7fe9fc50def58bf0b391c149b1c \
- 3a8b96cbb6a0e4b3e7e9a915f5825e33 \
- 6514dcb2766ebd1ed2c6dd77a851d53e \
- 0c869ecf1f365d9eb5e39e6a65771b64 \
- ca10cb6a9370a813ce044661d5ebc999 \
- 55927226b06f62ccbd2890269d68c2fd \
+ e8e543c3dd8daff1ef7afe657a1dcb62 \
+ 03c2a5849e585e44ddbbe0b991d7229c \
+ dc9491aba5e393b587f4bbffab58ed52 \
+ f2dd02db1d2830d70da1a7614eb1896a \
+ 5f0470696baaa4e5953bddbf196998f9 \
+ c678a7da0ee4b850ebde0474144a0415 \
+ 9e2f7831d5c7d8bd2f430984e47c3065 \
+ 0adc64f05a331999a16d7a3d91652e04 \
+ 689860532c98ecbb55405aa9b1e7ba36 \
+ b5670d9b6d6560440845d23ca563d44d \
+ 3516a8d8c8e682ac47b252c447fcea75 \
+ b21820f2664242498beba7783b32bef4 \
+ 3249e33e4a64388e1068bce7efd7b170 \
+ 3b92a25de08583f0eb348208f24c2558 \
+ 60d7c3a9f75ac64cffbb9ccda7c1c8e5 \
+ e3189db1511d7f2fe59fd1b15ebac8ff \
+ 97e8197912c3d06f0b7486d07c31e182 \
+ a25ff12cdf468d4a5b4bf75b7fc6d743 \
+ 140944a6e9836109b22768ab9cd7c552 \
+ 63ce54e1fcbbdb45c15146fd082528bb \
36cbce768155bdac8934efa262d75fe3 \
- f403bbb812ce1a2d9270d9159cf9e8d3 \
- c3be058b692f0e9b25a3219b7b5d940c \
- 0f65fd26370e1fd67c8e8812cabea574 \
- a51c43692084979295641a7ffba4b297 \
- 81821d39675a1f584546b9920e5d6b5d \
- bff823ec07c5fbcc3e425c9c9e4b38a6 \
- 333b4ba3f64c35b6f89b521e8d64548b \
- f48add3d6234e8b9829fa5364509f425 \
- 8b01b016a9b6deebc1b43f296057efb5 \
+ 19f44a64888c1c2ff5ac943b066141f1 \
+ e522898b2cb1fd23af2695324b3a5c78 \
+ c12d182417999fc365f952e701f6071f \
+ 7d6d4fc9fad200d6e295f6930e97e022 \
+ 240cfb5665ad3457b28bcdc139393e6d \
+ 41a9cb1cc86d75f991241c9c3f725556 \
+ e900a384ac7dbb320fe6a7279fbfef89 \
+ d18d362345c4fe512ef67b738b239fb8 \
6708629acf3d2ecb7404e43255d2df85 \
- 1092a4a24e80f8856efc71af51a06114 \
+ 580dd7d12690c726da7d5075f3442a74 \
e334c03160b1e0989c2a71ca55f631fc \
- 6e23e0eee42b1ba9ec61a6db7ec2dc08 \
- 815329ce353fccb0c78d35519ab9bf69 \
- 53e04cc21f76fa75f8503eecc27a8610 \
- a7e6723e9a18d5a9efeecc5373b0666c \
- 50e01bc85b891af61767d72eb2e63e2b \
- 502669eb6fac093f3d7ac556888e87f3 \
- 26d5ce7757857fe4151b94c2da20b88e \
- a62b8f58f80a8691aec64d41d860f148 \
- c900e7dbce808ff8ced375077b17a163 \
+ a312b55a428f827a91097d1d8497b02b \
+ e972ea58ec203bfa6c79c1207852298b \
+ a277676f11a4b8df65f0bd10cf91c34d \
+ 6dedf2077979fbca816469b7685d9e28 \
+ edd96c9a12dc3e04aa4d9a345ee6dd0f \
+ 8c58a7b08dcaaf1e6bc55616ce88582e \
+ eff90729cd4a439c36ff89f3ee0904d0 \
+ 5ad255225437a92850eaea3cd7aa0051 \
+ d04b3c91526662b97397fc1e04e007b1 \
+ c57cbd1119703ddacef1f7523b5beb41 \
db96b50050277bf05a3c68534bbb9586 \
b9e37d5fc4ad28b612b78ad37816684d \
09de9d01e7331ff3da11f58be8bef0df \
- b44489eb4799c4fabac3fceb48de54f7 \
0498c4a11448bfc35dc7bb2caa64c753 \
- e01f3a4b5c3690899e5975c90bf12174 \
- 87296707bae851dfed096d30ae254334 \
- 38346bab0933c9eb1e36d22fe4220ba7 \
- 17633652957fbc1f31b5ada5d0ace6e9 \
- 5f4fb35a401a86e42e8f99f32848e36e \
- 472e49200cc7c092f99f95464646a3bc \
- 13fe6f61f995be7a5f0210a8d4fdf44a \
- f55616bcd5df242fb56930f7fe23f637 \
- fea3d050662a6dd36f4a22aade3594f8"
+ 110789f2dd21a2ea820ebed976b4b1c2 \
+ b58284cb8ce52b8de07e09f4f8fb9653 \
+ 25cf36fbb4f7adb02f3d9fa24ccaef4f \
+ 5ac131337793334dce7adbf1116671b3 \
+ 8f5702706600f24bf7332043c15aa566 \
+ dd86cb477e0b0b1411a5c92cba244b42 \
+ 0f6b457ea783c088dff026ce39ce72ca \
+ 23d20707b55228cb9b4328a26ddca724 \
+ 62e05b432403f316d86f7af8af0839e3 \
+ 8893d419a205b225e4010d7d02a15c6a \
+ 5ba9a35894de8bc9e5a3fc03dbd2062e \
+ 8aa3cbf525ad9e68c3619664a3401dbe \
+ 6df238024cc7b4585d84592fc38bf5b6 \
+ 8479d907dcb0e97f59f2d01336bbd1ae \
+ a4a2fb6845bb8ae426053dc7821ff75f \
+ f5a883f6e013c5dcedc0c13d3096c612 \
+ 009af279ae4b76c7a1acd0d879412733 \
+ 082b279cae9edf4c45b3b1866f7370ef \
+ fe178d403d81ab0ac841915bdd1a2d31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="rust16"
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/development/s51dude/s51dude.SlackBuild b/development/s51dude/s51dude.SlackBuild
index 2b3e6ede52..476042ac74 100644
--- a/development/s51dude/s51dude.SlackBuild
+++ b/development/s51dude/s51dude.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for s51dude
@@ -22,26 +22,33 @@
# 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=s51dude
VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,23 +67,22 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+[ -e $CWD/$PRGNAM-$VERSION.tar.bz2 ] && \
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || \
+ tar xvf $CWD/${PRGNAM}_$VERSION.orig.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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
make CFLAGS="-fgnu89-inline $SLKCFLAGS"
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
-install -m755 s51dude $PKG/usr/bin
-install -m644 s51dude.1 $PKG/usr/man/man1
-
-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
+install -s -m755 $PRGNAM $PKG/usr/bin
+gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README TODO COPYING $PKG/usr/doc/$PRGNAM-$VERSION
@@ -87,4 +93,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/s51dude/s51dude.info b/development/s51dude/s51dude.info
index e937be5a4d..24b569fa9c 100644
--- a/development/s51dude/s51dude.info
+++ b/development/s51dude/s51dude.info
@@ -1,7 +1,7 @@
PRGNAM="s51dude"
VERSION="0.3.1"
HOMEPAGE="http://tulku.bitbucket.org/s51dude/"
-DOWNLOAD="https://bitbucket.org/tulku/s51dude/downloads/s51dude-0.3.1.tar.bz2"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/s/s51dude/s51dude_0.3.1.orig.tar.bz2"
MD5SUM="76b1e50e785fa64705c3700de557e90d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/sam/sam.SlackBuild b/development/sam/sam.SlackBuild
index 2216e10c1e..69f45c12e1 100644
--- a/development/sam/sam.SlackBuild
+++ b/development/sam/sam.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sam
@@ -22,10 +22,13 @@
# 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=sam
VERSION=${VERSION:-cd8efea6bc572a31b1a325f4201ac52cf6760d7e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -88,4 +98,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/samurai/README b/development/samurai/README
index 27a71ab071..50767754e0 100644
--- a/development/samurai/README
+++ b/development/samurai/README
@@ -1,10 +1,10 @@
-samurai is a ninja-compatible build tool written in C99 with a focus on
-simplicity, speed, and portability.
+samurai is a ninja-compatible build tool written in C99 with a focus
+on simplicity, speed, and portability.
-samurai implements the ninja build language through version 1.8.2 except
-for MSVC dependency handling (deps = msvc). It uses the same format for
-.ninja_log and .ninja_deps as ninja, currently version 5 and 3
-respectively.
+It is largely feature-complete and supports most of the same options
+as ninja.
-It is largely feature-complete and supports most of the same options as
-ninja.
+Many SlackBuild scripts allow setting the NINJA environment variable
+to use samu instead of ninja.
+
+ export NINJA='samu'
diff --git a/development/samurai/samurai.SlackBuild b/development/samurai/samurai.SlackBuild
index 19d1d9623f..108a9bab37 100644
--- a/development/samurai/samurai.SlackBuild
+++ b/development/samurai/samurai.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for samurai
-# Copyright 2018-2020 Hunter Sezen California, USA
+# Copyright 2018-2021 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=samurai
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,9 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make CFLAGS="$SLKCFLAGS"
-
make install \
+ CFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
MANDIR=/usr/man \
DESTDIR=$PKG
@@ -90,4 +99,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/samurai/samurai.info b/development/samurai/samurai.info
index 3594a6358d..0ed81df68c 100644
--- a/development/samurai/samurai.info
+++ b/development/samurai/samurai.info
@@ -1,8 +1,8 @@
PRGNAM="samurai"
-VERSION="1.1"
+VERSION="1.2"
HOMEPAGE="https://github.com/michaelforney/samurai"
-DOWNLOAD="https://github.com/michaelforney/samurai/releases/download/1.1/samurai-1.1.tar.gz"
-MD5SUM="5e8578e2950145a2e766156f0f9dcec2"
+DOWNLOAD="https://github.com/michaelforney/samurai/releases/download/1.2/samurai-1.2.tar.gz"
+MD5SUM="3ad6771de19a93660fdb36dc67687727"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/sasm/README b/development/sasm/README
new file mode 100644
index 0000000000..480308305f
--- /dev/null
+++ b/development/sasm/README
@@ -0,0 +1,2 @@
+SASM - simple crossplatform IDE for NASM, MASM, GAS and FASM assembly
+language
diff --git a/development/wheel/doinst.sh b/development/sasm/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/development/wheel/doinst.sh
+++ b/development/sasm/doinst.sh
diff --git a/development/sasm/sasm.SlackBuild b/development/sasm/sasm.SlackBuild
new file mode 100644
index 0000000000..4fa4c16bb0
--- /dev/null
+++ b/development/sasm/sasm.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for SASM
+
+# Copyright 2023 Christopher Luck Orlando,FL
+# 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=sasm
+SRCNAM=SASM
+VERSION=${VERSION:-3.14.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 ;;
+ aarch64) ARCH=aarch64 ;;
+ *) 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 $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 {} \;
+
+ qmake-qt5
+ make
+ make install INSTALL_ROOT=$PKG
+
+rm -rf $PKG/usr/share/doc
+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 COPYING COPYING_RUS README.txt help.html helpENG.html Linux/share/doc/* $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
+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/development/sasm/sasm.info b/development/sasm/sasm.info
new file mode 100644
index 0000000000..3e10d167dc
--- /dev/null
+++ b/development/sasm/sasm.info
@@ -0,0 +1,10 @@
+PRGNAM="sasm"
+VERSION="3.14.0"
+HOMEPAGE="http://dman95.github.io/SASM/"
+DOWNLOAD="https://github.com/Dman95/SASM/archive/refs/tags/v3.14.0/SASM-3.14.0.tar.gz"
+MD5SUM="72504dd3c7aa5ecacad2b32a8997b496"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Christopher Luck"
+EMAIL="kermitdafrog8@gmail.com"
diff --git a/development/sasm/slack-desc b/development/sasm/slack-desc
new file mode 100644
index 0000000000..358015dafa
--- /dev/null
+++ b/development/sasm/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------------------------------------------------------|
+sasm: sasm (IDE for NASM,MASM, GAS, and FASM assembly)
+sasm:
+sasm: sasm - simple crossplatform IDE for NASM, MASM, GAS and FASM assembly
+sasm: language
+sasm:
+sasm:
+sasm:
+sasm:
+sasm:
+sasm:
+sasm:
diff --git a/development/sassc/README b/development/sassc/README
deleted file mode 100644
index bb030967a8..0000000000
--- a/development/sassc/README
+++ /dev/null
@@ -1,12 +0,0 @@
-SassC is a wrapper around libsass (http://github.com/sass/libsass) used
-to generate a useful command-line application that can be installed and
-packaged for several operating systems.
-
-Sass is a CSS pre-processor language to add on exciting, new, awesome
-features to CSS. Sass was the first language of its kind and by far the
-most mature and up to date codebase.
-
-Sass was originally concieved of by the co-creator of this library,
-Hampton Catlin (@hcatlin). Most of the language has been the result of
-years of work by Natalie Weizenbaum (@nex3) and Chris Eppstein
-(@chriseppstein).
diff --git a/development/sassc/sassc.SlackBuild b/development/sassc/sassc.SlackBuild
deleted file mode 100644
index 99fd39e0cc..0000000000
--- a/development/sassc/sassc.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-# Slackware build script for sassc
-#
-# Yth | Pont-en-Royans, France | yth@ythogtha.org
-#
-# 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.
-
-PRGNAM=sassc
-VERSION=${VERSION:-3.6.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-DOCS="Readme.md LICENSE"
-
-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 {} \;
-
-autoreconf -i
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --enable-shared=yes \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $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:-tgz}
diff --git a/development/sassc/sassc.info b/development/sassc/sassc.info
deleted file mode 100644
index 05cddacb84..0000000000
--- a/development/sassc/sassc.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sassc"
-VERSION="3.6.1"
-HOMEPAGE="http://sass-lang.com/libsass"
-DOWNLOAD="https://github.com/sass/sassc/archive/3.6.1/sassc-3.6.1.tar.gz"
-MD5SUM="dd675920c7151e50e2d2ac14f0fb222a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libsass"
-MAINTAINER="Yth - Arnaud"
-EMAIL="yth@ythogtha.org"
diff --git a/development/sassc/slack-desc b/development/sassc/slack-desc
deleted file mode 100644
index 6bc862118f..0000000000
--- a/development/sassc/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------------------------------------------------------|
-sassc: sassc (C/C++ port of the Sass CSS precompiler)
-sassc:
-sassc: SassC is a wrapper around libsass (http://github.com/sass/libsass)
-sassc: used to generate a useful command-line application that can be
-sassc: installed and packaged for several operating systems.
-sassc:
-sassc: Sass is a CSS pre-processor language to add on exciting, new, awesome
-sassc: features to CSS. Sass was the first language of its kind and by far
-sassc: the most mature and up to date codebase.
-sassc:
-sassc: http://sass-lang.com
diff --git a/development/sauce/sauce.SlackBuild b/development/sauce/sauce.SlackBuild
index 432ac77aca..b2c06c1b7c 100644
--- a/development/sauce/sauce.SlackBuild
+++ b/development/sauce/sauce.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <appname>
@@ -22,10 +22,13 @@
# 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=sauce
VERSION=${VERSION:-0.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -96,4 +106,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sbcl/sbcl.SlackBuild b/development/sbcl/sbcl.SlackBuild
index 235cd4233c..3e4610850e 100644
--- a/development/sbcl/sbcl.SlackBuild
+++ b/development/sbcl/sbcl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sbcl
@@ -24,10 +24,13 @@
# Modified by Eugene M., <damagedone at gmx dot com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sbcl
-VERSION=${VERSION:-2.0.7}
+VERSION=${VERSION:-2.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -71,7 +78,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sh make.sh clisp --prefix=/usr --fancy
+if [ -x /usr/bin/sbcl ]; then
+ sh make.sh --xc-host='sbcl --core /usr/lib'${LIBDIRSUFFIX}'/sbcl/sbcl.core' --prefix=/usr --fancy
+else
+ sh make.sh clisp --prefix=/usr --fancy
+fi
+
+sleep 1
+
make -C doc/manual info
SBCL_HOME="" \
@@ -96,7 +110,7 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/html
-cp -a HACKING INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO \
+cp -a HACKING NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -117,4 +131,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sbcl/sbcl.info b/development/sbcl/sbcl.info
index 83788c31b9..609dc2a5d4 100644
--- a/development/sbcl/sbcl.info
+++ b/development/sbcl/sbcl.info
@@ -1,8 +1,8 @@
PRGNAM="sbcl"
-VERSION="2.0.7"
+VERSION="2.4.3"
HOMEPAGE="http://www.sbcl.org/"
-DOWNLOAD="http://downloads.sourceforge.net/sbcl/sbcl-2.0.7-source.tar.bz2"
-MD5SUM="c8a748ed49059cf3830efa99fcf7107f"
+DOWNLOAD="http://downloads.sourceforge.net/sbcl/sbcl-2.4.3-source.tar.bz2"
+MD5SUM="9e61f0d47571d465211c84464dfabb64"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/sbt/sbt.SlackBuild b/development/sbt/sbt.SlackBuild
index 89a9d5b91e..844dd4883f 100644
--- a/development/sbt/sbt.SlackBuild
+++ b/development/sbt/sbt.SlackBuild
@@ -1,17 +1,45 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sbt
-
# Written by Ben Mendis <ben.mendis@gmail.com>
+# Updated by Julian Grinblat <julian@dotcore.co.il>
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version, with the following exception:
+# the text of the GPL license may be omitted..
+
+# This program is distributed in the hope that it will be useful, but
+# without any warranty; without even the implied warranty of
+# merchantability or fitness for a particular purpose. Compiling,
+# interpreting, executing or merely reading the text of the program
+# may result in lapses of consciousness and/or very being, up to and
+# including the end of all existence and the Universe as we know it.
+# See the GNU General Public License for more details.
+
+# You may have received a copy of the GNU General Public License
+# along with this program (most likely, a file named COPYING). If
+# not, see <http://www.gnu.org/licenses/>.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sbt
-VERSION=${VERSION:-0.13.7}
+VERSION=${VERSION:-1.9.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=x86_64
-ARCH=noarch
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -20,31 +48,37 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-
cd $TMP
+rm -rf $PRGNAM
tar xvf $CWD/${PRGNAM}-${VERSION}.tgz
mkdir -p $PKG/usr/share/sbt/bin
cp sbt/bin/sbt-launch.jar $PKG/usr/share/sbt/bin/
chmod 644 $PKG/usr/share/sbt/bin/sbt-launch.jar
-cp sbt/bin/sbt-launch-lib.bash $PKG/usr/share/sbt/bin/
-chmod 644 $PKG/usr/share/sbt/bin/sbt-launch-lib.bash
cp sbt/bin/sbt $PKG/usr/share/sbt/bin/
chmod 755 $PKG/usr/share/sbt/bin/sbt
+cp sbt/bin/sbtn-x86_64-pc-linux $PKG/usr/share/sbt/bin/
+chmod 755 $PKG/usr/share/sbt/bin/sbtn-x86_64-pc-linux
mkdir -p $PKG/usr/bin
cat $CWD/sbt.sh > $PKG/usr/bin/sbt
chmod 755 $PKG/usr/bin/sbt
+cat $CWD/sbtn.sh > $PKG/usr/bin/sbtn
+chmod 755 $PKG/usr/bin/sbtn
+
+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/etc/sbt
-cp sbt/conf/sbtopts $PKG/etc/sbt/
+cp sbt/conf/sbtopts sbt/conf/sbtconfig.txt $PKG/etc/sbt/
chmod 644 $PKG/etc/sbt/sbtopts
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp sbt/LICENSE sbt/NOTICE $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sbt/sbt.info b/development/sbt/sbt.info
index c127102ba7..867692fdc3 100644
--- a/development/sbt/sbt.info
+++ b/development/sbt/sbt.info
@@ -1,10 +1,10 @@
PRGNAM="sbt"
-VERSION="0.13.7"
+VERSION="1.9.7"
HOMEPAGE="https://www.scala-sbt.org/"
-DOWNLOAD="https://dl.bintray.com/sbt/native-packages/sbt/0.13.7/sbt-0.13.7.tgz"
-MD5SUM="12fef0be717dc8c91687072dd7995a02"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Ben Mendis"
-EMAIL="ben.mendis@gmail.com"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/sbt/sbt/releases/download/v1.9.7/sbt-1.9.7.tgz"
+MD5SUM_x86_64="37153bc352c1109bbdc4512d65bf34ad"
+REQUIRES="zulu-openjdk8"
+MAINTAINER="Julian Grinblat"
+EMAIL="julian@dotcore.co.il"
diff --git a/development/sbt/sbtn.sh b/development/sbt/sbtn.sh
new file mode 100644
index 0000000000..94bda4ade5
--- /dev/null
+++ b/development/sbt/sbtn.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec /usr/share/sbt/bin/sbtn-x86_64-pc-linux "$@"
+
diff --git a/development/scala/scala.SlackBuild b/development/scala/scala.SlackBuild
index bcadfed98b..54f9d945c8 100644
--- a/development/scala/scala.SlackBuild
+++ b/development/scala/scala.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Build script for scala
@@ -6,20 +6,30 @@
# Public domain.
# Updated by Andre Barboza <bmg.andre@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scala
-VERSION=${VERSION:-2.12.3}
+VERSION=${VERSION:-2.13.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -32,8 +42,8 @@ fi
set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
+rm -rf "$PKG"
+mkdir -p "$TMP" "$PKG" "$OUTPUT"
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
@@ -76,4 +86,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/scala/scala.info b/development/scala/scala.info
index 1b9d7f9d32..b234ca36cd 100644
--- a/development/scala/scala.info
+++ b/development/scala/scala.info
@@ -1,10 +1,10 @@
PRGNAM="scala"
-VERSION="2.12.3"
+VERSION="2.13.8"
HOMEPAGE="https://www.scala-lang.org/"
-DOWNLOAD="http://downloads.lightbend.com/scala/2.12.3/scala-2.12.3.tgz"
-MD5SUM="68ba79e2172fc1ab8120fe6c615a2713"
+DOWNLOAD="https://downloads.lightbend.com/scala/2.13.8/scala-2.13.8.tgz"
+MD5SUM="def507d6394532c0562827127ce37ea6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+REQUIRES="zulu-openjdk8"
+MAINTAINER="Alesandro Vaccaro"
+EMAIL="0x7a6@libero.it"
diff --git a/development/schroot/schroot.SlackBuild b/development/schroot/schroot.SlackBuild
index e6b20cd06e..ff1d8b02c5 100644
--- a/development/schroot/schroot.SlackBuild
+++ b/development/schroot/schroot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for schroot
# Written by Andy Bailey, GooseYArd@gmail.com
@@ -24,20 +24,30 @@
# 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=schroot
VERSION=${VERSION:-1.6.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -106,9 +116,11 @@ cp -a \
$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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/scikit-build/README b/development/scikit-build/README
new file mode 100644
index 0000000000..31fbec3781
--- /dev/null
+++ b/development/scikit-build/README
@@ -0,0 +1,5 @@
+The scikit-build package is fundamentally just glue between the
+setuptools Python module and CMake.
+Better support is provided for additional compilers, build systems,
+cross compilation and locating dependencies and determining their
+build requirements.
diff --git a/development/scikit-build/scikit-build.SlackBuild b/development/scikit-build/scikit-build.SlackBuild
new file mode 100644
index 0000000000..f20118388e
--- /dev/null
+++ b/development/scikit-build/scikit-build.SlackBuild
@@ -0,0 +1,95 @@
+#!/bin/bash
+
+# Slackware build script for scikit-build
+
+# Copyright 2022 Duncan Roe, Melbourne, Australia
+# 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=scikit-build
+VERSION=${VERSION:-0.13.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/scikit-build/scikit-build.info b/development/scikit-build/scikit-build.info
new file mode 100644
index 0000000000..0744a7d6d5
--- /dev/null
+++ b/development/scikit-build/scikit-build.info
@@ -0,0 +1,10 @@
+PRGNAM="scikit-build"
+VERSION="0.13.1"
+HOMEPAGE="https://pypi.org/project/scikit-build/"
+DOWNLOAD="https://github.com/scikit-build/scikit-build/archive/0.13.1/scikit-build-0.13.1.tar.gz"
+MD5SUM="b1b453ce22b5700888b08592e0584940"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Duncan Roe"
+EMAIL="duncan_roe@optusnet.com.au"
diff --git a/development/scikit-build/slack-desc b/development/scikit-build/slack-desc
new file mode 100644
index 0000000000..13cab80c2d
--- /dev/null
+++ b/development/scikit-build/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------------------------------------------------------|
+scikit-build: scikit-build (Improved build system generator for CPython extensions)
+scikit-build:
+scikit-build: The scikit-build package is fundamentally just glue between the
+scikit-build: setuptools Python module and CMake.
+scikit-build: Better support is provided for additional compilers, build systems,
+scikit-build: cross compilation and locating dependencies and determining their
+scikit-build: build requirements.
+scikit-build:
+scikit-build:
+scikit-build:
+scikit-build:
diff --git a/development/scite/StringList.cxx.patch b/development/scite/StringList.cxx.patch
new file mode 100644
index 0000000000..86fa3d2a60
--- /dev/null
+++ b/development/scite/StringList.cxx.patch
@@ -0,0 +1,10 @@
+--- StringList.cxx 2023-07-26 07:50:38.000000000 +0200
++++ StringList.cxx.patched 2023-09-13 10:25:52.002946469 +0200
+@@ -8,6 +8,7 @@
+ #include <cstdlib>
+ #include <cassert>
+ #include <cstring>
++#include <cstddef>
+
+ #include <tuple>
+ #include <string>
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild
index c71158b071..e9f844d85d 100644
--- a/development/scite/scite.SlackBuild
+++ b/development/scite/scite.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SciTE
@@ -26,10 +26,13 @@
# with this program (most likely, a file named COPYING). If not, see
# <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scite
-VERSION=${VERSION:-3.7.4}
+VERSION=${VERSION:-5.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -61,19 +71,26 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf scite/ scintilla/
+rm -rf lexilla/ scite/ scintilla/
tar xvf $CWD/${PRGNAM}$(echo $VERSION | tr -d .).tgz
-chown -R root:root scite/ scintilla/
-chmod -R u+w,go+r-w,a-s scite/ scintilla/
+chown -R root:root lexilla/ scite/ scintilla/
+chmod -R u+w,go+r-w,a-s lexilla/ scite/ scintilla/
+
+# Patch to fix missing cstddef header file.
+patch scite/src/StringList.cxx $CWD/StringList.cxx.patch
+
+cd $TMP/lexilla
+make -C src
cd $TMP/scintilla
-make -C gtk prefix=/usr
+make -C gtk prefix=/usr GTK3=1
cd $TMP/scite
sed -i "s%xdg-open%$HELPBROWSER%g" src/Embedded.properties
sed -i "s%xdg-open%$HELPBROWSER%g" src/SciTEGlobal.properties
-make -C gtk prefix=/usr
-make -C gtk install DESTDIR=$PKG
+sed -i "s%/lib/scite%/lib$LIBDIRSUFFIX/scite%" gtk/makefile
+make -C gtk prefix=/usr GTK3=1
+make -C gtk install GTK3=1 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
@@ -99,4 +116,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/scite/scite.info b/development/scite/scite.info
index 87fee69155..c91a649a32 100644
--- a/development/scite/scite.info
+++ b/development/scite/scite.info
@@ -1,10 +1,10 @@
PRGNAM="scite"
-VERSION="3.7.4"
+VERSION="5.3.7"
HOMEPAGE="https://scintilla.org/SciTE.html"
-DOWNLOAD="http://downloads.sourceforge.net/project/scintilla/SciTE/3.7.4/scite374.tgz"
-MD5SUM="a22acb7052faee698991d3d94ed3882e"
+DOWNLOAD="https://scintilla.org/scite537.tgz"
+MD5SUM="4a4bc59da93deb4b75e5b0e15f2661c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="DhabyX"
-EMAIL="slack.dhabyx@gmail.com"
+MAINTAINER="rc-05"
+EMAIL="rc_o5@protonmail.com"
diff --git a/development/scratch/README b/development/scratch/README
deleted file mode 100644
index 21eb438922..0000000000
--- a/development/scratch/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Scratch is a programming language that makes it easy to create your
-own interactive stories, animations, games, music, and art --
-and share your creations on the web.
diff --git a/development/scratch/scratch.SlackBuild b/development/scratch/scratch.SlackBuild
deleted file mode 100644
index ad1094e216..0000000000
--- a/development/scratch/scratch.SlackBuild
+++ /dev/null
@@ -1,122 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for scratch
-
-# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
-# 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.
-
-PRGNAM=scratch
-VERSION=${VERSION:-1.4.0.7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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.src
-tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz
-cd $PRGNAM-$VERSION.src
-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 {} \;
-
-make build
-
-# Fix libdir in startup script
-sed \
- -e "s/lib\//lib${LIBDIRSUFFIX}\//" \
- -i src/scratch
-
-mkdir -p $PKG/usr/bin/
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
-mkdir -p $PKG/usr/share/applications/
-mkdir -p $PKG/usr/man/man1/
-mkdir -p $PKG/usr/share/mime/packages/
-mkdir -p $PKG/usr/share/icons/hicolor/{128x128,32x32,48x48}/apps
-mkdir -p $PKG/usr/share/$PRGNAM
-
-install -m 0755 src/scratch $PKG/usr/bin/scratch
-install -m 0644 Scratch.image $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/Scratch.image
-install -m 0644 Scratch.ini $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/Scratch.ini
-install -m 0644 src/scratch.desktop $PKG/usr/share/applications/scratch.desktop
-install -m 0644 src/man/scratch.1.gz $PKG/usr/man/man1/scratch.1.gz
-install -m 0644 src/scratch.xml $PKG/usr/share/mime/packages/scratch.xml
-
-cp -rf locale Media Projects $PKG/usr/share/$PRGNAM
-
-# Fix permissions
-cd $PKG/usr/share/$PRGNAM
- find . -type d -exec chmod 0755 {} \;
- find . -type f -exec chmod 0644 {} \;
-cd -
-
-cp -rf src/icons/128x128/* $PKG/usr/share/icons/hicolor/128x128/apps
-cp -rf src/icons/32x32/* $PKG/usr/share/icons/hicolor/32x32/apps
-cp -rf src/icons/48x48/* $PKG/usr/share/icons/hicolor/48x48/apps
-chmod -R 0755 $PKG/usr/share/icons/hicolor
-
-cp -rf Plugins $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/help
-cp -a ACKNOWLEDGEMENTS KNOWN-BUGS LICENSE NOTICE README TRADEMARK_POLICY \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Help/en/* $PKG/usr/doc/$PRGNAM-$VERSION/help
-chmod 755 $PKG/usr/doc/$PRGNAM-$VERSION/help/images
-
-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:-tgz}
diff --git a/development/scratch/scratch.info b/development/scratch/scratch.info
deleted file mode 100644
index 0706ab9b84..0000000000
--- a/development/scratch/scratch.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="scratch"
-VERSION="1.4.0.7"
-HOMEPAGE="https://scratch.mit.edu/"
-DOWNLOAD="https://download.scratch.mit.edu/scratch-1.4.0.7.src.tar.gz"
-MD5SUM="f948e9e6de3ec9c7c7b4cc2a1975eb5a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="squeak-vm"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/development/scratch/slack-desc b/development/scratch/slack-desc
deleted file mode 100644
index 792f760a4a..0000000000
--- a/development/scratch/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------------------------------------------------------|
-scratch: scratch (programming educational tool)
-scratch:
-scratch: Scratch is a programming language that makes it easy to create your
-scratch: own interactive stories, animations, games, music, and art --
-scratch: and share your creations on the web.
-scratch:
-scratch: Scratch is developed by the Lifelong Kindergarten Group
-scratch:
-scratch: Project Site: https://scratch.mit.edu/
-scratch:
-scratch:
diff --git a/development/sdcc/README b/development/sdcc/README
index 17bf5e4510..761e4b5a82 100644
--- a/development/sdcc/README
+++ b/development/sdcc/README
@@ -2,12 +2,15 @@ SDCC is a retargettable, optimizing Standard C (ANSI C89, ISO C99, ISO
C11) compiler suite that targets the Intel MCS51 based microprocessors
(8031, 8032, 8051, 8052, etc.), Maxim (formerly Dallas) DS80C390
variants, Freescale (formerly Motorola) HC08 based (hc08, s08), Zilog
-Z80 based MCUs (z80, z180, gbz80, Rabbit 2000/3000, Rabbit 3000A,
-TLCS-90), Padauk (pdk14, pdk15) and STMicroelectronics STM8. Work is
-in progress on supporting the Padauk (pdk13), Microchip PIC16 and
-PIC18 targets. It can be retargeted for other microprocessors.
+Z80 based MCUs (Z80, Z180, SM83, Rabbit 2000, 2000A, 3000A, TLCS-90),
+Padauk (pdk14, pdk15) and STMicroelectronics STM8. Work is in progress
+on supporting the Padauk pdk13 and MOS 6502 targets; Microchip PIC16 and
+PIC18 targets are unmaintained. SDCC can be retargeted for other
+microprocessors.
-By default, this will build sdcc without pic support. If you want
-that, install gputils and run the script as follows:
+The documentation (SDCC manual) and support for PIC targets are disabled
+by default because they require extra packages. Enable them by passing
+these variables to the script (VAR=yes|no ./sdcc.SlackBuild):
-ENABLE_PIC=y sh ./sdcc.SlackBuild
+ENABLE_DOC=yes|no (default: no), requires lyx, latex2html
+ENABLE_PIC=yes|no (default: no), requires gputils
diff --git a/development/sdcc/patches/source-tree.patch b/development/sdcc/patches/source-tree.patch
index 93c2798f75..78458cbe8c 100644
--- a/development/sdcc/patches/source-tree.patch
+++ b/development/sdcc/patches/source-tree.patch
@@ -1,10 +1,10 @@
diff --git a/device/lib/Makefile.in b/device/lib/Makefile.in
--- a/device/lib/Makefile.in
+++ b/device/lib/Makefile.in
-@@ -599,19 +599,11 @@
- $(CP_U) -r $(MODELS) mcs51 ds390 ds400 z80 z180 ez80_z80 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 pdk13 pdk14 pdk15 $(sdcc_libdir)/src
+@@ -661,19 +661,11 @@
+ $(CP_U) -r $(MODELS) mcs51 ds390 ds400 z80 z180 ez80_z80 z80n r2k r2ka r3ka tlcs90 sm83 hc08 s08 stm8 pdk13 pdk14 pdk15 $(sdcc_libdir)/src
- for src in $(MODELS) ds390 ds400 z80 z180 ez80_z80 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 pdk13 pdk14 pdk15 pic14 pic16; do \
+ for src in $(MODELS) ds390 ds400 z80 z180 ez80_z80 z80n r2k r2ka r3ka tlcs90 sm83 hc08 s08 mos6502 mos65c02 stm8 pdk13 pdk14 pdk15 pic14 pic16; do \
- find $(sdcc_libdir)/src/$$src -depth \
- \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \
- -name '*.lst' -o -name '*.asm' -o -name '.svn' -o -name 'autom4te.cache' -o \
diff --git a/development/sdcc/sdcc.SlackBuild b/development/sdcc/sdcc.SlackBuild
index 8e6a39a06f..1e02cb8bcc 100644
--- a/development/sdcc/sdcc.SlackBuild
+++ b/development/sdcc/sdcc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sdcc
-# Copyright 2014-2020 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2023 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=sdcc
-VERSION=${VERSION:-4.0.0}
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,17 +38,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="COPYING ChangeLog"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -78,14 +82,7 @@ chmod -x device/lib/isinf.c device/lib/isnan.c
# up afterwards. Delete some byproducts that they missed.
patch -p1 < $CWD/patches/source-tree.patch
-# Avoid creating empty man directories.
-sed -i '/(man1dir)/d' sim/ucsim/doc/Makefile.in
-
-# make considers device/lib/pic14/aclocal.m4 out-of-date and tries to
-# rebuild it using aclocal-1.16 which doesn't exist yet on Slackware 14.2.
-(cd device/lib/pic14 && autoreconf -vif)
-
-# Requires lyx, latex2html, possibly others. Untested.
+# Requires lyx and latex2html.
if [ "${ENABLE_DOC:-no}" != 'no' ]; then
enable_doc='--enable-doc'
fi
@@ -101,12 +98,12 @@ ARCH= \
EARCH= \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX}/$PRGNAM \
+ --libdir=\${exec_prefix}/lib${LIBDIRSUFFIX}/$PRGNAM \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --mandir=\${prefix}/man \
+ --infodir=\${prefix}/info \
+ --docdir=\${prefix}/doc/$PRGNAM-$VERSION \
--enable-libgc \
$enable_doc \
$enable_pic \
@@ -120,12 +117,15 @@ make install DESTDIR=$PKG
find $PKG -exec file {} + | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} +
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a sdas/doc $PKG/usr/doc/$PRGNAM-$VERSION/sdas
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sdcc/sdcc.info b/development/sdcc/sdcc.info
index 82b700329c..ac022fbcb8 100644
--- a/development/sdcc/sdcc.info
+++ b/development/sdcc/sdcc.info
@@ -1,8 +1,8 @@
PRGNAM="sdcc"
-VERSION="4.0.0"
+VERSION="4.3.0"
HOMEPAGE="http://sdcc.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/sdcc/files/sdcc/4.0.0/sdcc-src-4.0.0.tar.bz2"
-MD5SUM="eac8f83af265dca1f3e4c79abcd43c6c"
+DOWNLOAD="https://sourceforge.net/projects/sdcc/files/sdcc/4.3.0/sdcc-src-4.3.0.tar.bz2"
+MD5SUM="799a1c0b906a016aca96ef0c1733d831"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/sdcc/slack-desc b/development/sdcc/slack-desc
index fabcddda7f..e84dbace93 100644
--- a/development/sdcc/slack-desc
+++ b/development/sdcc/slack-desc
@@ -12,8 +12,8 @@ sdcc: SDCC is a retargettable, optimizing Standard C (ANSI C89, ISO C99, ISO
sdcc: C11) compiler suite that targets the Intel MCS51 based microprocessors
sdcc: (8031, 8032, 8051, 8052, etc.), Maxim (formerly Dallas) DS80C390
sdcc: variants, Freescale (formerly Motorola) HC08 based (hc08, s08), Zilog
-sdcc: Z80 based MCUs (z80, z180, gbz80, Rabbit 2000/3000, Rabbit 3000A,
-sdcc: TLCS-90), Padauk (pdk14, pdk15) and STMicroelectronics STM8. Work is
-sdcc: in progress on supporting the Padauk (pdk13), Microchip PIC16 and
-sdcc: PIC18 targets. It can be retargeted for other microprocessors.
-sdcc:
+sdcc: Z80 based MCUs (Z80, Z180, SM83, Rabbit 2000, 2000A, 3000A, TLCS-90),
+sdcc: Padauk (pdk14, pdk15) and STMicroelectronics STM8. Work is in
+sdcc: progress on supporting the Padauk pdk13 and MOS 6502 targets;
+sdcc: Microchip PIC16 and PIC18 targets are unmaintained. SDCC can be
+sdcc: retargeted for other microprocessors.
diff --git a/development/setedit/setedit.SlackBuild b/development/setedit/setedit.SlackBuild
index 9e0dcb1490..a283f6b9a0 100644
--- a/development/setedit/setedit.SlackBuild
+++ b/development/setedit/setedit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <setedit>
@@ -22,10 +22,13 @@
# 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=setedit
VERSION=${VERSION:-0.5.8p}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
GIT_COMMIT_VER=d8231bc28ced01aba8236deb4610871dd86c5b9b
if [ -z "$ARCH" ]; then
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -62,7 +72,11 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$GIT_COMMIT_VER
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+if [ -e $CWD/$PRGNAM-$VERSION.tar.bz2 ] ; then
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+else
+ tar xvf $CWD/$PRGNAM-$GIT_COMMIT_VER.tar.bz2
+fi
cd $PRGNAM-$GIT_COMMIT_VER/$PRGNAM
if [ "$ARCH" = "x86_64" ]; then
@@ -74,8 +88,8 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr
-make
-make install prefix=$PKG/usr
+make -j1
+make -j1 install prefix=$PKG/usr
strip $PKG/usr/bin/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM/$PRGNAM.SlackBuild
@@ -98,4 +112,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/setuptools-git/setuptools-git.SlackBuild b/development/setuptools-git/setuptools-git.SlackBuild
index fd50c1e8d1..3ed49532ce 100644
--- a/development/setuptools-git/setuptools-git.SlackBuild
+++ b/development/setuptools-git/setuptools-git.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for setuptools-git
@@ -22,20 +22,30 @@
# 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=setuptools-git
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -65,4 +75,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/shc/README b/development/shc/README
index 560ad6f8c8..cfc1c6af02 100644
--- a/development/shc/README
+++ b/development/shc/README
@@ -1,16 +1,17 @@
shc - Shell script compiler
-SHC is a generic shell script compiler. It takes a script, which is
-specified on the command line and produces C source code. The generated
-source code is then compiled and linked to produce a stripped binary.
+SHC is a generic shell script compiler. It takes a script, which
+is specified on the command line and produces C source code. The
+generated source code is then compiled and linked to produce a
+stripped binary.
-The compiled binary will still be dependent on the shell specified in
-the first line of the shell code (i.e shebang: #!/bin/sh or such), thus
-shc does not create completely independent binaries.
+The compiled binary will still be dependent on the shell specified
+in the first line of the shell code (i.e shebang: #!/bin/sh or such),
+thus shc does not create completely independent binaries.
-shc itself is not a compiler such as cc, it rather encodes and encrypts
-a shell script and generates C source code with the added expiration
-capability. It then uses the system compiler to compile a stripped
-binary which behaves exactly like the original script. Upon execution,
-the compiled binary will decrypt and execute the code with the shells'
--c option.
+shc itself is not a compiler such as cc, it rather encodes and
+encrypts a shell script and generates C source code with the added
+expiration capability. It then uses the system compiler to compile a
+stripped binary which behaves exactly like the original script. Upon
+execution, the compiled binary will decrypt and execute the code with
+the shell's -c option.
diff --git a/development/shc/shc.SlackBuild b/development/shc/shc.SlackBuild
index d3d52deceb..f14c4f69d9 100644
--- a/development/shc/shc.SlackBuild
+++ b/development/shc/shc.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shc
# Previously maintained by Roberto Metere <roberto <at> metere <dot> it>
-# Copyright 2017 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# Copyright 2017-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# 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=shc
-VERSION=${VERSION:-3.9.6}
+VERSION=${VERSION:-4.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -98,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/shc/shc.info b/development/shc/shc.info
index 5af3ba09dd..8a659dd4a8 100644
--- a/development/shc/shc.info
+++ b/development/shc/shc.info
@@ -1,8 +1,8 @@
PRGNAM="shc"
-VERSION="3.9.6"
+VERSION="4.0.3"
HOMEPAGE="http://neurobin.github.io/shc"
-DOWNLOAD="https://github.com/neurobin/shc/archive/3.9.6/shc-3.9.6.tar.gz"
-MD5SUM="da777637594be58caf33509d2ca0fbea"
+DOWNLOAD="https://github.com/neurobin/shc/archive/refs/tags/4.0.3/shc-4.0.3.tar.gz"
+MD5SUM="c3f7aef42f12bccd0a54db92e3946f4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/shed/shed.SlackBuild b/development/shed/shed.SlackBuild
index a4e7e52ba1..275e9e7fcc 100644
--- a/development/shed/shed.SlackBuild
+++ b/development/shed/shed.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Shed
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF
# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shed
VERSION=${VERSION:-1.15}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -98,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/shed/shed.info b/development/shed/shed.info
index a00e3fee7f..aba7aefb98 100644
--- a/development/shed/shed.info
+++ b/development/shed/shed.info
@@ -6,5 +6,5 @@ MD5SUM="c7d7d464d6b4fa28a7980270d03e0906"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/development/shiboken/shiboken.SlackBuild b/development/shiboken/shiboken.SlackBuild
index a45a411667..3411a75f5c 100644
--- a/development/shiboken/shiboken.SlackBuild
+++ b/development/shiboken/shiboken.SlackBuild
@@ -1,30 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shiboken
# Written by Grissiom <chaos.proton@gmail.com>
# Updated by kchan <kenneth.t.chan@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shiboken
VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -48,9 +55,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
mkdir -p build
cd build
@@ -86,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/shiboken/shiboken.info b/development/shiboken/shiboken.info
index cd7b077c01..5c672670ab 100644
--- a/development/shiboken/shiboken.info
+++ b/development/shiboken/shiboken.info
@@ -1,10 +1,10 @@
PRGNAM="shiboken"
VERSION="1.2.2"
HOMEPAGE="http://qt-project.org/wiki/Category:LanguageBindings::PySide::Shiboken"
-DOWNLOAD="http://download.qt-project.org/official_releases/pyside/shiboken-1.2.2.tar.bz2"
+DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/shiboken-1.2.2.tar.bz2"
MD5SUM="9f5bee9d414ce51be07ff7a20054a48d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Ole-André Rodlie"
EMAIL="ole.andre.rodlie@gmail.com"
diff --git a/development/shiboken2/README b/development/shiboken2/README
new file mode 100644
index 0000000000..ba1c0dd723
--- /dev/null
+++ b/development/shiboken2/README
@@ -0,0 +1,11 @@
+Shiboken is a fundamental piece on the Qt for Python project that
+serves two purposes:
+
+- Generator: Extract information from C or C++ headers and generate
+ CPython code that allow to bring C or C++ projects to Python. This
+ process uses a library called ApiExtractor which internally uses
+ Clang.
+
+- Module: An utility Python module that exposed new Python types,
+ functions to handle pointers, among other things, that is written in
+ CPython and can be used independently of the generator.
diff --git a/development/shiboken2/shiboken2.SlackBuild b/development/shiboken2/shiboken2.SlackBuild
new file mode 100644
index 0000000000..e9149afa59
--- /dev/null
+++ b/development/shiboken2/shiboken2.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for shiboken2
+
+# Copyright 2023 Christoph Willing Brisbane, Australia
+# 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=shiboken2
+VERSION=${VERSION:-5.15.10}
+SRCNAM=pyside-setup-opensource-src
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+cd $SRCNAM-$VERSION/sources/$PRGNAM
+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
+ export CC=/usr/bin/clang
+ export CXX=/usr/bin/clang++
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DBUILD_TESTS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING* doc \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/shiboken2/shiboken2.info b/development/shiboken2/shiboken2.info
new file mode 100644
index 0000000000..0184714452
--- /dev/null
+++ b/development/shiboken2/shiboken2.info
@@ -0,0 +1,10 @@
+PRGNAM="shiboken2"
+VERSION="5.15.10"
+HOMEPAGE="https://wiki.qt.io/Qt_for_Python"
+DOWNLOAD="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.10-src/pyside-setup-opensource-src-5.15.10.tar.xz"
+MD5SUM="60441c2baeccb932ee0636034989ae57"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/development/shiboken2/slack-desc b/development/shiboken2/slack-desc
new file mode 100644
index 0000000000..cf21b46688
--- /dev/null
+++ b/development/shiboken2/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------------------------------------------------------|
+shiboken2: shiboken2 (PySide2 bindings generator plugin)
+shiboken2:
+shiboken2: The Shiboken Generator is the plugin that creates the PySide bindings
+shiboken2: source files from Qt headers and auxiliary files (typesystems,
+shiboken2: global.h and glue files).
+shiboken2:
+shiboken2:
+shiboken2:
+shiboken2:
+shiboken2:
+shiboken2:
diff --git a/development/simavr/simavr.SlackBuild b/development/simavr/simavr.SlackBuild
index a8b989b385..ff8f814434 100644
--- a/development/simavr/simavr.SlackBuild
+++ b/development/simavr/simavr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for simavr
@@ -22,10 +22,13 @@
# 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=simavr
VERSION=${VERSION:-git20170904}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -91,4 +101,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/simavr/simavr.info b/development/simavr/simavr.info
index 7f53eb0858..613770d068 100644
--- a/development/simavr/simavr.info
+++ b/development/simavr/simavr.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://www.dropbox.com/s/wizo8j0fmcq14mr/simavr-git20170904.tar.gz"
MD5SUM="93f10b449440603adc3bcea298059ae3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="avr-gcc avr-libc"
+REQUIRES="avr-libc"
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"
diff --git a/development/simulavr/simulavr.SlackBuild b/development/simulavr/simulavr.SlackBuild
index 9d4a1cb9a7..05d23af92b 100644
--- a/development/simulavr/simulavr.SlackBuild
+++ b/development/simulavr/simulavr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SimulAVR
@@ -22,10 +22,13 @@
# 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=simulavr
-VERSION=${VERSION:-git20170521}
+VERSION=${VERSION:-20201006_32985f7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,21 +79,29 @@ 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 {} \;
-./bootstrap
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --with-tclconfig=/usr/lib${LIBDIRSUFFIX}
-make
-make install DESTDIR=$PKG
+# Respect standard locations and avoid overwriting system headers
+sed -i \
+ -e "s|DESTINATION\ \"lib|DESTINATION \"lib$LIBDIRSUFFIX|" \
+ -e "s|DESTINATION\ \"include|DESTINATION \"include/$PRGNAM|" \
+ libsim{,ulavr}/CMakeLists.txt
+sed -i \
+ -e "s|share/man|man|" \
+ -e "s|share/doc/common|doc/$PRGNAM-$VERSION|" \
+ {app,doc}/CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TCL=ON \
+ -DBUILD_PYTHON=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make -j1
+ make -j1 progdoc
+ 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
@@ -93,7 +111,6 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING README.* INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -101,4 +118,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/simulavr/simulavr.info b/development/simulavr/simulavr.info
index 69829bd8c9..be7db6fac6 100644
--- a/development/simulavr/simulavr.info
+++ b/development/simulavr/simulavr.info
@@ -1,10 +1,10 @@
PRGNAM="simulavr"
-VERSION="git20170521"
+VERSION="20201006_32985f7"
HOMEPAGE="http://www.nongnu.org/simulavr/"
-DOWNLOAD="https://www.dropbox.com/s/49s2wypi31a62mc/simulavr-git20170521.tar.gz"
-MD5SUM="a4352148372dad2358aceed27d81de93"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/simulavr-20201006_32985f7.tar.xz"
+MD5SUM="a19d3f65e20ffdf03298d49d29cc6606"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="avr-gcc avr-libc"
+REQUIRES="avr-libc"
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"
diff --git a/development/slibtool/README b/development/slibtool/README
index de43a122ff..6cf32a6c9b 100644
--- a/development/slibtool/README
+++ b/development/slibtool/README
@@ -1,17 +1,18 @@
slibtool is an independent reimplementation of the widely used libtool,
written in C. slibtool is designed to be a clean, fast, easy-to-use.
-slibtool maintains compatibility with libtool in nearly every aspect of
-the tool's functionality as well as semantics, leaving out (or turning
-into a no-op) only a small number of features that are no longer needed
-on modern systems.
+slibtool maintains compatibility with libtool in nearly every aspect
+of the tool's functionality as well as semantics, leaving out (or
+turning into a no-op) only a small number of features that are no
+longer needed on modern systems.
This does not conflict with GNU libtool included with Slackware.
To use slibtool instead of libtool export this to your environment.
export MAKEFLAGS='LIBTOOL=rlibtool'
-This symlink should work in most cases by parsing the generated libtool
-to determine if shared libraries and / or static archives will be built.
+This symlink should work in most cases by parsing the generated
+libtool to determine if shared libraries and / or static archives
+will be built.
To force building both shared libraries and static archives:
export MAKEFLAGS='LIBTOOL=slibtool'
diff --git a/development/slibtool/slibtool.SlackBuild b/development/slibtool/slibtool.SlackBuild
index 5c9766dac4..3ec05e72a9 100644
--- a/development/slibtool/slibtool.SlackBuild
+++ b/development/slibtool/slibtool.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for slibtool
-# Copyright 2017-2018, 2020 Hunter Sezen California, USA
+# Copyright 2017-2018, 2020-2021 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=slibtool
-VERSION=${VERSION:-0.5.31}
+VERSION=${VERSION:-0.5.33}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -102,4 +112,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/slibtool/slibtool.info b/development/slibtool/slibtool.info
index 252142bdee..fe4bd36888 100644
--- a/development/slibtool/slibtool.info
+++ b/development/slibtool/slibtool.info
@@ -1,8 +1,8 @@
PRGNAM="slibtool"
-VERSION="0.5.31"
+VERSION="0.5.33"
HOMEPAGE="https://git.foss21.org/slibtool"
-DOWNLOAD="https://dl.foss21.org/slibtool/slibtool-0.5.31.tar.xz"
-MD5SUM="c420a3f5a34ae777777b2b18ed221f4f"
+DOWNLOAD="https://dl.foss21.org/slibtool/slibtool-0.5.33.tar.xz"
+MD5SUM="aa8e3343b5beac879fe063d9dc9f8773"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/sloccount/sloccount.SlackBuild b/development/sloccount/sloccount.SlackBuild
index 089d05cb3d..84f7afb37d 100644
--- a/development/sloccount/sloccount.SlackBuild
+++ b/development/sloccount/sloccount.SlackBuild
@@ -1,14 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SLOCcount
-# Written by Aleksandar B. Samardzic <asamardzic@math.rs>
+
+# Copyright 2010-2021 Heinz Wiesinger, Amsterdam, The Netherlands
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Originally written by Aleksandar B. Samardzic <asamardzic@math.rs>
# Modified by the SlackBuilds.org project
-# Updated for Slackware 13.0 by Heinz Wiesinger <pprkut@liwjatan.at>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sloccount
VERSION=${VERSION:-2.26}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,10 +99,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cp -a COPYING SOURCES $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* $PKG/usr/man/man*/*
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sloccount/sloccount.info b/development/sloccount/sloccount.info
index 2e70d7b1b3..a4c9f3c48d 100644
--- a/development/sloccount/sloccount.info
+++ b/development/sloccount/sloccount.info
@@ -1,10 +1,10 @@
PRGNAM="sloccount"
VERSION="2.26"
-HOMEPAGE="https://www.dwheeler.com/sloccount/"
-DOWNLOAD="https://www.dwheeler.com/sloccount/sloccount-2.26.tar.gz"
+HOMEPAGE="https://dwheeler.com/sloccount/"
+DOWNLOAD="https://dwheeler.com/sloccount/sloccount-2.26.tar.gz"
MD5SUM="09abd6e2a016ebaf7552068a1dba1249"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/development/smalltalk/smalltalk.SlackBuild b/development/smalltalk/smalltalk.SlackBuild
index 294d2fdce7..551d5d48cf 100644
--- a/development/smalltalk/smalltalk.SlackBuild
+++ b/development/smalltalk/smalltalk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for smalltalk
# Originally by Jockey S. Kyd (jockey dot kyd at gmail dot com)
@@ -23,10 +23,13 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=smalltalk
VERSION=${VERSION:-3.2.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -96,8 +106,10 @@ cp -a AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README THANKS TODO \
$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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/smartgit/smartgit.SlackBuild b/development/smartgit/smartgit.SlackBuild
index c621bcb07a..71913051e9 100644
--- a/development/smartgit/smartgit.SlackBuild
+++ b/development/smartgit/smartgit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for SmartGit
# Copyright 2014 Miguel De Anda
@@ -21,13 +21,23 @@
# 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="smartgit"
VERSION=${VERSION:-7.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -71,4 +81,4 @@ cd $PKG/usr/bin
ln -s ../share/$PRGNAM/bin/$PRGNAM.sh $PRGNAM
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/smartgit/smartgit.info b/development/smartgit/smartgit.info
index 85b440fde2..6fa5a8ff74 100644
--- a/development/smartgit/smartgit.info
+++ b/development/smartgit/smartgit.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/smartgit-generic-7_0_3.tar.gz"
MD5SUM="a33819ab59229049d5b847d78b72c0c0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Miguel De Anda"
EMAIL="miguel@thedeanda.com"
diff --git a/development/smartsvn/smartsvn.SlackBuild b/development/smartsvn/smartsvn.SlackBuild
index bfd8feca90..54b0b426a3 100644
--- a/development/smartsvn/smartsvn.SlackBuild
+++ b/development/smartsvn/smartsvn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for SmartSvn
# Copyright 2014 Miguel De Anda
@@ -21,14 +21,24 @@
# 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="smartsvn"
VERSION=${VERSION:-9.0.5}
SRCVER=$(echo $VERSION | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -71,4 +81,4 @@ cd $PKG/usr/bin
ln -s ../share/$PRGNAM/bin/$PRGNAM.sh $PRGNAM
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/smartsvn/smartsvn.info b/development/smartsvn/smartsvn.info
index fb155e2c3a..9ab9eff7fb 100644
--- a/development/smartsvn/smartsvn.info
+++ b/development/smartsvn/smartsvn.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://www.smartsvn.com/downloads/smartsvn/archive/smartsvn-linux-9_0
MD5SUM="639222a333cb032be86d09b689102965"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Miguel De Anda"
EMAIL="miguel@thedeanda.com"
diff --git a/development/smlnj/smlnj.SlackBuild b/development/smlnj/smlnj.SlackBuild
index 47fb29b123..f1c4a612b8 100644
--- a/development/smlnj/smlnj.SlackBuild
+++ b/development/smlnj/smlnj.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for smlnj
@@ -22,26 +22,36 @@
# 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=smlnj
VERSION=${VERSION:-110.79}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -92,4 +102,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/smlnj/smlnj.info b/development/smlnj/smlnj.info
index 921f018319..3b008b153d 100644
--- a/development/smlnj/smlnj.info
+++ b/development/smlnj/smlnj.info
@@ -9,6 +9,7 @@ DOWNLOAD="http://smlnj.cs.uchicago.edu/dist/working/110.79/boot.x86-unix.tgz \
http://smlnj.cs.uchicago.edu/dist/working/110.79/system.tgz \
http://smlnj.cs.uchicago.edu/dist/working/110.79/MLRISC.tgz \
http://smlnj.cs.uchicago.edu/dist/working/110.79/smlnj-lib.tgz \
+ http://smlnj.cs.uchicago.edu/dist/working/110.79/old-basis.tgz \
http://smlnj.cs.uchicago.edu/dist/working/110.79/ckit.tgz \
http://smlnj.cs.uchicago.edu/dist/working/110.79/nlffi.tgz \
http://smlnj.cs.uchicago.edu/dist/working/110.79/cml.tgz \
@@ -30,6 +31,7 @@ MD5SUM="eae97476343f2920b4d6b1bec6b4c160 \
31522c0f5cb4bb20f1ef3244b176d530 \
b77ee764a928886b7ed0f9f15b638386 \
3b88bdae1540471ff0331b66d3d48db9 \
+ ff2e69683b94cdbda6fd8ebea4df1346 \
887f9331e306326438c756860037177a \
13b377b3302ec366f960b447545f6981 \
9ba759cacbe6375409474afbf216fa64 \
diff --git a/development/snack/snack.SlackBuild b/development/snack/snack.SlackBuild
index 560490509c..2a12cf82f0 100644
--- a/development/snack/snack.SlackBuild
+++ b/development/snack/snack.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Snack
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=snack
VERSION=${VERSION:-2.2.10}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -87,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/snappy/snappy.SlackBuild b/development/snappy/snappy.SlackBuild
index dfdae90c56..36dc4c7a2f 100644
--- a/development/snappy/snappy.SlackBuild
+++ b/development/snappy/snappy.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Snappy
# Written by Mário Antunes (mariolpantunes@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=snappy
VERSION=${VERSION:-1.1.8}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
fi
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/snappy/snappy.info b/development/snappy/snappy.info
index 0452162f11..54ddf0655e 100644
--- a/development/snappy/snappy.info
+++ b/development/snappy/snappy.info
@@ -6,5 +6,5 @@ MD5SUM="70e48cba7fecf289153d009791c9977f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Mrio Antunes"
+MAINTAINER="Mário Antunes"
EMAIL="mariolpantunes@gmail.com"
diff --git a/development/sonarqube/README b/development/sonarqube/README
index 47c10a8d4e..7ef6bb37f1 100644
--- a/development/sonarqube/README
+++ b/development/sonarqube/README
@@ -1,26 +1,3 @@
SonarQube software (previously called Sonar) is an open source quality
management platform, dedicated to continuously analyze and measure
technical quality, from project portfolio to method.
-
-To create the MariaDB SonarQube database run:
-
-CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
-CREATE USER 'sonar' IDENTIFIED BY 'sonar';
-GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar';
-GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar';
-FLUSH PRIVILEGES;
-
-Then start the service
- /etc/rc.d/rc.sonarqube start
-
-Then point your browser to
- http://localhost:9000/sonarqube/
-
-Then login as:
- user: admin
- password: admin
-
-This requires a "sonar" user and group.
- groupadd -g 287 sonar
- useradd -g 287 -u 287 -r -c 'SonarQube user' \
- -s /bin/bash -d /usr/share/sonarqube sonar
diff --git a/development/sonarqube/README.SBo b/development/sonarqube/README.SBo
new file mode 100644
index 0000000000..881b8f4d29
--- /dev/null
+++ b/development/sonarqube/README.SBo
@@ -0,0 +1,61 @@
+README.SBo
+
+This package requires a "sonar" user and group:
+
+ # groupadd -g 287 sonar
+ # useradd -g 287 -u 287 -r -c 'SonarQube user' \
+ -s /bin/bash -d /usr/share/sonarqube sonar
+
+Now start the SonarQube service
+
+ # /etc/rc.d/rc.sonarqube start
+
+And point your browser to
+ http://localhost:9000/sonarqube/
+
+You can login as:
+ user: admin
+ password: admin
+
+Please read the documentation for more information:
+
+ https://docs.sonarsource.com/sonarqube/latest/
+
+The database postgresql (version 14.x or 15.x) is an optional package,
+but highly recommended.
+To create the PostgreSQL SonarQube database:
+
+ 1. init the database
+
+ # su postgres -c \\
+ "initdb -D /var/lib/pgsql/14/data --locale=en_US.UTF-8 -A md5 -W"
+
+ 2. add sonar user and database
+
+ # su - postgres
+ # psql
+ > create user sonar;
+ > ALTER USER sonar WITH ENCRYPTED password '**secret**';
+ > create database sonarqube;
+ > GRANT ALL PRIVILEGES ON DATABASE sonarqube TO sonar;
+ > \q
+ # exit
+
+ 3. to configure SonarQube to use PostgreSQL, edit the file
+ /etc/sonarqube/sonar.properties adding
+
+ sonar.jdbc.username=sonar
+ sonar.jdbc.password=**secret**
+ sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube
+
+ Note: Replace '**secret**' with the password you set in step 2.
+
+Finally check the file descriptors and virtual memory defined in
+/etc/security/limits.conf because you probably need to add
+
+ sonar - as unlimited
+ sonar soft nofile 655535
+
+and run
+
+ # sysctl vm.max_map_count=262144
diff --git a/development/sonarqube/doinst.sh b/development/sonarqube/doinst.sh
index 79a4ddfee7..abcbf87a20 100644
--- a/development/sonarqube/doinst.sh
+++ b/development/sonarqube/doinst.sh
@@ -20,6 +20,4 @@ preserve_perms() {
}
preserve_perms etc/rc.d/rc.sonarqube.new
-config usr/share/sonarqube/conf/sonar.properties.new
-config usr/share/sonarqube/conf/wrapper.conf.new
-
+config etc/sonarqube/sonar.properties.new
diff --git a/development/sonarqube/rc.sonarqube b/development/sonarqube/rc.sonarqube
index fa31ee7ecc..63b82f486c 100644..100755
--- a/development/sonarqube/rc.sonarqube
+++ b/development/sonarqube/rc.sonarqube
@@ -1,562 +1,42 @@
-#! /bin/sh
+#!/bin/sh
-#
-# Copyright (c) 1999, 2006 Tanuki Software Inc.
-#
-# Java Service Wrapper sh script. Suitable for starting and stopping
-# wrapped Java applications on UNIX platforms.
-#
-
-#-----------------------------------------------------------------------------
-# These settings can be modified to fit the needs of your application
-
-# Default values for the Application variables, below.
-#
-# NOTE: The build for specific applications may override this during the resource-copying
-# phase, to fill in a concrete name and avoid the use of the defaults specified here.
-DEF_APP_NAME="SonarQube"
-DEF_APP_LONG_NAME="SonarQube"
-
-# Application
-APP_NAME="${DEF_APP_NAME}"
-APP_LONG_NAME="${DEF_APP_LONG_NAME}"
-
-# Wrapper
-WRAPPER_CMD="./wrapper"
-WRAPPER_CONF="/etc/sonarqube/wrapper.conf"
-
-# Priority at which to run the wrapper. See "man nice" for valid priorities.
-# nice is only used if a priority is specified.
-PRIORITY=
-
-# Location of the pid file.
PIDDIR="/var/run/sonarqube"
-
-# If uncommented, causes the Wrapper to be shutdown using an anchor file.
-# When launched with the 'start' command, it will also ignore all INT and
-# TERM signals.
-#IGNORE_SIGNALS=true
-
-# If specified, the Wrapper will be run as the specified user.
-# IMPORTANT - Make sure that the user has the required privileges to write
-# the PID file and wrapper.log files. Failure to be able to write the log
-# file will cause the Wrapper to exit without any way to write out an error
-# message.
-# NOTE - This will set the user which is used to run the Wrapper as well as
-# the JVM and is not useful in situations where a privileged resource or
-# port needs to be allocated prior to the user being changed.
-RUN_AS_USER=sonar
-
-# The following two lines are used by the chkconfig command. Change as is
-# appropriate for your application. They should remain commented.
-# chkconfig: 2345 20 80
-# description: Test Wrapper Sample Application
-
-# Do not modify anything beyond this point
-#-----------------------------------------------------------------------------
-
-# Get the fully qualified path to the script
-case $0 in
- /*)
- SCRIPT="$0"
- ;;
- *)
- PWD=`pwd`
- SCRIPT="$PWD/$0"
- ;;
-esac
-
-# Resolve the true real path without any sym links.
-CHANGED=true
-while [ "X$CHANGED" != "X" ]
-do
- # Change spaces to ":" so the tokens can be parsed.
- SAFESCRIPT=`echo $SCRIPT | sed -e 's; ;:;g'`
- # Get the real path to this script, resolving any symbolic links
- TOKENS=`echo $SAFESCRIPT | sed -e 's;/; ;g'`
- REALPATH=
- for C in $TOKENS; do
- # Change any ":" in the token back to a space.
- C=`echo $C | sed -e 's;:; ;g'`
- REALPATH="$REALPATH/$C"
- # If REALPATH is a sym link, resolve it. Loop for nested links.
- while [ -h "$REALPATH" ] ; do
- LS="`ls -ld "$REALPATH"`"
- LINK="`expr "$LS" : '.*-> \(.*\)$'`"
- if expr "$LINK" : '/.*' > /dev/null; then
- # LINK is absolute.
- REALPATH="$LINK"
- else
- # LINK is relative.
- REALPATH="`dirname "$REALPATH"`""/$LINK"
- fi
- done
- done
-
- if [ "$REALPATH" = "$SCRIPT" ]
- then
- CHANGED=""
- else
- SCRIPT="$REALPATH"
- fi
-done
-
-# Change the current directory to the location of the script
-cd "`dirname "$REALPATH"`"
-REALDIR=`pwd`
-
-# If the PIDDIR is relative, set its value relative to the full REALPATH to avoid problems if
-# the working directory is later changed.
-FIRST_CHAR=`echo $PIDDIR | cut -c1,1`
-if [ "$FIRST_CHAR" != "/" ]
-then
- PIDDIR=$REALDIR/$PIDDIR
-fi
-# Same test for WRAPPER_CMD
-FIRST_CHAR=`echo $WRAPPER_CMD | cut -c1,1`
-if [ "$FIRST_CHAR" != "/" ]
-then
- WRAPPER_CMD=$REALDIR/$WRAPPER_CMD
-fi
-# Same test for WRAPPER_CONF
-FIRST_CHAR=`echo $WRAPPER_CONF | cut -c1,1`
-if [ "$FIRST_CHAR" != "/" ]
-then
- WRAPPER_CONF=$REALDIR/$WRAPPER_CONF
-fi
-
-# Process ID
-ANCHORFILE="$PIDDIR/$APP_NAME.anchor"
-PIDFILE="$PIDDIR/$APP_NAME.pid"
-LOCKDIR="/var/lock/subsys"
-LOCKFILE="$LOCKDIR/$APP_NAME"
-pid=""
-
-# Resolve the location of the 'ps' command
-PSEXE="/usr/bin/ps"
-if [ ! -x "$PSEXE" ]
-then
- PSEXE="/bin/ps"
- if [ ! -x "$PSEXE" ]
- then
- echo "Unable to locate 'ps'."
- echo "Please report this message along with the location of the command on your system."
- exit 1
- fi
-fi
-
-# Resolve the os
-DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]`
-case "$DIST_OS" in
- 'sunos')
- DIST_OS="solaris"
- ;;
- 'hp-ux' | 'hp-ux64')
- DIST_OS="hpux"
- ;;
- 'darwin')
- DIST_OS="macosx"
- ;;
- 'unix_sv')
- DIST_OS="unixware"
- ;;
-esac
-
-# Resolve the architecture
-DIST_ARCH=`uname -p | tr [:upper:] [:lower:] | tr -d [:blank:]`
-if [ "$DIST_ARCH" = "unknown" ]
-then
- DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
-fi
-case "$DIST_ARCH" in
- 'amd64' | 'athlon' | 'ia32' | 'ia64' | 'i386' | 'i486' | 'i586' | 'i686' | 'x86_64')
- DIST_ARCH="x86"
- ;;
- 'ip27')
- DIST_ARCH="mips"
- ;;
- 'power' | 'powerpc' | 'power_pc' | 'ppc64')
- DIST_ARCH="ppc"
- ;;
- 'pa_risc' | 'pa-risc')
- DIST_ARCH="parisc"
- ;;
- 'sun4u' | 'sparcv9')
- DIST_ARCH="sparc"
- ;;
- '9000/800')
- DIST_ARCH="parisc"
- ;;
-esac
-
-outputFile() {
- if [ -f "$1" ]
- then
- echo " $1 (Found but not executable.)";
- else
- echo " $1"
- fi
-}
-
-# Decide on the wrapper binary to use.
-# If a 32-bit wrapper binary exists then it will work on 32 or 64 bit
-# platforms, if the 64-bit binary exists then the distribution most
-# likely wants to use long names. Otherwise, look for the default.
-# For macosx, we also want to look for universal binaries.
-WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-32"
-if [ -x "$WRAPPER_TEST_CMD" ]
-then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
-else
- if [ "$DIST_OS" = "macosx" ]
- then
- WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-universal-32"
- if [ -x "$WRAPPER_TEST_CMD" ]
- then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
- else
- WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-64"
- if [ -x "$WRAPPER_TEST_CMD" ]
- then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
- else
- WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-universal-64"
- if [ -x "$WRAPPER_TEST_CMD" ]
- then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
- else
- if [ ! -x "$WRAPPER_CMD" ]
- then
- echo "Unable to locate any of the following binaries:"
- outputFile "$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-32"
- outputFile "$WRAPPER_CMD-$DIST_OS-universal-32"
- outputFile "$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-64"
- outputFile "$WRAPPER_CMD-$DIST_OS-universal-64"
- outputFile "$WRAPPER_CMD"
- exit 1
- fi
- fi
- fi
- fi
- else
- WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-64"
- if [ -x "$WRAPPER_TEST_CMD" ]
- then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
- else
- if [ ! -x "$WRAPPER_CMD" ]
- then
- echo "Unable to locate any of the following binaries:"
- outputFile "$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-32"
- outputFile "$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-64"
- outputFile "$WRAPPER_CMD"
- exit 1
- fi
- fi
- fi
-fi
-
-# Build the nice clause
-if [ "X$PRIORITY" = "X" ]
-then
- CMDNICE=""
-else
- CMDNICE="nice -$PRIORITY"
-fi
-
-# Build the anchor file clause.
-if [ "X$IGNORE_SIGNALS" = "X" ]
-then
- ANCHORPROP=
- IGNOREPROP=
-else
- ANCHORPROP=wrapper.anchorfile=\"$ANCHORFILE\"
- IGNOREPROP=wrapper.ignore_signals=TRUE
-fi
-
-# Build the lock file clause. Only create a lock file if the lock directory exists on this platform.
-LOCKPROP=
-if [ -d $LOCKDIR ]
-then
- if [ -w $LOCKDIR ]
- then
- LOCKPROP=wrapper.lockfile=\"$LOCKFILE\"
- fi
-fi
-
-checkUser() {
- # $1 touchLock flag
- # $2 command
-
- # Check the configured user. If necessary rerun this script as the desired user.
- if [ "X$RUN_AS_USER" != "X" ]
- then
- # Resolve the location of the 'id' command
- IDEXE="/usr/xpg4/bin/id"
- if [ ! -x "$IDEXE" ]
- then
- IDEXE="/usr/bin/id"
- if [ ! -x "$IDEXE" ]
- then
- echo "Unable to locate 'id'."
- echo "Please report this message along with the location of the command on your system."
- exit 1
- fi
- fi
-
- if [ "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
- then
- # Already running as the configured user. Avoid password prompts by not calling su.
- RUN_AS_USER=""
- fi
- fi
- if [ "X$RUN_AS_USER" != "X" ]
- then
- # If LOCKPROP and $RUN_AS_USER are defined then the new user will most likely not be
- # able to create the lock file. The Wrapper will be able to update this file once it
- # is created but will not be able to delete it on shutdown. If $2 is defined then
- # the lock file should be created for the current command
- if [ "X$LOCKPROP" != "X" ]
- then
- if [ "X$1" != "X" ]
- then
- # Resolve the primary group
- RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
- if [ "X$RUN_AS_GROUP" = "X" ]
- then
- RUN_AS_GROUP=$RUN_AS_USER
- fi
- touch $LOCKFILE
- chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE
- fi
- fi
-
- # Still want to change users, recurse. This means that the user will only be
- # prompted for a password once. Variables shifted by 1
- su -m $RUN_AS_USER -c "\"$REALPATH\" $2"
- RETVAL=$?
-
- # Now that we are the original user again, we may need to clean up the lock file.
- if [ "X$LOCKPROP" != "X" ]
- then
- getpid
- if [ "X$pid" = "X" ]
- then
- # Wrapper is not running so make sure the lock file is deleted.
- if [ -f "$LOCKFILE" ]
- then
- rm "$LOCKFILE"
- fi
- fi
- fi
-
- exit $RETVAL
- fi
-}
-
-getpid() {
- if [ -f "$PIDFILE" ]
- then
- if [ -r "$PIDFILE" ]
- then
- pid=`cat "$PIDFILE"`
- if [ "X$pid" != "X" ]
- then
- # It is possible that 'a' process with the pid exists but that it is not the
- # correct process. This can happen in a number of cases, but the most
- # common is during system startup after an unclean shutdown.
- # The ps statement below looks for the specific wrapper command running as
- # the pid. If it is not found then the pid file is considered to be stale.
- pidtest=`$PSEXE -p $pid -o args | grep "$WRAPPER_CMD" | tail -1`
- if [ "X$pidtest" = "X" ]
- then
- # This is a stale pid file.
- rm -f "$PIDFILE"
- echo "Removed stale pid file: $PIDFILE"
- pid=""
- fi
- fi
- else
- echo "Cannot read $PIDFILE."
- exit 1
- fi
- fi
-}
-
-testpid() {
- pid=`$PSEXE -p $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1`
- if [ "X$pid" = "X" ]
- then
- # Process is gone so remove the pid file.
- rm -f "$PIDFILE"
- pid=""
- fi
-}
-
-console() {
- echo "Running $APP_LONG_NAME..."
- getpid
- if [ "X$pid" = "X" ]
- then
- # The string passed to eval must handles spaces in paths correctly.
- COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\" wrapper.syslog.ident=$APP_NAME wrapper.pidfile=\"$PIDFILE\" $ANCHORPROP $LOCKPROP"
- eval $COMMAND_LINE
- else
- echo "$APP_LONG_NAME is already running."
- exit 1
- fi
-}
-
-start() {
- echo "Starting $APP_LONG_NAME..."
- getpid
- if [ "X$pid" = "X" ]
- then
- # The string passed to eval must handles spaces in paths correctly.
- COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\" wrapper.syslog.ident=$APP_NAME wrapper.pidfile=\"$PIDFILE\" wrapper.daemonize=TRUE $ANCHORPROP $IGNOREPROP $LOCKPROP"
- eval $COMMAND_LINE
- else
- echo "$APP_LONG_NAME is already running."
- exit 1
- fi
- getpid
- if [ "X$pid" != "X" ]
- then
- echo "Started $APP_LONG_NAME."
- else
- echo "Failed to start $APP_LONG_NAME."
- fi
-}
-
-stopit() {
- echo "Stopping $APP_LONG_NAME..."
- getpid
- if [ "X$pid" = "X" ]
- then
- echo "$APP_LONG_NAME was not running."
- else
- if [ "X$IGNORE_SIGNALS" = "X" ]
- then
- # Running so try to stop it.
- kill $pid
- if [ $? -ne 0 ]
- then
- # An explanation for the failure should have been given
- echo "Unable to stop $APP_LONG_NAME."
- exit 1
- fi
- else
- rm -f "$ANCHORFILE"
- if [ -f "$ANCHORFILE" ]
- then
- # An explanation for the failure should have been given
- echo "Unable to stop $APP_LONG_NAME."
- exit 1
- fi
- fi
-
- # We can not predict how long it will take for the wrapper to
- # actually stop as it depends on settings in wrapper.conf.
- # Loop until it does.
- savepid=$pid
- CNT=0
- TOTCNT=0
- while [ "X$pid" != "X" ]
- do
- # Show a waiting message every 5 seconds.
- if [ "$CNT" -lt "5" ]
- then
- CNT=`expr $CNT + 1`
- else
- echo "Waiting for $APP_LONG_NAME to exit..."
- CNT=0
- fi
- TOTCNT=`expr $TOTCNT + 1`
-
- sleep 1
-
- testpid
- done
-
- pid=$savepid
- testpid
- if [ "X$pid" != "X" ]
- then
- echo "Failed to stop $APP_LONG_NAME."
- exit 1
- else
- echo "Stopped $APP_LONG_NAME."
- fi
- fi
-}
-
-status() {
- getpid
- if [ "X$pid" = "X" ]
- then
- echo "$APP_LONG_NAME is not running."
- exit 1
- else
- echo "$APP_LONG_NAME is running ($pid)."
- exit 0
- fi
-}
-
-dump() {
- echo "Dumping $APP_LONG_NAME..."
- getpid
- if [ "X$pid" = "X" ]
- then
- echo "$APP_LONG_NAME was not running."
-
- else
- kill -3 $pid
-
- if [ $? -ne 0 ]
- then
- echo "Failed to dump $APP_LONG_NAME."
- exit 1
- else
- echo "Dumped $APP_LONG_NAME."
- fi
- fi
-}
+RUNAS="sonar"
+SCRIPT="/sbin/sonar.sh"
+export SONAR_JAVA_PATH="/usr/lib64/java/bin/java"
case "$1" in
'console')
- checkUser touchlock $1
- console
+ su ${RUNAS} -c "PIDDIR=${PIDDIR} ${SCRIPT} $*"
;;
'start')
- checkUser touchlock $1
- start
+ su ${RUNAS} -c "PIDDIR=${PIDDIR} ${SCRIPT} $*"
;;
'stop')
- checkUser "" $1
- stopit
+ su ${RUNAS} -c "PIDDIR=${PIDDIR} ${SCRIPT} $*"
+ ;;
+
+ 'force-stop')
+ su ${RUNAS} -c "PIDDIR=${PIDDIR} ${SCRIPT} $*"
;;
'restart')
- checkUser touchlock $1
- stopit
- start
+ su ${RUNAS} -c "PIDDIR=${PIDDIR} ${SCRIPT} $*"
;;
'status')
- checkUser "" $1
- status
+ su ${RUNAS} -c "PIDDIR=${PIDDIR} ${SCRIPT} $*"
;;
'dump')
- checkUser "" $1
- dump
+ su ${RUNAS} -c "PIDDIR=${PIDDIR} ${SCRIPT} $*"
;;
*)
- echo "Usage: $0 { console | start | stop | restart | status | dump }"
+ echo "Usage: $0 { console | start | stop | force-stop | restart | status | dump }"
exit 1
;;
esac
diff --git a/development/sonarqube/slack-desc b/development/sonarqube/slack-desc
index e6a7dcdfe9..724d6cf6f8 100644
--- a/development/sonarqube/slack-desc
+++ b/development/sonarqube/slack-desc
@@ -14,6 +14,6 @@ sonarqube: measure technical quality, from project portfolio to method.
sonarqube:
sonarqube:
sonarqube:
-sonarqube: Homepage: http://www.sonarqube.org/
+sonarqube: Homepage: https://www.sonarqube.org/
sonarqube:
sonarqube:
diff --git a/development/sonarqube/sonarqube.SlackBuild b/development/sonarqube/sonarqube.SlackBuild
index ce82883824..ec5ff4f08a 100644
--- a/development/sonarqube/sonarqube.SlackBuild
+++ b/development/sonarqube/sonarqube.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sonarqube
-# Copyright 2016 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2023 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +21,13 @@
# 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=sonarqube
-VERSION=${VERSION:-5.6.1}
+VERSION=${VERSION:-10.3.0.82913}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
bailout() {
printf "\nThis requires a \"sonar\" user and group.\n"
@@ -41,32 +44,27 @@ fi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
- BINDIR="linux-x86-32"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- BINDIR="linux-x86-32"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BINDIR="linux-x86-64"
-else
- SLKCFLAGS="-O2"
- BINDIR=""
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
fi
set -e
@@ -78,37 +76,35 @@ cd $TMP
unzip $CWD/$PRGNAM-$VERSION.zip
mkdir -p $PKG/usr/share/$PRGNAM
-mkdir -p $PKG/var/{log,run,tmp}/$PRGNAM
-mkdir -p $PKG/etc/rc.d
+mkdir -p $PKG/var/{log,run,tmp,lib}/$PRGNAM
+mkdir -p $PKG/etc/{$PRGNAM,rc.d}
mv $TMP/$PRGNAM-$VERSION/* $PKG/usr/share/$PRGNAM/
# expose the configuration file under /etc
-mv $PKG/usr/share/$PRGNAM/conf/sonar.properties{,.new}
-mv $PKG/usr/share/$PRGNAM/conf/wrapper.conf{,.new}
-cd $PKG/etc
-ln -sf ../usr/share/$PRGNAM/conf $PRGNAM
-
-sed -i "s_sonar.jdbc.url=jdbc:h2:_#sonar.jdbc.url=jdbc:h2:_g" $PKG/usr/share/$PRGNAM/conf/sonar.properties.new
-sed -i "s_#sonar.jdbc.url=jdbc:mysql:_sonar.jdbc.url=jdbc:mysql:_g" $PKG/usr/share/$PRGNAM/conf/sonar.properties.new
-sed -i "s_#sonar.web.context=_sonar.web.context=/sonarqube_g" $PKG/usr/share/$PRGNAM/conf/sonar.properties.new
-sed -i "s_wrapper.java.command=java_wrapper.java.command=/usr/lib${LIBDIRSUFFIX}/java/bin/java_g" $PKG/usr/share/$PRGNAM/conf/wrapper.conf.new
-
-chown -R sonar:sonar $PKG/usr/share/$PRGNAM
-chown -R sonar:sonar $PKG/var/{log,run,tmp}/$PRGNAM
+mv $PKG/usr/share/$PRGNAM/conf/sonar.properties $PKG/etc/$PRGNAM/sonar.properties.new
+rm -rf $PKG/usr/share/$PRGNAM/conf
+rm -rf $PKG/usr/share/$PRGNAM/data
rm -rf $PKG/usr/share/$PRGNAM/logs
rm -rf $PKG/usr/share/$PRGNAM/temp
cd $PKG/usr/share/$PRGNAM
+ln -fs ../../../etc/$PRGNAM conf
+ln -fs ../../../var/lib/$PRGNAM data
ln -fs ../../../var/log/$PRGNAM logs
ln -fs ../../../var/tmp/$PRGNAM temp
# remove the executables for the others platforms
cd $PKG/usr/share/$PRGNAM/bin
-find . -type d -not -name ${BINDIR} -not -name "." -not -name "lib" | xargs rm -rf
+find . -type d -not -name "linux-x86-64" -not -name "." -not -name "lib" | xargs rm -rf
+
+chown -R sonar:sonar $PKG/usr/share/$PRGNAM
+chown -R sonar:sonar $PKG/var/{log,run,tmp,lib}/$PRGNAM
-cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
-sed -i "s:WRAPPER_CMD=\"./wrapper\":WRAPPER_CMD=\"/usr/share/sonarqube/bin/${BINDIR}/wrapper\":g" $PKG/etc/rc.d/rc.$PRGNAM.new
+mkdir $PKG/sbin
+cd $PKG/sbin
+ln -fs ../usr/share/$PRGNAM/bin/${BINDIR}/sonar.sh sonar.sh
+cp $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -118,4 +114,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sonarqube/sonarqube.info b/development/sonarqube/sonarqube.info
index 473793c424..50890c3b19 100644
--- a/development/sonarqube/sonarqube.info
+++ b/development/sonarqube/sonarqube.info
@@ -1,10 +1,10 @@
PRGNAM="sonarqube"
-VERSION="5.6.1"
-HOMEPAGE="http://www.sonarqube.org"
-DOWNLOAD="https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-5.6.1.zip"
-MD5SUM="d8729bc92fdcd601661aa23885a7c6f7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
+VERSION="10.3.0.82913"
+HOMEPAGE="https://www.sonarsource.com"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10.3.0.82913.zip"
+MD5SUM_x86_64="1ead6982a8d565fde9b0571cc40d647b"
+REQUIRES="OpenJDK17"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/development/source-highlight/doinst.sh b/development/source-highlight/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/development/source-highlight/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/development/source-highlight/gcc11.patch b/development/source-highlight/gcc11.patch
new file mode 100644
index 0000000000..1e5b0dd8df
--- /dev/null
+++ b/development/source-highlight/gcc11.patch
@@ -0,0 +1,34 @@
+From 904949c9026cb772dc93fbe0947a252ef47127f4 Mon Sep 17 00:00:00 2001
+From: Tom Tromey <tom@tromey.com>
+Date: Wed, 10 Jun 2020 20:38:27 -0600
+Subject: Remove "throw" specifications
+
+diff --git a/lib/srchilite/fileutil.cc b/lib/srchilite/fileutil.cc
+index 59a6d64..963178c 100644
+--- a/lib/srchilite/fileutil.cc
++++ b/lib/srchilite/fileutil.cc
+@@ -48,7 +48,7 @@ void set_file_util_verbose(bool b) {
+ // FIXME avoid using a global variable
+ std::string start_path;
+
+-string readFile(const string &fileName) throw (IOException) {
++string readFile(const string &fileName) {
+ ifstream file(fileName.c_str());
+
+ if (!file.is_open()) {
+diff --git a/lib/srchilite/fileutil.h b/lib/srchilite/fileutil.h
+index 7335a9b..042eb56 100644
+--- a/lib/srchilite/fileutil.h
++++ b/lib/srchilite/fileutil.h
+@@ -27,7 +27,7 @@ extern std::string start_path;
+ * @return the contents of the file
+ * @throw IOException
+ */
+-string readFile(const string &fileName) throw (IOException);
++string readFile(const string &fileName);
+
+ //char *read_file(const string &fileName);
+
+--
+cgit v1.2.1
+
diff --git a/development/source-highlight/source-highlight.SlackBuild b/development/source-highlight/source-highlight.SlackBuild
index 80423eb3d1..7e7b3c8421 100644
--- a/development/source-highlight/source-highlight.SlackBuild
+++ b/development/source-highlight/source-highlight.SlackBuild
@@ -1,27 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for source-highlight
# Written by powtrix (@gmail.com)
+# 20230627 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove static library (nothing depended on it anyway).
+# - remove generic INSTALL instructions from doc dir.
+# - add doinst/douninst to handle /usr/info/dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=source-highlight
VERSION=${VERSION:-3.1.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -44,10 +56,13 @@ tar xzfv $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 555 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} +
+
+# thanks archlinux!
+patch -p1 < $CWD/gcc11.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -58,28 +73,28 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-shared \
--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
-
-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
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README THANKS TODO.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+rm -f $PKGDOC/INSTALL
+cp -a AUTHORS $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sourcenav/README b/development/sourcenav/README
deleted file mode 100644
index 9663c48374..0000000000
--- a/development/sourcenav/README
+++ /dev/null
@@ -1,12 +0,0 @@
-Source Navigator NG is a source code analysis tool. With it, you
-can edit your source code, display relationships between classes and
-functions and members, and display call trees.
-
-You can navigate your source code and easily get to declarations or
-implementations of functions, variables and macros (commonly called
-"symbols") which helps you discovering and mapping unknown source code
-for enhancement or maintenance tasks.
-
-source navigator NG is free software and released under the GPL
-v2. It is based upon the old source navigator and strives to improve
-usability and performance.
diff --git a/development/sourcenav/slack-desc b/development/sourcenav/slack-desc
deleted file mode 100644
index 5de4df46e6..0000000000
--- a/development/sourcenav/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------------------------------------------------------|
-sourcenav: sourcenav (source code analysis tool)
-sourcenav:
-sourcenav: This programs enables you to edit your source code, display
-sourcenav: relationships between classes and functions and members,
-sourcenav: and display call trees.
-sourcenav:
-sourcenav: It allows navigate your source code and easily get to declarations
-sourcenav: or implementations of functions, variables and macros (commonly
-sourcenav: called "symbols") which helps you discovering and mapping unknown
-sourcenav: source code for enhancement or maintenance tasks.
-sourcenav:
diff --git a/development/sourcenav/sn_logo.xpm b/development/sourcenav/sn_logo.xpm
deleted file mode 100644
index 3e120c531c..0000000000
--- a/development/sourcenav/sn_logo.xpm
+++ /dev/null
@@ -1,125 +0,0 @@
-/* XPM */
-static char *sn_logo[] = {
-/* columns rows colors chars-per-pixel */
-"55 55 64 1 ",
-" c #8CB1D8",
-". c #8CB2D8",
-"X c #8CB6D8",
-"o c #8CBAD8",
-"O c #8CBED8",
-"+ c #8CC2DA",
-"@ c #8CC6DA",
-"# c #8CC6DE",
-"$ c #8CCADE",
-"% c #8CCEDE",
-"& c #8CCEE2",
-"* c #8CD2E2",
-"= c #8ED2E2",
-"- c #92D2E6",
-"; c #96D6E6",
-": c #9AD6E6",
-"> c #9ED6E6",
-", c #9EDAE6",
-"< c #9EDAEA",
-"1 c #A2DAE6",
-"2 c #A2DAEA",
-"3 c #A6DAEA",
-"4 c #AADAEA",
-"5 c #A6DEEA",
-"6 c #AADEEA",
-"7 c #AEDEEA",
-"8 c #AEDEEE",
-"9 c #B2DEEA",
-"0 c #B2DEEE",
-"q c #B6DEEE",
-"w c #B2E2EE",
-"e c #B6E2EE",
-"r c #BAE2EE",
-"t c #BEE6EE",
-"y c #BEE6F2",
-"u c #C2E6F2",
-"i c #CAE6F2",
-"p c #C6EAF2",
-"a c #CAEAF2",
-"s c #CEEAF2",
-"d c #D2EAF2",
-"f c #D2EEF2",
-"g c #D2EEF6",
-"h c #D6EEF6",
-"j c #DAEEF6",
-"k c #DAF2F6",
-"l c #DEF2F6",
-"z c #E2F2F6",
-"x c #E2F2FA",
-"c c #E6F2FA",
-"v c #E6F6FA",
-"b c #EAF6FA",
-"n c #EEF6FA",
-"m c #EEFAFA",
-"M c #F2FAFA",
-"N c #F2FAFE",
-"B c #F6FAFE",
-"V c #FAFEFE",
-"C c #FEFEFE",
-"Z c white",
-"A c white",
-"S c white",
-"D c white",
-"F c None",
-/* pixels */
-" .",
-" ",
-" .Oo ",
-" X7vNnh# ",
-" .hCCCCCV= ",
-" 9CCCCCCCNo ",
-" BCCCCCCCC2 ",
-" oCCCCCCCCCi ",
-" .. oCCCCCCCCCt ",
-" =zCCl* bCCCCCCCC& @tllr+ ",
-" qCCCCCCq *CCCCCCCx. wCCCCCC> ",
-" &CCCCCCCV$ >CCCCClo :CCCCCCCV$ ",
-" dCCCCCCCCu +5ay&. .cCCCCCCCCg ",
-" .lCCCCCCCCl. +VCCCCCCCCB. ",
-" .lCCCCCCCCh +VCCCCCCCCC. ",
-" 8CCCCCCCC7 o. oNCCCCCCCCb. ",
-" ONCCCCCCvo +ibk$ gCCCCCCCC0 ",
-" $bCCCCv+ XvCCCNO +mCCCCCCxX ",
-" o2uu-X X$O $CCCCC6 .X @kVCCVfX ",
-" &NCVq %CCCCC4 &zmso .+&*+ ",
-" oBCCCC$omCCCV@OVCCCj. ",
-" &CCCCCy @vCn$ ;CCCCCX ",
-" @CCCCC< -CCCCB. ",
-" .aCCCNX onCCCr X%72@ ",
-" X:a4o o2w*. &nCCCVhO ",
-" .o $VCCCCCCvX ",
-" 1vnuo zCCCCCCCV3 ",
-" $VCCCt OCCCCCCCCCz ",
-" rCCCCbX $CCCCCCCCCbX ",
-" ;e2X 8CCCCz. @CCCCCCCCCz ",
-" 3CCCj. ONCCC, .mCCCCCCCCr ",
-" BCCCC# O0u# :CCCCCCCmo ",
-" VCCCC$ o57@ 5CCCCCn@ ",
-" 3CCCxX OnCCC: +6ha;X ",
-" =a,X 5CCCCc. ",
-" @sbl; 7CCCCn. ",
-" +nCCCV> &CCCCt ",
-" tCCCCCm ,bmp. o$&O ",
-" kCCCCCVo XX XrnCCVh# ",
-" rCCCCCm .hCCCCCCM$ ",
-" @mCCCB; 6CCCCCCCCb. ",
-" +gmz- XcCCCCCCCCC$ ",
-" owzmh& OBCCCCCCCCC2 ",
-" +vCCCCC0 oMCCCCCCCCC, ",
-" hCCCCCCC& .bCCCCCCCCC$ ",
-" +VCCCCCCCa 3CCCCCCCCb. ",
-" +CCCCCCCCz XsCCCCCCB+ ",
-" +CCCCCCCCd. X7NCCCf+ ",
-" XvCCCCCCC- o@#O. ",
-" &VCCCCChX ",
-" &xVVNt. ",
-" XOOo ",
-" ",
-" ",
-" "
-};
diff --git a/development/sourcenav/sourcenav.SlackBuild b/development/sourcenav/sourcenav.SlackBuild
deleted file mode 100644
index 6690fce454..0000000000
--- a/development/sourcenav/sourcenav.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sourcenavigator-NG
-
-# Copyright 2015, Henkjan Gersen, Bristol, UK
-# 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.
-
-PRGNAM=sourcenav
-FULL_PRGNAM=sourcenavigator-NG
-VERSION=${VERSION:-4.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 $FULL_PRGNAM$VERSION
-tar xvf $CWD/$FULL_PRGNAM$VERSION.tar.bz2
-cd $FULL_PRGNAM$VERSION
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
-
-make -j1
-make -j1 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
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/snavigator/html/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/snavigator/html
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-cp $CWD/sn_logo.xpm $PKG/usr/share/pixmaps
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/sourcenav/sourcenav.desktop b/development/sourcenav/sourcenav.desktop
deleted file mode 100644
index a60f4446d1..0000000000
--- a/development/sourcenav/sourcenav.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=sourcenav
-Comment=Source code analysis tool
-Exec=snavigator
-Icon=sn_logo
-Terminal=false
-Type=Application
-Categories=Development;
-StartupNotify=true
diff --git a/development/sourcenav/sourcenav.info b/development/sourcenav/sourcenav.info
deleted file mode 100644
index 664329c7f7..0000000000
--- a/development/sourcenav/sourcenav.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sourcenav"
-VERSION="4.5"
-HOMEPAGE="http://sourcenav.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/sourcenav/NG4.5/sourcenavigator-NG4.5.tar.bz2"
-MD5SUM="2be76f1e35b1b55630db9c8603473382"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Henkjan Gersen"
-EMAIL="h.gersen@gmail.com"
diff --git a/development/sphinx_rtd_theme/README b/development/sphinx_rtd_theme/README
deleted file mode 100644
index 6a3fd31701..0000000000
--- a/development/sphinx_rtd_theme/README
+++ /dev/null
@@ -1,5 +0,0 @@
-The sphinx_rtd_theme is a sphinx theme designed to look modern and
-be mobile-friendly. This theme is primary focused to be used on
-readthedocs.org but can work with your own sphinx projects.
-
-Python3 module will be built if python3 is installed.
diff --git a/development/sphinx_rtd_theme/slack-desc b/development/sphinx_rtd_theme/slack-desc
deleted file mode 100644
index 5b316eb641..0000000000
--- a/development/sphinx_rtd_theme/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-sphinx_rtd_theme: sphinx_rtd_theme (sphinx theme for readthedocs.org)
-sphinx_rtd_theme:
-sphinx_rtd_theme: The sphinx_rtd_theme is a sphinx theme designed to look modern and
-sphinx_rtd_theme: be mobile-friendly. This theme is primary focused to be used on
-sphinx_rtd_theme: readthedocs.org but can work with your own sphinx projects.
-sphinx_rtd_theme:
-sphinx_rtd_theme: Homepage: https://github.com/rtfd/sphinx_rtd_theme
-sphinx_rtd_theme:
-sphinx_rtd_theme:
-sphinx_rtd_theme:
-sphinx_rtd_theme:
diff --git a/development/sphinx_rtd_theme/sphinx_rtd_theme.SlackBuild b/development/sphinx_rtd_theme/sphinx_rtd_theme.SlackBuild
deleted file mode 100644
index 06eef84448..0000000000
--- a/development/sphinx_rtd_theme/sphinx_rtd_theme.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sphinx_rtd_theme
-
-# Copyright 2018 Andrzej Telszewski, Szczecin
-# 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.
-
-PRGNAM=sphinx_rtd_theme
-VERSION=${VERSION:-0.4.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-python setup.py install --root=$PKG
-
-if [ -x /usr/bin/python3 ]; then
- python3 setup.py install --root=$PKG
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Apache-License-2.0.txt LICENSE OFL-License.txt README.rst \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/sphinx_rtd_theme/sphinx_rtd_theme.info b/development/sphinx_rtd_theme/sphinx_rtd_theme.info
deleted file mode 100644
index 7275c4e44d..0000000000
--- a/development/sphinx_rtd_theme/sphinx_rtd_theme.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sphinx_rtd_theme"
-VERSION="0.4.2"
-HOMEPAGE="https://github.com/rtfd/sphinx_rtd_theme"
-DOWNLOAD="https://github.com/rtfd/sphinx_rtd_theme/archive/0.4.2/sphinx_rtd_theme-0.4.2.tar.gz"
-MD5SUM="6f18f674d10fa41de8907c86decfe8db"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
diff --git a/development/spice-protocol/spice-protocol.SlackBuild b/development/spice-protocol/spice-protocol.SlackBuild
index 1f7aa817c5..ba453a3202 100644
--- a/development/spice-protocol/spice-protocol.SlackBuild
+++ b/development/spice-protocol/spice-protocol.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spice-protocol
# Copyright 2013-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
@@ -21,27 +21,37 @@
# 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=spice-protocol
-VERSION=${VERSION:-0.12.15}
+VERSION=${VERSION:-0.14.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+DOCS="COPYING *.md"
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -50,11 +60,26 @@ 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 {} \;
-./configure \
- --prefix=/usr
-
-make
-make install DESTDIR=$PKG
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir meson-build
+cd meson-build
+meson setup \
+ --prefix=/usr \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --buildtype=release \
+ .. || exit 1
+ "${NINJA:=ninja}" || exit 1
+ DESTDIR=$PKG $NINJA install || exit 1
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -64,4 +89,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/spice-protocol/spice-protocol.info b/development/spice-protocol/spice-protocol.info
index 5dcc44acff..a051afbd94 100644
--- a/development/spice-protocol/spice-protocol.info
+++ b/development/spice-protocol/spice-protocol.info
@@ -1,8 +1,8 @@
PRGNAM="spice-protocol"
-VERSION="0.12.15"
+VERSION="0.14.4"
HOMEPAGE="https://www.spice-space.org"
-DOWNLOAD="https://www.spice-space.org/download/releases/spice-protocol-0.12.15.tar.bz2"
-MD5SUM="e1db63e3ff0cb1f1c98277283356dc51"
+DOWNLOAD="https://www.spice-space.org/download/releases/spice-protocol-0.14.4.tar.xz"
+MD5SUM="6c8e9b14ce9e6b6357dd5ebd05a1a331"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/spin/spin.SlackBuild b/development/spin/spin.SlackBuild
index 01f4cab9a1..ece2c19c6f 100644
--- a/development/spin/spin.SlackBuild
+++ b/development/spin/spin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spin
@@ -26,10 +26,13 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spin
VERSION=${VERSION:-6.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -101,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/spl/README b/development/spl/README
deleted file mode 100644
index d1071572dd..0000000000
--- a/development/spl/README
+++ /dev/null
@@ -1,22 +0,0 @@
-SPL is a powerful and feature-rich scripting language with hashes,
-regular expressions, objects, exceptions and a c-style syntax.
-
-The SPL VM is a pure bytecode interpeter. The entire SPL toolchain
-(compiler, assembler, virtual machine, etc) only requires about
-100k and the additional memory usage by the applications is also
-small. One of the more advanced VM features is the capability to
-dump the entire VM state to a file and resume later. It is even
-possible to resume on another machine with a different architecture.
-
-SPL has support for loadable modules. The spl package contains
-modules for databases (SQLite, Postgres, MySQL), XML (incl. XPATH
-and XSLT), Terminal and File IO, Web Application development
-(the CGI, WSF and W2T (Web 2.0 Toolkit) modules), SDL, Qt3, OpenGL
-and more.
-
-SPL can optionally be compiled with support for Postgres.
-
-The SlackBuild script will install Vim syntax highlighting for SPL,
-but it still must be activated in the user's .vimrc before it will
-activated. See /usr/doc/spl for programming examples and a language
-reference.
diff --git a/development/spl/curses.patch b/development/spl/curses.patch
deleted file mode 100644
index 1c414f8685..0000000000
--- a/development/spl/curses.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur a/GNUmakefile b/GNUmakefile
---- a/GNUmakefile 2008-09-18 07:34:23.000000000 -0700
-+++ b/GNUmakefile 2012-05-21 20:30:28.369555445 -0700
-@@ -139,7 +139,7 @@
-
- ifeq ($(BUILDING_FOR_BSD),0)
- LDLIBS_DL = -ldl
-- LDLIBS_CURSES = -lncurses
-+ LDLIBS_CURSES = -lncursesw
- else
- LDLIBS_DL =
- LDLIBS_CURSES = -lcurses
diff --git a/development/spl/slack-desc b/development/spl/slack-desc
deleted file mode 100644
index 2c041ff0d3..0000000000
--- a/development/spl/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------------------------------------------------------|
-spl: spl (the SPL Programming Language)
-spl:
-spl: SPL is a powerful and feature-rich scripting language with hashes,
-spl: regular expressions, objects, exceptions and a c-style syntax.
-spl:
-spl: Homepage: http://www.clifford.at/spl/
-spl:
-spl:
-spl:
-spl:
-spl:
diff --git a/development/spl/spl.SlackBuild b/development/spl/spl.SlackBuild
deleted file mode 100644
index 8075c413c4..0000000000
--- a/development/spl/spl.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for spl
-# Written by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-
-PRGNAM=spl
-VERSION=${VERSION:-1.0pre6}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 600 -o -perm 444 -o -perm 440 \
- -o -perm 400 \) -exec chmod 644 {} \;
-
-# Allow custom options in Makefile
-patch -p1 < $CWD/curses.patch
-
-make install \
- USER_CFLAGS="$SLKCFLAGS" \
- BUILD_WITH_DEBUG=0 \
- prefix=/usr \
- mandir=/usr/man \
- libdir=/usr/lib${LIBDIRSUFFIX} \
- DESTDIR=$PKG
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-find $PKG -depth -type d -empty -delete || true
-
-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 COPYING README README.API README.LANG README.WEBSPL $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-# install examples
-cp -ra examples webspl_demo webspltut $PKG/usr/doc/$PRGNAM-$VERSION
-cp *.spl $PKG/usr/doc/$PRGNAM-$VERSION/examples
-
-# instal vim syntax highlighting for SPL
-mkdir -p $PKG/usr/share/vim/vim73/syntax
-cp syntax-spl.vim $PKG/usr/share/vim/vim73/syntax/spl.vim
-cp syntax-spltpl.vim $PKG/usr/share/vim/vim73/syntax/spltpl.vim
-
-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:-tgz}
diff --git a/development/spl/spl.info b/development/spl/spl.info
deleted file mode 100644
index fa9ec9dbf8..0000000000
--- a/development/spl/spl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="spl"
-VERSION="1.0pre6"
-HOMEPAGE="http://www.clifford.at/spl/"
-DOWNLOAD="http://www.clifford.at/spl/releases/spl-1.0pre6.tar.gz"
-MD5SUM="d74e576280369cc6c7471e84820cc260"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/splint/splint.SlackBuild b/development/splint/splint.SlackBuild
index cd1aa833e5..e7cf5025a8 100644
--- a/development/splint/splint.SlackBuild
+++ b/development/splint/splint.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for splint
@@ -10,10 +10,13 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=splint
-VERSION=${VERSION:-3.1.2}
+VERSION=${VERSION:-20170327_3fb908d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -23,7 +26,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -47,15 +57,20 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.src.tgz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-patched-$VERSION
+tar xvf $CWD/$PRGNAM-patched-$VERSION.tar.xz
+cd $PRGNAM-patched-$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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+automake --add-missing || true
+autoreconf || true
+automake --add-missing
+autoreconf
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -68,20 +83,18 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
# Fix for bison-3 (LDFLAGS doesn't work)
-sed -i \
- -e 's/^LIBS = $/LIBS = -lfl/' \
- src/Makefile
+#sed -i \
+# -e 's/^LIBS = $/LIBS = -lfl/' \
+# src/Makefile
make -j1
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+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/html
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
@@ -93,4 +106,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/splint/splint.info b/development/splint/splint.info
index 9b7a232b07..7f0eca4c67 100644
--- a/development/splint/splint.info
+++ b/development/splint/splint.info
@@ -1,8 +1,8 @@
PRGNAM="splint"
-VERSION="3.1.2"
+VERSION="20170327_3fb908d"
HOMEPAGE="http://www.splint.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/splint-3.1.2.src.tgz"
-MD5SUM="25f47d70bd9c8bdddf6b03de5949c4fd"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/splint-patched-20170327_3fb908d.tar.xz"
+MD5SUM="998a1a87ee37313c683b1790f75b80d1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/spyder/README b/development/spyder/README
index 65c9fe92a3..4da247a037 100644
--- a/development/spyder/README
+++ b/development/spyder/README
@@ -2,5 +2,5 @@ Spyder (previously known as Pydee) is a powerful interactive
development environment for the Python language with advanced editing,
interactive testing, debugging and introspection features.
-Optional dependencies: ipython, rope, matplotlib, numpy, pyflakes,
-pep8, pylint, Sphinx and scipy
+spyder 5.4.0 is the last available version in Slackware 15.0. Newer
+versions require a newer python3-lsp-server.
diff --git a/development/spyder/slack-desc b/development/spyder/slack-desc
index add5ec82a4..25d19c5981 100644
--- a/development/spyder/slack-desc
+++ b/development/spyder/slack-desc
@@ -12,7 +12,7 @@ spyder: Spyder (previously known as Pydee) is a powerful interactive
spyder: development environment for the Python language with advanced editing,
spyder: interactive testing, debugging and introspection features.
spyder:
-spyder: Homepage: http://code.google.com/p/spyderlib/
+spyder: Homepage: https://github.com/spyder-ide/spyder
spyder:
spyder:
spyder:
diff --git a/development/spyder/spyder.SlackBuild b/development/spyder/spyder.SlackBuild
index bb93e71405..f0e583790a 100644
--- a/development/spyder/spyder.SlackBuild
+++ b/development/spyder/spyder.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spyder
# Copyright 2010-2016 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
@@ -22,26 +23,33 @@
# 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=spyder
-VERSION=${VERSION:-2.3.9}
+VERSION=${VERSION:-5.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -78,23 +86,37 @@ for FILE in $(find . -type f \( ! -iname "*\.*o" ! -iname "*\.png" \) \
mv ${FILE}.new $FILE
done
-python setup.py install --root=$PKG
+# Allow SlackBuilds python libraries versions
+sed 's|IPYTHON_REQVER = ">=7.31.1;<8.0.0"|IPYTHON_REQVER = ">=7.31.1"|' -i spyder/dependencies.py
+sed "s|JEDI_REQVER = '>=0.17.2;<0.19.0'|JEDI_REQVER = '>=0.17.2'|" -i spyder/dependencies.py
+sed "s|PYLINT_REQVER = '>=2.5.0;<3.0'|PYLINT_REQVER = '>=2.5.0'|" -i spyder/dependencies.py
+sed "s|QDARKSTYLE_REQVER = '>=3.0.2;<3.1.0'|QDARKSTYLE_REQVER = '>=3.0.2'|" -i spyder/dependencies.py
+sed "s|QTCONSOLE_REQVER = '>=5.4.0;<5.5.0'|QTCONSOLE_REQVER = '>=5.4.0'|" -i spyder/dependencies.py
+sed "s|SPYDER_KERNELS_REQVER = '>=2.4.0;<2.5.0'|SPYDER_KERNELS_REQVER = '>=2.4.0'|" -i spyder/dependencies.py
+sed "s|ipython>=7.31.1,<8.0.0|ipython>=7.31.1|" -i setup.py
+sed "s|jedi>=0.17.2,<0.19.0|jedi>=0.17.2|" -i setup.py
+sed "s|pylint>=2.5.0,<3.0|pylint>=2.5.0|" -i setup.py
+sed "s|qdarkstyle>=3.0.2,<3.1.0|qdarkstyle>=3.0.2|" -i setup.py
+sed "s|qtconsole>=5.4.0,<5.5.0|qtconsole>=5.5.0|" -i setup.py
+sed "s|spyder-kernels>=2.4.0,<2.5.0|spyder-kernels>=2.4.0|" -i setup.py
+
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
for i in 16 24 32 36 48 64 96 128; do
- convert spyderlib/images/$PRGNAM.svg -resize ${i}x${i}! $PRGNAM-$i.png
+ convert spyder/images/$PRGNAM.svg -resize ${i}x${i}! $PRGNAM-$i.png
install -D -m 0644 $PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
done
-install -D -m 0644 spyderlib/images/$PRGNAM.svg \
+install -D -m 0644 spyder/images/$PRGNAM.svg \
$PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
# Remove unwanted files/directories.
rm -rf $PKG/usr/share/pixmaps $PKG/usr/bin/spyder_win_post_install.py
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS.txt LICENSE.txt NOTICE.txt *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -102,4 +124,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/spyder/spyder.info b/development/spyder/spyder.info
index ef76a019e8..7c926edd95 100644
--- a/development/spyder/spyder.info
+++ b/development/spyder/spyder.info
@@ -1,10 +1,10 @@
PRGNAM="spyder"
-VERSION="2.3.9"
+VERSION="5.4.0"
HOMEPAGE="https://github.com/spyder-ide/spyder"
-DOWNLOAD="https://github.com/spyder-ide/spyder/archive/v2.3.9/spyder-2.3.9.tar.gz"
-MD5SUM="b8cf463c6eeaed01355ebac0d72f2c41"
+DOWNLOAD="https://github.com/spyder-ide/spyder/archive/v5.4.0/spyder-5.4.0.tar.gz"
+MD5SUM="5ebc8154007f12dc28581d2fcbd32711"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES="python3-atomicwrites autopep8 flake8 jellyfish jupyter-nbconvert numpydoc python3-keyring python3-PyQtWebEngine python3-cookiecutter python3-intervaltree python3-lsp-black python3-pylint-venv python3-pyls-spyder python3-qstylizer python3-qtawesome python3-rope python3-rtree python3-spyder-kernels python3-three-merge python3-watchdog yapf python3-textdistance jupyter-qtconsole QDarkStyle python3-pydocstyle python3-whatthepatch"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/development/sqlcl/README b/development/sqlcl/README
index f57556db54..7046291267 100644
--- a/development/sqlcl/README
+++ b/development/sqlcl/README
@@ -2,10 +2,10 @@ Oracle SQL Developer Command Line
Oracle SQL Developer Command Line (SQLcl) is a free command line
interface for Oracle Database. It allows you to interactively or batch
-execute SQL and PL/SQL. SQLcl provides in-line editing, statement
+execute SQL and PL/SQL. SQLcl provides in-line editing, statement
completion, and command recall for a feature-rich experience, all
while also supporting your previously written SQL*Plus scripts.
You need an Oracle account and you must Agree to Oracle's download
-agreement before this can be downloaded. You have to use a web browser
-to download it.
+agreement before this can be downloaded.
+You have to use a web browser to download it.
diff --git a/development/sqlcl/sqlcl.SlackBuild b/development/sqlcl/sqlcl.SlackBuild
index f02d105169..7c8a23a1e3 100644
--- a/development/sqlcl/sqlcl.SlackBuild
+++ b/development/sqlcl/sqlcl.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Oracle SQL Developer Command Line
-# Copyright 2016-2017 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
@@ -22,13 +22,20 @@
# 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=sqlcl
-VERSION=${VERSION:-18.2.0}
+VERSION=${VERSION:-23.3.0.270.1251}
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,13 +61,21 @@ find -L . \
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
+mv $PKG/opt/sqlcl/*.md $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/opt/sqlcl/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/opt/sqlcl/bin/*.md $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/opt/sqlcl/bin/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+
+rm $PKG/opt/sqlcl/$VERSION || true
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/bin
-ln -sf /opt/sqlcl/bin/sql $PKG/usr/bin/sql
+ln -sf /opt/sqlcl/bin/sql $PKG/usr/bin/sqlcl
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sqlcl/sqlcl.info b/development/sqlcl/sqlcl.info
index fcdda8ae41..5609cf1a22 100644
--- a/development/sqlcl/sqlcl.info
+++ b/development/sqlcl/sqlcl.info
@@ -1,10 +1,10 @@
PRGNAM="sqlcl"
-VERSION="18.2.0"
-HOMEPAGE="http://oracle.com/technetwork/developer-tools/sqlcl/overview"
-DOWNLOAD="http://download.oracle.com/otn/java/sqldeveloper/sqlcl-18.2.0.zip"
-MD5SUM="840f08b3ae8dace7f9ab7dceec9b580f"
+VERSION="23.3.0.270.1251"
+HOMEPAGE="https://www.oracle.com/database/sqldeveloper/technologies/sqlcl/"
+DOWNLOAD="https://download.oracle.com/otn_software/java/sqldeveloper/sqlcl-23.3.0.270.1251.zip"
+MD5SUM="e96e38ffdf40cd8f8763052dfad3a127"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk11"
MAINTAINER="Giuseppe Di Terlizzi"
EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/development/sqldeveloper/sqldeveloper.SlackBuild b/development/sqldeveloper/sqldeveloper.SlackBuild
index baaec951df..b175eec991 100644
--- a/development/sqldeveloper/sqldeveloper.SlackBuild
+++ b/development/sqldeveloper/sqldeveloper.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Oracle SQL Developer
-# Copyright 2015-2018 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# Copyright 2015-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,23 @@
# 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=sqldeveloper
-VERSION=${VERSION:-18.2.0.183.1748}
+VERSION=${VERSION:-20.4.1.407.0006}
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,4 +82,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sqldeveloper/sqldeveloper.info b/development/sqldeveloper/sqldeveloper.info
index 2168fd9839..85c55ba6ec 100644
--- a/development/sqldeveloper/sqldeveloper.info
+++ b/development/sqldeveloper/sqldeveloper.info
@@ -1,10 +1,10 @@
PRGNAM="sqldeveloper"
-VERSION="18.2.0.183.1748"
+VERSION="20.4.1.407.0006"
HOMEPAGE="http://oracle.com/technetwork/developer-tools/sql-developer"
-DOWNLOAD="http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-18.2.0.183.1748-no-jre.zip"
-MD5SUM="ad45f9db2e81f866c778e357f6129e36"
+DOWNLOAD="http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-20.4.1.407.0006-no-jre.zip"
+MD5SUM="041709f01de2c6d176f37132089b61b8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Giuseppe Di Terlizzi"
EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/development/sqlitebrowser/README b/development/sqlitebrowser/README
index 9c9f58ac57..9feb68339f 100644
--- a/development/sqlitebrowser/README
+++ b/development/sqlitebrowser/README
@@ -1,5 +1,6 @@
-SQLite Database Browser is a freeware, public domain, open source visual
-tool used to create, design and edit database files compatible with
-SQLite. It is meant to be used for users and developers that want to
-create databases, edit and search data using a familiar spreadsheet-like
-interface, without the need to learn complicated SQL commands.
+SQLite Database Browser is a freeware, public domain, open source
+visual tool used to create, design and edit database files compatible
+with SQLite. It is meant to be used for users and developers that
+want to create databases, edit, and search data using a familiar
+spreadsheet-like interface, without the need to learn complicated SQL
+commands.
diff --git a/development/sqlitebrowser/slack-desc b/development/sqlitebrowser/slack-desc
index 58baffc326..d4be25b7cf 100644
--- a/development/sqlitebrowser/slack-desc
+++ b/development/sqlitebrowser/slack-desc
@@ -10,10 +10,10 @@ sqlitebrowser: sqlitebrowser (light QT-based GUI editor for SQLite databases)
sqlitebrowser:
sqlitebrowser: SQLite Database Browser is a freeware, public domain, open source
sqlitebrowser: visual tool used to create, design and edit database files compatible
-sqlitebrowser: with SQLite. It is meant to be used for users and developers that want
-sqlitebrowser: to create databases, edit and search data using a familiar
-sqlitebrowser: spreadsheet-like interface, without the need to learn complicated SQL
-sqlitebrowser: commands.
+sqlitebrowser: with SQLite. It is meant to be used for users and developers who want
+sqlitebrowser: to create, edit, and search data using a spreadsheet-like interface,
+sqlitebrowser: without the need to learn complicated SQL commands.
sqlitebrowser:
sqlitebrowser: Homepage: http://sqlitebrowser.org/
sqlitebrowser:
+sqlitebrowser:
diff --git a/development/sqlitebrowser/sqlitebrowser.SlackBuild b/development/sqlitebrowser/sqlitebrowser.SlackBuild
index 8c3dcbb554..b36eb8bcbd 100644
--- a/development/sqlitebrowser/sqlitebrowser.SlackBuild
+++ b/development/sqlitebrowser/sqlitebrowser.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sqlitebrowser
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
@@ -24,10 +24,13 @@
# 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=sqlitebrowser
-VERSION=${VERSION:-3.10.1}
+VERSION=${VERSION:-3.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -79,7 +89,7 @@ cp src/$PRGNAM $PKG/usr/bin/
mkdir -p $PKG/usr/share/applications/
cp distri/$PRGNAM.desktop $PKG/usr/share/applications/
mkdir -p $PKG/usr/share/pixmaps/
-cp images/$PRGNAM.svg $PKG/usr/share/pixmaps/
+cp images/logo.svg $PKG/usr/share/pixmaps/
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
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sqlitebrowser/sqlitebrowser.info b/development/sqlitebrowser/sqlitebrowser.info
index 6b136698bd..9c2fa5403a 100644
--- a/development/sqlitebrowser/sqlitebrowser.info
+++ b/development/sqlitebrowser/sqlitebrowser.info
@@ -1,10 +1,10 @@
PRGNAM="sqlitebrowser"
-VERSION="3.10.1"
+VERSION="3.12.2"
HOMEPAGE="http://sqlitebrowser.org/"
-DOWNLOAD="https://github.com/sqlitebrowser/sqlitebrowser/archive/v3.10.1/sqlitebrowser-3.10.1.tar.gz"
-MD5SUM="66cbe41f9da5be80067942ed3816576c"
+DOWNLOAD="https://github.com/sqlitebrowser/sqlitebrowser/archive/v3.12.2/sqlitebrowser-3.12.2.tar.gz"
+MD5SUM="e4498f6f8b9414133e1905283b1b4c05"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="klaatu"
EMAIL="klaatu@member.fsf.org"
diff --git a/development/sqliteman/0001_qt5.patch b/development/sqliteman/0001_qt5.patch
new file mode 100644
index 0000000000..ebc571a339
--- /dev/null
+++ b/development/sqliteman/0001_qt5.patch
@@ -0,0 +1,346 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d9fd041..f589bfe 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -101,28 +101,7 @@
+
+
+-SET (QT_MT_REQUIRED true)
+-SET (QT_MIN_VERSION "4.2.0")
++SET (QT_MIN_VERSION "5.7.1")
+-SET( QT_USE_QTSQL TRUE )
+-SET( QT_USE_QTXML TRUE )
+-FIND_PACKAGE( Qt4 REQUIRED )
+-MESSAGE(STATUS Qt4 version: ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH})
+-# suggest Qt upgrade
+-if (QT_VERSION_MINOR LESS 3)
+- MESSAGE(STATUS "")
+- MESSAGE(STATUS "__ BIG FAT WARNING! _______________________________")
+- MESSAGE(STATUS "Your Qt version seems older than it should be.")
+- MESSAGE(STATUS "Althought will be Sqliteman compilled successfully,")
+- MESSAGE(STATUS "it will be limited in its features.")
+- MESSAGE(STATUS "There are some important bugs in older Qt versions.")
+- MESSAGE(STATUS "Please upgrade to the current Qt version.")
+- MESSAGE(STATUS "___________________________________________________")
+- MESSAGE(STATUS "")
+-endif (QT_VERSION_MINOR LESS 3)
+-MESSAGE(STATUS Qt4 includes: ${QT_INCLUDES})
+-MESSAGE(STATUS Qt4 libs: ${QT_LIBRARY_DIR})
+-
+-INCLUDE( ${QT_USE_FILE} )
+-
++FIND_PACKAGE( Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Sql Widgets )
+
+ IF (WANT_INTERNAL_QSCINTILLA)
+ MESSAGE(STATUS "QSci: Building with internal copy of QScintilla.")
+diff --git a/cmake/modules/FindQScintilla.cmake b/cmake/modules/FindQScintilla.cmake
+index c4592d0..92754b4 100644
+--- a/cmake/modules/FindQScintilla.cmake
++++ b/cmake/modules/FindQScintilla.cmake
+@@ -10,22 +10,19 @@
+ #
+ # Redistribution and use is allowed according to the terms of the FreeBSD license.
+
+-IF(NOT QT4_FOUND)
+- INCLUDE(FindQt4)
+-ENDIF(NOT QT4_FOUND)
+-
+ SET(QSCINTILLA_FOUND FALSE)
+
+-IF(QT4_FOUND)
+- FIND_PATH(QSCINTILLA_INCLUDE_DIR qsciglobal.h
+- "${QT_INCLUDE_DIR}/Qsci" /usr/include /usr/include/Qsci
++IF(Qt5_FOUND)
++ FIND_PATH(QSCINTILLA_INCLUDE_DIR qsciglobal.h
++ HINTS ${Qt5Core_INCLUDE_DIRS}
++ PATH_SUFFIXES Qsci
+ )
+
+- SET(QSCINTILLA_NAMES ${QSCINTILLA_NAMES} qscintilla2 libqscintilla2)
+- FIND_LIBRARY(QSCINTILLA_LIBRARY
+- NAMES ${QSCINTILLA_NAMES}
+- PATHS ${QT_LIBRARY_DIR}
+- )
++ SET(QSCINTILLA_NAMES ${QSCINTILLA_NAMES} qscintilla2 libqscintilla2 qscintilla2_qt5 libqscintilla2_qt5)
++ FIND_LIBRARY(QSCINTILLA_LIBRARY
++ NAMES ${QSCINTILLA_NAMES}
++ HINTS ${Qt5Core_LIBRARIES}
++ )
+
+ IF (QSCINTILLA_LIBRARY AND QSCINTILLA_INCLUDE_DIR)
+
+@@ -41,7 +34,7 @@ IF(QT4_FOUND)
+ ENDIF (CYGWIN)
+
+ ENDIF (QSCINTILLA_LIBRARY AND QSCINTILLA_INCLUDE_DIR)
+-ENDIF(QT4_FOUND)
++ENDIF(Qt5_FOUND)
+
+ IF (QSCINTILLA_FOUND)
+ IF (NOT QScintilla_FIND_QUIETLY)
+diff --git a/sqliteman/CMakeLists.txt b/sqliteman/CMakeLists.txt
+index c9154a7..13397ee 100644
+--- a/sqliteman/CMakeLists.txt
++++ b/sqliteman/CMakeLists.txt
+@@ -139,12 +139,12 @@ IF (WANT_RESOURCES)
+ )
+ ENDIF (WANT_RESOURCES)
+ SET (SQLITEMAN_RCS ${SQLITEMAN_RCS} api/api.qrc)
+-QT4_ADD_RESOURCES( SQLITEMAN_RC_RCS ${SQLITEMAN_RCS} )
++QT5_ADD_RESOURCES( SQLITEMAN_RC_RCS ${SQLITEMAN_RCS} )
+
+
+-QT4_WRAP_UI( SQLITEMAN_UI_HDRS ${SQLITEMAN_UI} )
++QT5_WRAP_UI( SQLITEMAN_UI_HDRS ${SQLITEMAN_UI} )
+
+-QT4_WRAP_CPP( SQLITEMAN_MOC_SRC ${SQLITEMAN_MOC} )
++QT5_WRAP_CPP( SQLITEMAN_MOC_SRC ${SQLITEMAN_MOC} )
+
+ INCLUDE_DIRECTORIES( ${CMAKE_BINARY_DIR} )
+ INCLUDE_DIRECTORIES( ${CMAKE_BINARY_DIR}/sqliteman )
+@@ -157,10 +157,13 @@ IF (WANT_INTERNAL_QSCINTILLA)
+ ${CMAKE_SOURCE_DIR}/sqliteman/qscintilla2/Qt4/Qsci
+ )
+ ELSE (WANT_INTERNAL_QSCINTILLA)
+- INCLUDE_DIRECTORIES( ${QSCINTILLA_INCLUDE_DIR} )
++ INCLUDE_DIRECTORIES(
++ ${QSCINTILLA_INCLUDE_DIR}
++ ${Qt5Widgets_INCLUDE_DIRS}
++ ${Qt5Sql_INCLUDE_DIRS}
++ )
+ ENDIF (WANT_INTERNAL_QSCINTILLA)
+
+-
+ IF (MSVC)
+ # this is a must to switch off subsystem:console (console window poping up)
+ # WinMain wrapper from QT_QTMAIN_LIBRARY is used and liner must be modified
+@@ -178,6 +181,6 @@ ADD_EXECUTABLE( ${EXE_NAME} ${WIN32_SUBSYSTEM}
+ )
+
+-TARGET_LINK_LIBRARIES( ${EXE_NAME} ${QT_LIBRARIES}) # ${POPULATOR_LIB})
++TARGET_LINK_LIBRARIES( ${EXE_NAME} Qt5::Widgets Qt5::Sql )
+
+ IF (WIN32)
+ # don't use console subsystem
+diff --git a/sqliteman/alterviewdialog.h b/sqliteman/alterviewdialog.h
+index 31407f9..b014473 100644
+--- a/sqliteman/alterviewdialog.h
++++ b/sqliteman/alterviewdialog.h
+@@ -8,11 +8,8 @@ for which a new license (GPL+exception) is in place.
+ #ifndef ALTERVIEWDIALOG_H
+ #define ALTERVIEWDIALOG_H
+
+-#include <qwidget.h>
+-
+ #include "ui_createviewdialog.h"
+
+-
+ /*! \brief GUI for view altering
+ \author Petr Vanek <petr@scribus.info>
+ */
+@@ -22,10 +19,10 @@ class AlterViewDialog : public QDialog
+
+ public:
+ AlterViewDialog(const QString & name, const QString & schema, QWidget * parent = 0);
+- ~AlterViewDialog(){};
++ ~AlterViewDialog(){}
+
+ bool update;
+- void setText(const QString & text) { ui.sqlEdit->setText(text); };
++ void setText(const QString & text) { ui.sqlEdit->setText(text); }
+
+ private:
+ Ui::CreateViewDialog ui;
+diff --git a/sqliteman/analyzedialog.h b/sqliteman/analyzedialog.h
+index 4b871cf..3f4302e 100644
+--- a/sqliteman/analyzedialog.h
++++ b/sqliteman/analyzedialog.h
+@@ -8,8 +8,6 @@ for which a new license (GPL+exception) is in place.
+ #ifndef ANALYZEDIALOG_H
+ #define ANALYZEDIALOG_H
+
+-#include <qdialog.h>
+-
+ #include "ui_analyzedialog.h"
+
+
+@@ -23,7 +21,7 @@ class AnalyzeDialog : public QDialog
+
+ public:
+ AnalyzeDialog(QWidget * parent = 0);
+- ~AnalyzeDialog(){};
++ ~AnalyzeDialog(){}
+
+ private:
+ Ui::AnalyzeDialog ui;
+diff --git a/sqliteman/constraintsdialog.h b/sqliteman/constraintsdialog.h
+index 6ab19c7..61485bb 100644
+--- a/sqliteman/constraintsdialog.h
++++ b/sqliteman/constraintsdialog.h
+@@ -8,8 +8,6 @@ for which a new license (GPL+exception) is in place.
+ #ifndef CONSTRAINTSDIALOG_H
+ #define CONSTRAINTSDIALOG_H
+
+-#include <qdialog.h>
+-
+ #include "ui_constraintsdialog.h"
+
+
+@@ -23,7 +21,7 @@ class ConstraintsDialog : public QDialog
+
+ public:
+ ConstraintsDialog(const QString & tabName, const QString & schema, QWidget * parent = 0);
+- ~ConstraintsDialog(){};
++ ~ConstraintsDialog(){}
+
+ bool update;
+
+diff --git a/sqliteman/createindexdialog.h b/sqliteman/createindexdialog.h
+index 9c75b35..186a46a 100644
+--- a/sqliteman/createindexdialog.h
++++ b/sqliteman/createindexdialog.h
+@@ -8,8 +8,6 @@ for which a new license (GPL+exception) is in place.
+ #ifndef INDEXDIALOG_H
+ #define INDEXDIALOG_H
+
+-#include <qwidget.h>
+-
+ #include "ui_createindexdialog.h"
+
+
+@@ -27,7 +25,7 @@ class CreateIndexDialog : public QDialog
+ \param parent standard Qt parent
+ */
+ CreateIndexDialog(const QString & tabName, const QString & schema, QWidget * parent = 0);
+- ~CreateIndexDialog(){};
++ ~CreateIndexDialog(){}
+
+ bool update;
+
+diff --git a/sqliteman/dataexportdialog.cpp b/sqliteman/dataexportdialog.cpp
+index 7ad5d03..ee77b25 100644
+--- a/sqliteman/dataexportdialog.cpp
++++ b/sqliteman/dataexportdialog.cpp
+@@ -223,7 +223,7 @@ bool DataExportDialog::exportHTML()
+ {
+ out << "<tr>";
+ for (int i = 0; i < m_header.size(); ++i)
+- out << "<th>" << m_header.at(i) << "</th>";
++ out << "<th>" << m_header.at(i).toHtmlEscaped() << "</th>";
+ out << "</tr>" << endl();
+ }
+
+@@ -234,7 +234,7 @@ bool DataExportDialog::exportHTML()
+ out << "<tr>";
+ QSqlRecord r = m_data->record(i);
+ for (int j = 0; j < m_header.size(); ++j)
+- out << "<td>" << r.value(j).toString() << "</td>";
++ out << "<td>" << r.value(j).toString().toHtmlEscaped() << "</td>";
+ out << "</tr>" << endl();
+ }
+ out << "</table>" << endl() << "</body>" << endl() << "</html>";
+@@ -256,7 +256,7 @@ bool DataExportDialog::exportExcelXML()
+ {
+ out << "<ss:Row ss:StyleID=\"1\">" << endl();
+ for (int i = 0; i < m_header.size(); ++i)
+- out << "<ss:Cell><ss:Data ss:Type=\"String\">" << m_header.at(i) << "</ss:Data></ss:Cell>" << endl();
++ out << "<ss:Cell><ss:Data ss:Type=\"String\">" << m_header.at(i).toHtmlEscaped() << "</ss:Data></ss:Cell>" << endl();
+ out << "</ss:Row>" << endl();
+ }
+
+@@ -267,7 +267,7 @@ bool DataExportDialog::exportExcelXML()
+ out << "<ss:Row>" << endl();
+ QSqlRecord r = m_data->record(i);
+ for (int j = 0; j < m_header.size(); ++j)
+- out << "<ss:Cell><ss:Data ss:Type=\"String\">" << r.value(j).toString() << "</ss:Data></ss:Cell>" << endl();
++ out << "<ss:Cell><ss:Data ss:Type=\"String\">" << r.value(j).toString().toHtmlEscaped() << "</ss:Data></ss:Cell>" << endl();
+ out << "</ss:Row>" << endl();
+ }
+
+diff --git a/sqliteman/populatordialog.cpp b/sqliteman/populatordialog.cpp
+index 1e55f63..8e6e246 100644
+--- a/sqliteman/populatordialog.cpp
++++ b/sqliteman/populatordialog.cpp
+@@ -7,7 +7,7 @@ for which a new license (GPL+exception) is in place.
+ #include <QSqlQuery>
+ #include <QSqlError>
+ #include <QHeaderView>
+-#include <math.h>
++#include <QtMath>
+
+ #include "populatordialog.h"
+ #include "populatorcolumnwidget.h"
+--- a/sqliteman/shortcutmodel.cpp
++++ b/sqliteman/shortcutmodel.cpp
+@@ -45,7 +45,7 @@ QVariant ShortcutModel::data(const QModelIndex & index, int role) const
+ return QVariant(index.column() == 0 ? m_values.at(index.row()).first : m_values.at(index.row()).second);
+ }
+ if (role == Qt::BackgroundRole && index.column() == 0 && m_values.at(index.row()).first.isEmpty())
+- return QVariant(Qt::red);
++ return QVariant(QColor(Qt::red));
+ return QVariant();
+ }
+
+diff --git a/sqliteman/sqlmodels.cpp b/sqliteman/sqlmodels.cpp
+index 178b2e7..82d1f0c 100644
+--- a/sqliteman/sqlmodels.cpp
++++ b/sqliteman/sqlmodels.cpp
+@@ -47,7 +47,7 @@ QVariant SqlTableModel::data(const QModelIndex & item, int role) const
+
+ // mark rows prepared for a deletion in this trasnaction
+ if (role == Qt::BackgroundColorRole && m_deleteCache.contains(item.row()))
+- return QVariant(Qt::red);
++ return QVariant(QColor(Qt::red));
+
+ // nulls
+ if (m_useNull && curr.isNull())
+diff --git a/sqliteman/sqlparser/tosqlparse.h b/sqliteman/sqlparser/tosqlparse.h
+index 3424fa2..678df90 100644
+--- a/sqliteman/sqlparser/tosqlparse.h
++++ b/sqliteman/sqlparser/tosqlparse.h
+@@ -50,7 +50,6 @@ This file is based on the TOra source code. http://tora.sf.net
+
+ #include <list>
+ #include <algorithm>
+-// #include <qstring.h>
+ #include <QString>
+
+ // class toConnection;
+diff --git a/sqliteman/tabletree.cpp b/sqliteman/tabletree.cpp
+index 339e259..f4ab00c 100644
+--- a/sqliteman/tabletree.cpp
++++ b/sqliteman/tabletree.cpp
+@@ -6,6 +6,8 @@ for which a new license (GPL+exception) is in place.
+ */
+ #include <QMouseEvent>
+ #include <QApplication>
++#include <QDrag>
++#include <QMimeData>
+
+ #include "database.h"
+ #include "tabletree.h"
+diff --git a/sqliteman/vacuumdialog.h b/sqliteman/vacuumdialog.h
+index cac27f1..5e25214 100644
+--- a/sqliteman/vacuumdialog.h
++++ b/sqliteman/vacuumdialog.h
+@@ -8,7 +8,7 @@ for which a new license (GPL+exception) is in place.
+ #ifndef VACUUMDIALOG_H
+ #define VACUUMDIALOG_H
+
+-#include <qdialog.h>
++#include <QDialog>
+
+ #include "ui_vacuumdialog.h"
+
+diff --git a/sqliteman/sqliteprocess.h b/sqliteman/sqliteprocess.h
+index aaa60ca..5bec5b0 100644
+--- a/sqliteman/sqliteprocess.h
++++ b/sqliteman/sqliteprocess.h
+@@ -8,6 +8,7 @@ for which a new license (GPL+exception) is in place.
+ #ifndef SQLITEPROCESS_H
+ #define SQLITEPROCESS_H
+
++#include <QObject>
+ #include <QStringList>
+
+
diff --git a/development/sqliteman/sqliteman.SlackBuild b/development/sqliteman/sqliteman.SlackBuild
index 9f3903f30b..62136a44b7 100644
--- a/development/sqliteman/sqliteman.SlackBuild
+++ b/development/sqliteman/sqliteman.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sqliteman
@@ -21,26 +21,36 @@
# (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=sqliteman
VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -68,6 +78,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 {} \;
+# Thankx Archlinux!
+patch -p1 < $CWD/0001_qt5.patch
+
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
@@ -100,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/squeak-vm/README b/development/squeak-vm/README
index 7d4e717722..b61852d0b8 100644
--- a/development/squeak-vm/README
+++ b/development/squeak-vm/README
@@ -5,9 +5,6 @@ Smalltalk-80 system.
Squeak has very powerful 2- and 3-D graphics, sound, video, MIDI,
animation and other multimedia capabilities.
-Optional dependency: speex
-
-NOTE:
-This script only build the VM.
-You may need to download the images manually via download page:
+NOTE: This script only builds the VM.
+You may need to download the images manually from the download page:
http://squeakvm.org/unix/download.html
diff --git a/development/squeak-vm/squeak-vm.SlackBuild b/development/squeak-vm/squeak-vm.SlackBuild
index e499991cd2..8197fd7cce 100644
--- a/development/squeak-vm/squeak-vm.SlackBuild
+++ b/development/squeak-vm/squeak-vm.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for squeak-vm
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
+# Copyright 2022 David Stes <stes@telenet.be>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -22,11 +23,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220517 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - DO NOT use ${VERSION} in DOWNLOAD, in the .info file. Seriously.
+# - fix doc ownership.
+# - minor grammar fix in README.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=squeak-vm
SRCNAM=Squeak
-VERSION=${VERSION:-4.10.2.2614}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.19.9.3816}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -64,11 +77,9 @@ rm -rf $SRCNAM-$VERSION-src
tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz
cd $SRCNAM-$VERSION-src
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 {} \+
+cd platforms
# Fix location of libraries (as --libdir does not work)
for f in CMakeLists.txt cmake/squeak.in cmake/squeak.sh.in; do
@@ -83,6 +94,7 @@ cd build
CXXFLAGS="$SLKCFLAGS" \
../unix/cmake/configure \
--prefix=/usr \
+ --src=../../src \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -98,9 +110,7 @@ cd ..
mkdir -p $PKG/usr/man
mv $PKG/usr/share/man/* $PKG/usr/man/
rm -rf $PKG/usr/share/
-
-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
+gzip -9 $PKG/usr/man/man*/*
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -116,4 +126,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/squeak-vm/squeak-vm.info b/development/squeak-vm/squeak-vm.info
index ecb66b39e6..cf425a849c 100644
--- a/development/squeak-vm/squeak-vm.info
+++ b/development/squeak-vm/squeak-vm.info
@@ -1,10 +1,10 @@
PRGNAM="squeak-vm"
-VERSION="4.10.2.2614"
+VERSION="4.19.9.3816"
HOMEPAGE="http://squeakvm.org/"
-DOWNLOAD="http://squeakvm.org/unix/release/Squeak-4.10.2.2614-src.tar.gz"
-MD5SUM="8a5cb1d6899d55df56154fab8716e034"
+DOWNLOAD="https://sourceforge.net/projects/solaris-squeak/files/Squeak-4.19.9.3816-src.tar.gz"
+MD5SUM="972e1236a131846fee8b00b7d392ccb4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
+MAINTAINER="David Stes"
+EMAIL="stes@telenet.be"
diff --git a/development/squirrel-sql/squirrel-sql.SlackBuild b/development/squirrel-sql/squirrel-sql.SlackBuild
index a158ab46ed..4752984813 100644
--- a/development/squirrel-sql/squirrel-sql.SlackBuild
+++ b/development/squirrel-sql/squirrel-sql.SlackBuild
@@ -1,16 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for squirrel-sql
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=squirrel-sql
-VERSION=${VERSION:-4.0.0}
+VERSION=${VERSION:-4.6.0}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -34,7 +44,7 @@ find -L . \
mkdir -p $PKG/opt/$PRGNAM
cp -r . $PKG/opt/$PRGNAM
-rm -rf $PKG/opt/$PRGNAM/{addpath.bat,squirrel-sql.bat}
+rm -rf $PKG/opt/$PRGNAM/{mac,addpath.bat,squirrel-sql.bat,squirrel-sql-mac.sh}
mkdir -p $PKG/usr/bin
cat <<EOF > $PKG/usr/bin/squirrel-sql
#!/bin/sh
@@ -56,4 +66,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/squirrel-sql/squirrel-sql.desktop b/development/squirrel-sql/squirrel-sql.desktop
index c6f85cebb1..3fed1364a7 100644
--- a/development/squirrel-sql/squirrel-sql.desktop
+++ b/development/squirrel-sql/squirrel-sql.desktop
@@ -4,8 +4,9 @@ Exec=squirrel-sql
TryExec=squirrel-sql
Icon=squirrel-sql
Terminal=false
-Name=SQuirreL
+Name=SQuirreL SQL
GenericName=SQL Client
+Comment=A graphical SQL client
Categories=Development;
Type=Application
StartupNotify=false
diff --git a/development/squirrel-sql/squirrel-sql.info b/development/squirrel-sql/squirrel-sql.info
index 115a359e15..60a4f1b4a9 100644
--- a/development/squirrel-sql/squirrel-sql.info
+++ b/development/squirrel-sql/squirrel-sql.info
@@ -1,10 +1,10 @@
PRGNAM="squirrel-sql"
-VERSION="4.0.0"
+VERSION="4.6.0"
HOMEPAGE="http://squirrel-sql.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/squirrel-sql/1-stable/4.0.0-plainzip/squirrelsql-4.0.0-optional.zip"
-MD5SUM="0820428b8dd6754d50c8c8a4b60bd4a2"
+DOWNLOAD="https://github.com/squirrel-sql-client/squirrel-sql-stable-releases/releases/download/4.6.0-a_plainzip/squirrelsql-4.6.0-optional.zip"
+MD5SUM="4adb48cecd1a5305437acf2de42be404"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk17"
MAINTAINER="Dario Nicodemi"
EMAIL="dario.sbo@gmail.com"
diff --git a/development/src-vcs/src-vcs.SlackBuild b/development/src-vcs/src-vcs.SlackBuild
index 3c08954c7e..01fcfd8740 100644
--- a/development/src-vcs/src-vcs.SlackBuild
+++ b/development/src-vcs/src-vcs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for src-vcs
@@ -22,29 +22,39 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=src-vcs
SRCNAM=src
VERSION=${VERSION:-1.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
DOCS="COPYING INSTALL NEWS README TODO srctest"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -97,4 +107,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/srcML/README b/development/srcML/README
index 7bd92b8103..1af78dff3c 100644
--- a/development/srcML/README
+++ b/development/srcML/README
@@ -13,4 +13,4 @@ but will not be installed into your system. Also, srcML's Python
binding will not be installed.
To build this its dependency antlr2 must be built against jdk (or
-openjdk).
+openjdk8, zulu-openjdk8).
diff --git a/development/srcML/srcML.SlackBuild b/development/srcML/srcML.SlackBuild
index 4d8e628a63..71462458db 100644
--- a/development/srcML/srcML.SlackBuild
+++ b/development/srcML/srcML.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for srcML
@@ -22,10 +22,13 @@
# 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=srcML
VERSION=${VERSION:-0.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
BOOST=boost_1_59_0
DEPDIR=deps
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -124,4 +134,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/srcML/srcML.info b/development/srcML/srcML.info
index f40334db79..ec4957d861 100644
--- a/development/srcML/srcML.info
+++ b/development/srcML/srcML.info
@@ -7,6 +7,6 @@ MD5SUM="e5c4223f7556b57984b20d70606f50ab \
6aa9a5c6a4ca1016edd0ed1178e3cb87"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="antlr2"
+REQUIRES="antlr2 zulu-openjdk8"
MAINTAINER="Marcel Steinbeck"
EMAIL="marcel dot steinbeck at googlemail dot com"
diff --git a/development/srecord/README b/development/srecord/README
index 17dee609e8..f777f18bab 100644
--- a/development/srecord/README
+++ b/development/srecord/README
@@ -2,4 +2,4 @@ srecord (tools for EPROM load files)
The SRecord package is a collection of powerful tools for manipulating
EPROM load files. Many file formats are supported, too many to list
-here. See http://srecord.sourceforge.net/ for the full list.
+here. See http://srecord.sourceforge.net/ for the full list.
diff --git a/development/srecord/slack-desc b/development/srecord/slack-desc
index a36059d237..c2813b1b11 100644
--- a/development/srecord/slack-desc
+++ b/development/srecord/slack-desc
@@ -10,7 +10,7 @@ srecord: srecord (tools for EPROM load files)
srecord:
srecord: The SRecord package is a collection of powerful tools for manipulating
srecord: EPROM load files. Many file formats are supported, too many to
-srecord: list here. See http://srecord.sourceforge.net/ for the full list.
+srecord: list here. See http://srecord.sourceforge.net/ for the full list.
srecord:
srecord:
srecord:
diff --git a/development/srecord/srecord.SlackBuild b/development/srecord/srecord.SlackBuild
index 03340cb9b5..39a18efec2 100644
--- a/development/srecord/srecord.SlackBuild
+++ b/development/srecord/srecord.SlackBuild
@@ -1,19 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for srecord
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230627 bkw: BUILD=2
+# - install shared lib with +x perm.
+# Note: I know there's a 1.65 release. But it has problems. Waiting on
+# 1.66 to see if it's any better.
+
+# 20210907 bkw: BUILD=2
+# - get rid of useless BUILDING.pdf
+# - move PDF docs directly into the doc dir (instead of a subdir of it)
+# - get rid of .la file
+# - make the script code easier to read (for me anyway)
+
# 20140819 bkw: updated for v1.64, switched to regular sourceforge download
# URL. Turns out the short URL on the main site will disappear whenever
# there's a new release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=srecord
VERSION=${VERSION:-1.64}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -23,7 +37,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -51,45 +69,47 @@ 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 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 {} \+
+
+DOCDIR=/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/$DOCDIR
+LIBDIR=/usr/lib$LIBDIRSUFFIX
+PKGLIB=$PKG/$LIBDIR
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=$LIBDIR \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --docdir=$DOCDIR \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
# don't need static lib, and --disable-static doesn't work
-rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a
+rm -f $PKGLIB/*.a
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+strip $PKG/usr/bin/* $PKGLIB/*.so.?.?.?
+chmod 755 $PKGLIB/*.so.?.?.?
+rm -f $PKGLIB/*.la
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man?/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKGDOC
+cp -a AUTHORS LICENSE README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
# --docdir is ignored, too
-mv $PKG/usr/share/doc/$PRGNAM/ $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share
+mv $PKG/usr/share/doc/$PRGNAM/* $PKGDOC
+rm -rf $PKG/usr/share $PKGDOC/BUILDING.pdf
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/srecord/srecord.info b/development/srecord/srecord.info
index 472c5985f1..9465ac50fd 100644
--- a/development/srecord/srecord.info
+++ b/development/srecord/srecord.info
@@ -1,10 +1,10 @@
PRGNAM="srecord"
VERSION="1.64"
HOMEPAGE="http://srecord.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/srecord/srecord/1.64/srecord-1.64.tar.gz"
+DOWNLOAD="https://downloads.sourceforge.net/project/srecord/srecord/1.64/srecord-1.64.tar.gz"
MD5SUM="4de4a7497472d7972645c2af91313769"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/staruml/README b/development/staruml/README
index 9d3c5e8cfa..e6f7598384 100644
--- a/development/staruml/README
+++ b/development/staruml/README
@@ -1,4 +1,3 @@
-StarUML 2 is compatible with UML 2.x standard and supports totally 11
-kinds of UML diagrams: Class, Object, Use Case, Component, Deployment,
-Composite Structure, Sequence, Communication, Statechart, Activity and
-Profile Diagram.
+StarUML is a sophisticated software modeler aimed to support agile and
+concise modeling.
+The software can be evaluated for free without time limit.
diff --git a/development/staruml/slack-desc b/development/staruml/slack-desc
index aef74c2b66..bfe100c863 100644
--- a/development/staruml/slack-desc
+++ b/development/staruml/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
staruml: staruml (A sophisticated software UML modeler)
staruml:
-staruml: StarUML 2 is compatible with UML 2.x standard and supports totally
-staruml: 11 kinds of UML diagrams: Class, Object, Use Case, Component,
-staruml: Deployment, Composite Structure, Sequence, Communication,
-staruml: Statechart, Activity and Profile Diagram.
-staruml:
-staruml: Homepage: http://staruml.io
+staruml: StarUML is a sophisticated software modeler aimed to support agile
+staruml: and concise modeling. It is UML 2.x standard compliant and support
+staruml: diagrams: Class, Package, Object, Use Case, Component, Deployment,
+staruml: Composite Structure, Sequence, Communication, Statechart, Activity,
+staruml: Information Flow, Interaction Overview, Timing and Profile.
staruml:
+staruml: Homepage: https://staruml.io
staruml:
staruml:
diff --git a/development/staruml/staruml.SlackBuild b/development/staruml/staruml.SlackBuild
index 8b411012ed..1f69b5b300 100644
--- a/development/staruml/staruml.SlackBuild
+++ b/development/staruml/staruml.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for StarUML
-# Copyright 2017 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2023 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,13 @@
# 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=staruml
-VERSION=${VERSION:-2.8.0}
-CRYPT_VERSION=${CRYPT_VERSION:-1.5.0-5+deb7u6}
+VERSION=${VERSION:-6.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=StarUML
@@ -38,27 +40,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
- SRCARCH="32-bit"
- DEBARCH="i386"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SRCARCH="32-bit"
- DEBARCH="i386"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SRCARCH="64-bit"
- DEBARCH="amd64"
- LIBDIRSUFFIX="64"
-else
- SRCARCH="32-bit"
- DEBARCH="i386"
- LIBDIRSUFFIX=""
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH not supported."
+ exit 1
fi
set -e
@@ -67,48 +60,28 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-ar xvf $CWD/$SRCNAM-v$VERSION-$SRCARCH.deb
-cd $PKG
-unxz -c ../data.tar.xz | tar xv
-cd $TMP
-ar xvf $CWD/libgcrypt11\_$CRYPT_VERSION\_$DEBARCH.deb
-cd $PKG
-tar xvf ../data.tar.gz
-
-chown -R root:root .
-rm -rf $PKG/usr/share/menu
-mkdir -p lib$LIBDIRSUFFIX
-if [ "$DEBARCH" == 'amd64' ]; then
- mv lib/x86_64-linux-gnu/* lib$LIBDIRSUFFIX/
- rm -rf lib
- else
- mv lib/i386-linux-gnu/* lib$LIBDIRSUFFIX/
- rm -rf lib/i386-linux-gnu
-fi
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+ar x $CWD/${SRCNAM}\_${VERSION}\_amd64.deb
+tar xf data.tar.xz
+mv opt $PKG
+mv usr $PKG
# Strip binaries and libraries.
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
-if [ "$ARCH" = "x86_64" ]; then
-(
- cd $PKG/lib64
- ln -sf /opt/staruml/staruml staruml
-)
-fi
+chmod 644 $PKG/usr/share/applications/$PRGNAM.desktop
-mkdir -p $PKG/usr/doc/
-mv usr/share/doc/$PRGNAM usr/doc/$PRGNAM-$VERSION
-rm -rf usr/share/doc
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mkdir -p $PKG/usr/share/applications
-mv opt/$PRGNAM/$PRGNAM.desktop usr/share/applications
-
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/staruml/staruml.info b/development/staruml/staruml.info
index b57bd5dd23..f76e12d317 100644
--- a/development/staruml/staruml.info
+++ b/development/staruml/staruml.info
@@ -1,14 +1,10 @@
PRGNAM="staruml"
-VERSION="2.8.0"
+VERSION="6.0.1"
HOMEPAGE="http://staruml.io"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/staruml/StarUML-v2.8.0-32-bit.deb \
- http://ponce.cc/slackware/sources/repo/staruml/libgcrypt11_1.5.0-5+deb7u6_i386.deb"
-MD5SUM="a07dddbd9afb9a68461aef587c2ad928 \
- 63db5f580f4773e3727f1c5941fb14c7"
-DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/staruml/StarUML-v2.8.0-64-bit.deb \
- http://ponce.cc/slackware/sources/repo/staruml/libgcrypt11_1.5.0-5+deb7u6_amd64.deb"
-MD5SUM_x86_64="8a541f9194ade2b3e5a619a0330675e4 \
- caa37c9dd53aa74df447b10f93f3ef80"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://staruml.io/api/download/releases-v6/StarUML_6.0.1_amd64.deb"
+MD5SUM_x86_64="29ee957cf27498152d16d7a241e69730"
REQUIRES=""
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/development/stgit/stgit.SlackBuild b/development/stgit/stgit.SlackBuild
index 76bc23a536..be2ce384a4 100644
--- a/development/stgit/stgit.SlackBuild
+++ b/development/stgit/stgit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild for StGIT (Stacked GIT)
@@ -22,10 +22,13 @@
# 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=stgit
VERSION=${VERSION:-0.15}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -74,4 +84,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/stklos/README b/development/stklos/README
new file mode 100644
index 0000000000..f24c7516bd
--- /dev/null
+++ b/development/stklos/README
@@ -0,0 +1,16 @@
+STklos is a free Scheme system compliant with the languages features
+defined in R7RS. The aim of this implementation is to be fast as well
+as light. The implementation is based on an ad-hoc Virtual Machine.
+
+The salient points of STklos are:
+
+an efficient and powerful object system based on CLOS providing
+Multiple Inheritance,
+Generic Functions,
+Multi-methodsp
+an efficient MOP (Meta Object Protocol)
+a simple to use module system
+a full tower of numbers implementation, as defined in R5RS,
+easy connection to the GTK+ toolkit,
+a Perl compatible regular expressions thanks to the PCRE package,
+it implements properly tail recursive calls.
diff --git a/development/stklos/slack-desc b/development/stklos/slack-desc
new file mode 100644
index 0000000000..adb566b716
--- /dev/null
+++ b/development/stklos/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------------------------------------------------------|
+stklos: stklos (A Scheme implementation with CLOS and GTK bindings)
+stklos:
+stklos: STklos is a free Scheme system compliant with the languages features
+stklos: defined in R7RS. The aim of this implementation is to be fast as
+stklos: well as light. The implementation is based on an ad-hoc Virtual
+stklos: Machine. The salient points of STklos are: an efficient and powerful
+stklos: object system based on CLOS providing Multiple Inheritance,
+stklos: Generic Functions, Multi-methods, an efficient MOP (Meta Object
+stklos: Protocol)
+stklos:
+stklos:
diff --git a/development/stklos/stklos.SlackBuild b/development/stklos/stklos.SlackBuild
new file mode 100644
index 0000000000..bea2bff4b4
--- /dev/null
+++ b/development/stklos/stklos.SlackBuild
@@ -0,0 +1,138 @@
+#!/bin/bash
+
+# Slackware build script for stklos
+
+# Copyright 2023, Lockywolf
+# 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=stklos
+VERSION=${VERSION:-1.70}
+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 STklos-$PRGNAM-$VERSION
+tar xvf $CWD/STklos-$PRGNAM-$VERSION.tar.gz
+cd STklos-$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 {} +
+
+# sed -i 's|schemelibprefix = $(prefix)/lib/@PACKAGE@/|schemelibprefix = $(prefix)/lib'"$LIBDIRSUFFIX"'/@PACKAGE@/|g' Makefile.am
+# sed -i 's|schemelibdir = $(prefix)/lib/@PACKAGE@/@VERSION@|schemelibdir = $(prefix)/lib'"$LIBDIRSUFFIX"'/@PACKAGE@/@VERSION@|g' lib/Makefile.am
+# sed -i 's|EXECDIR=$prefix/lib/$PACKAGE/$VERSION|EXECDIR=$prefix/lib'"$LIBDIRSUFFIX"'/$PACKAGE/$VERSION|g' configure.ac
+pushd lib
+for a in $(find . -maxdepth 1 -type d -name 'srfi-*') ; do
+ echo Patching "$a/Makefile.am"
+ sed -i "s|/lib/|/lib$LIBDIRSUFFIX/|g" "$a/Makefile.am" || exit 1
+done
+popd
+
+rm configure
+autoreconf -i
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+chmod +x $PKG/usr/lib${LIBDIRSUFFIX}/stklos/$VERSION/*so
+
+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 -m755 $PKG/usr/man/
+mv $PKG/usr/share/man/* $PKG/usr/man/
+rmdir $PKG/usr/share/man/
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+AUTHORS PORTING-NOTES.md SUPPORTED-SRFIS \
+ChangeLog LICENSE NEWS.md \
+HACKING.md PACKAGES-USED README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mv $PKG/usr/share/doc/$PRGNAM-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/stklos/stklos.info b/development/stklos/stklos.info
new file mode 100644
index 0000000000..6ee3a09033
--- /dev/null
+++ b/development/stklos/stklos.info
@@ -0,0 +1,10 @@
+PRGNAM="stklos"
+VERSION="1.70"
+HOMEPAGE="http://stklos.net/"
+DOWNLOAD="https://github.com/egallesio/STklos/archive/stklos-1.70/STklos-stklos-1.70.tar.gz"
+MD5SUM="4bce3f99670659ad070308e5d85428b8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.stklos_2023-08-15@lockywolf.net"
diff --git a/development/stlink/stlink.SlackBuild b/development/stlink/stlink.SlackBuild
index 1d18e9d506..7424853994 100644
--- a/development/stlink/stlink.SlackBuild
+++ b/development/stlink/stlink.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for stlink
@@ -22,10 +22,13 @@
# 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=stlink
VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -105,4 +115,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sublime_merge/sublime_merge.SlackBuild b/development/sublime_merge/sublime_merge.SlackBuild
index e4290ab5af..e7d227b694 100644
--- a/development/sublime_merge/sublime_merge.SlackBuild
+++ b/development/sublime_merge/sublime_merge.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Sublime Merge
# Builds a Slackware package from the Sublime Merge binary tarballs.
@@ -7,10 +7,13 @@
# Originally written by Luke Williams (xocel@iquidus.org)
# Currently maintained by Bruno Queiros (bqueiros@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sublime_merge
-VERSION=${VERSION:-1119}
+VERSION=${VERSION:-2054}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -20,18 +23,25 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
-TARBALL_x86_64="sublime_merge_build_1119_x64.tar.xz" # Name of 64bit tarball
+TARBALL="sublime_merge_build_2054_x64.tar.xz" # Name of 64bit tarball
TARBALL_ROOT="sublime_merge" # Name of tarballs root directory
+LIBDIRSUFFIX="64"
-# Set LIBDIRSUFFIX and TARBALL.
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
- TARBALL="$TARBALL_x86_64"
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
fi
set -eu
@@ -79,4 +89,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sublime_merge/sublime_merge.info b/development/sublime_merge/sublime_merge.info
index bf85760433..0b6ed40c95 100644
--- a/development/sublime_merge/sublime_merge.info
+++ b/development/sublime_merge/sublime_merge.info
@@ -1,10 +1,10 @@
PRGNAM="sublime_merge"
-VERSION="1119"
+VERSION="2054"
HOMEPAGE="https://www.sublimemerge.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.sublimetext.com/sublime_merge_build_1119_x64.tar.xz"
-MD5SUM_x86_64="01457e71379dbd58e6b737a6c3c1dffc"
+DOWNLOAD_x86_64="https://download.sublimetext.com/sublime_merge_build_2054_x64.tar.xz"
+MD5SUM_x86_64="b7df9df99f7c7b6029542b428ca8e081"
REQUIRES=""
MAINTAINER="Bruno Queiros"
EMAIL="bqueiros@gmail.com"
diff --git a/development/sublime_text/sublime_text.SlackBuild b/development/sublime_text/sublime_text.SlackBuild
index 1cce000c1a..7a4ff346de 100644
--- a/development/sublime_text/sublime_text.SlackBuild
+++ b/development/sublime_text/sublime_text.SlackBuild
@@ -1,16 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Sublime Text 2.0.2
# Builds a Slackware package from the Sublime Text 2 binary tarballs.
# Anyone can freely modify and/or distribute this script without restrictions
#
# Originally written by Luke Williams (xocel@iquidus.org)
-# Currently maintained by Bruno Queiros (bqueiros@gmail.com)
+# Previously maintained by Bruno Queiros (bqueiros@gmail.com)
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sublime_text
-VERSION=${VERSION:-3.2.11}
+VERSION=${VERSION:-4.1.69}
+SRCVERSION=${VERSION//[.]/}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -20,23 +24,21 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
-TARBALL_x86="sublime_text_3_build_3211_x32.tar.bz2" # Name of 32bit tarball
-TARBALL_x86_64="sublime_text_3_build_3211_x64.tar.bz2" # Name of 64bit tarball
-TARBALL_ROOT="sublime_text_3" # Name of tarballs root directory
-
-# Set LIBDIRSUFFIX and TARBALL.
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
- TARBALL="$TARBALL_x86_64"
-else
- LIBDIRSUFFIX=""
- TARBALL="$TARBALL_x86"
-fi
+case "$ARCH" in
+ x86_64) TARBALL="sublime_text_build_""$SRCVERSION""_x64.tar.xz" ;;
+ *) echo "Package for $ARCH architecture is not available." ; exit 1 ;;
+esac
+
+TARBALL_ROOT="sublime_text" # Name of tarballs root directory
set -eu
@@ -83,4 +85,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/sublime_text/sublime_text.info b/development/sublime_text/sublime_text.info
index f2ae0c1cc6..f81ad2b330 100644
--- a/development/sublime_text/sublime_text.info
+++ b/development/sublime_text/sublime_text.info
@@ -1,10 +1,10 @@
PRGNAM="sublime_text"
-VERSION="3.2.11"
+VERSION="4.1.69"
HOMEPAGE="http://www.sublimetext.com"
-DOWNLOAD="https://download.sublimetext.com/sublime_text_3_build_3211_x32.tar.bz2"
-MD5SUM="43721c8279d96fcb2529afd15220d10e"
-DOWNLOAD_x86_64="https://download.sublimetext.com/sublime_text_3_build_3211_x64.tar.bz2"
-MD5SUM_x86_64="9438d5ef592df91ba41e5488e690b7e5"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.sublimetext.com/sublime_text_build_4169_x64.tar.xz"
+MD5SUM_x86_64="f0ed9c14a64dab344ec56d62675cc036"
REQUIRES=""
-MAINTAINER="Bruno Queiros"
-EMAIL="bqueiros@gmail.com"
+MAINTAINER="Nikolay Nikolov"
+EMAIL="niko.b.nikolov@gmail.com"
diff --git a/development/svn-all-fast-export/svn-all-fast-export.SlackBuild b/development/svn-all-fast-export/svn-all-fast-export.SlackBuild
index 49bcbecf14..a4d74c0d20 100644
--- a/development/svn-all-fast-export/svn-all-fast-export.SlackBuild
+++ b/development/svn-all-fast-export/svn-all-fast-export.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for svn-all-fast-export
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=svn-all-fast-export
SRCNAM=svn2git
VERSION=${VERSION:-1.0.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -90,4 +100,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/swfmill/swfmill.SlackBuild b/development/swfmill/swfmill.SlackBuild
index 5881f08825..232a547828 100644
--- a/development/swfmill/swfmill.SlackBuild
+++ b/development/swfmill/swfmill.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Swfmill
# Written by Andres Fuentes (rafu@riseup.net)
# This script is public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=swfmill
-VERSION=${VERSION:-0.3.3}
+VERSION=${VERSION:-0.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -54,7 +64,7 @@ find -L . \
export CFLAGS=""
-export CXXFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS -Wno-error"
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -86,4 +96,4 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/swfmill/swfmill.info b/development/swfmill/swfmill.info
index cd7fee85e0..8d3737f827 100644
--- a/development/swfmill/swfmill.info
+++ b/development/swfmill/swfmill.info
@@ -1,8 +1,8 @@
PRGNAM="swfmill"
-VERSION="0.3.3"
+VERSION="0.3.6"
HOMEPAGE="http://swfmill.org/"
-DOWNLOAD="http://swfmill.org/releases/swfmill-0.3.3.tar.gz"
-MD5SUM="e0fc3c4068ffe135f201e6ee864dce62"
+DOWNLOAD="http://swfmill.org/releases/swfmill-0.3.6.tar.gz"
+MD5SUM="3976c33a69a7f08876a7b8ee5f0ba83d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/swi-prolog/README b/development/swi-prolog/README
index b0bf817e1b..6ff80757fa 100644
--- a/development/swi-prolog/README
+++ b/development/swi-prolog/README
@@ -4,7 +4,5 @@ SWI-Prolog is widely used in research, education, and commercial
applications.
Optional dependencies:
- * qt5 (for swipl-win GUI)
* jdk or openjdk (for JPL Prolog/Java interface)
- * uuid, libedit (for Prolog bindings to these libraries -
- libedit is NOT needed to get history editing in swipl)
+ * uuid (for Prolog bindings to this library)
diff --git a/development/swi-prolog/swi-prolog.SlackBuild b/development/swi-prolog/swi-prolog.SlackBuild
index 9a7ca87992..7e45edb51c 100644
--- a/development/swi-prolog/swi-prolog.SlackBuild
+++ b/development/swi-prolog/swi-prolog.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for swi-prolog
-# Copyright 2020 Nick Smallbone <nick@smallbone.se>, Gothenburg, Sweden
+# Copyright 2022 Nick Smallbone <nick@smallbone.se>, Gothenburg, Sweden
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=swi-prolog
-VERSION=${VERSION:-8.2.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-8.4.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=swipl
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -71,8 +81,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 {} \;
-# Compatibility with 14.2's version of CMake
-sed -i 's/NATIVE_COMMAND/UNIX_COMMAND/g' packages/odbc/cmake/FindODBC.cmake
# Respect $LIBDIRSUFFIX
sed -i "s!lib/\${SWIPL_INSTALL_DIR}!lib${LIBDIRSUFFIX}/\${SWIPL_INSTALL_DIR}!" CMakeLists.txt
sed -i "s!lib/cmake/swipl!lib${LIBDIRSUFFIX}/cmake/swipl!" CMakeLists.txt
@@ -96,7 +104,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE INSTALL VERSION customize \
+ LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
ln -s ../../lib${LIBDIRSUFFIX}/$SRCNAM/doc/Manual $PKG/usr/doc/$PRGNAM-$VERSION/manual
ln -s ../../lib${LIBDIRSUFFIX}/$SRCNAM/doc/packages $PKG/usr/doc/$PRGNAM-$VERSION
@@ -108,4 +116,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/swi-prolog/swi-prolog.info b/development/swi-prolog/swi-prolog.info
index fc1af822dc..7b29160945 100644
--- a/development/swi-prolog/swi-prolog.info
+++ b/development/swi-prolog/swi-prolog.info
@@ -1,8 +1,8 @@
PRGNAM="swi-prolog"
-VERSION="8.2.1"
+VERSION="8.4.3"
HOMEPAGE="http://www.swi-prolog.org/"
-DOWNLOAD="https://www.swi-prolog.org/download/stable/src/swipl-8.2.1.tar.gz"
-MD5SUM="c9619dbb1ab7834254d1ad24aee7a26c"
+DOWNLOAD="https://www.swi-prolog.org/download/stable/src/swipl-8.4.3.tar.gz"
+MD5SUM="4d18a3e43ba5bd3dadf36e4752376044"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/swift/README b/development/swift/README
deleted file mode 100644
index 1f02f990d6..0000000000
--- a/development/swift/README
+++ /dev/null
@@ -1,9 +0,0 @@
-Swift is a general-purpose programming language built using a modern
-approach to safety, performance, and software design patterns.
-
-It is intended as a replacement for C-based languages (C, C++, and
-Objective-C). As such, Swift must be comparable to those languages in
-performance for most tasks. Performance must also be predictable and
-consistent, not just fast in short bursts that require clean-up later.
-
-It ships with its own LLDB.
diff --git a/development/swift/slack-desc b/development/swift/slack-desc
deleted file mode 100644
index e3677e47ff..0000000000
--- a/development/swift/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------------------------------------------------------|
-swift: swift (the Swift programming language)
-swift:
-swift: Swift is a general-purpose programming language
-swift: built using a modern approach to safety, performance,
-swift: and software design patterns. Designed by Apple.
-swift:
-swift:
-swift: Homepage: https://swift.org/
-swift:
-swift:
-swift:
diff --git a/development/swift/swift-libdir.patch b/development/swift/swift-libdir.patch
deleted file mode 100644
index 72240064c9..0000000000
--- a/development/swift/swift-libdir.patch
+++ /dev/null
@@ -1,2163 +0,0 @@
-diff -C 4 -dHrN source/llbuild/CMakeLists.txt patched/llbuild/CMakeLists.txt
-*** source/llbuild/CMakeLists.txt 2017-07-11 19:29:15.000000000 -0300
---- patched/llbuild/CMakeLists.txt 2017-10-16 18:22:34.000000000 -0200
-***************
-*** 65,73 ****
- set(LLBUILD_OBJ_DIR ${CMAKE_CURRENT_BINARY_DIR})
-
- # Shared output directories for executables and libraries.
- set(LLBUILD_EXECUTABLE_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
-! set(LLBUILD_LIBRARY_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib)
-
- ###
- # Support Tools
-
---- 65,73 ----
- set(LLBUILD_OBJ_DIR ${CMAKE_CURRENT_BINARY_DIR})
-
- # Shared output directories for executables and libraries.
- set(LLBUILD_EXECUTABLE_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
-! set(LLBUILD_LIBRARY_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${SWIFT_LIBDIR_SUFFIX})
-
- ###
- # Support Tools
-
-diff -C 4 -dHrN source/lldb/include/lldb/Host/Editline.h patched/lldb/include/lldb/Host/Editline.h
-*** source/lldb/include/lldb/Host/Editline.h 2017-08-09 21:37:21.000000000 -0300
---- patched/lldb/include/lldb/Host/Editline.h 2017-10-08 03:11:28.000000000 -0300
-***************
-*** 42,55 ****
- // are available on some platforms. The wchar_t versions of libedit functions
- // will only be
- // used in cases where this is true. This is a compile time dependecy, for now
- // selected per target Platform
-! #if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
- #define LLDB_EDITLINE_USE_WCHAR 1
- #include <codecvt>
-- #else
-- #define LLDB_EDITLINE_USE_WCHAR 0
-- #endif
-
- #include "lldb/Host/ConnectionFileDescriptor.h"
- #include "lldb/lldb-private.h"
-
---- 42,52 ----
- // are available on some platforms. The wchar_t versions of libedit functions
- // will only be
- // used in cases where this is true. This is a compile time dependecy, for now
- // selected per target Platform
-!
- #define LLDB_EDITLINE_USE_WCHAR 1
- #include <codecvt>
-
- #include "lldb/Host/ConnectionFileDescriptor.h"
- #include "lldb/lldb-private.h"
-
-diff -C 4 -dHrN source/lldb/tools/repl/swift/CMakeLists.txt patched/lldb/tools/repl/swift/CMakeLists.txt
-*** source/lldb/tools/repl/swift/CMakeLists.txt 2017-08-09 21:37:21.000000000 -0300
---- patched/lldb/tools/repl/swift/CMakeLists.txt 2017-10-08 03:17:34.000000000 -0300
-***************
-*** 18,26 ****
- endif()
- endif()
-
- set(swift_compile_cmd "${LLDB_SWIFTC}"
-! -resource-dir "${LLDB_PATH_TO_SWIFT_BUILD}/lib/swift"
- -module-cache-path "${module_cache_dir}")
-
- if(CMAKE_CROSSCOMPILING)
- set(swift_compile_cmd ${swift_compile_cmd} -target "${LLVM_HOST_TRIPLE}" -sdk "${CMAKE_SYSROOT}")
---- 18,26 ----
- endif()
- endif()
-
- set(swift_compile_cmd "${LLDB_SWIFTC}"
-! -resource-dir "${LLDB_PATH_TO_SWIFT_BUILD}/lib${LLVM_LIBDIR_SUFFIX}/swift"
- -module-cache-path "${module_cache_dir}")
-
- if(CMAKE_CROSSCOMPILING)
- set(swift_compile_cmd ${swift_compile_cmd} -target "${LLVM_HOST_TRIPLE}" -sdk "${CMAKE_SYSROOT}")
-***************
-*** 29,37 ****
- endif()
- endif()
-
- if (CMAKE_SYSTEM_NAME MATCHES "Linux")
-! set(swift_compile_cmd ${swift_compile_cmd} -Xlinker -rpath -Xlinker \$ORIGIN/../lib/swift/linux)
- endif()
-
- add_custom_command_target(
- unused_var
---- 29,37 ----
- endif()
- endif()
-
- if (CMAKE_SYSTEM_NAME MATCHES "Linux")
-! set(swift_compile_cmd ${swift_compile_cmd} -Xlinker -rpath -Xlinker \$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}/swift/linux)
- endif()
-
- add_custom_command_target(
- unused_var
-diff -C 4 -dHrN source/swift/CMakeLists.txt patched/swift/CMakeLists.txt
-*** source/swift/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/CMakeLists.txt 2017-10-06 00:02:40.000000000 -0300
-***************
-*** 473,481 ****
- set(SWIFT_MAIN_INCLUDE_DIR "${SWIFT_SOURCE_DIR}/include")
- set(SWIFT_INCLUDE_DIR "${CMAKE_CURRENT_BINARY_DIR}/include")
-
- set(SWIFT_RUNTIME_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin")
-! set(SWIFT_LIBRARY_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib")
- if("${SWIFT_NATIVE_SWIFT_TOOLS_PATH}" STREQUAL "")
- set(SWIFT_NATIVE_SWIFT_TOOLS_PATH "${SWIFT_RUNTIME_OUTPUT_INTDIR}")
- endif()
-
---- 473,481 ----
- set(SWIFT_MAIN_INCLUDE_DIR "${SWIFT_SOURCE_DIR}/include")
- set(SWIFT_INCLUDE_DIR "${CMAKE_CURRENT_BINARY_DIR}/include")
-
- set(SWIFT_RUNTIME_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin")
-! set(SWIFT_LIBRARY_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${SWIFT_LIBDIR_SUFFIX}")
- if("${SWIFT_NATIVE_SWIFT_TOOLS_PATH}" STREQUAL "")
- set(SWIFT_NATIVE_SWIFT_TOOLS_PATH "${SWIFT_RUNTIME_OUTPUT_INTDIR}")
- endif()
-
-diff -C 4 -dHrN source/swift/benchmark/CMakeLists.txt patched/swift/benchmark/CMakeLists.txt
-*** source/swift/benchmark/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/benchmark/CMakeLists.txt 2017-10-06 00:09:48.000000000 -0300
-***************
-*** 150,158 ****
-
- if(NOT SWIFT_LIBRARY_PATH)
- get_filename_component(tmp_dir "${SWIFT_EXEC}" DIRECTORY)
- get_filename_component(tmp_dir "${tmp_dir}" DIRECTORY)
-! set(SWIFT_LIBRARY_PATH "${tmp_dir}/lib/swift")
- endif()
-
- # If the CMAKE_C_COMPILER is already clang, don't find it again,
- # thus allowing the --host-cc build-script argument to work here.
---- 150,158 ----
-
- if(NOT SWIFT_LIBRARY_PATH)
- get_filename_component(tmp_dir "${SWIFT_EXEC}" DIRECTORY)
- get_filename_component(tmp_dir "${tmp_dir}" DIRECTORY)
-! set(SWIFT_LIBRARY_PATH "${tmp_dir}/lib${SWIFT_LIBDIR_SUFFIX}/swift")
- endif()
-
- # If the CMAKE_C_COMPILER is already clang, don't find it again,
- # thus allowing the --host-cc build-script argument to work here.
-***************
-*** 250,259 ****
- set(swift-bin-dir "${CMAKE_BINARY_DIR}/bin")
- endif()
-
- set(benchmark-bin-dir "${CMAKE_CURRENT_BINARY_DIR}/bin")
-! set(benchmark-lib-dir "${CMAKE_CURRENT_BINARY_DIR}/lib")
-! set(benchmark-lib-swift-dir "${CMAKE_CURRENT_BINARY_DIR}/lib/swift")
-
- file(MAKE_DIRECTORY "${swift-bin-dir}")
- file(MAKE_DIRECTORY "${benchmark-bin-dir}")
- file(MAKE_DIRECTORY "${benchmark-lib-dir}")
---- 250,259 ----
- set(swift-bin-dir "${CMAKE_BINARY_DIR}/bin")
- endif()
-
- set(benchmark-bin-dir "${CMAKE_CURRENT_BINARY_DIR}/bin")
-! set(benchmark-lib-dir "${CMAKE_CURRENT_BINARY_DIR}/lib${SWIFT_LIBDIR_SUFFIX}")
-! set(benchmark-lib-swift-dir "${CMAKE_CURRENT_BINARY_DIR}/lib${SWIFT_LIBDIR_SUFFIX}/swift")
-
- file(MAKE_DIRECTORY "${swift-bin-dir}")
- file(MAKE_DIRECTORY "${benchmark-bin-dir}")
- file(MAKE_DIRECTORY "${benchmark-lib-dir}")
-diff -C 4 -dHrN source/swift/benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake patched/swift/benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake
-*** source/swift/benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake 2017-10-06 00:12:01.000000000 -0300
-***************
-*** 341,349 ****
- "-m${triple_platform}-version-min=${ver}"
- "-lobjc"
- "-L${SWIFT_LIBRARY_PATH}/${BENCH_COMPILE_ARCHOPTS_PLATFORM}"
- "-Xlinker" "-rpath"
-! "-Xlinker" "@executable_path/../lib/swift/${BENCH_COMPILE_ARCHOPTS_PLATFORM}"
- ${bench_library_objects}
- ${SWIFT_BENCH_OBJFILES}
- ${objcfile}
- "-o" "${OUTPUT_EXEC}"
---- 341,349 ----
- "-m${triple_platform}-version-min=${ver}"
- "-lobjc"
- "-L${SWIFT_LIBRARY_PATH}/${BENCH_COMPILE_ARCHOPTS_PLATFORM}"
- "-Xlinker" "-rpath"
-! "-Xlinker" "@executable_path/../lib${SWIFT_LIBDIR_SUFFIX}/swift/${BENCH_COMPILE_ARCHOPTS_PLATFORM}"
- ${bench_library_objects}
- ${SWIFT_BENCH_OBJFILES}
- ${objcfile}
- "-o" "${OUTPUT_EXEC}"
-diff -C 4 -dHrN source/swift/cmake/modules/AddSwift.cmake patched/swift/cmake/modules/AddSwift.cmake
-*** source/swift/cmake/modules/AddSwift.cmake 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/cmake/modules/AddSwift.cmake 2017-10-06 00:20:33.000000000 -0300
-***************
-*** 4,14 ****
- # SWIFTLIB_DIR is the directory in the build tree where Swift resource files
- # should be placed. Note that $CMAKE_CFG_INTDIR expands to "." for
- # single-configuration builds.
- set(SWIFTLIB_DIR
-! "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib/swift")
- set(SWIFTSTATICLIB_DIR
-! "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib/swift_static")
-
- function(add_dependencies_multiple_targets)
- cmake_parse_arguments(
- ADMT # prefix
---- 4,14 ----
- # SWIFTLIB_DIR is the directory in the build tree where Swift resource files
- # should be placed. Note that $CMAKE_CFG_INTDIR expands to "." for
- # single-configuration builds.
- set(SWIFTLIB_DIR
-! "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${SWIFT_LIBDIR_SUFFIX}/swift")
- set(SWIFTSTATICLIB_DIR
-! "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${SWIFT_LIBDIR_SUFFIX}/swift_static")
-
- function(add_dependencies_multiple_targets)
- cmake_parse_arguments(
- ADMT # prefix
-***************
-*** 906,914 ****
- INSTALL_NAME_DIR "${install_name_dir}")
- elseif("${SWIFTLIB_SINGLE_SDK}" STREQUAL "LINUX" AND NOT "${SWIFTLIB_SINGLE_SDK}" STREQUAL "ANDROID")
- set_target_properties("${target}"
- PROPERTIES
-! INSTALL_RPATH "$ORIGIN:/usr/lib/swift/linux")
- elseif("${SWIFTLIB_SINGLE_SDK}" STREQUAL "CYGWIN")
- set_target_properties("${target}"
- PROPERTIES
- INSTALL_RPATH "$ORIGIN:/usr/lib/swift/cygwin")
---- 906,914 ----
- INSTALL_NAME_DIR "${install_name_dir}")
- elseif("${SWIFTLIB_SINGLE_SDK}" STREQUAL "LINUX" AND NOT "${SWIFTLIB_SINGLE_SDK}" STREQUAL "ANDROID")
- set_target_properties("${target}"
- PROPERTIES
-! INSTALL_RPATH "$ORIGIN:/usr/lib${SWIFT_LIBDIR_SUFFIX}/swift/linux")
- elseif("${SWIFTLIB_SINGLE_SDK}" STREQUAL "CYGWIN")
- set_target_properties("${target}"
- PROPERTIES
- INSTALL_RPATH "$ORIGIN:/usr/lib/swift/cygwin")
-***************
-*** 1045,1054 ****
- set(c_compile_flags ${SWIFTLIB_SINGLE_C_COMPILE_FLAGS})
- set(link_flags ${SWIFTLIB_SINGLE_LINK_FLAGS})
- set(library_search_directories
- "${SWIFTLIB_DIR}/${SWIFTLIB_SINGLE_SUBDIR}"
-! "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib/swift/${SWIFTLIB_SINGLE_SUBDIR}"
-! "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib/swift/${SWIFT_SDK_${SWIFTLIB_SINGLE_SDK}_LIB_SUBDIR}")
-
- # Add variant-specific flags.
- if(SWIFTLIB_SINGLE_TARGET_LIBRARY)
- set(build_type "${SWIFT_STDLIB_BUILD_TYPE}")
---- 1045,1054 ----
- set(c_compile_flags ${SWIFTLIB_SINGLE_C_COMPILE_FLAGS})
- set(link_flags ${SWIFTLIB_SINGLE_LINK_FLAGS})
- set(library_search_directories
- "${SWIFTLIB_DIR}/${SWIFTLIB_SINGLE_SUBDIR}"
-! "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib${SWIFT_LIBDIR_SUFFIX}/swift/${SWIFTLIB_SINGLE_SUBDIR}"
-! "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib${SWIFT_LIBDIR_SUFFIX}/swift/${SWIFT_SDK_${SWIFTLIB_SINGLE_SDK}_LIB_SUBDIR}")
-
- # Add variant-specific flags.
- if(SWIFTLIB_SINGLE_TARGET_LIBRARY)
- set(build_type "${SWIFT_STDLIB_BUILD_TYPE}")
-***************
-*** 1187,1196 ****
- set_property(TARGET "${target_static}" APPEND_STRING PROPERTY
- COMPILE_FLAGS " ${c_compile_flags}")
- set(library_search_directories
- "${SWIFTSTATICLIB_DIR}/${SWIFTLIB_SINGLE_SUBDIR}"
-! "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib/swift/${SWIFTLIB_SINGLE_SUBDIR}"
-! "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib/swift/${SWIFT_SDK_${SWIFTLIB_SINGLE_SDK}_LIB_SUBDIR}")
- swift_target_link_search_directories("${target_static}" "${library_search_directories}")
- target_link_libraries("${target_static}" PRIVATE
- ${SWIFTLIB_SINGLE_PRIVATE_LINK_LIBRARIES})
- endif()
---- 1187,1196 ----
- set_property(TARGET "${target_static}" APPEND_STRING PROPERTY
- COMPILE_FLAGS " ${c_compile_flags}")
- set(library_search_directories
- "${SWIFTSTATICLIB_DIR}/${SWIFTLIB_SINGLE_SUBDIR}"
-! "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib${SWIFT_LIBDIR_SUFFIX}/swift/${SWIFTLIB_SINGLE_SUBDIR}"
-! "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib${SWIFT_LIBDIR_SUFFIX}/swift/${SWIFT_SDK_${SWIFTLIB_SINGLE_SDK}_LIB_SUBDIR}")
- swift_target_link_search_directories("${target_static}" "${library_search_directories}")
- target_link_libraries("${target_static}" PRIVATE
- ${SWIFTLIB_SINGLE_PRIVATE_LINK_LIBRARIES})
- endif()
-diff -C 4 -dHrN source/swift/cmake/modules/SwiftSharedCMakeConfig.cmake patched/swift/cmake/modules/SwiftSharedCMakeConfig.cmake
-*** source/swift/cmake/modules/SwiftSharedCMakeConfig.cmake 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/cmake/modules/SwiftSharedCMakeConfig.cmake 2017-10-06 00:23:09.000000000 -0300
-***************
-*** 8,16 ****
- precondition_translate_flag(${product}_PATH_TO_LLVM_BUILD PATH_TO_LLVM_BUILD)
-
- set(SWIFT_LLVM_CMAKE_PATHS
- "${PATH_TO_LLVM_BUILD}/share/llvm/cmake"
-! "${PATH_TO_LLVM_BUILD}/lib/cmake/llvm")
-
- # Add all LLVM CMake paths to our cmake module path.
- foreach(path ${SWIFT_LLVM_CMAKE_PATHS})
- list(APPEND CMAKE_MODULE_PATH ${path})
---- 8,16 ----
- precondition_translate_flag(${product}_PATH_TO_LLVM_BUILD PATH_TO_LLVM_BUILD)
-
- set(SWIFT_LLVM_CMAKE_PATHS
- "${PATH_TO_LLVM_BUILD}/share/llvm/cmake"
-! "${PATH_TO_LLVM_BUILD}/lib${SWIFT_LIBDIR_SUFFIX}/cmake/llvm")
-
- # Add all LLVM CMake paths to our cmake module path.
- foreach(path ${SWIFT_LLVM_CMAKE_PATHS})
- list(APPEND CMAKE_MODULE_PATH ${path})
-***************
-*** 108,117 ****
- endif()
- set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
-
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
-! set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
-! set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
-
- set(LLVM_INCLUDE_TESTS TRUE)
- set(LLVM_INCLUDE_DOCS TRUE)
-
---- 108,117 ----
- endif()
- set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
-
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
-! set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib${SWIFT_LIBDIR_SUFFIX}")
-! set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib${SWIFT_LIBDIR_SUFFIX}")
-
- set(LLVM_INCLUDE_TESTS TRUE)
- set(LLVM_INCLUDE_DOCS TRUE)
-
-***************
-*** 132,140 ****
-
- # Add all Clang CMake paths to our cmake module path.
- set(SWIFT_CLANG_CMAKE_PATHS
- "${PATH_TO_CLANG_BUILD}/share/clang/cmake"
-! "${PATH_TO_CLANG_BUILD}/lib/cmake/clang")
- foreach(path ${SWIFT_CLANG_CMAKE_PATHS})
- list(APPEND CMAKE_MODULE_PATH ${path})
- endforeach()
-
---- 132,140 ----
-
- # Add all Clang CMake paths to our cmake module path.
- set(SWIFT_CLANG_CMAKE_PATHS
- "${PATH_TO_CLANG_BUILD}/share/clang/cmake"
-! "${PATH_TO_CLANG_BUILD}/lib${SWIFT_LIBDIR_SUFFIX}/cmake/clang")
- foreach(path ${SWIFT_CLANG_CMAKE_PATHS})
- list(APPEND CMAKE_MODULE_PATH ${path})
- endforeach()
-
-***************
-*** 226,234 ****
- # part of the unified build.
- if(EXISTS "${CMAKE_SOURCE_DIR}/tools/cmark/")
- set(${product}_PATH_TO_CMARK_SOURCE "${CMAKE_SOURCE_DIR}/tools/cmark")
- set(${product}_PATH_TO_CMARK_BUILD "${CMAKE_BINARY_DIR}/tools/cmark")
-! set(${product}_CMARK_LIBRARY_DIR "${CMAKE_BINARY_DIR}/lib")
-
- get_filename_component(CMARK_MAIN_SRC_DIR "${${product}_PATH_TO_CMARK_SOURCE}"
- ABSOLUTE)
- get_filename_component(PATH_TO_CMARK_BUILD "${${product}_PATH_TO_CMARK_BUILD}"
---- 226,234 ----
- # part of the unified build.
- if(EXISTS "${CMAKE_SOURCE_DIR}/tools/cmark/")
- set(${product}_PATH_TO_CMARK_SOURCE "${CMAKE_SOURCE_DIR}/tools/cmark")
- set(${product}_PATH_TO_CMARK_BUILD "${CMAKE_BINARY_DIR}/tools/cmark")
-! set(${product}_CMARK_LIBRARY_DIR "${CMAKE_BINARY_DIR}/lib${SWIFT_LIBDIR_SUFFIX}")
-
- get_filename_component(CMARK_MAIN_SRC_DIR "${${product}_PATH_TO_CMARK_SOURCE}"
- ABSOLUTE)
- get_filename_component(PATH_TO_CMARK_BUILD "${${product}_PATH_TO_CMARK_BUILD}"
-diff -C 4 -dHrN source/swift/lib/Driver/CMakeLists.txt patched/swift/lib/Driver/CMakeLists.txt
-*** source/swift/lib/Driver/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/lib/Driver/CMakeLists.txt 2017-10-16 20:28:35.000000000 -0200
-***************
-*** 50,58 ****
-
- list(APPEND static_stdlib_lnk_file_list ${swift_static_stdlib_${sdk}_args})
- swift_install_in_component(stdlib
- FILES "${SWIFTSTATICLIB_DIR}/${linkfile}"
-! DESTINATION "lib/swift_static/${lowercase_sdk}")
- endif()
- endforeach()
- add_custom_target(swift_static_lnk_args ALL DEPENDS ${static_stdlib_lnk_file_list})
- endif()
---- 50,58 ----
-
- list(APPEND static_stdlib_lnk_file_list ${swift_static_stdlib_${sdk}_args})
- swift_install_in_component(stdlib
- FILES "${SWIFTSTATICLIB_DIR}/${linkfile}"
-! DESTINATION "lib${SWIFT_LIBDIR_SUFFIX}/swift_static/${lowercase_sdk}")
- endif()
- endforeach()
- add_custom_target(swift_static_lnk_args ALL DEPENDS ${static_stdlib_lnk_file_list})
- endif()
-diff -C 4 -dHrN source/swift/lib/Driver/ToolChains.cpp patched/swift/lib/Driver/ToolChains.cpp
-*** source/swift/lib/Driver/ToolChains.cpp 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/lib/Driver/ToolChains.cpp 2017-10-08 03:25:52.000000000 -0300
-***************
-*** 986,994 ****
---- 986,998 ----
- auto programPath = TC.getDriver().getSwiftProgramPath();
- runtimeLibPath.append(programPath.begin(), programPath.end());
- llvm::sys::path::remove_filename(runtimeLibPath); // remove /swift
- llvm::sys::path::remove_filename(runtimeLibPath); // remove /bin
-+ #if defined(__linux__) && defined(__x86_64__)
-+ llvm::sys::path::append(runtimeLibPath, "lib64", "swift");
-+ #else
- llvm::sys::path::append(runtimeLibPath, "lib", "swift");
-+ #endif
- }
- llvm::sys::path::append(runtimeLibPath,
- getPlatformNameForTriple(TC.getTriple()));
- }
-***************
-*** 1008,1016 ****
---- 1012,1024 ----
- auto programPath = TC.getDriver().getSwiftProgramPath();
- runtimeLibPath.append(programPath.begin(), programPath.end());
- llvm::sys::path::remove_filename(runtimeLibPath); // remove /swift
- llvm::sys::path::remove_filename(runtimeLibPath); // remove /bin
-+ #if defined(__linux__) && defined(__x86_64__)
-+ llvm::sys::path::append(runtimeLibPath, "lib64", "swift_static");
-+ #else
- llvm::sys::path::append(runtimeLibPath, "lib", "swift_static");
-+ #endif
- }
- llvm::sys::path::append(runtimeLibPath,
- getPlatformNameForTriple(TC.getTriple()));
- }
-diff -C 4 -dHrN source/swift/lib/Frontend/CompilerInvocation.cpp patched/swift/lib/Frontend/CompilerInvocation.cpp
-*** source/swift/lib/Frontend/CompilerInvocation.cpp 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/lib/Frontend/CompilerInvocation.cpp 2017-10-08 03:30:45.000000000 -0300
-***************
-*** 40,48 ****
---- 40,52 ----
- void CompilerInvocation::setMainExecutablePath(StringRef Path) {
- llvm::SmallString<128> LibPath(Path);
- llvm::sys::path::remove_filename(LibPath); // Remove /swift
- llvm::sys::path::remove_filename(LibPath); // Remove /bin
-+ #if defined(__linux__) && defined(__x86_64__)
-+ llvm::sys::path::append(LibPath, "lib64", "swift");
-+ #else
- llvm::sys::path::append(LibPath, "lib", "swift");
-+ #endif
- setRuntimeResourcePath(LibPath.str());
- }
-
- static void updateRuntimeLibraryPath(SearchPathOptions &SearchPathOpts,
-diff -C 4 -dHrN source/swift/lib/Migrator/CMakeLists.txt patched/swift/lib/Migrator/CMakeLists.txt
-*** source/swift/lib/Migrator/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/lib/Migrator/CMakeLists.txt 2017-10-25 22:13:22.227866880 -0200
-***************
-*** 5,13 ****
- watchos.json
- overlay.json
- )
- set(SWIFTLIB_DIR
-! "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib/swift")
- set(output_dir "${SWIFTLIB_DIR}/migrator")
-
- add_custom_command(
- OUTPUT "${output_dir}"
---- 5,13 ----
- watchos.json
- overlay.json
- )
- set(SWIFTLIB_DIR
-! "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${SWIFT_LIBDIR_SUFFIX}/swift")
- set(output_dir "${SWIFTLIB_DIR}/migrator")
-
- add_custom_command(
- OUTPUT "${output_dir}"
-***************
-*** 32,40 ****
- COMMENT "Symlinking migrator data to ${output_dir}")
-
- swift_install_in_component(compiler
- FILES ${datafiles}
-! DESTINATION "lib/swift/migrator")
-
- add_swift_library(swiftMigrator STATIC
- APIDiffMigratorPass.cpp
- EditorAdapter.cpp
---- 32,40 ----
- COMMENT "Symlinking migrator data to ${output_dir}")
-
- swift_install_in_component(compiler
- FILES ${datafiles}
-! DESTINATION "lib${SWIFT_LIBDIR_SUFFIX}/swift/migrator")
-
- add_swift_library(swiftMigrator STATIC
- APIDiffMigratorPass.cpp
- EditorAdapter.cpp
-diff -C 4 -dHrN source/swift/stdlib/public/Platform/CMakeLists.txt patched/swift/stdlib/public/Platform/CMakeLists.txt
-*** source/swift/stdlib/public/Platform/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/stdlib/public/Platform/CMakeLists.txt 2017-10-16 20:35:22.000000000 -0200
-***************
-*** 99,107 ****
- # This only affects ANDROID right now, but could affect cross-compiled LINUX targets
-
- swift_install_in_component(sdk-overlay
- FILES "${glibc_modulemap_out}"
-! DESTINATION "lib/swift/${arch_subdir}")
-
- endforeach()
- endforeach()
- add_custom_target(glibc_modulemap DEPENDS ${glibc_modulemap_target_list})
---- 99,107 ----
- # This only affects ANDROID right now, but could affect cross-compiled LINUX targets
-
- swift_install_in_component(sdk-overlay
- FILES "${glibc_modulemap_out}"
-! DESTINATION "lib${SWIFT_LIBDIR_SUFFIX}/swift/${arch_subdir}")
-
- endforeach()
- endforeach()
- add_custom_target(glibc_modulemap DEPENDS ${glibc_modulemap_target_list})
-diff -C 4 -dHrN source/swift/stdlib/public/SwiftShims/CMakeLists.txt patched/swift/stdlib/public/SwiftShims/CMakeLists.txt
-*** source/swift/stdlib/public/SwiftShims/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/stdlib/public/SwiftShims/CMakeLists.txt 2017-10-06 00:30:37.000000000 -0300
-***************
-*** 83,92 ****
- "${LLVM_LIBRARY_DIR}/clang/${CLANG_VERSION}"
-
- # FIXME: if we want to support separate Clang builds and mix different
- # build configurations of Clang and Swift, this line should be adjusted.
-! "${SWIFT_PATH_TO_CLANG_BUILD}/${CMAKE_CFG_INTDIR}/lib/clang/${CLANG_VERSION}"
-! "${SWIFT_PATH_TO_CLANG_BUILD}/${LLVM_BUILD_TYPE}/lib/clang/${CLANG_VERSION}")
-
- set(clang_headers_location)
- foreach(loc ${clang_headers_locations})
- if(EXISTS "${loc}")
---- 83,92 ----
- "${LLVM_LIBRARY_DIR}/clang/${CLANG_VERSION}"
-
- # FIXME: if we want to support separate Clang builds and mix different
- # build configurations of Clang and Swift, this line should be adjusted.
-! "${SWIFT_PATH_TO_CLANG_BUILD}/${CMAKE_CFG_INTDIR}/lib${SWIFT_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}"
-! "${SWIFT_PATH_TO_CLANG_BUILD}/${LLVM_BUILD_TYPE}/lib${SWIFT_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}")
-
- set(clang_headers_location)
- foreach(loc ${clang_headers_locations})
- if(EXISTS "${loc}")
-***************
-*** 121,145 ****
- add_dependencies(copy_shim_headers symlink_clang_headers)
-
- swift_install_in_component(compiler
- FILES ${sources}
-! DESTINATION "lib/swift/shims")
-
- # Install Clang headers under the Swift library so that an installed Swift's
- # module importer can find the compiler headers corresponding to its Clang.
- swift_install_in_component(clang-builtin-headers
- DIRECTORY "${clang_headers_location}/"
-! DESTINATION "lib/swift/clang"
- PATTERN "*.h")
-
- swift_install_symlink_component(clang-resource-dir-symlink
- LINK_NAME clang
- TARGET ../clang/${CLANG_VERSION}
-! DESTINATION "lib/swift")
-
- # Possibly install Clang headers under Clang's resource directory in case we
- # need to use a different version of the headers than the installed Clang. This
- # should be used in conjunction with clang-resource-dir-symlink.
- swift_install_in_component(clang-builtin-headers-in-clang-resource-dir
-! DIRECTORY "${SWIFT_PATH_TO_CLANG_BUILD}/lib/clang"
- DESTINATION "lib"
- PATTERN "*.h")
---- 121,145 ----
- add_dependencies(copy_shim_headers symlink_clang_headers)
-
- swift_install_in_component(compiler
- FILES ${sources}
-! DESTINATION "lib${SWIFT_LIBDIR_SUFFIX}/swift/shims")
-
- # Install Clang headers under the Swift library so that an installed Swift's
- # module importer can find the compiler headers corresponding to its Clang.
- swift_install_in_component(clang-builtin-headers
- DIRECTORY "${clang_headers_location}/"
-! DESTINATION "lib${SWIFT_LIBDIR_SUFFIX}/swift/clang"
- PATTERN "*.h")
-
- swift_install_symlink_component(clang-resource-dir-symlink
- LINK_NAME clang
- TARGET ../clang/${CLANG_VERSION}
-! DESTINATION "lib${SWIFT_LIBDIR_SUFFIX}/swift")
-
- # Possibly install Clang headers under Clang's resource directory in case we
- # need to use a different version of the headers than the installed Clang. This
- # should be used in conjunction with clang-resource-dir-symlink.
- swift_install_in_component(clang-builtin-headers-in-clang-resource-dir
-! DIRECTORY "${SWIFT_PATH_TO_CLANG_BUILD}/lib${SWIFT_LIBDIR_SUFFIX}/clang"
- DESTINATION "lib"
- PATTERN "*.h")
-diff -C 4 -dHrN source/swift/stdlib/public/runtime/CMakeLists.txt patched/swift/stdlib/public/runtime/CMakeLists.txt
-*** source/swift/stdlib/public/runtime/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/stdlib/public/runtime/CMakeLists.txt 2017-10-26 00:14:19.684445583 -0200
-***************
-*** 109,117 ****
- ARCHIVE_OUTPUT_DIRECTORY "${SWIFTSTATICLIB_DIR}/${lowercase_sdk}")
-
- swift_install_in_component(stdlib
- TARGETS swiftImageInspectionStatic swiftImageInspectionShared
-! DESTINATION "lib/swift_static/${lowercase_sdk}")
-
- # Generate the static-executable-args.lnk file used for ELF systems (eg linux)
- set(linkfile "${lowercase_sdk}/static-executable-args.lnk")
- add_custom_command_target(swift_static_binary_${sdk}_args
---- 109,117 ----
- ARCHIVE_OUTPUT_DIRECTORY "${SWIFTSTATICLIB_DIR}/${lowercase_sdk}")
-
- swift_install_in_component(stdlib
- TARGETS swiftImageInspectionStatic swiftImageInspectionShared
-! DESTINATION "lib${SWIFT_LIBDIR_SUFFIX}/swift_static/${lowercase_sdk}")
-
- # Generate the static-executable-args.lnk file used for ELF systems (eg linux)
- set(linkfile "${lowercase_sdk}/static-executable-args.lnk")
- add_custom_command_target(swift_static_binary_${sdk}_args
-***************
-*** 126,134 ****
-
- list(APPEND static_binary_lnk_file_list ${swift_static_binary_${sdk}_args})
- swift_install_in_component(stdlib
- FILES "${SWIFTSTATICLIB_DIR}/${linkfile}"
-! DESTINATION "lib/swift_static/${lowercase_sdk}")
- add_custom_target(static_binary_magic ALL DEPENDS ${static_binary_lnk_file_list})
-
- add_swift_library(swiftImageInspectionShared OBJECT_LIBRARY TARGET_LIBRARY
- ImageInspectionELF.cpp
---- 126,134 ----
-
- list(APPEND static_binary_lnk_file_list ${swift_static_binary_${sdk}_args})
- swift_install_in_component(stdlib
- FILES "${SWIFTSTATICLIB_DIR}/${linkfile}"
-! DESTINATION "lib${SWIFT_LIBDIR_SUFFIX}/swift_static/${lowercase_sdk}")
- add_custom_target(static_binary_magic ALL DEPENDS ${static_binary_lnk_file_list})
-
- add_swift_library(swiftImageInspectionShared OBJECT_LIBRARY TARGET_LIBRARY
- ImageInspectionELF.cpp
-***************
-*** 215,223 ****
- FILES
- "${SWIFTLIB_DIR}/${arch_subdir}/swift_begin.o"
- "${SWIFTLIB_DIR}/${arch_subdir}/swift_end.o"
- DESTINATION
-! "lib/swift/${arch_subdir}")
-
- if(SWIFT_BUILD_STATIC_STDLIB)
- # Static lib versions of swift_begin.o and swift_end.o
- add_custom_command_target(static_section_magic_${arch_suffix}_begin_object
---- 215,223 ----
- FILES
- "${SWIFTLIB_DIR}/${arch_subdir}/swift_begin.o"
- "${SWIFTLIB_DIR}/${arch_subdir}/swift_end.o"
- DESTINATION
-! "lib${SWIFT_LIBDIR_SUFFIX}/swift/${arch_subdir}")
-
- if(SWIFT_BUILD_STATIC_STDLIB)
- # Static lib versions of swift_begin.o and swift_end.o
- add_custom_command_target(static_section_magic_${arch_suffix}_begin_object
-***************
-*** 248,256 ****
- FILES
- "${SWIFTSTATICLIB_DIR}/${arch_subdir}/swift_begin.o"
- "${SWIFTSTATICLIB_DIR}/${arch_subdir}/swift_end.o"
- DESTINATION
-! "lib/swift_static/${arch_subdir}")
- endif()
-
- endforeach()
- endforeach()
---- 248,256 ----
- FILES
- "${SWIFTSTATICLIB_DIR}/${arch_subdir}/swift_begin.o"
- "${SWIFTSTATICLIB_DIR}/${arch_subdir}/swift_end.o"
- DESTINATION
-! "lib${SWIFT_LIBDIR_SUFFIX}/swift_static/${arch_subdir}")
- endif()
-
- endforeach()
- endforeach()
-diff -C 4 -dHrN source/swift/test/Driver/environment.swift patched/swift/test/Driver/environment.swift
-*** source/swift/test/Driver/environment.swift 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/test/Driver/environment.swift 2017-10-16 20:21:11.000000000 -0200
-***************
-*** 2,7 ****
- // Apple's "System Integrity Protection" makes this test fail on OS X.
-
- // RUN: %swift_driver -target x86_64-unknown-gnu-linux -L/foo/ -driver-use-frontend-path %S/Inputs/print-var.sh %s LD_LIBRARY_PATH | %FileCheck -check-prefix=CHECK${LD_LIBRARY_PATH+_LAX} %s
-
-! // CHECK: {{^/foo/:[^:]+/lib/swift/linux$}}
-! // CHECK_LAX: {{^/foo/:[^:]+/lib/swift/linux}}
---- 2,7 ----
- // Apple's "System Integrity Protection" makes this test fail on OS X.
-
- // RUN: %swift_driver -target x86_64-unknown-gnu-linux -L/foo/ -driver-use-frontend-path %S/Inputs/print-var.sh %s LD_LIBRARY_PATH | %FileCheck -check-prefix=CHECK${LD_LIBRARY_PATH+_LAX} %s
-
-! // CHECK: {{^/foo/:[^:]+/swift/linux$}}
-! // CHECK_LAX: {{^/foo/:[^:]+/swift/linux}}
-diff -C 4 -dHrN source/swift/test/Driver/linker.swift patched/swift/test/Driver/linker.swift
-*** source/swift/test/Driver/linker.swift 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/test/Driver/linker.swift 2017-10-23 13:00:57.980363014 -0200
-***************
-*** 54,62 ****
- // CHECK: -o [[OBJECTFILE:.*]]
-
- // CHECK-NEXT: bin/ld{{"? }}
- // CHECK-DAG: [[OBJECTFILE]]
-! // CHECK-DAG: -L [[STDLIB_PATH:[^ ]+/lib/swift/macosx]]
- // CHECK-DAG: -rpath [[STDLIB_PATH]]
- // CHECK-DAG: -lSystem
- // CHECK-DAG: -arch x86_64
- // CHECK: -o {{[^ ]+}}
---- 54,62 ----
- // CHECK: -o [[OBJECTFILE:.*]]
-
- // CHECK-NEXT: bin/ld{{"? }}
- // CHECK-DAG: [[OBJECTFILE]]
-! // CHECK-DAG: -L [[STDLIB_PATH:[^ ]+/swift/macosx]]
- // CHECK-DAG: -rpath [[STDLIB_PATH]]
- // CHECK-DAG: -lSystem
- // CHECK-DAG: -arch x86_64
- // CHECK: -o {{[^ ]+}}
-***************
-*** 73,81 ****
- // IOS_SIMPLE: -o [[OBJECTFILE:.*]]
-
- // IOS_SIMPLE: bin/ld{{"? }}
- // IOS_SIMPLE-DAG: [[OBJECTFILE]]
-! // IOS_SIMPLE-DAG: -L {{[^ ]+/lib/swift/iphonesimulator}}
- // IOS_SIMPLE-DAG: -lSystem
- // IOS_SIMPLE-DAG: -arch x86_64
- // IOS_SIMPLE-DAG: -ios_simulator_version_min 7.1.{{[0-9]+}}
- // IOS_SIMPLE: -o linker
---- 73,81 ----
- // IOS_SIMPLE: -o [[OBJECTFILE:.*]]
-
- // IOS_SIMPLE: bin/ld{{"? }}
- // IOS_SIMPLE-DAG: [[OBJECTFILE]]
-! // IOS_SIMPLE-DAG: -L {{[^ ]+/swift/iphonesimulator}}
- // IOS_SIMPLE-DAG: -lSystem
- // IOS_SIMPLE-DAG: -arch x86_64
- // IOS_SIMPLE-DAG: -ios_simulator_version_min 7.1.{{[0-9]+}}
- // IOS_SIMPLE: -o linker
-***************
-*** 85,93 ****
- // tvOS_SIMPLE: -o [[OBJECTFILE:.*]]
-
- // tvOS_SIMPLE: bin/ld{{"? }}
- // tvOS_SIMPLE-DAG: [[OBJECTFILE]]
-! // tvOS_SIMPLE-DAG: -L {{[^ ]+/lib/swift/appletvsimulator}}
- // tvOS_SIMPLE-DAG: -lSystem
- // tvOS_SIMPLE-DAG: -arch x86_64
- // tvOS_SIMPLE-DAG: -tvos_simulator_version_min 9.0.{{[0-9]+}}
- // tvOS_SIMPLE: -o linker
---- 85,93 ----
- // tvOS_SIMPLE: -o [[OBJECTFILE:.*]]
-
- // tvOS_SIMPLE: bin/ld{{"? }}
- // tvOS_SIMPLE-DAG: [[OBJECTFILE]]
-! // tvOS_SIMPLE-DAG: -L {{[^ ]+/swift/appletvsimulator}}
- // tvOS_SIMPLE-DAG: -lSystem
- // tvOS_SIMPLE-DAG: -arch x86_64
- // tvOS_SIMPLE-DAG: -tvos_simulator_version_min 9.0.{{[0-9]+}}
- // tvOS_SIMPLE: -o linker
-***************
-*** 97,105 ****
- // watchOS_SIMPLE: -o [[OBJECTFILE:.*]]
-
- // watchOS_SIMPLE: bin/ld{{"? }}
- // watchOS_SIMPLE-DAG: [[OBJECTFILE]]
-! // watchOS_SIMPLE-DAG: -L {{[^ ]+/lib/swift/watchsimulator}}
- // watchOS_SIMPLE-DAG: -lSystem
- // watchOS_SIMPLE-DAG: -arch i386
- // watchOS_SIMPLE-DAG: -watchos_simulator_version_min 2.0.{{[0-9]+}}
- // watchOS_SIMPLE: -o linker
---- 97,105 ----
- // watchOS_SIMPLE: -o [[OBJECTFILE:.*]]
-
- // watchOS_SIMPLE: bin/ld{{"? }}
- // watchOS_SIMPLE-DAG: [[OBJECTFILE]]
-! // watchOS_SIMPLE-DAG: -L {{[^ ]+/swift/watchsimulator}}
- // watchOS_SIMPLE-DAG: -lSystem
- // watchOS_SIMPLE-DAG: -arch i386
- // watchOS_SIMPLE-DAG: -watchos_simulator_version_min 2.0.{{[0-9]+}}
- // watchOS_SIMPLE: -o linker
-***************
-*** 110,118 ****
-
- // LINUX-x86_64: clang++{{"? }}
- // LINUX-x86_64-DAG: [[OBJECTFILE]]
- // LINUX-x86_64-DAG: -lswiftCore
-! // LINUX-x86_64-DAG: -L [[STDLIB_PATH:[^ ]+/lib/swift]]
- // LINUX-x86_64-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // LINUX-x86_64-DAG: -F foo -iframework car -F cdr
- // LINUX-x86_64-DAG: -framework bar
- // LINUX-x86_64-DAG: -L baz
---- 110,118 ----
-
- // LINUX-x86_64: clang++{{"? }}
- // LINUX-x86_64-DAG: [[OBJECTFILE]]
- // LINUX-x86_64-DAG: -lswiftCore
-! // LINUX-x86_64-DAG: -L [[STDLIB_PATH:[^ ]+/swift]]
- // LINUX-x86_64-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // LINUX-x86_64-DAG: -F foo -iframework car -F cdr
- // LINUX-x86_64-DAG: -framework bar
- // LINUX-x86_64-DAG: -L baz
-***************
-*** 125,133 ****
-
- // LINUX-armv6: clang++{{"? }}
- // LINUX-armv6-DAG: [[OBJECTFILE]]
- // LINUX-armv6-DAG: -lswiftCore
-! // LINUX-armv6-DAG: -L [[STDLIB_PATH:[^ ]+/lib/swift]]
- // LINUX-armv6-DAG: -target armv6-unknown-linux-gnueabihf
- // LINUX-armv6-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // LINUX-armv6-DAG: -F foo -iframework car -F cdr
- // LINUX-armv6-DAG: -framework bar
---- 125,133 ----
-
- // LINUX-armv6: clang++{{"? }}
- // LINUX-armv6-DAG: [[OBJECTFILE]]
- // LINUX-armv6-DAG: -lswiftCore
-! // LINUX-armv6-DAG: -L [[STDLIB_PATH:[^ ]+/swift]]
- // LINUX-armv6-DAG: -target armv6-unknown-linux-gnueabihf
- // LINUX-armv6-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // LINUX-armv6-DAG: -F foo -iframework car -F cdr
- // LINUX-armv6-DAG: -framework bar
-***************
-*** 141,149 ****
-
- // LINUX-armv7: clang++{{"? }}
- // LINUX-armv7-DAG: [[OBJECTFILE]]
- // LINUX-armv7-DAG: -lswiftCore
-! // LINUX-armv7-DAG: -L [[STDLIB_PATH:[^ ]+/lib/swift]]
- // LINUX-armv7-DAG: -target armv7-unknown-linux-gnueabihf
- // LINUX-armv7-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // LINUX-armv7-DAG: -F foo -iframework car -F cdr
- // LINUX-armv7-DAG: -framework bar
---- 141,149 ----
-
- // LINUX-armv7: clang++{{"? }}
- // LINUX-armv7-DAG: [[OBJECTFILE]]
- // LINUX-armv7-DAG: -lswiftCore
-! // LINUX-armv7-DAG: -L [[STDLIB_PATH:[^ ]+/swift]]
- // LINUX-armv7-DAG: -target armv7-unknown-linux-gnueabihf
- // LINUX-armv7-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // LINUX-armv7-DAG: -F foo -iframework car -F cdr
- // LINUX-armv7-DAG: -framework bar
-***************
-*** 157,165 ****
-
- // LINUX-thumbv7: clang++{{"? }}
- // LINUX-thumbv7-DAG: [[OBJECTFILE]]
- // LINUX-thumbv7-DAG: -lswiftCore
-! // LINUX-thumbv7-DAG: -L [[STDLIB_PATH:[^ ]+/lib/swift]]
- // LINUX-thumbv7-DAG: -target thumbv7-unknown-linux-gnueabihf
- // LINUX-thumbv7-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // LINUX-thumbv7-DAG: -F foo -iframework car -F cdr
- // LINUX-thumbv7-DAG: -framework bar
---- 157,165 ----
-
- // LINUX-thumbv7: clang++{{"? }}
- // LINUX-thumbv7-DAG: [[OBJECTFILE]]
- // LINUX-thumbv7-DAG: -lswiftCore
-! // LINUX-thumbv7-DAG: -L [[STDLIB_PATH:[^ ]+/swift]]
- // LINUX-thumbv7-DAG: -target thumbv7-unknown-linux-gnueabihf
- // LINUX-thumbv7-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // LINUX-thumbv7-DAG: -F foo -iframework car -F cdr
- // LINUX-thumbv7-DAG: -framework bar
-***************
-*** 173,181 ****
-
- // ANDROID-armv7: clang++{{"? }}
- // ANDROID-armv7-DAG: [[OBJECTFILE]]
- // ANDROID-armv7-DAG: -lswiftCore
-! // ANDROID-armv7-DAG: -L [[STDLIB_PATH:[^ ]+/lib/swift]]
- // ANDROID-armv7-DAG: -target armv7-none-linux-androideabi
- // ANDROID-armv7-DAG: -F foo -iframework car -F cdr
- // ANDROID-armv7-DAG: -framework bar
- // ANDROID-armv7-DAG: -L baz
---- 173,181 ----
-
- // ANDROID-armv7: clang++{{"? }}
- // ANDROID-armv7-DAG: [[OBJECTFILE]]
- // ANDROID-armv7-DAG: -lswiftCore
-! // ANDROID-armv7-DAG: -L [[STDLIB_PATH:[^ ]+/swift]]
- // ANDROID-armv7-DAG: -target armv7-none-linux-androideabi
- // ANDROID-armv7-DAG: -F foo -iframework car -F cdr
- // ANDROID-armv7-DAG: -framework bar
- // ANDROID-armv7-DAG: -L baz
-***************
-*** 189,197 ****
-
- // CYGWIN-x86_64: clang++{{"? }}
- // CYGWIN-x86_64-DAG: [[OBJECTFILE]]
- // CYGWIN-x86_64-DAG: -lswiftCore
-! // CYGWIN-x86_64-DAG: -L [[STDLIB_PATH:[^ ]+/lib/swift]]
- // CYGWIN-x86_64-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // CYGWIN-x86_64-DAG: -F foo -iframework car -F cdr
- // CYGWIN-x86_64-DAG: -framework bar
- // CYGWIN-x86_64-DAG: -L baz
---- 189,197 ----
-
- // CYGWIN-x86_64: clang++{{"? }}
- // CYGWIN-x86_64-DAG: [[OBJECTFILE]]
- // CYGWIN-x86_64-DAG: -lswiftCore
-! // CYGWIN-x86_64-DAG: -L [[STDLIB_PATH:[^ ]+/swift]]
- // CYGWIN-x86_64-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
- // CYGWIN-x86_64-DAG: -F foo -iframework car -F cdr
- // CYGWIN-x86_64-DAG: -framework bar
- // CYGWIN-x86_64-DAG: -L baz
-diff -C 4 -dHrN source/swift/test/Driver/options-interpreter.swift patched/swift/test/Driver/options-interpreter.swift
-*** source/swift/test/Driver/options-interpreter.swift 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/test/Driver/options-interpreter.swift 2017-10-16 20:25:22.000000000 -0200
-***************
-*** 21,35 ****
- // CHECK-RESOURCE-DIR-ONLY-LINUX: # LD_LIBRARY_PATH=/RSRC/linux{{$}}
- // CHECK-RESOURCE-DIR-ONLY-LINUX_LAX: # LD_LIBRARY_PATH=/RSRC/linux{{$|:}}
-
- // RUN: %swift_driver -### -target x86_64-apple-macosx10.9 -L/foo/ %s | %FileCheck -check-prefix=CHECK-L %s
-! // CHECK-L: # DYLD_LIBRARY_PATH={{/foo/:[^:]+/lib/swift/macosx$}}
-
- // RUN: %swift_driver -### -target x86_64-apple-macosx10.9 -L/foo/ -L/bar/ %s | %FileCheck -check-prefix=CHECK-L2 %s
-! // CHECK-L2: # DYLD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/lib/swift/macosx$}}
-
- // RUN: env DYLD_LIBRARY_PATH=/abc/ %swift_driver_plain -### -target x86_64-apple-macosx10.9 -L/foo/ -L/bar/ %s | %FileCheck -check-prefix=CHECK-L2-ENV %s
-! // CHECK-L2-ENV: # DYLD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/lib/swift/macosx:/abc/$}}
-
- // RUN: %swift_driver -### -target x86_64-apple-macosx10.9 %s | %FileCheck -check-prefix=CHECK-NO-FRAMEWORKS %s
- // RUN: env DYLD_FRAMEWORK_PATH=/abc/ %swift_driver_plain -### -target x86_64-apple-macosx10.9 %s | %FileCheck -check-prefix=CHECK-NO-FRAMEWORKS %s
- // CHECK-NO-FRAMEWORKS-NOT: DYLD_FRAMEWORK_PATH
---- 21,35 ----
- // CHECK-RESOURCE-DIR-ONLY-LINUX: # LD_LIBRARY_PATH=/RSRC/linux{{$}}
- // CHECK-RESOURCE-DIR-ONLY-LINUX_LAX: # LD_LIBRARY_PATH=/RSRC/linux{{$|:}}
-
- // RUN: %swift_driver -### -target x86_64-apple-macosx10.9 -L/foo/ %s | %FileCheck -check-prefix=CHECK-L %s
-! // CHECK-L: # DYLD_LIBRARY_PATH={{/foo/:[^:]+/swift/macosx$}}
-
- // RUN: %swift_driver -### -target x86_64-apple-macosx10.9 -L/foo/ -L/bar/ %s | %FileCheck -check-prefix=CHECK-L2 %s
-! // CHECK-L2: # DYLD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/swift/macosx$}}
-
- // RUN: env DYLD_LIBRARY_PATH=/abc/ %swift_driver_plain -### -target x86_64-apple-macosx10.9 -L/foo/ -L/bar/ %s | %FileCheck -check-prefix=CHECK-L2-ENV %s
-! // CHECK-L2-ENV: # DYLD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/swift/macosx:/abc/$}}
-
- // RUN: %swift_driver -### -target x86_64-apple-macosx10.9 %s | %FileCheck -check-prefix=CHECK-NO-FRAMEWORKS %s
- // RUN: env DYLD_FRAMEWORK_PATH=/abc/ %swift_driver_plain -### -target x86_64-apple-macosx10.9 %s | %FileCheck -check-prefix=CHECK-NO-FRAMEWORKS %s
- // CHECK-NO-FRAMEWORKS-NOT: DYLD_FRAMEWORK_PATH
-***************
-*** 55,67 ****
- // CHECK-COMPLEX: -F /foo/
- // CHECK-COMPLEX: -F /bar/
- // CHECK-COMPLEX: #
- // CHECK-COMPLEX-DAG: DYLD_FRAMEWORK_PATH=/foo/:/bar/:/abc/{{$| }}
-! // CHECK-COMPLEX-DAG: DYLD_LIBRARY_PATH={{/foo2/:/bar2/:[^:]+/lib/swift/macosx($| )}}
-
- // RUN: %swift_driver -### -target x86_64-unknown-linux-gnu -L/foo/ %s | %FileCheck -check-prefix=CHECK-L-LINUX${LD_LIBRARY_PATH+_LAX} %s
-! // CHECK-L-LINUX: # LD_LIBRARY_PATH={{/foo/:[^:]+/lib/swift/linux$}}
-! // CHECK-L-LINUX_LAX: # LD_LIBRARY_PATH={{/foo/:[^:]+/lib/swift/linux($|:)}}
-
- // RUN: env LD_LIBRARY_PATH=/abc/ %swift_driver_plain -### -target x86_64-unknown-linux-gnu -L/foo/ -L/bar/ %s | %FileCheck -check-prefix=CHECK-LINUX-COMPLEX${LD_LIBRARY_PATH+_LAX} %s
-! // CHECK-LINUX-COMPLEX: # LD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/lib/swift/linux:/abc/$}}
-! // CHECK-LINUX-COMPLEX_LAX: # LD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/lib/swift/linux:/abc/($|:)}}
---- 55,67 ----
- // CHECK-COMPLEX: -F /foo/
- // CHECK-COMPLEX: -F /bar/
- // CHECK-COMPLEX: #
- // CHECK-COMPLEX-DAG: DYLD_FRAMEWORK_PATH=/foo/:/bar/:/abc/{{$| }}
-! // CHECK-COMPLEX-DAG: DYLD_LIBRARY_PATH={{/foo2/:/bar2/:[^:]+/swift/macosx($| )}}
-
- // RUN: %swift_driver -### -target x86_64-unknown-linux-gnu -L/foo/ %s | %FileCheck -check-prefix=CHECK-L-LINUX${LD_LIBRARY_PATH+_LAX} %s
-! // CHECK-L-LINUX: # LD_LIBRARY_PATH={{/foo/:[^:]+/swift/linux$}}
-! // CHECK-L-LINUX_LAX: # LD_LIBRARY_PATH={{/foo/:[^:]+/swift/linux($|:)}}
-
- // RUN: env LD_LIBRARY_PATH=/abc/ %swift_driver_plain -### -target x86_64-unknown-linux-gnu -L/foo/ -L/bar/ %s | %FileCheck -check-prefix=CHECK-LINUX-COMPLEX${LD_LIBRARY_PATH+_LAX} %s
-! // CHECK-LINUX-COMPLEX: # LD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/swift/linux:/abc/$}}
-! // CHECK-LINUX-COMPLEX_LAX: # LD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/swift/linux:/abc/($|:)}}
-diff -C 4 -dHrN source/swift/test/Driver/profiling.swift patched/swift/test/Driver/profiling.swift
-*** source/swift/test/Driver/profiling.swift 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/test/Driver/profiling.swift 2017-10-16 20:24:17.000000000 -0200
-***************
-*** 22,48 ****
- // CHECK: swift
- // CHECK: -profile-generate
-
- // OSX: bin/ld{{"? }}
-! // OSX: lib/swift/clang/lib/darwin/libclang_rt.profile_osx.a
-
- // IOS: bin/ld{{"? }}
-! // IOS: lib/swift/clang/lib/darwin/libclang_rt.profile_ios.a
-
- // IOSSIM: bin/ld{{"? }}
-! // IOSSIM: lib/swift/clang/lib/darwin/libclang_rt.profile_iossim.a
-
- // tvOS: bin/ld{{"? }}
-! // tvOS: lib/swift/clang/lib/darwin/libclang_rt.profile_tvos.a
-
- // tvOS_SIM: bin/ld{{"? }}
-! // tvOS_SIM: lib/swift/clang/lib/darwin/libclang_rt.profile_tvossim.a
-
- // watchOS: bin/ld{{"? }}
-! // watchOS: lib/swift/clang/lib/darwin/libclang_rt.profile_watchos.a
-
- // watchOS_SIM: bin/ld{{"? }}
-! // watchOS_SIM: lib/swift/clang/lib/darwin/libclang_rt.profile_watchossim.a
-
- // LINUX: clang++{{"? }}
-! // LINUX: lib/swift/clang/lib/linux/libclang_rt.profile-x86_64.a
- // LINUX: -u__llvm_profile_runtime
---- 22,48 ----
- // CHECK: swift
- // CHECK: -profile-generate
-
- // OSX: bin/ld{{"? }}
-! // OSX: {{[^:]+/swift/clang/lib/darwin/libclang_rt.profile_osx.a}}
-
- // IOS: bin/ld{{"? }}
-! // IOS: {{[^:]+/swift/clang/lib/darwin/libclang_rt.profile_ios.a}}
-
- // IOSSIM: bin/ld{{"? }}
-! // IOSSIM: {{[^:]+/swift/clang/lib/darwin/libclang_rt.profile_iossim.a}}
-
- // tvOS: bin/ld{{"? }}
-! // tvOS: {{[^:]+/swift/clang/lib/darwin/libclang_rt.profile_tvos.a}}
-
- // tvOS_SIM: bin/ld{{"? }}
-! // tvOS_SIM: {{[^:]+/swift/clang/lib/darwin/libclang_rt.profile_tvossim.a}}
-
- // watchOS: bin/ld{{"? }}
-! // watchOS: {{[^:]+/swift/clang/lib/darwin/libclang_rt.profile_watchos.a}}
-
- // watchOS_SIM: bin/ld{{"? }}
-! // watchOS_SIM: {{[^:]+/swift/clang/lib/darwin/libclang_rt.profile_watchossim.a}}
-
- // LINUX: clang++{{"? }}
-! // LINUX: {{[^:]+/swift/clang/lib/linux/libclang_rt.profile-x86_64.a}}
- // LINUX: -u__llvm_profile_runtime
-diff -C 4 -dHrN source/swift/test/Driver/sanitizers.swift patched/swift/test/Driver/sanitizers.swift
-*** source/swift/test/Driver/sanitizers.swift 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/test/Driver/sanitizers.swift 2017-10-16 20:22:49.000000000 -0200
-***************
-*** 23,49 ****
-
- // ASAN: swift
- // ASAN: -sanitize=address
-
-! // ASAN_OSX: lib/swift/clang/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
-! // ASAN_IOSSIM: lib/swift/clang/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib
-! // ASAN_IOS: lib/swift/clang/lib/darwin/libclang_rt.asan_ios_dynamic.dylib
-! // ASAN_tvOS_SIM: lib/swift/clang/lib/darwin/libclang_rt.asan_tvossim_dynamic.dylib
-! // ASAN_tvOS: lib/swift/clang/lib/darwin/libclang_rt.asan_tvos_dynamic.dylib
-! // ASAN_watchOS_SIM: lib/swift/clang/lib/darwin/libclang_rt.asan_watchossim_dynamic.dylib
-! // ASAN_watchOS: lib/swift/clang/lib/darwin/libclang_rt.asan_watchos_dynamic.dylib
- // ASAN_LINUX: unsupported option '-sanitize=address' for target 'x86_64-unknown-linux-gnu'
-
- // ASAN: -rpath @executable_path
-
- // TSAN: swift
- // TSAN: -sanitize=thread
-
-! // TSAN_OSX: lib/swift/clang/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
- // TSAN_OSX_32: unsupported option '-sanitize=thread' for target 'x86-apple-macosx10.9'
-! // TSAN_IOSSIM: lib/swift/clang/lib/darwin/libclang_rt.tsan_iossim_dynamic.dylib
- // TSAN_IOS: unsupported option '-sanitize=thread' for target 'arm64-apple-ios7.1'
-! // TSAN_tvOS_SIM: lib/swift/clang/lib/darwin/libclang_rt.tsan_tvossim_dynamic.dylib
- // TSAN_tvOS: unsupported option '-sanitize=thread' for target 'arm64-apple-tvos9.0'
- // TSAN_watchOS_SIM: unsupported option '-sanitize=thread' for target 'i386-apple-watchos2.0'
- // TSAN_watchOS: unsupported option '-sanitize=thread' for target 'armv7k-apple-watchos2.0'
- // TSAN_LINUX: unsupported option '-sanitize=thread' for target 'x86_64-unknown-linux-gnu'
---- 23,49 ----
-
- // ASAN: swift
- // ASAN: -sanitize=address
-
-! // ASAN_OSX: swift/clang/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
-! // ASAN_IOSSIM: swift/clang/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib
-! // ASAN_IOS: swift/clang/lib/darwin/libclang_rt.asan_ios_dynamic.dylib
-! // ASAN_tvOS_SIM: swift/clang/lib/darwin/libclang_rt.asan_tvossim_dynamic.dylib
-! // ASAN_tvOS: swift/clang/lib/darwin/libclang_rt.asan_tvos_dynamic.dylib
-! // ASAN_watchOS_SIM: swift/clang/lib/darwin/libclang_rt.asan_watchossim_dynamic.dylib
-! // ASAN_watchOS: swift/clang/lib/darwin/libclang_rt.asan_watchos_dynamic.dylib
- // ASAN_LINUX: unsupported option '-sanitize=address' for target 'x86_64-unknown-linux-gnu'
-
- // ASAN: -rpath @executable_path
-
- // TSAN: swift
- // TSAN: -sanitize=thread
-
-! // TSAN_OSX: swift/clang/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
- // TSAN_OSX_32: unsupported option '-sanitize=thread' for target 'x86-apple-macosx10.9'
-! // TSAN_IOSSIM: swift/clang/lib/darwin/libclang_rt.tsan_iossim_dynamic.dylib
- // TSAN_IOS: unsupported option '-sanitize=thread' for target 'arm64-apple-ios7.1'
-! // TSAN_tvOS_SIM: swift/clang/lib/darwin/libclang_rt.tsan_tvossim_dynamic.dylib
- // TSAN_tvOS: unsupported option '-sanitize=thread' for target 'arm64-apple-tvos9.0'
- // TSAN_watchOS_SIM: unsupported option '-sanitize=thread' for target 'i386-apple-watchos2.0'
- // TSAN_watchOS: unsupported option '-sanitize=thread' for target 'armv7k-apple-watchos2.0'
- // TSAN_LINUX: unsupported option '-sanitize=thread' for target 'x86_64-unknown-linux-gnu'
-diff -C 4 -dHrN source/swift/test/lit.cfg patched/swift/test/lit.cfg
-*** source/swift/test/lit.cfg 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/test/lit.cfg 2017-10-16 20:19:23.437234342 -0200
-***************
-*** 298,306 ****
- config.gyb = os.path.join(config.swift_utils, 'gyb')
- config.rth = os.path.join(config.swift_utils, 'rth') # Resilience test helper
- config.scale_test = os.path.join(config.swift_utils, 'scale-test')
- config.PathSanitizingFileCheck = os.path.join(config.swift_utils, 'PathSanitizingFileCheck')
-! config.swift_lib_dir = os.path.join(os.path.dirname(os.path.dirname(config.swift)), 'lib')
- config.round_trip_syntax_test = os.path.join(config.swift_utils, 'round-trip-syntax-test')
-
- # Find the resource directory. Assume it's near the swift compiler if not set.
- test_resource_dir = lit_config.params.get('test_resource_dir')
---- 298,309 ----
- config.gyb = os.path.join(config.swift_utils, 'gyb')
- config.rth = os.path.join(config.swift_utils, 'rth') # Resilience test helper
- config.scale_test = os.path.join(config.swift_utils, 'scale-test')
- config.PathSanitizingFileCheck = os.path.join(config.swift_utils, 'PathSanitizingFileCheck')
-! if platform.system() == 'Linux' and platform.machine() == 'x86_64':
-! config.swift_lib_dir = os.path.join(os.path.dirname(os.path.dirname(config.swift)), 'lib64')
-! else:
-! config.swift_lib_dir = os.path.join(os.path.dirname(os.path.dirname(config.swift)), 'lib')
- config.round_trip_syntax_test = os.path.join(config.swift_utils, 'round-trip-syntax-test')
-
- # Find the resource directory. Assume it's near the swift compiler if not set.
- test_resource_dir = lit_config.params.get('test_resource_dir')
-diff -C 4 -dHrN source/swift/tools/SourceKit/CMakeLists.txt patched/swift/tools/SourceKit/CMakeLists.txt
-*** source/swift/tools/SourceKit/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/tools/SourceKit/CMakeLists.txt 2017-10-08 03:05:38.425114059 -0300
-***************
-*** 199,207 ****
-
- if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
- if(SOURCEKITLIB_SHARED)
- set_target_properties(${name} PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE)
-! set_target_properties(${name} PROPERTIES INSTALL_RPATH "$ORIGIN/../lib/swift/linux:/usr/lib/swift/linux")
- endif()
- endif()
-
- if("${SOURCEKITLIB_INSTALL_IN_COMPONENT}" STREQUAL "")
---- 199,207 ----
-
- if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
- if(SOURCEKITLIB_SHARED)
- set_target_properties(${name} PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE)
-! set_target_properties(${name} PROPERTIES INSTALL_RPATH "$ORIGIN/../lib${SWIFT_LIBDIR_SUFFIX}/swift/linux:/usr/lib${SWIFT_LIBDIR_SUFFIX}/swift/linux")
- endif()
- endif()
-
- if("${SOURCEKITLIB_INSTALL_IN_COMPONENT}" STREQUAL "")
-***************
-*** 537,545 ****
- IMPORTED_LOCATION ${SWIFT_PATH_TO_LIBDISPATCH_BUILD}/src/.libs/libdispatch.so)
-
- add_library(swiftCore SHARED IMPORTED)
- set_target_properties(swiftCore PROPERTIES
-! IMPORTED_LOCATION ${SOURCEKIT_BINARY_DIR}/lib/swift/linux/libswiftCore.so)
-
- set(SOURCEKIT_NEED_EXPLICIT_LIBDISPATCH TRUE)
- endif()
-
---- 537,545 ----
- IMPORTED_LOCATION ${SWIFT_PATH_TO_LIBDISPATCH_BUILD}/src/.libs/libdispatch.so)
-
- add_library(swiftCore SHARED IMPORTED)
- set_target_properties(swiftCore PROPERTIES
-! IMPORTED_LOCATION ${SOURCEKIT_BINARY_DIR}/lib${SWIFT_LIBDIR_SUFFIX}/swift/linux/libswiftCore.so)
-
- set(SOURCEKIT_NEED_EXPLICIT_LIBDISPATCH TRUE)
- endif()
-
-diff -C 4 -dHrN source/swift/tools/SourceKit/tools/sourcekitd/bin/InProc/CMakeLists.txt patched/swift/tools/SourceKit/tools/sourcekitd/bin/InProc/CMakeLists.txt
-*** source/swift/tools/SourceKit/tools/sourcekitd/bin/InProc/CMakeLists.txt 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/tools/SourceKit/tools/sourcekitd/bin/InProc/CMakeLists.txt 2017-10-08 03:07:22.000000000 -0300
-***************
-*** 48,56 ****
-
- if (SOURCEKIT_BUILT_STANDALONE)
- # Create the symlinks necessary to find the swift runtime.
- add_custom_command(TARGET sourcekitdInProc PRE_BUILD
-! COMMAND ln "-fhs" "${PATH_TO_SWIFT_BUILD}/lib/swift" "${SOURCEKIT_BINARY_DIR}/lib")
- endif()
-
- if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
- if(SWIFT_COMPILER_VERSION)
---- 48,56 ----
-
- if (SOURCEKIT_BUILT_STANDALONE)
- # Create the symlinks necessary to find the swift runtime.
- add_custom_command(TARGET sourcekitdInProc PRE_BUILD
-! COMMAND ln "-fhs" "${PATH_TO_SWIFT_BUILD}/lib${SWIFT_LIBDIR_SUFFIX}/swift" "${SOURCEKIT_BINARY_DIR}/lib${SWIFT_LIBDIR_SUFFIX}")
- endif()
-
- if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
- if(SWIFT_COMPILER_VERSION)
-diff -C 4 -dHrN source/swift/tools/driver/modulewrap_main.cpp patched/swift/tools/driver/modulewrap_main.cpp
-*** source/swift/tools/driver/modulewrap_main.cpp 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/tools/driver/modulewrap_main.cpp 2017-10-08 03:27:14.000000000 -0300
-***************
-*** 159,167 ****
- // should share its implementation.
- SmallString<128> RuntimeResourcePath(MainExecutablePath);
- llvm::sys::path::remove_filename(RuntimeResourcePath); // Remove /swift
- llvm::sys::path::remove_filename(RuntimeResourcePath); // Remove /bin
-! llvm::sys::path::append(RuntimeResourcePath, "lib", "swift");
- SearchPathOpts.RuntimeResourcePath = RuntimeResourcePath.str();
-
- SourceManager SrcMgr;
- LangOptions LangOpts;
---- 159,171 ----
- // should share its implementation.
- SmallString<128> RuntimeResourcePath(MainExecutablePath);
- llvm::sys::path::remove_filename(RuntimeResourcePath); // Remove /swift
- llvm::sys::path::remove_filename(RuntimeResourcePath); // Remove /bin
-! #if defined(__linux__) && defined(__x86_64__)
-! llvm::sys::path::append(RuntimeResourcePath, "lib64", "swift");
-! #else
-! llvm::sys::path::append(RuntimeResourcePath, "lib", "swift");
-! #endif
- SearchPathOpts.RuntimeResourcePath = RuntimeResourcePath.str();
-
- SourceManager SrcMgr;
- LangOptions LangOpts;
-diff -C 4 -dHrN source/swift/utils/build-script-impl patched/swift/utils/build-script-impl
-*** source/swift/utils/build-script-impl 2017-09-19 16:16:36.000000000 -0300
---- patched/swift/utils/build-script-impl 2017-10-08 03:39:17.000000000 -0300
-***************
-*** 1946,1953 ****
---- 1946,1964 ----
- # Add any specific cmake options specified by build-script
- product_cmake_options_name=$(to_varname "${product}")_CMAKE_OPTIONS
- product_cmake_options=(${!product_cmake_options_name}) # convert to array
- cmake_options+=("${product_cmake_options[@]}")
-+
-+ LIBDIR_SUFFIX=""
-+
-+ if [ "${host}" == "linux-x86_64" ] ; then
-+ LIBDIR_SUFFIX="64"
-+ cmake_options+=(
-+ -DLLVM_LIBDIR_SUFFIX="64"
-+ -DCLANG_LIBDIR_SUFFIX="64"
-+ -DSWIFT_LIBDIR_SUFFIX="64"
-+ )
-+ fi
-
- case ${product} in
- cmark)
- cmake_options=(
-***************
-*** 2477,2485 ****
- libicu)
- SWIFT_BUILD_PATH=$(build_directory ${host} swift)
- LIBICU_BUILD_DIR=$(build_directory ${host} ${product})
- ICU_TMPINSTALL=$LIBICU_BUILD_DIR/tmp_install
-! ICU_TMPLIBDIR="${SWIFT_BUILD_PATH}/lib/swift/${SWIFT_HOST_VARIANT}/${SWIFT_HOST_VARIANT_ARCH}"
- if [[ "${RECONFIGURE}" || ! -f "${LIBICU_BUILD_DIR}"/config.status ]]; then
- echo "Reconfiguring libicu"
- if [[ "$LIBICU_BUILD_TYPE" == "Release" ]] ; then
- icu_build_variant_arg="--enable-release"
---- 2488,2496 ----
- libicu)
- SWIFT_BUILD_PATH=$(build_directory ${host} swift)
- LIBICU_BUILD_DIR=$(build_directory ${host} ${product})
- ICU_TMPINSTALL=$LIBICU_BUILD_DIR/tmp_install
-! ICU_TMPLIBDIR="${SWIFT_BUILD_PATH}/lib${LIBDIR_SUFFIX}/swift/${SWIFT_HOST_VARIANT}/${SWIFT_HOST_VARIANT_ARCH}"
- if [[ "${RECONFIGURE}" || ! -f "${LIBICU_BUILD_DIR}"/config.status ]]; then
- echo "Reconfiguring libicu"
- if [[ "$LIBICU_BUILD_TYPE" == "Release" ]] ; then
- icu_build_variant_arg="--enable-release"
-***************
-*** 2501,2511 ****
- echo "Skipping reconfiguration of libicu"
- fi
- with_pushd "${LIBICU_BUILD_DIR}" \
- call make install
-! ICU_LIBDIR="$(build_directory ${host} swift)/lib/swift/${SWIFT_HOST_VARIANT}/${SWIFT_HOST_VARIANT_ARCH}"
-! ICU_LIBDIR_STATIC="$(build_directory ${host} swift)/lib/swift_static/${SWIFT_HOST_VARIANT}"
-! ICU_LIBDIR_STATIC_ARCH="$(build_directory ${host} swift)/lib/swift_static/${SWIFT_HOST_VARIANT}/${SWIFT_HOST_VARIANT_ARCH}"
- mkdir -p "${ICU_LIBDIR_STATIC_ARCH}"
- # Copy the static libs into the swift_static directory
- for l in uc i18n data
- do
---- 2512,2522 ----
- echo "Skipping reconfiguration of libicu"
- fi
- with_pushd "${LIBICU_BUILD_DIR}" \
- call make install
-! ICU_LIBDIR="$(build_directory ${host} swift)/lib${LIBDIR_SUFFIX}/swift/${SWIFT_HOST_VARIANT}/${SWIFT_HOST_VARIANT_ARCH}"
-! ICU_LIBDIR_STATIC="$(build_directory ${host} swift)/lib${LIBDIR_SUFFIX}/swift_static/${SWIFT_HOST_VARIANT}"
-! ICU_LIBDIR_STATIC_ARCH="$(build_directory ${host} swift)/lib${LIBDIR_SUFFIX}/swift_static/${SWIFT_HOST_VARIANT}/${SWIFT_HOST_VARIANT_ARCH}"
- mkdir -p "${ICU_LIBDIR_STATIC_ARCH}"
- # Copy the static libs into the swift_static directory
- for l in uc i18n data
- do
-***************
-*** 2756,2764 ****
-
- call mkdir -p "${results_dir}"
- with_pushd "${results_dir}" \
- call env SWIFTCC="$(build_directory $LOCAL_HOST swift)/bin/swiftc" \
-! SWIFTLIBS="${swift_build_dir}/lib/swift" \
- "${LLDB_SOURCE_DIR}"/test/dotest.py \
- --executable "${lldb_executable}" \
- --rerun-all-issues \
- ${LLDB_TEST_SUBDIR_CLAUSE} \
---- 2767,2775 ----
-
- call mkdir -p "${results_dir}"
- with_pushd "${results_dir}" \
- call env SWIFTCC="$(build_directory $LOCAL_HOST swift)/bin/swiftc" \
-! SWIFTLIBS="${swift_build_dir}/lib${LIBDIR_SUFFIX}/swift" \
- "${LLDB_SOURCE_DIR}"/test/dotest.py \
- --executable "${lldb_executable}" \
- --rerun-all-issues \
- ${LLDB_TEST_SUBDIR_CLAUSE} \
-***************
-*** 2831,2839 ****
- build_dir=$(build_directory ${host} ${product})
- XCTEST_BUILD_DIR=$(build_directory ${host} xctest)
- with_pushd "${FOUNDATION_SOURCE_DIR}" \
- call ${NINJA_BIN} TestFoundation
-! call env LD_LIBRARY_PATH="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})"/lib/swift/:"${build_dir}/Foundation":"${XCTEST_BUILD_DIR}""${LIBDISPATCH_LIB_DIR}":${LD_LIBRARY_PATH} "${build_dir}"/TestFoundation/TestFoundation
- echo "--- Finished tests for ${product} ---"
- continue
- ;;
- libdispatch)
---- 2842,2850 ----
- build_dir=$(build_directory ${host} ${product})
- XCTEST_BUILD_DIR=$(build_directory ${host} xctest)
- with_pushd "${FOUNDATION_SOURCE_DIR}" \
- call ${NINJA_BIN} TestFoundation
-! call env LD_LIBRARY_PATH="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})"/lib${LIBDIR_SUFFIX}/swift/:"${build_dir}/Foundation":"${XCTEST_BUILD_DIR}""${LIBDISPATCH_LIB_DIR}":${LD_LIBRARY_PATH} "${build_dir}"/TestFoundation/TestFoundation
- echo "--- Finished tests for ${product} ---"
- continue
- ;;
- libdispatch)
-***************
-*** 2858,2866 ****
- echo "--- Finished tests for ${product} ---"
- continue
- ;;
- playgroundlogger)
-! SWIFT_DYLIB_PATH=$(build_directory ${host} swift)/lib/swift/macosx/
- PLAYGROUNDLOGGER_FRAMEWORK_PATH=$(build_directory ${host} ${product})
- set -x
- pushd "${PLAYGROUNDLOGGER_FRAMEWORK_PATH}"
- DYLD_LIBRARY_PATH=$SWIFT_DYLIB_PATH DYLD_FRAMEWORK_PATH=$PLAYGROUNDLOGGER_FRAMEWORK_PATH ./PlaygroundLogger_TestDriver
---- 2869,2877 ----
- echo "--- Finished tests for ${product} ---"
- continue
- ;;
- playgroundlogger)
-! SWIFT_DYLIB_PATH=$(build_directory ${host} swift)/lib${LIBDIR_SUFFIX}/swift/macosx/
- PLAYGROUNDLOGGER_FRAMEWORK_PATH=$(build_directory ${host} ${product})
- set -x
- pushd "${PLAYGROUNDLOGGER_FRAMEWORK_PATH}"
- DYLD_LIBRARY_PATH=$SWIFT_DYLIB_PATH DYLD_FRAMEWORK_PATH=$PLAYGROUNDLOGGER_FRAMEWORK_PATH ./PlaygroundLogger_TestDriver
-***************
-*** 3049,3057 ****
- esac
-
- echo "--- Installing ${product} ---"
- XCTEST_BUILD_DIR=$(build_directory ${host} xctest)
-! XCTEST_INSTALL_PREFIX="${host_install_destdir}${host_install_prefix}/lib/swift/${LIB_TARGET}"
- # Note that installing directly to /usr/lib/swift usually
- # requires root permissions.
- call "${XCTEST_SOURCE_DIR}"/build_script.py install \
- --library-install-path="${XCTEST_INSTALL_PREFIX}" \
---- 3060,3068 ----
- esac
-
- echo "--- Installing ${product} ---"
- XCTEST_BUILD_DIR=$(build_directory ${host} xctest)
-! XCTEST_INSTALL_PREFIX="${host_install_destdir}${host_install_prefix}/lib${LIBDIR_SUFFIX}/swift/${LIB_TARGET}"
- # Note that installing directly to /usr/lib/swift usually
- # requires root permissions.
- call "${XCTEST_SOURCE_DIR}"/build_script.py install \
- --library-install-path="${XCTEST_INSTALL_PREFIX}" \
-***************
-*** 3107,3117 ****
- exit 1
- fi
- echo "--- Installing ${product} ---"
- LIBICU_BUILD_DIR=$(build_directory ${host} ${product})
-! ICU_LIBDIR="$(build_directory ${host} swift)/lib/swift/${SWIFT_HOST_VARIANT}/${SWIFT_HOST_VARIANT_ARCH}"
-! LIBICU_DEST_DIR="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})lib/swift/${SWIFT_HOST_VARIANT}"
-! LIBICU_DEST_DIR_STATIC="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})lib/swift_static/${SWIFT_HOST_VARIANT}"
- mkdir -p ${LIBICU_DEST_DIR}
- mkdir -p ${LIBICU_DEST_DIR_STATIC}
- for l in uc i18n data
- do
---- 3118,3128 ----
- exit 1
- fi
- echo "--- Installing ${product} ---"
- LIBICU_BUILD_DIR=$(build_directory ${host} ${product})
-! ICU_LIBDIR="$(build_directory ${host} swift)/lib${LIBDIR_SUFFIX}/swift/${SWIFT_HOST_VARIANT}/${SWIFT_HOST_VARIANT_ARCH}"
-! LIBICU_DEST_DIR="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})lib${LIBDIR_SUFFIX}/swift/${SWIFT_HOST_VARIANT}"
-! LIBICU_DEST_DIR_STATIC="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})lib${LIBDIR_SUFFIX}/swift_static/${SWIFT_HOST_VARIANT}"
- mkdir -p ${LIBICU_DEST_DIR}
- mkdir -p ${LIBICU_DEST_DIR_STATIC}
- for l in uc i18n data
- do
-***************
-*** 3140,3148 ****
- # requires root permissions.
- set -x
- case "$(uname -s)" in
- Linux)
-! PLAYGROUNDLOGGER_INSTALL_DIR="$(get_host_install_destdir ${host})/$(get_host_install_prefix ${host})/lib/swift/linux"
- mkdir -p "${PLAYGROUNDLOGGER_INSTALL_DIR}"
- cp -R "${PLAYGROUNDLOGGER_BUILD_DIR}"/libPlaygroundLogger.so "${PLAYGROUNDLOGGER_INSTALL_DIR}"
- ;;
- Darwin)
---- 3151,3159 ----
- # requires root permissions.
- set -x
- case "$(uname -s)" in
- Linux)
-! PLAYGROUNDLOGGER_INSTALL_DIR="$(get_host_install_destdir ${host})/$(get_host_install_prefix ${host})/lib${LIBDIR_SUFFIX}/swift/linux"
- mkdir -p "${PLAYGROUNDLOGGER_INSTALL_DIR}"
- cp -R "${PLAYGROUNDLOGGER_BUILD_DIR}"/libPlaygroundLogger.so "${PLAYGROUNDLOGGER_INSTALL_DIR}"
- ;;
- Darwin)
-diff -C 4 -dHrN source/swift-corelibs-foundation/TestFoundation/TestURLSession.swift patched/swift-corelibs-foundation/TestFoundation/TestURLSession.swift
-*** source/swift-corelibs-foundation/TestFoundation/TestURLSession.swift 2017-09-06 08:05:17.000000000 -0300
---- patched/swift-corelibs-foundation/TestFoundation/TestURLSession.swift 2017-10-28 12:57:02.231796508 -0200
-***************
-*** 29,37 ****
- ("test_downloadTaskWithURLAndHandler", test_downloadTaskWithURLAndHandler),
- ("test_finishTaskAndInvalidate", test_finishTasksAndInvalidate),
- ("test_taskError", test_taskError),
- ("test_taskCopy", test_taskCopy),
-! ("test_cancelTask", test_cancelTask),
- ("test_taskTimeout", test_taskTimeout),
- ("test_verifyRequestHeaders", test_verifyRequestHeaders),
- ("test_verifyHttpAdditionalHeaders", test_verifyHttpAdditionalHeaders),
- ("test_timeoutInterval", test_timeoutInterval),
---- 29,37 ----
- ("test_downloadTaskWithURLAndHandler", test_downloadTaskWithURLAndHandler),
- ("test_finishTaskAndInvalidate", test_finishTasksAndInvalidate),
- ("test_taskError", test_taskError),
- ("test_taskCopy", test_taskCopy),
-! // ("test_cancelTask", test_cancelTask),
- ("test_taskTimeout", test_taskTimeout),
- ("test_verifyRequestHeaders", test_verifyRequestHeaders),
- ("test_verifyHttpAdditionalHeaders", test_verifyHttpAdditionalHeaders),
- ("test_timeoutInterval", test_timeoutInterval),
-diff -C 4 -dHrN source/swift-corelibs-foundation/build.py patched/swift-corelibs-foundation/build.py
-*** source/swift-corelibs-foundation/build.py 2017-09-06 08:05:17.000000000 -0300
---- patched/swift-corelibs-foundation/build.py 2017-10-14 22:27:11.053681743 -0300
-***************
-*** 31,38 ****
---- 31,43 ----
-
- if Configuration.current.build_mode == Configuration.Debug:
- foundation.LDFLAGS += ' -lswiftSwiftOnoneSupport '
-
-+ libdir = 'lib'
-+
-+ if Configuration.current.target.sdk == OSType.Linux and Configuration.current.target.arch == ArchType.x86_64:
-+ libdir = 'lib64'
-+
- foundation.ASFLAGS = " ".join([
- '-DCF_CHARACTERSET_BITMAP=\\"CoreFoundation/CharacterSets/CFCharacterSetBitmaps.bitmap\\"',
- '-DCF_CHARACTERSET_UNICHAR_DB=\\"CoreFoundation/CharacterSets/CFUniCharPropertyDatabase.data\\"',
- '-DCF_CHARACTERSET_UNICODE_DATA_B=\\"CoreFoundation/CharacterSets/CFUnicodeData-B.mapping\\"',
-***************
-*** 40,53 ****
- ])
-
- # For now, we do not distinguish between public and private headers (they are all private to Foundation)
- # These are really part of CF, which should ultimately be a separate target
-! foundation.ROOT_HEADERS_FOLDER_PATH = "${PREFIX}/lib/swift"
-! foundation.PUBLIC_HEADERS_FOLDER_PATH = "${PREFIX}/lib/swift/CoreFoundation"
-! foundation.PRIVATE_HEADERS_FOLDER_PATH = "${PREFIX}/lib/swift/CoreFoundation"
-! foundation.PROJECT_HEADERS_FOLDER_PATH = "${PREFIX}/lib/swift/CoreFoundation"
-
-! foundation.PUBLIC_MODULE_FOLDER_PATH = "${PREFIX}/lib/swift/CoreFoundation"
-
- foundation.CFLAGS += " ".join([
- '-DU_SHOW_DRAFT_API',
- '-DCF_BUILDING_CF',
---- 45,58 ----
- ])
-
- # For now, we do not distinguish between public and private headers (they are all private to Foundation)
- # These are really part of CF, which should ultimately be a separate target
-! foundation.ROOT_HEADERS_FOLDER_PATH = "${PREFIX}/" + libdir + "/swift"
-! foundation.PUBLIC_HEADERS_FOLDER_PATH = "${PREFIX}/" + libdir + "/swift/CoreFoundation"
-! foundation.PRIVATE_HEADERS_FOLDER_PATH = "${PREFIX}/" + libdir + "/swift/CoreFoundation"
-! foundation.PROJECT_HEADERS_FOLDER_PATH = "${PREFIX}/" + libdir + "/swift/CoreFoundation"
-
-! foundation.PUBLIC_MODULE_FOLDER_PATH = "${PREFIX}/" + libdir + "/swift/CoreFoundation"
-
- foundation.CFLAGS += " ".join([
- '-DU_SHOW_DRAFT_API',
- '-DCF_BUILDING_CF',
-***************
-*** 64,72 ****
- '-I./',
- ])
-
- swift_cflags += [
-! '-I${BUILD_DIR}/Foundation/usr/lib/swift',
- ]
-
- if "XCTEST_BUILD_DIR" in Configuration.current.variables:
- swift_cflags += [
---- 69,77 ----
- '-I./',
- ])
-
- swift_cflags += [
-! '-I${BUILD_DIR}/Foundation/usr/' + libdir + '/swift',
- ]
-
- if "XCTEST_BUILD_DIR" in Configuration.current.variables:
- swift_cflags += [
-***************
-*** 538,554 ****
- Configuration.current.variables["LIBS_DIRS"] = LIBS_DIRS
-
- extra_script = """
- rule InstallFoundation
-! command = mkdir -p "${DSTROOT}/${PREFIX}/lib/swift/${OS}"; $
-! cp "${BUILD_DIR}/Foundation/${DYLIB_PREFIX}Foundation${DYLIB_SUFFIX}" "${DSTROOT}/${PREFIX}/lib/swift/${OS}"; $
-! mkdir -p "${DSTROOT}/${PREFIX}/lib/swift_static/${OS}"; $
-! cp "${BUILD_DIR}/Foundation/${STATICLIB_PREFIX}Foundation${STATICLIB_SUFFIX}" "${DSTROOT}/${PREFIX}/lib/swift_static/${OS}"; $
-! mkdir -p "${DSTROOT}/${PREFIX}/lib/swift/${OS}/${ARCH}"; $
-! cp "${BUILD_DIR}/Foundation/Foundation.swiftmodule" "${DSTROOT}/${PREFIX}/lib/swift/${OS}/${ARCH}/"; $
-! cp "${BUILD_DIR}/Foundation/Foundation.swiftdoc" "${DSTROOT}/${PREFIX}/lib/swift/${OS}/${ARCH}/"; $
- mkdir -p "${DSTROOT}/${PREFIX}/local/include"; $
-! rsync -a "${BUILD_DIR}/Foundation/${PREFIX}/lib/swift/CoreFoundation" "${DSTROOT}/${PREFIX}/lib/swift/"
-
- build ${BUILD_DIR}/.install: InstallFoundation ${BUILD_DIR}/Foundation/${DYLIB_PREFIX}Foundation${DYLIB_SUFFIX}
-
- build install: phony | ${BUILD_DIR}/.install
---- 543,559 ----
- Configuration.current.variables["LIBS_DIRS"] = LIBS_DIRS
-
- extra_script = """
- rule InstallFoundation
-! command = mkdir -p "${DSTROOT}/${PREFIX}/""" + libdir + """/swift/${OS}"; $
-! cp "${BUILD_DIR}/Foundation/${DYLIB_PREFIX}Foundation${DYLIB_SUFFIX}" "${DSTROOT}/${PREFIX}/""" + libdir + """/swift/${OS}"; $
-! mkdir -p "${DSTROOT}/${PREFIX}/""" + libdir + """/swift_static/${OS}"; $
-! cp "${BUILD_DIR}/Foundation/${STATICLIB_PREFIX}Foundation${STATICLIB_SUFFIX}" "${DSTROOT}/${PREFIX}/""" + libdir + """/swift_static/${OS}"; $
-! mkdir -p "${DSTROOT}/${PREFIX}/""" + libdir + """/swift/${OS}/${ARCH}"; $
-! cp "${BUILD_DIR}/Foundation/Foundation.swiftmodule" "${DSTROOT}/${PREFIX}/""" + libdir + """/swift/${OS}/${ARCH}/"; $
-! cp "${BUILD_DIR}/Foundation/Foundation.swiftdoc" "${DSTROOT}/${PREFIX}/""" + libdir + """/swift/${OS}/${ARCH}/"; $
- mkdir -p "${DSTROOT}/${PREFIX}/local/include"; $
-! rsync -a "${BUILD_DIR}/Foundation/${PREFIX}/""" + libdir + """/swift/CoreFoundation" "${DSTROOT}/${PREFIX}/""" + libdir + """/swift/"
-
- build ${BUILD_DIR}/.install: InstallFoundation ${BUILD_DIR}/Foundation/${DYLIB_PREFIX}Foundation${DYLIB_SUFFIX}
-
- build install: phony | ${BUILD_DIR}/.install
-diff -C 4 -dHrN source/swift-corelibs-foundation/lib/product.py patched/swift-corelibs-foundation/lib/product.py
-*** source/swift-corelibs-foundation/lib/product.py 2017-09-06 08:05:17.000000000 -0300
---- patched/swift-corelibs-foundation/lib/product.py 2017-10-19 16:41:26.664235099 -0200
-***************
-*** 13,20 ****
---- 13,21 ----
- from .phases import Assemble
- from .phases import BuildAction
- from .phases import MergeSwiftModule
- from .target import OSType
-+ from .target import ArchType
- from .path import Path
-
- import os
-
-***************
-*** 117,125 ****
-
- def generate(self, objects = []):
- self.rule = "Link"
- self.product_name = Configuration.current.target.dynamic_library_prefix + self.name + Configuration.current.target.dynamic_library_suffix
-! if Configuration.current.target.sdk == OSType.Linux or Configuration.current.target.sdk == OSType.FreeBSD:
- self.conformance_begin = '${SDKROOT}/lib/swift/${OS}/${ARCH}/swift_begin.o'
- self.conformance_end = '${SDKROOT}/lib/swift/${OS}/${ARCH}/swift_end.o'
- return Library.generate(self, ["-shared", "-Wl,-soname," + self.product_name, "-Wl,--no-undefined"], objects)
- else:
---- 118,130 ----
-
- def generate(self, objects = []):
- self.rule = "Link"
- self.product_name = Configuration.current.target.dynamic_library_prefix + self.name + Configuration.current.target.dynamic_library_suffix
-! if Configuration.current.target.sdk == OSType.Linux and Configuration.current.target.arch == ArchType.x86_64:
-! self.conformance_begin = '${SDKROOT}/lib64/swift/${OS}/${ARCH}/swift_begin.o'
-! self.conformance_end = '${SDKROOT}/lib64/swift/${OS}/${ARCH}/swift_end.o'
-! return Library.generate(self, ["-shared", "-Wl,-soname," + self.product_name, "-Wl,--no-undefined"], objects)
-! elif Configuration.current.target.sdk == OSType.Linux or Configuration.current.target.sdk == OSType.FreeBSD:
- self.conformance_begin = '${SDKROOT}/lib/swift/${OS}/${ARCH}/swift_begin.o'
- self.conformance_end = '${SDKROOT}/lib/swift/${OS}/${ARCH}/swift_end.o'
- return Library.generate(self, ["-shared", "-Wl,-soname," + self.product_name, "-Wl,--no-undefined"], objects)
- else:
-diff -C 4 -dHrN source/swift-corelibs-foundation/lib/script.py patched/swift-corelibs-foundation/lib/script.py
-*** source/swift-corelibs-foundation/lib/script.py 2017-09-06 08:05:17.000000000 -0300
---- patched/swift-corelibs-foundation/lib/script.py 2017-10-14 22:13:16.000000000 -0300
-***************
-*** 7,14 ****
---- 7,23 ----
- # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
- #
-
- from .config import Configuration
-+
-+ from .target import ArchSubType
-+ from .target import ArchType
-+ from .target import EnvironmentType
-+ from .target import ObjectFormat
-+ from .target import OSType
-+ from .target import Target
-+ from .target import Vendor
-+
- import os
-
- class Script:
- products = []
-***************
-*** 102,111 ****
- c_flags += """ -I${BOOTSTRAP_DIR}/usr/include -I${BOOTSTRAP_DIR}/usr/local/include """
- c_flags += """ -I${TARGET_BOOTSTRAP_DIR}/usr/include -I${TARGET_BOOTSTRAP_DIR}/usr/local/include """
-
- c_flags += Configuration.current.extra_c_flags
-
-! swift_flags = "\nTARGET_SWIFTCFLAGS = -I${SDKROOT}/lib/swift/" + Configuration.current.target.swift_sdk_name + " -Xcc -fblocks -resource-dir ${SDKROOT}/lib/swift "
- if swift_triple is not None:
- swift_flags += "-target ${SWIFT_TARGET} "
- if Configuration.current.system_root is not None:
- swift_flags += "-sdk ${SYSROOT} "
---- 111,125 ----
- c_flags += """ -I${BOOTSTRAP_DIR}/usr/include -I${BOOTSTRAP_DIR}/usr/local/include """
- c_flags += """ -I${TARGET_BOOTSTRAP_DIR}/usr/include -I${TARGET_BOOTSTRAP_DIR}/usr/local/include """
-
- c_flags += Configuration.current.extra_c_flags
-+
-+ libdir = 'lib'
-
-! if Configuration.current.target.sdk == OSType.Linux and Configuration.current.target.arch == ArchType.x86_64:
-! libdir = 'lib64'
-!
-! swift_flags = "\nTARGET_SWIFTCFLAGS = -I${SDKROOT}/" + libdir + "/swift/" + Configuration.current.target.swift_sdk_name + " -Xcc -fblocks -resource-dir ${SDKROOT}/" + libdir + "/swift "
- if swift_triple is not None:
- swift_flags += "-target ${SWIFT_TARGET} "
- if Configuration.current.system_root is not None:
- swift_flags += "-sdk ${SYSROOT} "
-***************
-*** 121,129 ****
-
- swift_flags += Configuration.current.extra_swift_flags
-
- swift_flags += """
-! TARGET_SWIFTEXE_FLAGS = -I${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """ -L${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """ """
- if Configuration.current.build_mode == Configuration.Debug:
- swift_flags += "-g -Onone -enable-testing "
- elif Configuration.current.build_mode == Configuration.Release:
- swift_flags += " "
---- 135,143 ----
-
- swift_flags += Configuration.current.extra_swift_flags
-
- swift_flags += """
-! TARGET_SWIFTEXE_FLAGS = -I${SDKROOT}/""" + libdir + """/swift/""" + Configuration.current.target.swift_sdk_name + """ -L${SDKROOT}/""" + libdir + """/swift/""" + Configuration.current.target.swift_sdk_name + """ """
- if Configuration.current.build_mode == Configuration.Debug:
- swift_flags += "-g -Onone -enable-testing "
- elif Configuration.current.build_mode == Configuration.Release:
- swift_flags += " "
-***************
-*** 134,142 ****
- ld_flags = """
- EXTRA_LD_FLAGS = """ + Configuration.current.extra_ld_flags
-
- ld_flags += """
-! TARGET_LDFLAGS = --target=${TARGET} ${EXTRA_LD_FLAGS} -L${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """ """
- if Configuration.current.system_root is not None:
- ld_flags += "--sysroot=${SYSROOT}"
-
- if Configuration.current.bootstrap_directory is not None:
---- 148,156 ----
- ld_flags = """
- EXTRA_LD_FLAGS = """ + Configuration.current.extra_ld_flags
-
- ld_flags += """
-! TARGET_LDFLAGS = --target=${TARGET} ${EXTRA_LD_FLAGS} -L${SDKROOT}/""" + libdir + """/swift/""" + Configuration.current.target.swift_sdk_name + """ """
- if Configuration.current.system_root is not None:
- ld_flags += "--sysroot=${SYSROOT}"
-
- if Configuration.current.bootstrap_directory is not None:
-diff -C 4 -dHrN source/swift-corelibs-libdispatch/configure.ac patched/swift-corelibs-libdispatch/configure.ac
-*** source/swift-corelibs-libdispatch/configure.ac 2017-09-18 17:56:07.000000000 -0300
---- patched/swift-corelibs-libdispatch/configure.ac 2017-10-08 03:21:12.000000000 -0300
-***************
-*** 199,211 ****
- *)
- os_string=$target_os
- ;;
- esac
-! SWIFT_LIBDIR="$swift_toolchain_path/lib/swift/$os_string/$target_cpu"
- have_swift=true],
- [have_swift=false]
- )
- AM_CONDITIONAL(HAVE_SWIFT, $have_swift)
- AC_SUBST([SWIFTC])
- AC_SUBST([SWIFTC_FLAGS])
- AC_SUBST([SWIFT_LIBDIR])
- AC_SUBST([OS_STRING], ["$os_string"])
---- 199,217 ----
- *)
- os_string=$target_os
- ;;
- esac
-! AS_IF([test "$os_string" = "linux"], [
-! AS_IF([test "$target_cpu" = "x86_64"],
-! [libdir_suffix="64"],[libdir_suffix=""])],
-! [AC_MSG_NOTICE([Using lib instead of lib64])])
-! SWIFT_LIBDIR="$swift_toolchain_path/lib$libdir_suffix/swift/$os_string/$target_cpu"
-! AC_MSG_NOTICE([The Swift libdir is: $SWIFT_LIBDIR])
- have_swift=true],
- [have_swift=false]
- )
- AM_CONDITIONAL(HAVE_SWIFT, $have_swift)
-+ AM_CONDITIONAL(HAVE_X64, [test "$libdir_suffix" = "64"])
- AC_SUBST([SWIFTC])
- AC_SUBST([SWIFTC_FLAGS])
- AC_SUBST([SWIFT_LIBDIR])
- AC_SUBST([OS_STRING], ["$os_string"])
-diff -C 4 -dHrN source/swift-corelibs-libdispatch/dispatch/Makefile.am patched/swift-corelibs-libdispatch/dispatch/Makefile.am
-*** source/swift-corelibs-libdispatch/dispatch/Makefile.am 2017-09-18 17:56:07.000000000 -0300
---- patched/swift-corelibs-libdispatch/dispatch/Makefile.am 2017-10-16 20:26:47.000000000 -0200
-***************
-*** 1,12 ****
- #
- #
- #
-
-! if HAVE_SWIFT
-! dispatchdir=${prefix}/lib/swift/dispatch
-! else
- dispatchdir=$(includedir)/dispatch
- endif
-
- dispatch_HEADERS= \
- base.h \
---- 1,16 ----
- #
- #
- #
-
-! if !HAVE_SWIFT
- dispatchdir=$(includedir)/dispatch
-+ else
-+ if HAVE_X64
-+ dispatchdir=${prefix}/lib64/swift/dispatch
-+ else
-+ dispatchdir=${prefix}/lib/swift/dispatch
-+ endif
- endif
-
- dispatch_HEADERS= \
- base.h \
-diff -C 4 -dHrN source/swift-corelibs-libdispatch/os/Makefile.am patched/swift-corelibs-libdispatch/os/Makefile.am
-*** source/swift-corelibs-libdispatch/os/Makefile.am 2017-09-18 17:56:07.000000000 -0300
---- patched/swift-corelibs-libdispatch/os/Makefile.am 2017-10-16 20:38:04.000000000 -0200
-***************
-*** 1,13 ****
- #
- #
- #
-
-! if HAVE_SWIFT
-! osdir=${prefix}/lib/swift/os
-! else
- osdir=$(includedir)/os
- endif
-
- os_HEADERS= \
- object.h \
- linux_base.h
---- 1,18 ----
- #
- #
- #
-
-! if !HAVE_SWIFT
- osdir=$(includedir)/os
-+ else
-+ if HAVE_X64
-+ osdir=${prefix}/lib64/swift/os
-+ else
-+ osdir=${prefix}/lib/swift/os
- endif
-+ endif
-+
-
- os_HEADERS= \
- object.h \
- linux_base.h
-diff -C 4 -dHrN source/swift-corelibs-libdispatch/src/Makefile.am patched/swift-corelibs-libdispatch/src/Makefile.am
-*** source/swift-corelibs-libdispatch/src/Makefile.am 2017-09-18 17:56:07.000000000 -0300
---- patched/swift-corelibs-libdispatch/src/Makefile.am 2017-10-16 20:45:40.410569816 -0200
-***************
-*** 1,13 ****
- #
- #
- #
-
-! if HAVE_SWIFT
-! swiftlibdir=${prefix}/lib/swift/${OS_STRING}
- swiftlib_LTLIBRARIES=libdispatch.la
- else
-! lib_LTLIBRARIES=libdispatch.la
- endif
-
- if DISPATCH_USE_INTERNAL_WORKQUEUE
- INTERNAL_WORKQUEUE_SOURCES= \
---- 1,18 ----
- #
- #
- #
-
-! if !HAVE_SWIFT
-! lib_LTLIBRARIES=libdispatch.la
-! else
-! if HAVE_X64
-! swiftlibdir=${prefix}/lib64/swift/${OS_STRING}
- swiftlib_LTLIBRARIES=libdispatch.la
- else
-! swiftlibdir=${prefix}/lib/swift/${OS_STRING}
-! swiftlib_LTLIBRARIES=libdispatch.la
-! endif
- endif
-
- if DISPATCH_USE_INTERNAL_WORKQUEUE
- INTERNAL_WORKQUEUE_SOURCES= \
-***************
-*** 186,195 ****
- SWIFT_GEN_FILES= \
- $(abs_builddir)/swift/Dispatch.swiftmodule \
- $(abs_builddir)/swift/Dispatch.swiftdoc \
- $(SWIFT_OBJ_FILES)
-
-- swiftmoddir=${prefix}/lib/swift/${OS_STRING}/${target_cpu}
- swiftmod_HEADERS=\
- $(abs_builddir)/swift/Dispatch.swiftmodule \
- $(abs_builddir)/swift/Dispatch.swiftdoc
- endif
---- 191,205 ----
- SWIFT_GEN_FILES= \
- $(abs_builddir)/swift/Dispatch.swiftmodule \
- $(abs_builddir)/swift/Dispatch.swiftdoc \
- $(SWIFT_OBJ_FILES)
-+
-+ if HAVE_X64
-+ swiftmoddir=${prefix}/lib64/swift/${OS_STRING}/${host_cpu}
-+ else
-+ swiftmoddir=${prefix}/lib/swift/${OS_STRING}/${host_cpu}
-+ endif
-
- swiftmod_HEADERS=\
- $(abs_builddir)/swift/Dispatch.swiftmodule \
- $(abs_builddir)/swift/Dispatch.swiftdoc
- endif
-diff -C 4 -dHrN source/swift-corelibs-xctest/build_script.py patched/swift-corelibs-xctest/build_script.py
-*** source/swift-corelibs-xctest/build_script.py 2017-07-29 13:13:08.000000000 -0300
---- patched/swift-corelibs-xctest/build_script.py 2017-10-14 22:34:14.780348984 -0300
-***************
-*** 340,349 ****
- are placed in 'usr/lib/swift'. Note that it's technically not necessary to
- include this extra path when linking the installed Swift's
- 'usr/lib/swift/linux/libFoundation.so'.
- """
-! return os.path.join(foundation_build_dir,
-! foundation_install_prefix.strip("/"), 'lib', 'swift')
-
- @staticmethod
- def static_lib_build_dir(build_dir):
- """
---- 340,353 ----
- are placed in 'usr/lib/swift'. Note that it's technically not necessary to
- include this extra path when linking the installed Swift's
- 'usr/lib/swift/linux/libFoundation.so'.
- """
-! if platform.system() == 'Linux' and platform.machine() == 'x86_64':
-! return os.path.join(foundation_build_dir,
-! foundation_install_prefix.strip("/"), 'lib64', 'swift')
-! else:
-! return os.path.join(foundation_build_dir,
-! foundation_install_prefix.strip("/"), 'lib', 'swift')
-
- @staticmethod
- def static_lib_build_dir(build_dir):
- """
-diff -C 4 -dHrN source/swiftpm/Sources/Commands/UserToolchain.swift patched/swiftpm/Sources/Commands/UserToolchain.swift
-*** source/swiftpm/Sources/Commands/UserToolchain.swift 2017-08-01 02:34:31.000000000 -0300
---- patched/swiftpm/Sources/Commands/UserToolchain.swift 2017-10-19 15:40:46.617563492 -0200
-***************
-*** 119,129 ****
---- 119,137 ----
- "-target", destination.target,
- "--sysroot", destination.sdk.asString
- ] + destination.extraCCFlags
-
-+ #if os(Linux) && arch(x86_64)
-+ manifestResources = UserManifestResources(
-+ swiftCompiler: swiftCompiler,
-+ libDir: binDir.parentDirectory.appending(components: "lib64", "swift", "pm"),
-+ sdkRoot: self.destination.sdk
-+ )
-+ #else
- manifestResources = UserManifestResources(
- swiftCompiler: swiftCompiler,
- libDir: binDir.parentDirectory.appending(components: "lib", "swift", "pm"),
- sdkRoot: self.destination.sdk
- )
-+ #endif
- }
- }
-diff -C 4 -dHrN source/swiftpm/Tests/PackageLoadingTests/PkgConfigTests.swift patched/swiftpm/Tests/PackageLoadingTests/PkgConfigTests.swift
-*** source/swiftpm/Tests/PackageLoadingTests/PkgConfigTests.swift 2017-08-01 02:34:31.000000000 -0300
---- patched/swiftpm/Tests/PackageLoadingTests/PkgConfigTests.swift 2017-10-26 00:59:25.467746121 -0200
-***************
-*** 55,63 ****
- XCTAssertEqual(names, ["libFoo"])
- case .aptItem(let names)?:
- XCTAssertEqual(names, ["libFoo-dev"])
- case nil:
-! XCTFail("Expected a provider here")
- }
- XCTAssertTrue(result.couldNotFindConfigFile)
- switch result.error {
- case PkgConfigError.couldNotFindConfigFile?: break
---- 55,63 ----
- XCTAssertEqual(names, ["libFoo"])
- case .aptItem(let names)?:
- XCTAssertEqual(names, ["libFoo-dev"])
- case nil:
-! XCTAssertEqual("0", "0")
- }
- XCTAssertTrue(result.couldNotFindConfigFile)
- switch result.error {
- case PkgConfigError.couldNotFindConfigFile?: break
-diff -C 4 -dHrN source/swiftpm/Utilities/bootstrap patched/swiftpm/Utilities/bootstrap
-*** source/swiftpm/Utilities/bootstrap 2017-08-01 02:34:31.000000000 -0300
---- patched/swiftpm/Utilities/bootstrap 2017-10-19 20:57:40.007589305 -0200
-***************
-*** 123,132 ****
---- 123,135 ----
- g_default_sysroot = subprocess.check_output(
- ["xcrun", "--sdk", "macosx", "--show-sdk-path"],
- universal_newlines=True).strip()
-
-+ g_libdir = "lib"
- if platform.system() == 'Linux':
- g_shared_lib_ext = ".so"
-+ if platform.machine() == "x86_64":
-+ g_libdir = "lib64"
- else:
- g_shared_lib_ext = ".dylib"
-
-
-***************
-*** 248,258 ****
-
- if args.foundation_path:
- import_paths.append(args.foundation_path)
- import_paths.append(os.path.join(args.foundation_path,
-! "usr/lib/swift/CoreFoundation"))
- import_paths.append(os.path.join(args.foundation_path,
-! "usr/lib/swift"))
- if args.libdispatch_build_dir:
- import_paths.append(os.path.join(args.libdispatch_build_dir,
- "src"))
- import_paths.append(os.path.join(args.libdispatch_build_dir,
---- 251,261 ----
-
- if args.foundation_path:
- import_paths.append(args.foundation_path)
- import_paths.append(os.path.join(args.foundation_path,
-! "usr/" + g_libdir + "/swift/CoreFoundation"))
- import_paths.append(os.path.join(args.foundation_path,
-! "usr/"+ g_libdir + "/swift"))
- if args.libdispatch_build_dir:
- import_paths.append(os.path.join(args.libdispatch_build_dir,
- "src"))
- import_paths.append(os.path.join(args.libdispatch_build_dir,
-***************
-*** 453,461 ****
-
- # Compute output directories paths.
- self.output_file = os.path.join(sandbox_path, "build.yaml")
- self.inc_dir = os.path.join(sandbox_path, "inc")
-! self.lib_dir = os.path.join(sandbox_path, "lib")
- self.bin_dir = os.path.join(sandbox_path, "bin")
- self.module_dir = os.path.join(sandbox_path, "modules")
- self.targets = targets
- self.target_map = dict((t.name, t) for t in targets)
---- 456,464 ----
-
- # Compute output directories paths.
- self.output_file = os.path.join(sandbox_path, "build.yaml")
- self.inc_dir = os.path.join(sandbox_path, "inc")
-! self.lib_dir = os.path.join(sandbox_path, g_libdir)
- self.bin_dir = os.path.join(sandbox_path, "bin")
- self.module_dir = os.path.join(sandbox_path, "modules")
- self.targets = targets
- self.target_map = dict((t.name, t) for t in targets)
-***************
-*** 568,576 ****
- for lib in target.extra_libs:
- link_command.extend(["-Xlinker", "-l%s" % (lib,)])
- if platform.system() == 'Linux':
- link_command.extend(
-! ["-Xlinker", "-rpath=$ORIGIN/../lib/swift/linux"])
- if self.args.foundation_path:
- link_command.extend(["-L", self.args.foundation_path])
- if self.args.libdispatch_build_dir:
- link_command.extend(["-L", os.path.join(self.args.libdispatch_build_dir, "src", ".libs")])
---- 571,579 ----
- for lib in target.extra_libs:
- link_command.extend(["-Xlinker", "-l%s" % (lib,)])
- if platform.system() == 'Linux':
- link_command.extend(
-! ["-Xlinker", "-rpath=$ORIGIN/../" + g_libdir + "/swift/linux"])
- if self.args.foundation_path:
- link_command.extend(["-L", self.args.foundation_path])
- if self.args.libdispatch_build_dir:
- link_command.extend(["-L", os.path.join(self.args.libdispatch_build_dir, "src", ".libs")])
-***************
-*** 925,940 ****
-
- processed_runtimes = {}
- for version, build in built_runtimes.items():
- # Path where runtime library will be copied from sandbox.
-! lib_path = os.path.join(sandbox_path, "lib", "swift", "pm", version)
-
- # Stage the stage1 runtime library.
- processed_runtimes[version] = process_runtime_libraries(
- build, args, lib_path)
-
-
-! libdir = os.path.join(target_path, "lib")
- bindir = os.path.join(target_path, conf)
- mkdir_p(bindir)
- bootstrapped_product = os.path.join(bindir, "swift-build-stage1")
-
---- 928,943 ----
-
- processed_runtimes = {}
- for version, build in built_runtimes.items():
- # Path where runtime library will be copied from sandbox.
-! lib_path = os.path.join(sandbox_path, g_libdir, "swift", "pm", version)
-
- # Stage the stage1 runtime library.
- processed_runtimes[version] = process_runtime_libraries(
- build, args, lib_path)
-
-
-! libdir = os.path.join(target_path, g_libdir)
- bindir = os.path.join(target_path, conf)
- mkdir_p(bindir)
- bootstrapped_product = os.path.join(bindir, "swift-build-stage1")
-
-***************
-*** 948,959 ****
- bootstrapped_product)
- if os.path.isdir(libdir) and not os.path.islink(libdir):
- # TODO remove, here to prevent revlock incremental CI build failures
- shutil.rmtree(libdir)
-! symlink_force(os.path.join(sandbox_path, "lib"), target_path)
-
- if args.foundation_path:
-! libswiftdir = os.path.join(sandbox_path, "lib", "swift", "linux")
- mkdir_p(libswiftdir)
- symlink_force(os.path.join(args.foundation_path, 'libFoundation.so'),
- libswiftdir)
- if args.libdispatch_build_dir:
---- 951,963 ----
- bootstrapped_product)
- if os.path.isdir(libdir) and not os.path.islink(libdir):
- # TODO remove, here to prevent revlock incremental CI build failures
- shutil.rmtree(libdir)
-!
-! symlink_force(os.path.join(sandbox_path, g_libdir), target_path)
-
- if args.foundation_path:
-! libswiftdir = os.path.join(sandbox_path, g_libdir, "swift", "linux")
- mkdir_p(libswiftdir)
- symlink_force(os.path.join(args.foundation_path, 'libFoundation.so'),
- libswiftdir)
- if args.libdispatch_build_dir:
-***************
-*** 972,980 ****
-
- # We need to embed an RPATH so swift-{build,test} can find the core
- # libraries.
- if platform.system() == 'Linux':
-! embed_rpath = "$ORIGIN/../lib/swift/linux"
- else:
- embed_rpath = "@executable_path/../lib/swift/macosx"
- build_flags.extend(["-Xlinker", "-rpath", "-Xlinker", embed_rpath])
- if args.verbose:
---- 976,984 ----
-
- # We need to embed an RPATH so swift-{build,test} can find the core
- # libraries.
- if platform.system() == 'Linux':
-! embed_rpath = "$ORIGIN/../" + g_libdir + "/swift/linux"
- else:
- embed_rpath = "@executable_path/../lib/swift/macosx"
- build_flags.extend(["-Xlinker", "-rpath", "-Xlinker", embed_rpath])
- if args.verbose:
-***************
-*** 994,1002 ****
- build_flags.extend(["-Xswiftc", "-DHasCustomVersionString"])
-
- if args.foundation_path:
- core_foundation_path = os.path.join(
-! args.foundation_path, "usr", "lib", "swift")
- # Tell the linker where to look for XCTest, but autolinking
- # knows to pass -lXCTest.
- build_flags.extend(["-Xlinker", "-L", "-Xlinker", args.foundation_path])
- # Add an RPATH, so that the tests can be run directly.
---- 998,1006 ----
- build_flags.extend(["-Xswiftc", "-DHasCustomVersionString"])
-
- if args.foundation_path:
- core_foundation_path = os.path.join(
-! args.foundation_path, "usr", g_libdir, "swift")
- # Tell the linker where to look for XCTest, but autolinking
- # knows to pass -lXCTest.
- build_flags.extend(["-Xlinker", "-L", "-Xlinker", args.foundation_path])
- # Add an RPATH, so that the tests can be run directly.
-***************
-*** 1071,1079 ****
- for install_prefix in args.install_prefixes:
- bin_install_path = os.path.join(g_project_root, install_prefix,
- "bin")
- lib_install_path = os.path.join(g_project_root, install_prefix,
-! "lib", "swift", "pm")
- libexec_install_path = os.path.join(g_project_root, install_prefix,
- "libexec", "swift", "pm")
- mkdir_p(bin_install_path)
- mkdir_p(lib_install_path)
---- 1075,1083 ----
- for install_prefix in args.install_prefixes:
- bin_install_path = os.path.join(g_project_root, install_prefix,
- "bin")
- lib_install_path = os.path.join(g_project_root, install_prefix,
-! g_libdir, "swift", "pm")
- libexec_install_path = os.path.join(g_project_root, install_prefix,
- "libexec", "swift", "pm")
- mkdir_p(bin_install_path)
- mkdir_p(lib_install_path)
diff --git a/development/swift/swift.SlackBuild b/development/swift/swift.SlackBuild
deleted file mode 100644
index 446351633e..0000000000
--- a/development/swift/swift.SlackBuild
+++ /dev/null
@@ -1,187 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for swift programming language suite
-
-# Copyright 2017 Felipe Bugno <capent@yahoo.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.
-
-PRGNAM=swift
-VERSION=${VERSION:-4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCVER=swift-${VERSION}-RELEASE
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-
-tar xvf $CWD/swift-$SRCVER.tar.gz
-mv swift-$SRCVER swift
-tar xvf $CWD/swift-corelibs-foundation-$SRCVER.tar.gz
-mv swift-corelibs-foundation-$SRCVER swift-corelibs-foundation
-tar xvf $CWD/swift-corelibs-libdispatch-$SRCVER.tar.gz
-mv swift-corelibs-libdispatch-$SRCVER swift-corelibs-libdispatch
-tar xvf $CWD/swift-corelibs-xctest-$SRCVER.tar.gz
-mv swift-corelibs-xctest-$SRCVER swift-corelibs-xctest
-tar xvf $CWD/swift-llvm-$SRCVER.tar.gz
-mv swift-llvm-$SRCVER llvm
-tar xvf $CWD/swift-clang-$SRCVER.tar.gz
-mv swift-clang-$SRCVER clang
-tar xvf $CWD/swift-lldb-$SRCVER.tar.gz
-mv swift-lldb-$SRCVER lldb
-tar xvf $CWD/swift-cmark-$SRCVER.tar.gz
-mv swift-cmark-$SRCVER cmark
-tar xvf $CWD/swift-package-manager-$SRCVER.tar.gz
-mv swift-package-manager-$SRCVER swiftpm
-tar xvf $CWD/swift-llbuild-$SRCVER.tar.gz
-mv swift-llbuild-$SRCVER llbuild
-tar xvf $CWD/swift-compiler-rt-$SRCVER.tar.gz
-mv swift-compiler-rt-$SRCVER compiler-rt
-tar xvf $CWD/swift-integration-tests-$SRCVER.tar.gz
-mv swift-integration-tests-$SRCVER swift-integration-tests
-
-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 {} \;
-
-# Currently, we have two problems with swift on non-Ubuntu distros:
-#
-# 1 - need to fix for /usr/lib64
-#
-# 2 - Swift Package Manager on Linux has some Debian/Ubuntu specific stuff.
-# The installation script does tests on the package manager using XCTest,
-# and of course, it will fail in Slackware because it does not recognize the
-# running platform, so they can't determine if we use one of the two providers
-# hard coded (APT and Brew). We must override this rule on its XCTest source.
-# All other tests should pass.
-#
-# As a note: it is a useless feature anyway. Swiftpm never install system
-# packages by itself neither on Debian or OS X. This feature is only to
-# hint to the user about needed system packages, printing in the console
-# the brew or apt-get command that he needs to type in order to install a
-# system package needed by a swift package.
-#
-patch -p1 < $CWD/swift-libdir.patch
-
-cd swift
-
-utils/build-script \
- -R -l -b -p \
- --xctest \
- --foundation \
- -i \
- --tvos 1 \
- --watchos 1 \
- --no-swift-stdlib-assertions \
- --build-swift-static-stdlib \
- --build-swift-static-sdk-overlay \
- --build-swift-stdlib-unittest-extra \
- --skip-test-lldb \
- --install-destdir=$PKG \
- --install-prefix=usr \
- --install-swift \
- --install-lldb \
- --install-foundation \
- --install-llbuild \
- --install-swiftpm \
- --install-xctest \
- --install-libdispatch \
- --swift-install-components='autolink-driver;compiler;clang-builtin-headers;stdlib;swift-remote-mirror;sdk-overlay;license;sourcekit-inproc' \
- --reconfigure
-
-# Stripping debug symbols from repl_swift and its libraries would defeat its
-# purpose as a debuggable interactive shell. If you strip it, when you call lldb --repl
-# you will be met with a error message due to repl_swift's lack of breakpoints.
-# The important part was compiled as a cmake "Release" and lacks debug symbols.
-
-# Rename /usr/bin/lldb* to lldb-swift*
-for old in $PKG/usr/bin/lldb*; do
- new=$(echo "$old" | sed 's/lldb/lldb-swift/')
- if [ -L "$old" ]; then
- newtarget=$(readlink "$old" | sed 's/lldb/lldb-swift/')
- rm "$old"
- ln -sf "$newtarget" "$new"
- else
- mv "$old" "$new"
- fi
-done
-
-# Python: fix the symlink we broke above, remove modules that clash with existing packages
-for sitepython in $PKG/usr/lib$LIBDIRSUFFIX/python*/site-packages; do
- if [ -d "$sitepython"/lldb ]; then
- ln -sf ../../../../bin/lldb-swift-argdumper "$sitepython"/lldb/lldb-argdumper
- fi
- rm -f "$sitepython"/six.py
- rm -f "$sitepython"/readline.so
-done
-
-mv $PKG/usr/share/man $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-# Remove junk directories
-rm -rf $PKG/usr/local $PKG/usr/share
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CODE_OWNERS.TXT LICENSE.txt README.md CONTRIBUTING.md CHANGELOG.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:-tgz}
diff --git a/development/swift/swift.info b/development/swift/swift.info
deleted file mode 100644
index d95ef6f75a..0000000000
--- a/development/swift/swift.info
+++ /dev/null
@@ -1,32 +0,0 @@
-PRGNAM="swift"
-VERSION="4.0"
-HOMEPAGE="https://swift.org/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/apple/swift/archive/swift-4.0-RELEASE/swift-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-corelibs-foundation/archive/swift-4.0-RELEASE/swift-corelibs-foundation-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-corelibs-libdispatch/archive/swift-4.0-RELEASE/swift-corelibs-libdispatch-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-corelibs-xctest/archive/swift-4.0-RELEASE/swift-corelibs-xctest-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-llvm/archive/swift-4.0-RELEASE/swift-llvm-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-clang/archive/swift-4.0-RELEASE/swift-clang-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-lldb/archive/swift-4.0-RELEASE/swift-lldb-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-cmark/archive/swift-4.0-RELEASE/swift-cmark-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-package-manager/archive/swift-4.0-RELEASE/swift-package-manager-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-llbuild/archive/swift-4.0-RELEASE/swift-llbuild-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-compiler-rt/archive/swift-4.0-RELEASE/swift-compiler-rt-swift-4.0-RELEASE.tar.gz \
- https://github.com/apple/swift-integration-tests/archive/swift-4.0-RELEASE/swift-integration-tests-swift-4.0-RELEASE.tar.gz"
-MD5SUM_x86_64="edb657fc04e5780b2f9cf9304f84118c \
- cd1f91b951d91a6a666dcc8624a918be \
- 73cbb1c41142e341ea141720ab412f3e \
- 69099f33b69f5ea6016b9b23b7c10344 \
- c2c70c0946580a2fc9be26903a93c16f \
- 6d3dea7975d9b944b040ba8a9e4722ea \
- 4d058b078664d3faec9ee47de411bef8 \
- d2b5a2bd4624910328e16bb8095c1138 \
- 4f690a79effbeeb71050f90a2d1272c4 \
- d8211c2a409b2ca5cfeb06e513fd9cc5 \
- 437047c4222b165149162dd8ebaa6c5e \
- 0550d7acd22642475eb75184d6785836"
-REQUIRES="ninja libbsd libedit libkqueue systemtap blocksruntime six"
-MAINTAINER="Felipe Bugno"
-EMAIL="capent@yahoo.com"
diff --git a/development/sysprof/README b/development/sysprof/README
new file mode 100644
index 0000000000..2a21203ecd
--- /dev/null
+++ b/development/sysprof/README
@@ -0,0 +1,4 @@
+Sysprof is a sampling profiler that uses a kernel module to generate
+stacktraces which are then interpreted by the userspace program
+"sysprof".
+
diff --git a/development/sysprof/doinst.sh b/development/sysprof/doinst.sh
new file mode 100644
index 0000000000..208ce12815
--- /dev/null
+++ b/development/sysprof/doinst.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/development/sysprof/slack-desc b/development/sysprof/slack-desc
new file mode 100644
index 0000000000..9ac6a0bf5a
--- /dev/null
+++ b/development/sysprof/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------------------------------------------------------|
+sysprof: sysprof (a sampling profiler that generates stacktraces)
+sysprof:
+sysprof: Sysprof is a sampling profiler that uses a kernel module to generate
+sysprof: stacktraces which are then interpreted by the userspace program
+sysprof: "sysprof".
+sysprof:
+sysprof:
+sysprof:
+sysprof:
+sysprof: https://gitlab.gnome.org/GNOME/sysprof
+sysprof:
diff --git a/development/sysprof/sysprof.SlackBuild b/development/sysprof/sysprof.SlackBuild
new file mode 100644
index 0000000000..6b7fde59ff
--- /dev/null
+++ b/development/sysprof/sysprof.SlackBuild
@@ -0,0 +1,123 @@
+#!/bin/bash
+
+# Slackware build script for sysprof
+
+# Copyright 2023 Charadon US
+# 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=sysprof
+VERSION=${VERSION:-3.44.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dgtk=true \
+ -Dlibsysprof=true \
+ -Dinstall-static=false \
+ -Dsystemdunitdir='/tmp' \
+ -Dhelp=true \
+ -Dlibunwind=false \
+ -Dtools=true \
+ -Dexamples=false \
+ -Dagent=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -rf $PKG/tmp # Remove systemd service files.
+
+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 COPYING.gpl-2 AUTHORS NEWS $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
+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/development/sysprof/sysprof.info b/development/sysprof/sysprof.info
new file mode 100644
index 0000000000..02cebc1a27
--- /dev/null
+++ b/development/sysprof/sysprof.info
@@ -0,0 +1,10 @@
+PRGNAM="sysprof"
+VERSION="3.44.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/sysprof"
+DOWNLOAD="https://gitlab.gnome.org/GNOME/sysprof/-/archive/3.44.0/sysprof-3.44.0.tar.bz2"
+MD5SUM="1a128ada8b1c820fe4e1fe517adda3a5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libdazzle"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/development/systemtap/int.patch b/development/systemtap/int.patch
new file mode 100644
index 0000000000..b412a51894
--- /dev/null
+++ b/development/systemtap/int.patch
@@ -0,0 +1,48 @@
+Lockywolf <lockywolf@gmail.com>
+
+diff -Naur systemtap-4.5.orig/staprun/monitor.c systemtap-4.5/staprun/monitor.c
+--- systemtap-4.5.orig/staprun/monitor.c 2021-05-07 21:20:39.000000000 +0200
++++ systemtap-4.5/staprun/monitor.c 2021-10-15 11:57:04.770964000 +0200
+@@ -448,12 +448,12 @@
+ if (active_window == 0)
+ wattron(status, A_BOLD);
+ wprintw(status, "\n%*s\t%*s\t%*s\t%*s\t%*s\t%*s\t%s\n",
+- width[p_index], HIGHLIGHT("index", p_index, comp_fn_index),
+- width[p_state], HIGHLIGHT("state", p_state, comp_fn_index),
+- width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index),
+- width[p_min], HIGHLIGHT("min", p_min, comp_fn_index),
+- width[p_avg], HIGHLIGHT("avg", p_avg, comp_fn_index),
+- width[p_max], HIGHLIGHT("max", p_max, comp_fn_index),
++ (int)width[p_index], HIGHLIGHT("index", p_index, comp_fn_index),
++ (int)width[p_state], HIGHLIGHT("state", p_state, comp_fn_index),
++ (int)width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index),
++ (int)width[p_min], HIGHLIGHT("min", p_min, comp_fn_index),
++ (int)width[p_avg], HIGHLIGHT("avg", p_avg, comp_fn_index),
++ (int)width[p_max], HIGHLIGHT("max", p_max, comp_fn_index),
+ HIGHLIGHT("name", p_name, comp_fn_index));
+ if (active_window == 0)
+ wattroff(status, A_BOLD);
+@@ -466,17 +466,17 @@
+ json_object *probe, *field;
+ probe = json_object_array_get_idx(jso_probe_list, i);
+ json_object_object_get_ex(probe, "index", &field);
+- wprintw(status, "%*s\t", width[p_index], json_object_get_string(field));
++ wprintw(status, "%*s\t", (int)width[p_index], json_object_get_string(field));
+ json_object_object_get_ex(probe, "state", &field);
+- wprintw(status, "%*s\t", width[p_state], json_object_get_string(field));
++ wprintw(status, "%*s\t", (int)width[p_state], json_object_get_string(field));
+ json_object_object_get_ex(probe, "hits", &field);
+- wprintw(status, "%*s\t", width[p_hits], json_object_get_string(field));
++ wprintw(status, "%*s\t", (int)width[p_hits], json_object_get_string(field));
+ json_object_object_get_ex(probe, "min", &field);
+- wprintw(status, "%*s\t", width[p_min], json_object_get_string(field));
++ wprintw(status, "%*s\t", (int)width[p_min], json_object_get_string(field));
+ json_object_object_get_ex(probe, "avg", &field);
+- wprintw(status, "%*s\t", width[p_avg], json_object_get_string(field));
++ wprintw(status, "%*s\t", (int)width[p_avg], json_object_get_string(field));
+ json_object_object_get_ex(probe, "max", &field);
+- wprintw(status, "%*s\t", width[p_max], json_object_get_string(field));
++ wprintw(status, "%*s\t", (int)width[p_max], json_object_get_string(field));
+ getyx(status, discard, cur_x);
+ json_object_object_get_ex(probe, "name", &field);
+ wprintw(status, "%.*s", max_cols-cur_x-1, json_object_get_string(field));
diff --git a/development/systemtap/systemtap.SlackBuild b/development/systemtap/systemtap.SlackBuild
index 91110106eb..62eff9de5b 100644
--- a/development/systemtap/systemtap.SlackBuild
+++ b/development/systemtap/systemtap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SystemTap diagnosis mechanism
@@ -23,10 +23,13 @@
# 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=systemtap
-VERSION=${VERSION:-4.1}
+VERSION=${VERSION:-4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -70,6 +80,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 {} \;
+patch -p1 < $CWD/int.patch
+
+export PYTHON=python3
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -85,6 +99,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# stap-server is not supported by this build
+rm -fR $PKG/var/run
+
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
@@ -99,4 +116,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/systemtap/systemtap.info b/development/systemtap/systemtap.info
index 916de83df8..e8be62cd34 100644
--- a/development/systemtap/systemtap.info
+++ b/development/systemtap/systemtap.info
@@ -1,8 +1,8 @@
PRGNAM="systemtap"
-VERSION="4.1"
+VERSION="4.5"
HOMEPAGE="https://sourceware.org/systemtap/"
-DOWNLOAD="https://sourceware.org/systemtap/ftp/releases/systemtap-4.1.tar.gz"
-MD5SUM="0cc7403c7b5e442a2fa92fe01ea3a636"
+DOWNLOAD="https://sourceware.org/systemtap/ftp/releases/systemtap-4.5.tar.gz"
+MD5SUM="39369e2aa08636ea6600464e9fdc5185"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/tanya/README b/development/tanya/README
deleted file mode 100644
index 7d2e33484c..0000000000
--- a/development/tanya/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Tanya is a general purpose library for D programming language.
-
-Its aim is to simplify the manual memory management in D and to
-provide a guarantee with @nogc attribute that there are no hidden
-allocations on the Garbage Collector heap. Everything in the library
-is usable in @nogc code. Tanya provides data structures and utilities
-to facilitate painless systems programming in D.
diff --git a/development/tanya/slack-desc b/development/tanya/slack-desc
deleted file mode 100644
index 8a17d79020..0000000000
--- a/development/tanya/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------------------------------------------------------|
-tanya: tanya (General purpose, @nogc D library)
-tanya:
-tanya: Tanya is a general purpose library for D programming language.
-tanya:
-tanya: Its aim is to simplify the manual memory management in D and to
-tanya: provide a guarantee with @nogc attribute that there are no hidden
-tanya: allocations on the Garbage Collector heap. Everything in the library
-tanya: is usable in @nogc code. Tanya provides data structures and utilities
-tanya: to facilitate painless systems programming in D.
-tanya:
-tanya:
diff --git a/development/tanya/tanya.SlackBuild b/development/tanya/tanya.SlackBuild
deleted file mode 100644
index c39784a6e2..0000000000
--- a/development/tanya/tanya.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for tanya
-
-# Copyright 2018-2019 Eugene Wissner, Dachau, Germany
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=tanya
-VERSION=${VERSION:-0.16.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-DC=${DC:-dmd}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- 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 {} \;
-
-dub build --nodeps --build=release --config=library --compiler=$DC
-dub build --nodeps --build=release --config=dynamic --compiler=$DC
-
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
-mv libtanya.so $PKG/usr/lib$LIBDIRSUFFIX/libtanya.so.$VERSION
-ln -s libtanya.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/libtanya.so
-mv libtanya.a $PKG/usr/lib$LIBDIRSUFFIX
-
-mkdir -p $PKG/usr/include/d
-cp -R source/tanya source/mir $PKG/usr/include/d
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md CONTRIBUTING.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/tanya/tanya.info b/development/tanya/tanya.info
deleted file mode 100644
index f034713ab0..0000000000
--- a/development/tanya/tanya.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="tanya"
-VERSION="0.16.1"
-HOMEPAGE="https://github.com/caraus-ecms/tanya"
-DOWNLOAD="https://download.dlackware.com/hosted-sources/tanya/tanya-0.16.1.tar.xz"
-MD5SUM="45e5daca1d31c370e8d7716c6b35d854"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="d-tools"
-MAINTAINER="Eugene Wissner"
-EMAIL="belka@caraus.de"
diff --git a/development/tcc/README b/development/tcc/README
index 8ca2da690e..b646f335ad 100644
--- a/development/tcc/README
+++ b/development/tcc/README
@@ -1,8 +1,16 @@
+tcc (Tiny C Compiler)
+
Tiny C Compiler is a very fast C compiler. Unlike other C compilers,
-it is meant to be self-relying: you do not need an external
-assembler or linker because TCC does that for you.
+it is meant to be self-relying: you do not need an external assembler
+or linker because TCC does that for you.
+
TCC supports ANSI C and most of ISO C99 and many GNUC extensions,
including inline assembly. tcc was written by Fabrice Bellard and is
distributed under the GNU Lesser General Public License.
-In order to have cross compiler support, pass CROSS=yes to the script.
+Currently, tcc development happens in the github repo at
+https://github.com/TinyCC/tinycc
+
+By default, both native and cross compilers for various systems (Win32,
+Win64, ARM, OSX, etc) are built. If you want to skip the cross
+compilers, pass CROSS=no to the script.
diff --git a/development/tcc/doinst.sh b/development/tcc/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/development/tcc/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/development/tcc/git2tarxz.sh b/development/tcc/git2tarxz.sh
new file mode 100644
index 0000000000..bad13e8b98
--- /dev/null
+++ b/development/tcc/git2tarxz.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number.
+
+# Note that this script doesn't need to be run as root. It does
+# need to be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create
+# a tarball of. With no arg, HEAD is used.
+
+PRGNAM=tcc
+CLONE_URL=https://github.com/TinyCC/tinycc
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+VERSION=$( cat VERSION )+${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/development/tcc/tcc.SlackBuild b/development/tcc/tcc.SlackBuild
index 50bd4af57f..0faa04ae86 100644
--- a/development/tcc/tcc.SlackBuild
+++ b/development/tcc/tcc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tiny c compiler
@@ -25,11 +25,25 @@
#
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
# in memoriam of Georg Ohler
+# Now maintained by B. Watson (urchlay@slackware.uk).
+
+# 20230815 bkw:
+# - take over maintenance.
+# - update for 0.9.27+20230811_d1c1077.
+# - make CROSS=yes the default.
+# - add TODO and USES to the doc dir.
+# - mention github repo in README.
+
+# 20230627 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add doinst.sh and douninst.sh to manage /usr/info/dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tcc
-VERSION=${VERSION:-0.9.27}
+VERSION=${VERSION:-0.9.27+20230811_d1c1077}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +53,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -64,21 +82,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+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 {} \;
-
-if [ "$CROSS" = "yes" ]; then
- OPT="--enable-cross"
- else OPT=""
-fi
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+[ "${CROSS:-yes}" = "yes" ] && CROSSOPT="--enable-cross"
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/doc $PKG/usr/include
+DOC=/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/$DOC
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -86,26 +99,24 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sharedir=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- $OPT
+ --docdir=$DOC \
+ $CROSSOPT
make
make -j1 test
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
+strip $PKG/usr/bin/*
+gzip -9 $PKG/usr/man/man1/*
gzip -9 $PKG/usr/info/*.info
-cp -a README* Changelog* COPYING RELICENSING examples/ $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a README* Changelog* COPYING RELICENSING TODO USES examples/ $PKGDOC
+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
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tcc/tcc.info b/development/tcc/tcc.info
index a9941a1b43..d745794999 100644
--- a/development/tcc/tcc.info
+++ b/development/tcc/tcc.info
@@ -1,10 +1,10 @@
PRGNAM="tcc"
-VERSION="0.9.27"
+VERSION="0.9.27+20230811_d1c1077"
HOMEPAGE="http://www.tinycc.org/"
-DOWNLOAD="http://download.savannah.nongnu.org/releases/tinycc/tcc-0.9.27.tar.bz2"
-MD5SUM="9cdb185555da76db90287db351ca40b8"
+DOWNLOAD="https://slackware.uk/~urchlay/src/tcc-0.9.27+20230811_d1c1077.tar.xz"
+MD5SUM="de548a69fba89a1e6d0712a9ddf2bdf9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/tcludp/tcludp.SlackBuild b/development/tcludp/tcludp.SlackBuild
index eec569549e..17f1f9b324 100644
--- a/development/tcludp/tcludp.SlackBuild
+++ b/development/tcludp/tcludp.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tcludp
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tcludp
VERSION=${VERSION:-1.0.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,4 +90,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tclvfs/README b/development/tclvfs/README
index f38f7d993d..7ab103b815 100644
--- a/development/tclvfs/README
+++ b/development/tclvfs/README
@@ -1,2 +1,7 @@
The TclVfs project aims to provide an extension to the Tcl language
which allows Virtual Filesystems to be built using Tcl scripts only.
+
+OPTIONAL DEPENDENCIES:
+* memchan: in-memory channel vfs
+* trf: zip vfs
+* tcllib: tar, ftp vfs + additional man page generation
diff --git a/development/tclvfs/patches/01-configure.patch b/development/tclvfs/patches/01-configure.patch
deleted file mode 100644
index c9f5b42566..0000000000
--- a/development/tclvfs/patches/01-configure.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-All the patches are taken from Debian repo
-
---- tclvfs-1.3-20080503.orig/configure
-+++ tclvfs-1.3-20080503/configure
-@@ -7937,12 +7937,15 @@
- SHLIB_LD_LIBS='${LIBS}'
- SHLIB_SUFFIX=".so"
-
-+ # following line added by CW for Debian GNU/Hurd
-+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0"
-+
- SHLIB_LD="${CC} -shared"
-- DL_OBJS=""
-+ DL_OBJS="tclLoadDl.o"
- DL_LIBS="-ldl"
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
- CC_SEARCH_FLAGS=""
-- LD_SEARCH_FLAGS=""
-+ LD_SEARCH_FLAGS="${CC_SEARCH_FLAGS}"
- if test "`uname -m`" = "alpha" ; then
- CFLAGS="$CFLAGS -mieee"
- fi
-@@ -9803,7 +9806,6 @@
- # (actually we leave an empty line to preserve line numbers).
- if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
--s/:*\$(srcdir):*/:/;
- s/:*\${srcdir}:*/:/;
- s/:*@srcdir@:*/:/;
- s/^\([^=]*=[ ]*\):*/\1/;
diff --git a/development/tclvfs/patches/01-encoding.patch b/development/tclvfs/patches/01-encoding.patch
new file mode 100644
index 0000000000..25261055ca
--- /dev/null
+++ b/development/tclvfs/patches/01-encoding.patch
@@ -0,0 +1,179 @@
+Patch by Sergei Golovan (initially by Victor Wagner taken from
+http://sourceforge.net/tracker/index.php?func=detail&aid=1011498&group_id=32692&atid=406308)
+fixes -encoding and -eofchar of files opened on VFS.
+
+Probably, the patch is incomplete for mk4fs with ::mk4vfs::zstreamed set to 1.
+
+--- a/library/ftpvfs.tcl
++++ b/library/ftpvfs.tcl
+@@ -133,10 +133,13 @@
+ ftp::Get $fd $name -variable tmp
+
+ set filed [vfs::memchan]
++ set encoding [fconfigure $filed -encoding]
++ set eofchar [fconfigure $filed -eofchar]
++ set translation [fconfigure $filed -translation]
+ fconfigure $filed -translation binary
+ puts -nonewline $filed $tmp
+
+- fconfigure $filed -translation auto
++ fconfigure $filed -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $filed 0
+ return [list $filed]
+ }
+--- a/library/httpvfs.tcl
++++ b/library/httpvfs.tcl
+@@ -357,11 +357,14 @@
+ "r" {
+ set token [geturl "$dirurl$urlname" -headers $headers]
+ set filed [vfs::memchan]
++ set encoding [fconfigure $filed -encoding]
++ set eofchar [fconfigure $filed -eofchar]
++ set translation [fconfigure $filed -translation]
+ fconfigure $filed -translation binary
+ puts -nonewline $filed [::http::data $token]
+ http::cleanup $token
+
+- fconfigure $filed -translation auto
++ fconfigure $filed -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $filed 0
+ # XXX: the close command should free vfs::memchan somehow??
+ return [list $filed]
+--- a/library/tclprocvfs.tcl
++++ b/library/tclprocvfs.tcl
+@@ -84,9 +84,12 @@
+ "" -
+ "r" {
+ set nfd [vfs::memchan]
++ set encoding [fconfigure $nfd -encoding]
++ set eofchar [fconfigure $nfd -eofchar]
++ set translation [fconfigure $nfd -translation]
+ fconfigure $nfd -translation binary
+ puts -nonewline $nfd [_generate ::${ns}::${name}]
+- fconfigure $nfd -translation auto
++ fconfigure $nfd -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $nfd 0
+ return [list $nfd]
+ }
+--- a/library/webdavvfs.tcl
++++ b/library/webdavvfs.tcl
+@@ -153,8 +153,12 @@
+ upvar #0 $token state
+
+ set filed [vfs::memchan]
++ set encoding [fconfigure $filed -encoding]
++ set eofchar [fconfigure $filed -eofchar]
++ set translation [fconfigure $filed -translation]
+ fconfigure $filed -encoding binary -translation binary
+ puts -nonewline $filed [::http::data $token]
++ fconfigure $filed -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $filed 0
+ ::http::cleanup $token
+ return [list $filed]
+--- a/library/tkvfs.tcl
++++ b/library/tkvfs.tcl
+@@ -72,9 +72,12 @@
+ "" -
+ "r" {
+ set nfd [vfs::memchan]
++ set encoding [fconfigure $nfd -encoding]
++ set eofchar [fconfigure $nfd -eofchar]
++ set translation [fconfigure $nfd -translation]
+ fconfigure $nfd -translation binary
+ puts -nonewline $nfd [_generate ${widg}.${name}]
+- fconfigure $nfd -translation auto
++ fconfigure $nfd -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $nfd 0
+ return [list $nfd]
+ }
+--- a/library/tarvfs.tcl
++++ b/library/tarvfs.tcl
+@@ -106,6 +106,9 @@
+ vfs::tar::_stat $tarfd $name sb
+
+ set nfd [vfs::memchan]
++ set encoding [fconfigure $nfd -encoding]
++ set eofchar [fconfigure $nfd -eofchar]
++ set translation [fconfigure $nfd -translation]
+ fconfigure $nfd -translation binary
+
+ # get the starting point from structure
+@@ -114,7 +117,7 @@
+
+ puts -nonewline $nfd $data
+
+- fconfigure $nfd -translation auto
++ fconfigure $nfd -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $nfd 0
+ return [list $nfd]
+ }
+--- a/library/zipvfs.tcl
++++ b/library/zipvfs.tcl
+@@ -108,6 +108,9 @@
+ ::zip::stat $zipfd $name sb
+
+ set nfd [vfs::memchan]
++ set encoding [fconfigure $nfd -encoding]
++ set eofchar [fconfigure $nfd -eofchar]
++ set translation [fconfigure $nfd -translation]
+ fconfigure $nfd -translation binary
+
+ seek $zipfd $sb(ino) start
+@@ -118,7 +115,7 @@
+
+ puts -nonewline $nfd $data
+
+- fconfigure $nfd -translation auto
++ fconfigure $nfd -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $nfd 0
+ return [list $nfd]
+ }
+--- a/library/mk4vfs.tcl
++++ b/library/mk4vfs.tcl
+@@ -171,19 +171,25 @@
+ set fd [vfs::zstream decompress $fd $sb(csize) $sb(size)]
+ } else {
+ set fd [vfs::memchan]
++ set encoding [fconfigure $fd -encoding]
++ set eofchar [fconfigure $fd -eofchar]
++ set translation [fconfigure $fd -translation]
+ fconfigure $fd -translation binary
+ set s [mk::get $sb(ino) contents]
+ puts -nonewline $fd [vfs::zip -mode decompress $s]
+
+- fconfigure $fd -translation auto
++ fconfigure $fd -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $fd 0
+ }
+ } elseif { $::mk4vfs::direct } {
+ set fd [vfs::memchan]
++ set encoding [fconfigure $fd -encoding]
++ set eofchar [fconfigure $fd -eofchar]
++ set translation [fconfigure $fd -translation]
+ fconfigure $fd -translation binary
+ puts -nonewline $fd [mk::get $sb(ino) contents]
+
+- fconfigure $fd -translation auto
++ fconfigure $fd -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $fd 0
+ } else {
+ set fd [mk::channel $sb(ino) contents r]
+@@ -214,6 +220,9 @@
+ }
+
+ set fd [vfs::memchan]
++ set encoding [fconfigure $fd -encoding]
++ set eofchar [fconfigure $fd -eofchar]
++ set translation [fconfigure $fd -translation]
+ fconfigure $fd -translation binary
+ set s [mk::get $sb(ino) contents]
+
+@@ -225,7 +234,7 @@
+ puts -nonewline $fd $s
+ #set fd [mk::channel $sb(ino) contents a]
+ }
+- fconfigure $fd -translation auto
++ fconfigure $fd -translation $translation -encoding $encoding -eofchar $eofchar
+ seek $fd 0 end
+ return [list $fd [list mk4vfs::do_close $db $fd $mode $sb(ino)]]
+ }
diff --git a/development/tclvfs/patches/02-encoding.patch b/development/tclvfs/patches/02-encoding.patch
deleted file mode 100644
index 997a352fb0..0000000000
--- a/development/tclvfs/patches/02-encoding.patch
+++ /dev/null
@@ -1,179 +0,0 @@
-Patch by Sergei Golovan (initially by Victor Wagner taken from
-http://sourceforge.net/tracker/index.php?func=detail&aid=1011498&group_id=32692&atid=406308)
-fixes -encoding and -eofchar of files opened on VFS.
-
-Probably, the patch is incomplete for mk4fs with ::mk4vfs::zstreamed set to 1.
-
---- tclvfs-1.3-20080503.orig/library/ftpvfs.tcl
-+++ tclvfs-1.3-20080503/library/ftpvfs.tcl
-@@ -133,10 +133,13 @@
- ftp::Get $fd $name -variable tmp
-
- set filed [vfs::memchan]
-+ set encoding [fconfigure $filed -encoding]
-+ set eofchar [fconfigure $filed -eofchar]
-+ set translation [fconfigure $filed -translation]
- fconfigure $filed -translation binary
- puts -nonewline $filed $tmp
-
-- fconfigure $filed -translation auto
-+ fconfigure $filed -translation $translation -encoding $encoding -eofchar $eofchar
- seek $filed 0
- return [list $filed]
- }
---- tclvfs-1.3-20080503.orig/library/httpvfs.tcl
-+++ tclvfs-1.3-20080503/library/httpvfs.tcl
-@@ -357,11 +357,14 @@
- "r" {
- set token [geturl "$dirurl$urlname" -headers $headers]
- set filed [vfs::memchan]
-+ set encoding [fconfigure $filed -encoding]
-+ set eofchar [fconfigure $filed -eofchar]
-+ set translation [fconfigure $filed -translation]
- fconfigure $filed -translation binary
- puts -nonewline $filed [::http::data $token]
- http::cleanup $token
-
-- fconfigure $filed -translation auto
-+ fconfigure $filed -translation $translation -encoding $encoding -eofchar $eofchar
- seek $filed 0
- # XXX: the close command should free vfs::memchan somehow??
- return [list $filed]
---- tclvfs-1.3-20080503.orig/library/tclprocvfs.tcl
-+++ tclvfs-1.3-20080503/library/tclprocvfs.tcl
-@@ -84,9 +84,12 @@
- "" -
- "r" {
- set nfd [vfs::memchan]
-+ set encoding [fconfigure $nfd -encoding]
-+ set eofchar [fconfigure $nfd -eofchar]
-+ set translation [fconfigure $nfd -translation]
- fconfigure $nfd -translation binary
- puts -nonewline $nfd [_generate ::${ns}::${name}]
-- fconfigure $nfd -translation auto
-+ fconfigure $nfd -translation $translation -encoding $encoding -eofchar $eofchar
- seek $nfd 0
- return [list $nfd]
- }
---- tclvfs-1.3-20080503.orig/library/webdavvfs.tcl
-+++ tclvfs-1.3-20080503/library/webdavvfs.tcl
-@@ -153,8 +153,12 @@
- upvar #0 $token state
-
- set filed [vfs::memchan]
-+ set encoding [fconfigure $filed -encoding]
-+ set eofchar [fconfigure $filed -eofchar]
-+ set translation [fconfigure $filed -translation]
- fconfigure $filed -encoding binary -translation binary
- puts -nonewline $filed [::http::data $token]
-+ fconfigure $filed -translation $translation -encoding $encoding -eofchar $eofchar
- seek $filed 0
- ::http::cleanup $token
- return [list $filed]
---- tclvfs-1.3-20080503.orig/library/tkvfs.tcl
-+++ tclvfs-1.3-20080503/library/tkvfs.tcl
-@@ -72,9 +72,12 @@
- "" -
- "r" {
- set nfd [vfs::memchan]
-+ set encoding [fconfigure $nfd -encoding]
-+ set eofchar [fconfigure $nfd -eofchar]
-+ set translation [fconfigure $nfd -translation]
- fconfigure $nfd -translation binary
- puts -nonewline $nfd [_generate ${widg}.${name}]
-- fconfigure $nfd -translation auto
-+ fconfigure $nfd -translation $translation -encoding $encoding -eofchar $eofchar
- seek $nfd 0
- return [list $nfd]
- }
---- tclvfs-1.3-20080503.orig/library/tarvfs.tcl
-+++ tclvfs-1.3-20080503/library/tarvfs.tcl
-@@ -107,6 +107,9 @@
- ::tar::stat $tarfd $name sb
-
- set nfd [vfs::memchan]
-+ set encoding [fconfigure $nfd -encoding]
-+ set eofchar [fconfigure $nfd -eofchar]
-+ set translation [fconfigure $nfd -translation]
- fconfigure $nfd -translation binary
-
- # get the starting point from structure
-@@ -115,7 +118,7 @@
-
- puts -nonewline $nfd $data
-
-- fconfigure $nfd -translation auto
-+ fconfigure $nfd -translation $translation -encoding $encoding -eofchar $eofchar
- seek $nfd 0
- return [list $nfd]
- }
---- tclvfs-1.3-20080503.orig/library/zipvfs.tcl
-+++ tclvfs-1.3-20080503/library/zipvfs.tcl
-@@ -108,6 +108,9 @@
- ::zip::stat $zipfd $name sb
-
- set nfd [vfs::memchan]
-+ set encoding [fconfigure $nfd -encoding]
-+ set eofchar [fconfigure $nfd -eofchar]
-+ set translation [fconfigure $nfd -translation]
- fconfigure $nfd -translation binary
-
- seek $zipfd $sb(ino) start
-@@ -115,7 +118,7 @@
-
- puts -nonewline $nfd $data
-
-- fconfigure $nfd -translation auto
-+ fconfigure $nfd -translation $translation -encoding $encoding -eofchar $eofchar
- seek $nfd 0
- return [list $nfd]
- }
---- tclvfs-1.3-20080503.orig/library/mk4vfs.tcl
-+++ tclvfs-1.3-20080503/library/mk4vfs.tcl
-@@ -183,19 +183,25 @@
- set fd [vfs::zstream decompress $fd $sb(csize) $sb(size)]
- } else {
- set fd [vfs::memchan]
-+ set encoding [fconfigure $fd -encoding]
-+ set eofchar [fconfigure $fd -eofchar]
-+ set translation [fconfigure $fd -translation]
- fconfigure $fd -translation binary
- set s [mk::get $sb(ino) contents]
- puts -nonewline $fd [vfs::zip -mode decompress $s]
-
-- fconfigure $fd -translation auto
-+ fconfigure $fd -translation $translation -encoding $encoding -eofchar $eofchar
- seek $fd 0
- }
- } elseif { $::mk4vfs::direct } {
- set fd [vfs::memchan]
-+ set encoding [fconfigure $fd -encoding]
-+ set eofchar [fconfigure $fd -eofchar]
-+ set translation [fconfigure $fd -translation]
- fconfigure $fd -translation binary
- puts -nonewline $fd [mk::get $sb(ino) contents]
-
-- fconfigure $fd -translation auto
-+ fconfigure $fd -translation $translation -encoding $encoding -eofchar $eofchar
- seek $fd 0
- } else {
- set fd [mk::channel $sb(ino) contents r]
-@@ -226,6 +232,9 @@
- }
-
- set fd [vfs::memchan]
-+ set encoding [fconfigure $fd -encoding]
-+ set eofchar [fconfigure $fd -eofchar]
-+ set translation [fconfigure $fd -translation]
- fconfigure $fd -translation binary
- set s [mk::get $sb(ino) contents]
-
-@@ -237,7 +246,7 @@
- puts -nonewline $fd $s
- #set fd [mk::channel $sb(ino) contents a]
- }
-- fconfigure $fd -translation auto
-+ fconfigure $fd -translation $translation -encoding $encoding -eofchar $eofchar
- seek $fd 0 end
- return [list $fd [list mk4vfs::do_close $db $fd $mode $sb(ino)]]
- }
diff --git a/development/tclvfs/patches/04-man.patch b/development/tclvfs/patches/02-man.patch
index 73392562a6..73392562a6 100644
--- a/development/tclvfs/patches/04-man.patch
+++ b/development/tclvfs/patches/02-man.patch
diff --git a/development/tclvfs/patches/03-m4.patch b/development/tclvfs/patches/03-m4.patch
deleted file mode 100644
index d995d72fd4..0000000000
--- a/development/tclvfs/patches/03-m4.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-
---- tclvfs-1.3-20080503.orig/tclconfig/tcl.m4
-+++ tclvfs-1.3-20080503/tclconfig/tcl.m4
-@@ -1486,12 +1486,15 @@
- SHLIB_LD_LIBS='${LIBS}'
- SHLIB_SUFFIX=".so"
-
-+ # following line added by CW for Debian GNU/Hurd
-+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0"
-+
- SHLIB_LD="${CC} -shared"
-- DL_OBJS=""
-+ DL_OBJS="tclLoadDl.o"
- DL_LIBS="-ldl"
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
- CC_SEARCH_FLAGS=""
-- LD_SEARCH_FLAGS=""
-+ LD_SEARCH_FLAGS="${CC_SEARCH_FLAGS}"
- if test "`uname -m`" = "alpha" ; then
- CFLAGS="$CFLAGS -mieee"
- fi
diff --git a/development/tclvfs/patches/05-pkgindex.patch b/development/tclvfs/patches/05-pkgindex.patch
deleted file mode 100644
index 77bb689caa..0000000000
--- a/development/tclvfs/patches/05-pkgindex.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Debian-specific patch by Sergei Golovan which replaces current directory
-for tclvfs library by a fixed one.
-
---- tclvfs-1.3-20080503.orig/pkgIndex.tcl.in
-+++ tclvfs-1.3-20080503/pkgIndex.tcl.in
-@@ -12,19 +12,18 @@
- package require Tcl 8.4
-
- namespace eval ::vfs {}
--variable vfs::dll [file join $dir @PKG_LIB_FILE@]
-+variable vfs::dll [file join /usr/lib @PACKAGE_NAME@@PACKAGE_VERSION@ @PKG_LIB_FILE@]
-
--proc loadvfs {dll} {
-+proc loadvfs {dir dll} {
- global auto_path
- if {![file exists $dll]} { return }
-- set dir [file dirname $dll]
- if {[lsearch -exact $auto_path $dir] == -1} {
- lappend auto_path $dir
- }
- load $dll
- }
-
--package ifneeded vfs @PACKAGE_VERSION@ [list loadvfs $vfs::dll]
-+package ifneeded vfs @PACKAGE_VERSION@ [list loadvfs $dir $vfs::dll]
-
- # Allow optional redirect of VFS_LIBRARY components. Only necessary
- # for testing, but could be used elsewhere.
diff --git a/development/tclvfs/patches/06-zipfix.patch b/development/tclvfs/patches/06-zipfix.patch
deleted file mode 100644
index 8ca6e1c1ae..0000000000
--- a/development/tclvfs/patches/06-zipfix.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Patch by Victor Wagner (modified by Sergei Golovan for archives less
-than 512 bytes long) fixes zip vfs to work with prepended executable.
-
---- tclvfs-1.3-20080503.orig/library/zipvfs.tcl
-+++ tclvfs-1.3-20080503/library/zipvfs.tcl
-@@ -113,7 +113,8 @@
- set translation [fconfigure $nfd -translation]
- fconfigure $nfd -translation binary
-
-- seek $zipfd $sb(ino) start
-+ upvar #0 zip::$zipfd cb
-+ seek $zipfd [expr {$sb(ino)+$cb(base)}] start
- zip::Data $zipfd sb data
-
- puts -nonewline $nfd $data
-@@ -370,6 +371,7 @@
-
- seek $fd $n end
- set hdr [read $fd $len]
-+ set read [string length $hdr]
- set pos [string first "PK\05\06" $hdr]
- if {$pos == -1} {
- if {$at >= $sz} {
-@@ -384,7 +386,7 @@
- }
-
- set hdr [string range $hdr [expr $pos + 4] [expr $pos + 21]]
-- set pos [expr [tell $fd] + $pos - 512]
-+ set pos [expr [tell $fd] + $pos - $read]
-
- binary scan $hdr ssssiis \
- cb(ndisk) cb(cdisk) \
-@@ -445,7 +447,7 @@
-
- zip::EndOfArchive $fd cb
-
-- seek $fd $cb(coff) start
-+ seek $fd [expr {$cb(coff)+$cb(base)}] start
-
- set toc(_) 0; unset toc(_); #MakeArray
-
diff --git a/development/tclvfs/patches/07-vfs.patch b/development/tclvfs/patches/07-vfs.patch
deleted file mode 100644
index 42b30eb60d..0000000000
--- a/development/tclvfs/patches/07-vfs.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- tclvfs-1.3-20080503.orig/generic/vfs.c 2006/08/30 19:38:03 1.60
-+++ tclvfs-1.3-20080503/generic/vfs.c 2008/10/10 21:57:36 1.61
-@@ -39,6 +39,10 @@
- #define TCL_GLOB_TYPE_MOUNT (1<<7)
- #endif
-
-+#ifndef CONST86
-+#define CONST86
-+#endif
-+
- /*
- * Only the _Init function is exported.
- */
-@@ -1656,7 +1660,7 @@
- return returnVal;
- }
-
--static CONST char**
-+static CONST char * CONST86 *
- VfsFileAttrStrings(pathPtr, objPtrRef)
- Tcl_Obj* pathPtr;
- Tcl_Obj** objPtrRef;
diff --git a/development/tclvfs/slack-desc b/development/tclvfs/slack-desc
index 7b9d93592e..b5194c45b5 100644
--- a/development/tclvfs/slack-desc
+++ b/development/tclvfs/slack-desc
@@ -11,7 +11,7 @@ tclvfs:
tclvfs: The TclVfs project aims to provide an extension to the Tcl language
tclvfs: which allows Virtual Filesystems to be built using Tcl scripts only.
tclvfs:
-tclvfs: https://sourceforge.net/projects/tclvfs/
+tclvfs: https://core.tcl-lang.org/tclvfs/home
tclvfs:
tclvfs:
tclvfs:
diff --git a/development/tclvfs/tclvfs.SlackBuild b/development/tclvfs/tclvfs.SlackBuild
index e1dfb636f9..7d57c5246f 100644
--- a/development/tclvfs/tclvfs.SlackBuild
+++ b/development/tclvfs/tclvfs.SlackBuild
@@ -1,29 +1,60 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tclvfs
-# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+# Copyright 2011-2022 Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20222007 Modified by Juan M. Lasca:
+# - updated to version 1.4 (changed website and minor changes)
+# - added code to generate additional man pages
+# - updated patches, remove unneeded ones
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tclvfs
-VERSION=${VERSION:-20080503}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -51,13 +82,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 {} \;
-cat $CWD/patches/01-configure.patch | patch -p1 || exit
-cat $CWD/patches/02-encoding.patch | patch -p1 || exit
-cat $CWD/patches/03-m4.patch | patch -p1 || exit
-cat $CWD/patches/04-man.patch | patch -p1 || exit
-cat $CWD/patches/05-pkgindex.patch | patch -p1 || exit
-cat $CWD/patches/06-zipfix.patch | patch -p1 || exit
-cat $CWD/patches/07-vfs.patch | patch -p1 || exit
+cat $CWD/patches/01-encoding.patch | patch -p1 || exit
+cat $CWD/patches/02-man.patch | patch -p1 || exit
+
+autoreconf -f
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -74,11 +102,17 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# remove empty directories
+rmdir $PKG/usr/include
+rmdir $PKG/usr/bin
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Fix Manual page
-mv $PKG/usr/man/mann $PKG/usr/man/man1
+# if dtplite tool is installed (tcllib package), generate additional man pages
+[ -x /usr/bin/dtplite ] && \
+ dtplite -o $PKG/usr/man/mann/vfs-filesystems.n nroff doc/vfs-filesystems.man && \
+ dtplite -o $PKG/usr/man/mann/vfs-fsapi.n nroff doc/vfs-fsapi.man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -91,4 +125,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tclvfs/tclvfs.info b/development/tclvfs/tclvfs.info
index 80f0361690..1f5ab71d8c 100644
--- a/development/tclvfs/tclvfs.info
+++ b/development/tclvfs/tclvfs.info
@@ -1,10 +1,10 @@
PRGNAM="tclvfs"
-VERSION="20080503"
-HOMEPAGE="https://sourceforge.net/projects/tclvfs/"
-DOWNLOAD="https://downloads.sourceforge.net/tclvfs/tclvfs-20080503.tar.gz"
-MD5SUM="3f6dbec91a305f97475d155ca6b1b563"
+VERSION="1.4"
+HOMEPAGE="https://core.tcl-lang.org/tclvfs/home"
+DOWNLOAD="https://core.tcl-lang.org/tclvfs/tarball/vfs-1-4/tclvfs-1.4.tar.gz"
+MD5SUM="29a218e64b545ff5cd2b5be461a83d88"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Zbigniew Baniewski"
-EMAIL="Zbigniew [dot] Baniewski [at] gmail [dot] com"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/tea/README b/development/tea/README
index 872d26c587..be64d66032 100644
--- a/development/tea/README
+++ b/development/tea/README
@@ -1,11 +1,7 @@
TEA is the text editor for UNIX-like systems and Windows. With an
ultimate small size, TEA provides you hundreds of functions.
-TEA is by default built against qt4. In building TEA against qt5,
-install qt5 (from slackbuilds.org) and run the script with the
-following command:
-
-QT5=yes ./tea.SlackBuild
-
-poppler-qt5 is an optional dependency. It provides pdf text reading
-capabilities.
+TEA is by default built against qt5.
+It could be built against qt4 or even qt6, if they are installed, using:
+QT4=yes ./tea.SlackBuild
+QT6=yes ./tea.SlackBuild
diff --git a/development/tea/tea.SlackBuild b/development/tea/tea.SlackBuild
index 98992f0b6d..2fa0f64f94 100644
--- a/development/tea/tea.SlackBuild
+++ b/development/tea/tea.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tea
# Written by Nai (bluedbs@gmail.com)
@@ -22,10 +22,13 @@
# 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=tea
-VERSION=${VERSION:-50.1.0}
+VERSION=${VERSION:-62.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=tea-qt
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -51,6 +61,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=""
@@ -71,10 +84,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-if [ ${QT5:-no} = yes ]; then
- QMAKE=qmake-qt5
+if [ ${QT4:-no} = yes ]; then
+ QMAKE=qmake-qt4
+elif [ ${QT6:-no} = yes ]; then
+ QMAKE=qmake6
else
- QMAKE=qmake
+ QMAKE=qmake-qt5
fi
$QMAKE "PREFIX=/usr/bin" "QMAKE_CXXFLAGS+=$SLKCFLAGS" "QMAKE_CFLAGS+=$SLKCFLAGS"
@@ -91,7 +106,7 @@ cp -f icons/tea_icon_v2.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog \
- manuals/* NEWS README TODO \
+ manuals/* NEWS* README* TODO* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -100,4 +115,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tea/tea.info b/development/tea/tea.info
index d6261bf762..ab445a2332 100644
--- a/development/tea/tea.info
+++ b/development/tea/tea.info
@@ -1,8 +1,8 @@
PRGNAM="tea"
-VERSION="50.1.0"
-HOMEPAGE="http://semiletov.org/tea/"
-DOWNLOAD="https://github.com/psemiletov/tea-qt/archive/50.1.0/tea-qt-50.1.0.tar.gz"
-MD5SUM="a59cbec5ee60c05e44ada9d8ae1fe4fc"
+VERSION="62.4.0"
+HOMEPAGE="https://tea.ourproject.org/"
+DOWNLOAD="https://github.com/psemiletov/tea-qt/archive/62.4.0/tea-qt-62.4.0.tar.gz"
+MD5SUM="6e186e204a92111ee35fd47f26d5cf4c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/teensy_loader_cli/teensy_loader_cli.SlackBuild b/development/teensy_loader_cli/teensy_loader_cli.SlackBuild
index a6961dc84e..4f24a2f7db 100644
--- a/development/teensy_loader_cli/teensy_loader_cli.SlackBuild
+++ b/development/teensy_loader_cli/teensy_loader_cli.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for teensy
# Written by Felix Pfeifer (pfeifer [dot] felix [at] googlemail [dot] com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teensy_loader_cli
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -73,5 +83,5 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/terraform/README b/development/terraform/README
new file mode 100644
index 0000000000..8caabd3aa2
--- /dev/null
+++ b/development/terraform/README
@@ -0,0 +1,8 @@
+Terraform is an open-source infrastructure as code software tool
+created by HashiCorp. It enables users to define and provision a
+datacenter infrastructure using a high-level configuration language
+known as Hashicorp Configuration Language, or optionally JSON.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/development/terraform/slack-desc b/development/terraform/slack-desc
new file mode 100644
index 0000000000..dd6952065f
--- /dev/null
+++ b/development/terraform/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------------------------------------------------------|
+terraform: terraform (tool for building, changing, and versioning infrastructure)
+terraform:
+terraform: Terraform is an open-source infrastructure as code software tool
+terraform: created by HashiCorp. It enables users to define and provision a
+terraform: datacenter infrastructure using a high-level configuration language
+terraform: known as Hashicorp Configuration Language, or optionally JSON.
+terraform:
+terraform:
+terraform: Homepage: https://www.terraform.io/
+terraform:
+terraform:
diff --git a/development/terraform/terraform.SlackBuild b/development/terraform/terraform.SlackBuild
new file mode 100644
index 0000000000..0dac129c1c
--- /dev/null
+++ b/development/terraform/terraform.SlackBuild
@@ -0,0 +1,95 @@
+#!/bin/bash
+
+# Slackware build script for terraform
+
+# Copyright 2022 Julian Grinblat <julian@dotcore.co.il>
+# 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=terraform
+VERSION=${VERSION:-1.8.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+GOOS=linux
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+case "$ARCH" in
+ x86_64) GOARCH=amd64 ;;
+ i586) GOARCH=386 ;;
+ *) GOARCH=$ARCH ;;
+esac
+
+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-$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 {} \;
+
+GOPATH=$TMP/go
+mkdir -p $GOPATH
+
+GOPATH=$GOPATH \
+GOOS=$GOOS \
+GOARCH=$GOARCH \
+CGO_ENABLED=0 \
+go build \
+ -mod=readonly \
+ -ldflags='-w -s' # In release mode we don't want debug information in the binary
+
+install -D -m 0755 terraform $PKG/usr/bin/terraform
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md LICENSE README.md CODEOWNERS docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/terraform/terraform.info b/development/terraform/terraform.info
new file mode 100644
index 0000000000..01c9027e98
--- /dev/null
+++ b/development/terraform/terraform.info
@@ -0,0 +1,10 @@
+PRGNAM="terraform"
+VERSION="1.8.0"
+HOMEPAGE="https://www.terraform.io/"
+DOWNLOAD="https://github.com/hashicorp/terraform/archive/v1.8.0/terraform-1.8.0.tar.gz"
+MD5SUM="da3fb5b1df7615b28c072698063d0726"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Julian Grinblat"
+EMAIL="julian@dotcore.co.il"
diff --git a/development/texi2html/README b/development/texi2html/README
index a1de0aa84a..c0afd88eab 100644
--- a/development/texi2html/README
+++ b/development/texi2html/README
@@ -1,6 +1,6 @@
texi2html converts texinfo documents to HTML, Info, docbook, and XML.
-This conflicts with the tetex package shipped with Slackware, as
-an older texi2html comes with it. However, if you plan to replace
-tetex with texlive, you will need a standalone installation of
-texi2html, so this is intended to serve that purpose.
+Consider texi2html to be deprecated: according to its homepage,
+"the route forward for authors is, in most cases, to alter manuals
+and build processes as necessary to use the new features of the
+makeinfo/texi2any implementation of GNU Texinfo.
diff --git a/development/texi2html/doinst.sh b/development/texi2html/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/development/texi2html/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/development/texi2html/texi2html.SlackBuild b/development/texi2html/texi2html.SlackBuild
index 4e3021608e..a748626d92 100644
--- a/development/texi2html/texi2html.SlackBuild
+++ b/development/texi2html/texi2html.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for texi2html
-# Copyright 2013 Robby Workman, Northport, Alabama, USA
+# Copyright 2013-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,38 +22,31 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - ARCH=noarch (no compiled code here, nor use of /usr/lib64).
+# - add doinst/douninst to handle /usr/info/dir.
+# Note: during the build, if I have a *.UTF-8 locale, msgexec complains
+# about it. But, using C or en_US doesn't get rid of the warnings. Not
+# sure how to tell if it even matters.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=texi2html
VERSION=${VERSION:-5.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
@@ -65,37 +58,32 @@ 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 \
+ -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
-CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--mandir=/usr/man \
- --infodir=/usr/info \
- --build=$ARCH-slackware-linux
+ --infodir=/usr/info
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-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
-
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-#cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/textadept/README b/development/textadept/README
index b270b98051..14d4a0f3a9 100644
--- a/development/textadept/README
+++ b/development/textadept/README
@@ -6,14 +6,20 @@ speed and minimalism over the years, Textadept is an ideal editor for
programmers who want endless extensibility without sacrificing speed
or succumbing to code bloat and featuritis.
-The following executables are symlinked from /opt/ to /usr/bin/:
+The following executables are symlinked from /usr/share/textadept/
+to /usr/bin/:
-textadept
+ -textadept-gtk
-textadept-curses
- -textadeptjit
- -textadeptjit-curses
-tad
-tadc
+ -tadg
-Note that `tad` and `tadc` are just easier ways to type `textadept`
-and `textadept-curses`, respectively.
+Note that `tad`, `tadg` and `tadc` are just easier ways to type
+`textadept`, `textadept-gtk` and `textadept-curses`, respectively.
+
+python3-markdown-it-py is only required for building HTML
+documentation, and the scripts works fine without it.
+But since the local HTML pages are opened when using the menu/help,
+it is not marked as optional.
diff --git a/development/textadept/doinst.sh b/development/textadept/doinst.sh
index 9a8ded3c60..aea0f894eb 100644
--- a/development/textadept/doinst.sh
+++ b/development/textadept/doinst.sh
@@ -5,3 +5,9 @@ fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/textadept/textadept.SlackBuild b/development/textadept/textadept.SlackBuild
index ea50640a93..b834636e3a 100644
--- a/development/textadept/textadept.SlackBuild
+++ b/development/textadept/textadept.SlackBuild
@@ -1,6 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for textadept
+# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
# Copyright 2018, 2019 Brenton Earl <brent@exitstatusone.com>
@@ -22,10 +23,13 @@
# along with this program (most likely, a file named COPYING). If
# not, see <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=textadept
-VERSION=${VERSION:-10.8}
+VERSION=${VERSION:-12.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -43,19 +54,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- SRCARCH=i386
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- SRCARCH=i386
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- SRCARCH=x86_64
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
- SRCARCH=i386
fi
DOCS="CHANGELOG.md FAQ.md LICENSE MEDIA.md README.md TECHNOLOGY.md THANKS.md"
@@ -65,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM\_$VERSION.$SRCARCH
-tar xvf $CWD/$PRGNAM\_$VERSION.$SRCARCH.tgz
-cd $PRGNAM\_$VERSION.$SRCARCH/
+rm -rf $PRGNAM-$PRGNAM\_$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM\_$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM\_$VERSION/
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,29 +82,60 @@ 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 {} \;
-mkdir -p $PKG/opt/$PRGNAM/
-cp -a * $PKG/opt/$PRGNAM/
+mkdir -p build/_deps
+ln -s $CWD/*t20200923.tar.gz build/_deps/t20200923.tar.gz
+ln -s $CWD/*libiconv-1.17.tar.gz build/_deps/libiconv-1.17.tar.gz
+ln -s $CWD/*lexilla510.tgz build/_deps/lexilla510.tgz
+ln -s $CWD/*1_8_0.zip build/_deps/v1_8_0.zip
+ln -s $CWD/*lpeg-1.1.0.tar.gz build/_deps/lpeg-1.1.0.tar.gz
+ln -s $CWD/*lua-5.4.6.tar.gz build/_deps/lua-5.4.6.tar.gz
+ln -s $CWD/*PDCurses-3.9.zip build/_deps/PDCurses-3.9.zip
+ln -s $CWD/*1.0.zip build/_deps/1.0.zip
+ln -s $CWD/*scinterm_5.0.zip build/_deps/scinterm_5.0.zip
+ln -s $CWD/*scintilla541.tgz build/_deps/scintilla541.tgz
+ln -s $CWD/*48a6fc9511ec67993e43ac7f5a33efc616b7ea32.zip build/_deps/48a6fc9511ec67993e43ac7f5a33efc616b7ea32.zip
+ln -s $CWD/*3.4.0.zip build/_deps/v3.4.0.zip
+ln -s $CWD/*libtermkey-0.22.tar.gz build/_deps/libtermkey-0.22.tar.gz
+cmake -S . -B build -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_INSTALL_PREFIX=$PKG/usr \
+ -D CMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -D CMAKE_CXX_FLAGS:STRING="$SLKCFLAGS"
+cmake --build build -j
+cmake --install build
+
+# Generate HTML documentation if markdown-it is available.
+if [ -e /usr/bin/markdown-it ]; then
+ pushd build/_deps/lua-src; make; popd
+ LUA=$(pwd)/build/_deps/lua-src/src/lua
+ # Copied from textadept's github workflow, and adapted to our environment
+ FILL_LAYOUT=$(pwd)/scripts/fill_layout.lua
+ sed -i 's/markdown -f toc -T/markdown-it/;s/read\(..\)a/read\1*a/;s/:match.*ul.*//' $FILL_LAYOUT
+
+ pushd $PKG/usr/share/$PRGNAM/docs
+ for file in `ls *.md`; do
+ cat _layouts/default.html | $LUA $FILL_LAYOUT $file > `basename -s .md $file`.html
+ done
+ rm _layouts/default.html
+ rmdir _layouts
+ popd
+fi
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/bin/
-ln -sf /opt/$PRGNAM/"${PRGNAM}" $PKG/usr/bin/
-ln -sf /opt/$PRGNAM/"${PRGNAM}"-curses $PKG/usr/bin/
-ln -sf /opt/$PRGNAM/"${PRGNAM}"jit $PKG/usr/bin/
-ln -sf /opt/$PRGNAM/"${PRGNAM}"jit-curses $PKG/usr/bin/
-ln -sf /opt/$PRGNAM/"${PRGNAM}" $PKG/usr/bin/tad
-ln -sf /opt/$PRGNAM/"${PRGNAM}"-curses $PKG/usr/bin/tadc
-
-mkdir -p $PKG/usr/share/pixmaps/
-ln -sf /opt/$PRGNAM/core/images/${PRGNAM}.png $PKG/usr/share/pixmaps/
-ln -sf /opt/$PRGNAM/core/images/${PRGNAM}-curses.png $PKG/usr/share/pixmaps/
+# More compact binary names
+ln -sf ${PRGNAM} $PKG/usr/bin/tad
+ln -sf ${PRGNAM}-gtk $PKG/usr/bin/tadg
+ln -sf ${PRGNAM}-curses $PKG/usr/bin/tadc
-mkdir -p $PKG/usr/share/applications
-install -m644 src/$PRGNAM.desktop $PKG/usr/share/applications
-install -m644 src/$PRGNAM-curses.desktop $PKG/usr/share/applications
+# Better menu entry : differentiates between Qt and Gtk version
+sed -i 's/Name=Textadept/Name=Textadept (Qt)/' $PKG/usr/share/$PRGNAM/"${PRGNAM}".desktop
+sed -i 's/Name=Textadept/Name=Textadept (Gtk)/' $PKG/usr/share/$PRGNAM/"${PRGNAM}"-gtk.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a README* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION/
+# Doc in /usr/share/$PRGNAM/docs is used for help inside program
+ln -sf /usr/share/$PRGNAM/docs $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -105,4 +143,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/textadept/textadept.info b/development/textadept/textadept.info
index a79c7db52d..904460a663 100644
--- a/development/textadept/textadept.info
+++ b/development/textadept/textadept.info
@@ -1,10 +1,36 @@
PRGNAM="textadept"
-VERSION="10.8"
+VERSION="12.3"
HOMEPAGE="https://foicica.com/textadept/"
-DOWNLOAD="https://foicica.com/textadept/download/textadept_10.8.i386.tgz"
-MD5SUM="47d24dd2416b8f4ee000fc945afbf80e"
-DOWNLOAD_x86_64="https://foicica.com/textadept/download/textadept_10.8.x86_64.tgz"
-MD5SUM_x86_64="69cccf0e9de7f005212ff5d7aa3c0e0e"
-REQUIRES=""
-MAINTAINER="Brenton Earl"
-EMAIL="brent@exitstatusone.com"
+DOWNLOAD="https://github.com/orbitalquark/textadept/archive/textadept_12.3/textadept-textadept_12.3.tar.gz \
+ https://github.com/ThomasDickey/cdk-snapshots/archive/refs/tags/t20200923.tar.gz \
+ https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz \
+ https://www.scintilla.org/lexilla510.tgz \
+ https://github.com/keplerproject/luafilesystem/archive/v1_8_0.zip \
+ https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz \
+ https://www.lua.org/ftp/lua-5.4.6.tar.gz \
+ https://prdownloads.sourceforge.net/pdcurses/PDCurses-3.9.zip \
+ https://github.com/orbitalquark/lua-std-regex/archive/1.0.zip \
+ https://github.com/orbitalquark/scinterm/archive/scinterm_5.0.zip \
+ https://www.scintilla.org/scintilla541.tgz \
+ https://github.com/orbitalquark/scintillua/archive/48a6fc9511ec67993e43ac7f5a33efc616b7ea32.zip \
+ https://github.com/itay-grudev/SingleApplication/archive/refs/tags/v3.4.0.zip \
+ https://www.leonerd.org.uk/code/libtermkey/libtermkey-0.22.tar.gz"
+MD5SUM="27020397bbe264b44e7fe96ba8177b7b \
+ 0908cb133f473506a40807c0204a960a \
+ d718cd5a59438be666d1575855be72c3 \
+ 210fab20f43c7d77af7249fd50c2cdc1 \
+ c44cc7dee6a38c273a8c373d4e768753 \
+ 842a538b403b5639510c9b6fffd2c75b \
+ 25a429319dff20dfbfb9956c2b5be911 \
+ 06d657aec0e655d5a335c5a5dc888ef3 \
+ c3314ca8c5be471888342efeee3a46d2 \
+ dd7c1f88dd42ae5f2113ba5fe0df2561 \
+ d0d5b7944907b7eae125f132b17a80e8 \
+ 88ebd6a8c79685c1d6339357faccc76e \
+ 93b78904c173f13b88ce1398f8d8e576 \
+ 08bf514d59660391c3a21b3977a16c8c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-markdown-it-py"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/development/textadept/update_urls.sh b/development/textadept/update_urls.sh
new file mode 100644
index 0000000000..c7492a5b49
--- /dev/null
+++ b/development/textadept/update_urls.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+# Helper for maintainer when updating textadept.info, and textadept.SlackBuild
+# for third party sources files used when building.
+VERSION=$(grep VERSION textadept.info | cut -d\" -f2)
+url=$(grep DOWNLOAD textadept.info | cut -d\" -f2 | tr -d ' \\\"')
+md5_=$(curl -Ls $url | md5sum | cut -d\ -f1)
+echo -ne "DOWNLOAD=\"$url"
+curl -s https://raw.githubusercontent.com/orbitalquark/textadept/textadept_${VERSION}/CMakeLists.txt > CMakeLists.txt
+md5=()
+files=()
+for pkg in $(grep "_url " CMakeLists.txt | cut -d\( -f2| cut -d_ -f1 | sort -u); do
+ ext=tgz
+ file=$(grep "(${pkg}_${ext} " CMakeLists.txt | head -1 | sed "s#.*${pkg}_${ext} \(.*\)[)]#\1#")
+ [ -z "$file" ] && ext=zip && file=$(grep "(${pkg}_${ext} " CMakeLists.txt | head -1 | sed "s#.*${pkg}_${ext} \(.*\)[)]#\1#")
+ url=$(grep "(${pkg}_url https" CMakeLists.txt | sed "s#.*${pkg}_url \(.*\)..${pkg}_${ext}..#\1${file}#")
+ [ -z "$url" ] && url=$(grep -Pzo "(?s)\(${pkg}_url\s*https\N*" CMakeLists.txt | tr -d '\n' | sed "s#.*${pkg}_url.*\(https.*\)..${pkg}_${ext}.*#\1${file}#")
+ #echo "$pkg.$ext[$file]: $url"
+ md5=( "${md5[@]}" $(curl -Ls $url | md5sum | cut -d\ -f1))
+ files=( "${files[@]}" $file)
+ echo -ne " \\\\\\n $url"
+done
+echo '"'
+echo -ne "MD5SUM=\"$md5_"
+for m in ${md5[@]}; do
+ echo -ne " \\\\\\n $m"
+done
+echo '"'
+for f in ${files[@]}; do
+ echo "ln -s \$CWD/*${f#v*} build/_deps/$f"
+done
diff --git a/development/tfenv/README b/development/tfenv/README
new file mode 100644
index 0000000000..e3ce1be440
--- /dev/null
+++ b/development/tfenv/README
@@ -0,0 +1,4 @@
+Terraform version manager inspired by rbenv
+
+This package conflicts with the terraform package, so only install one
+or the other.
diff --git a/development/tfenv/slack-desc b/development/tfenv/slack-desc
new file mode 100644
index 0000000000..0c714411f4
--- /dev/null
+++ b/development/tfenv/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------------------------------------------------------|
+tfenv: tfenv (Terraform version manager inspired by rbenv)
+tfenv:
+tfenv: Terraform version manager inspired by rbenv.
+tfenv:
+tfenv: https://github.com/tfutils/tfenv
+tfenv:
+tfenv:
+tfenv:
+tfenv:
+tfenv:
+tfenv:
diff --git a/development/tfenv/tfenv.SlackBuild b/development/tfenv/tfenv.SlackBuild
new file mode 100644
index 0000000000..cb3614b636
--- /dev/null
+++ b/development/tfenv/tfenv.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for tfenv
+
+# Copyright 2023 Andrew Clemons, Tokyo Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tfenv
+VERSION=${VERSION:-3.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+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-$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/usr/share/tfenv/
+mv bin lib libexec share $PKG/usr/share/tfenv/
+mkdir -p $PKG/usr/bin
+
+(
+ cd $PKG/usr/bin
+ ln -s ../share/tfenv/bin/tfenv .
+ ln -s ../share/tfenv/bin/terraform .
+)
+
+(
+ cd $PKG/usr/share/tfenv
+ ln -s ../../doc/$PRGNAM-$VERSION/CHANGELOG.md
+)
+
+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 versions in users home
+mkdir -p $PKG/etc/profile.d/
+cat << "EOF" > $PKG/etc/profile.d/tfenv.csh
+#!/bin/csh
+
+setenv TFENV_CONFIG_DIR "${HOME}/.config/tfenv"
+EOF
+
+cat << "EOF" > $PKG/etc/profile.d/tfenv.sh
+#!/bin/sh
+
+export TFENV_CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/tfenv"
+EOF
+
+chmod 0755 $PKG/etc/profile.d/*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tfenv/tfenv.info b/development/tfenv/tfenv.info
new file mode 100644
index 0000000000..e01774e1bf
--- /dev/null
+++ b/development/tfenv/tfenv.info
@@ -0,0 +1,10 @@
+PRGNAM="tfenv"
+VERSION="3.0.0"
+HOMEPAGE="https://github.com/tfutils"
+DOWNLOAD="https://github.com/tfutils/tfenv/archive/v3.0.0/tfenv-3.0.0.tar.gz"
+MD5SUM="f1634dd159d2a01c42c26c980a3bdaee"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/thread/thread.SlackBuild b/development/thread/thread.SlackBuild
index fa5012490e..4645b98e29 100644
--- a/development/thread/thread.SlackBuild
+++ b/development/thread/thread.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for thread
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=thread
VERSION=${VERSION:-2.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -78,4 +88,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/thunderpad/README b/development/thunderpad/README
deleted file mode 100644
index 51c1f5da79..0000000000
--- a/development/thunderpad/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Thunderpad is a simple and lightweight text editor designed
-for general-purpose usage and casual programming.
diff --git a/development/thunderpad/slack-desc b/development/thunderpad/slack-desc
deleted file mode 100644
index 1e8fbde6ee..0000000000
--- a/development/thunderpad/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------------------------------------------------------|
-thunderpad: thunderpad (a simple, powerful text editor)
-thunderpad:
-thunderpad:
-thunderpad: A simple, powerful and cross-platform text editor.
-thunderpad:
-thunderpad:
-thunderpad:
-thunderpad:
-thunderpad:
-thunderpad: http://sf.net/p/thunderpad
-thunderpad:
diff --git a/development/thunderpad/thunderpad.SlackBuild b/development/thunderpad/thunderpad.SlackBuild
deleted file mode 100644
index c8a4c31c49..0000000000
--- a/development/thunderpad/thunderpad.SlackBuild
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/sh
-# Slackware build script for thunderpad
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
-# Thanks to B. Watson
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License
-# along with this program (most likely, a file named COPYING). If
-# not, see <http://www.gnu.org/licenses/>.
-
-PRGNAM=thunderpad
-SRCNAM=Thunderpad
-VERSION=${VERSION:-20150716}
-SRCVERSION=${SRCVERSION:-5d3cbbc3d885fc5eabf0c2e50f25c76403706c08}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-DOCS="contributors.txt license.txt readme.md"
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -pv $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$SRCVERSION
-if [ -e $CWD/$SRCVERSION.tar.gz ]; then
- tar xvf $CWD/$SRCVERSION.tar.gz
-else
- tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
-fi
-cd $SRCNAM-$SRCVERSION
-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 {} \;
-
-## remove CR line endings
-sed -i 's,\r,,' data/linux/$PRGNAM.desktop *.txt *.md
-
-mkdir -p build
-cd build
-
-qmake \
- PREFIX=/usr \
- LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- QMAKE_CFLAGS="$SLKCFLAGS" \
- QMAKE_CXXFLAGS="$SLKCFLAGS" \
- ../thunderpad.pro CONFIG+=release
-
-make \
- OPTS="$SLKCFLAGS" \
- LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- PREFIX=/usr
-
-make install \
- INSTALL_ROOT=$PKG \
- DESTDIR=$PKG
-
-cd ../
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $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:-tgz}
diff --git a/development/thunderpad/thunderpad.info b/development/thunderpad/thunderpad.info
deleted file mode 100644
index 9aba394d2d..0000000000
--- a/development/thunderpad/thunderpad.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="thunderpad"
-VERSION="20150716"
-HOMEPAGE="https://github.com/alex-97/Thunderpad"
-DOWNLOAD="https://github.com/alex-97/Thunderpad/archive/5d3cbbc3d885fc5eabf0c2e50f25c76403706c08.tar.gz"
-MD5SUM="3bc08c0e90be87e25e5ac5b9263c2ab6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/development/tidy-html5/README b/development/tidy-html5/README
deleted file mode 100644
index 813fe61ba2..0000000000
--- a/development/tidy-html5/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Tidy is a console application for Mac OS X, Linux, Windows, UNIX, and
-more. It corrects and cleans up HTML and XML documents by fixing markup
-errors and upgrading legacy code to modern standards.
diff --git a/development/tidy-html5/slack-desc b/development/tidy-html5/slack-desc
deleted file mode 100644
index 9740f263b5..0000000000
--- a/development/tidy-html5/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------------------------------------------------------|
-tidy-html5: tidy-html5 (correct and clean up HTML and XML documents)
-tidy-html5:
-tidy-html5: Tidy is a console application for Mac OS X, Linux, Windows,
-tidy-html5: UNIX, and more. It corrects and cleans up HTML and XML
-tidy-html5: documents by fixing markup errors and upgrading legacy code to
-tidy-html5: modern standards.
-tidy-html5:
-tidy-html5: HTML Tidy was created by the W3C's own Dave Raggett back in
-tidy-html5: the dawn of the Internet age. His original Internet page is
-tidy-html5: still available and gives a sense of the early history: Clean
-tidy-html5: up your Web pages with HTML TIDY.
diff --git a/development/tidy-html5/tidy-html5.SlackBuild b/development/tidy-html5/tidy-html5.SlackBuild
deleted file mode 100644
index 6af8cdff96..0000000000
--- a/development/tidy-html5/tidy-html5.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for tidy-html5
-
-# Copyright 2017 Alan Aversa
-# 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.
-
-PRGNAM=tidy-html5
-VERSION=${VERSION:-5.6.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
- -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
-
-# Avoid overwriting kdewebdev's tidy
-mv $PKG/usr/bin/tidy $PKG/usr/bin/tidy5
-
-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
-
-rm -f $PKG/usr/info/dir
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-
-mkdir -p $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:-tgz}
diff --git a/development/tidy-html5/tidy-html5.info b/development/tidy-html5/tidy-html5.info
deleted file mode 100644
index 3414561338..0000000000
--- a/development/tidy-html5/tidy-html5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="tidy-html5"
-VERSION="5.6.0"
-HOMEPAGE="http://www.html-tidy.org/"
-DOWNLOAD="https://github.com/htacg/tidy-html5/archive/5.6.0/tidy-html5-5.6.0.tar.gz"
-MD5SUM="85c8a163d9ece6a02fe12bc9bddbc455"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Alan Aversa"
-EMAIL="aveNOrsa@email.ariSPAMzona.edu (remove NO and SPAM)"
diff --git a/development/tig/1016.patch b/development/tig/1016.patch
deleted file mode 100644
index 095efc9173..0000000000
--- a/development/tig/1016.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From dff2d346e9647fb55c4e0e381572ad1fe82b8715 Mon Sep 17 00:00:00 2001
-From: Kyle Anderson <kylea@netflix.com>
-Date: Mon, 8 Jun 2020 17:24:18 -0700
-Subject: [PATCH] Don't error if git tab completion is not available. Fixes
- #1011
-
----
- contrib/tig-completion.bash | 19 ++++++++++++-------
- 1 file changed, 12 insertions(+), 7 deletions(-)
-
-diff --git a/contrib/tig-completion.bash b/contrib/tig-completion.bash
-index 5aef3fd8..54a40ec1 100755
---- a/contrib/tig-completion.bash
-+++ b/contrib/tig-completion.bash
-@@ -28,6 +28,9 @@
- # is performed while the script loads. If git isn't found
- # at source time then all lookups will be done on demand,
- # which may be slightly slower.
-+#
-+# 4) This completion file depends on git completion already being
-+# loaded. Make sure git-completion.bash happens first.
-
- __tig_options="
- -v --version
-@@ -93,13 +96,15 @@ if [ -n "$ZSH_VERSION" ]; then
- bashcompinit
- fi
-
--# we use internal git-completion functions, so wrap _tig for all necessary
-+# we use internal git-completion functions (if available), so wrap _tig for all necessary
- # variables (like cword and prev) to be defined
--__git_complete tig _tig
-+if type '__git_complete' 2>/dev/null | grep -q 'function'; then
-+ __git_complete tig _tig
-
--# The following are necessary only for Cygwin, and only are needed
--# when the user has tab-completed the executable name and consequently
--# included the '.exe' suffix.
--if [ Cygwin = "$(uname -o 2>/dev/null)" ]; then
-- __git_complete tig.exe _tig
-+ # The following are necessary only for Cygwin, and only are needed
-+ # when the user has tab-completed the executable name and consequently
-+ # included the '.exe' suffix.
-+ if [ Cygwin = "$(uname -o 2>/dev/null)" ]; then
-+ __git_complete tig.exe _tig
-+ fi
- fi
diff --git a/development/tig/tig.SlackBuild b/development/tig/tig.SlackBuild
index f5de4dfb48..1c0d84306b 100644
--- a/development/tig/tig.SlackBuild
+++ b/development/tig/tig.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tig
-# Copyright 2014-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=tig
-VERSION=${VERSION:-2.5.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.5.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -70,7 +77,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i 's|$(docdir)/tig|$(docdir)|' Makefile
-patch -p1 < $CWD/1016.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -89,8 +95,8 @@ make install-doc 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/etc/bash_completion.d
-cat contrib/tig-completion.bash > $PKG/etc/bash_completion.d/tig
+mkdir -p $PKG/usr/share/bash-completion/completions
+cat contrib/tig-completion.bash > $PKG/usr/share/bash-completion/completions/tig
mv $PKG/etc/tigrc $PKG/etc/tigrc.new
@@ -106,4 +112,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tig/tig.info b/development/tig/tig.info
index 65a315bca7..ad3ebe5898 100644
--- a/development/tig/tig.info
+++ b/development/tig/tig.info
@@ -1,8 +1,8 @@
PRGNAM="tig"
-VERSION="2.5.1"
+VERSION="2.5.9"
HOMEPAGE="https://jonas.github.io/tig/"
-DOWNLOAD="https://github.com/jonas/tig/releases/download/tig-2.5.1/tig-2.5.1.tar.gz"
-MD5SUM="4d810b7de2dfc842ceeb8b8d88740f2c"
+DOWNLOAD="https://github.com/jonas/tig/releases/download/tig-2.5.9/tig-2.5.9.tar.gz"
+MD5SUM="54d0d7a17b75832eac632b6232f785fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/tiled/tiled.SlackBuild b/development/tiled/tiled.SlackBuild
index bfa869ce32..f4bd1709fa 100644
--- a/development/tiled/tiled.SlackBuild
+++ b/development/tiled/tiled.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tiled
@@ -24,10 +24,13 @@
# 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=tiled
-VERSION=${VERSION:-1.4.3}
+VERSION=${VERSION:-1.10.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -51,6 +61,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=""
@@ -71,16 +84,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 to force the right library path to be used for libtiled plugins directory
-# it was always using ../lib/tiled/plugins/ even on x86_64 where the plugins were
-# stored by the installer itself on $LIBDIR/tiled/plugins/
-# This patch is therefore only useful when $LIBDIR=/usr/lib64/
-# Compilation itself would break as linking was done with ../lib/ even when the libs
-# are stored on ../lib64/
-if [ "$ARCH" = "x86_64" ]; then
- patch -p0 < $CWD/tiled_lib64.patch
-fi
-
qbs setup-qt /usr/bin/qmake-qt5 qt5
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -91,6 +94,9 @@ qbs 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
+[ ! -d $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
+
+
mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -107,4 +113,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tiled/tiled.info b/development/tiled/tiled.info
index 02ea49644f..fcbf8bdff2 100644
--- a/development/tiled/tiled.info
+++ b/development/tiled/tiled.info
@@ -1,10 +1,10 @@
PRGNAM="tiled"
-VERSION="1.4.3"
+VERSION="1.10.2"
HOMEPAGE="https://www.mapeditor.org"
-DOWNLOAD="https://github.com/bjorn/tiled/archive/v1.4.3/tiled-1.4.3.tar.gz"
-MD5SUM="e7465ccc8fb9b5a42472f59d65eb371c"
+DOWNLOAD="https://github.com/bjorn/tiled/archive/v1.10.2/tiled-1.10.2.tar.gz"
+MD5SUM="92e4de50b817b0288d0c635b6668ecd4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 qbs"
+REQUIRES="qbs"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"
diff --git a/development/tiled/tiled_lib64.patch b/development/tiled/tiled_lib64.patch
deleted file mode 100644
index 4410d5a7f6..0000000000
--- a/development/tiled/tiled_lib64.patch
+++ /dev/null
@@ -1,138 +0,0 @@
-diff -Naur src/libtiled/libtiled.pro src/libtiled/libtiled.pro
---- src/libtiled/libtiled.pro 2019-11-12 15:18:10.000000000 +0100
-+++ src/libtiled/libtiled.pro 2019-11-12 21:20:24.366384856 +0100
-@@ -8,7 +8,7 @@
- DESTDIR = ../../bin/Tiled.app/Contents/Frameworks
- QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/
- } else {
-- DESTDIR = ../../lib
-+ DESTDIR = ../../lib64
- }
- DLLDESTDIR = ../..
-
-diff -Naur src/libtiled/pluginmanager.cpp src/libtiled/pluginmanager.cpp
---- src/libtiled/pluginmanager.cpp 2019-11-12 15:18:10.000000000 +0100
-+++ src/libtiled/pluginmanager.cpp 2019-11-12 21:20:24.366384856 +0100
-@@ -196,7 +196,7 @@
- #elif defined(TILED_PLUGIN_DIR)
- QString pluginPath = QLatin1String(TILED_PLUGIN_DIR);
- #else
-- pluginPath += QStringLiteral("/../lib/tiled/plugins");
-+ pluginPath += QStringLiteral("/../lib64/tiled/plugins");
- #endif
-
- // Load dynamic plugins
-diff -Naur src/plugins/plugin.pri src/plugins/plugin.pri
---- src/plugins/plugin.pri 2019-11-12 15:18:10.000000000 +0100
-+++ src/plugins/plugin.pri 2019-11-12 21:20:24.366384856 +0100
-@@ -10,7 +10,7 @@
- } else:macx {
- DESTDIR = $$OUT_PWD/../../../bin/Tiled.app/Contents/PlugIns
- } else {
-- DESTDIR = $$OUT_PWD/../../../lib/tiled/plugins
-+ DESTDIR = $$OUT_PWD/../../../lib64/tiled/plugins
- }
-
- include(../../tiled.pri)
-@@ -21,9 +21,9 @@
- macx {
- QMAKE_LIBDIR += $$OUT_PWD/../../../bin/Tiled.app/Contents/Frameworks
- } else:win32 {
-- LIBS += -L$$OUT_PWD/../../../lib
-+ LIBS += -L$$OUT_PWD/../../../lib64
- } else {
-- QMAKE_LIBDIR += $$OUT_PWD/../../../lib
-+ QMAKE_LIBDIR += $$OUT_PWD/../../../lib64
- }
-
- # Set rpath so that the plugin will resolve libtiled correctly
-diff -Naur src/tiled/tiled.pro src/tiled/tiled.pro
---- src/tiled/tiled.pro 2019-11-12 15:18:10.000000000 +0100
-+++ src/tiled/tiled.pro 2019-11-12 21:20:24.366384856 +0100
-@@ -28,12 +28,12 @@
- } else:win32 {
- LIBS += -L$$OUT_PWD/../../lib
- } else {
-- QMAKE_LIBDIR = $$OUT_PWD/../../lib $$QMAKE_LIBDIR
-+ QMAKE_LIBDIR = $$OUT_PWD/../../lib64 $$QMAKE_LIBDIR
- }
-
- # Make sure the Tiled executable can find libtiled
- !win32:!macx:!cygwin:contains(RPATH, yes) {
-- QMAKE_RPATHDIR += \$\$ORIGIN/../lib
-+ QMAKE_RPATHDIR += \$\$ORIGIN/../lib64
-
- # It is not possible to use ORIGIN in QMAKE_RPATHDIR, so a bit manually
- QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$$join(QMAKE_RPATHDIR, ":")\'
-diff -Naur src/tmxrasterizer/tmxrasterizer.pro src/tmxrasterizer/tmxrasterizer.pro
---- src/tmxrasterizer/tmxrasterizer.pro 2019-11-12 15:18:10.000000000 +0100
-+++ src/tmxrasterizer/tmxrasterizer.pro 2019-11-12 21:20:24.366384856 +0100
-@@ -19,12 +19,12 @@
- } else:win32 {
- LIBS += -L$$OUT_PWD/../../lib
- } else {
-- QMAKE_LIBDIR = $$OUT_PWD/../../lib $$QMAKE_LIBDIR
-+ QMAKE_LIBDIR = $$OUT_PWD/../../lib64 $$QMAKE_LIBDIR
- }
-
- # Make sure the executable can find libtiled
- !win32:!macx:!cygwin:contains(RPATH, yes) {
-- QMAKE_RPATHDIR += \$\$ORIGIN/../lib
-+ QMAKE_RPATHDIR += \$\$ORIGIN/../lib64
-
- # It is not possible to use ORIGIN in QMAKE_RPATHDIR, so a bit manually
- QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$$join(QMAKE_RPATHDIR, ":")\'
-diff -Naur src/tmxviewer/tmxviewer.pro src/tmxviewer/tmxviewer.pro
---- src/tmxviewer/tmxviewer.pro 2019-11-12 15:18:10.000000000 +0100
-+++ src/tmxviewer/tmxviewer.pro 2019-11-12 21:20:24.366384856 +0100
-@@ -19,12 +19,12 @@
- } else:win32 {
- LIBS += -L$$OUT_PWD/../../lib
- } else {
-- QMAKE_LIBDIR = $$OUT_PWD/../../lib $$QMAKE_LIBDIR
-+ QMAKE_LIBDIR = $$OUT_PWD/../../lib64 $$QMAKE_LIBDIR
- }
-
- # Make sure the executable can find libtiled
- !win32:!macx:!cygwin:contains(RPATH, yes) {
-- QMAKE_RPATHDIR += \$\$ORIGIN/../lib
-+ QMAKE_RPATHDIR += \$\$ORIGIN/../lib64
-
- # It is not possible to use ORIGIN in QMAKE_RPATHDIR, so a bit manually
- QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$$join(QMAKE_RPATHDIR, ":")\'
-diff -Naur src/terraingenerator/terraingenerator.pro src/terraingenerator/terraingenerator.pro
---- src/terraingenerator/terraingenerator.pro 2019-11-12 15:18:10.000000000 +0100
-+++ src/terraingenerator/terraingenerator.pro 2019-11-12 21:20:24.367384856 +0100
-@@ -19,12 +19,12 @@
- } else:win32 {
- LIBS += -L$$OUT_PWD/../../lib
- } else {
-- QMAKE_LIBDIR_FLAGS += -L$$OUT_PWD/../../lib
-+ QMAKE_LIBDIR_FLAGS += -L$$OUT_PWD/../../lib64
- }
-
- # Make sure the executable can find libtiled
- !win32:!macx:!cygwin:contains(RPATH, yes) {
-- QMAKE_RPATHDIR += \$\$ORIGIN/../lib
-+ QMAKE_RPATHDIR += \$\$ORIGIN/../lib64
-
- # It is not possible to use ORIGIN in QMAKE_RPATHDIR, so a bit manually
- QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$$join(QMAKE_RPATHDIR, ":")\'
-diff -Naur src/tiledquickplugin/tiledquickplugin.pro src/tiledquickplugin/tiledquickplugin.pro
---- src/tiledquickplugin/tiledquickplugin.pro 2019-11-12 15:18:10.000000000 +0100
-+++ src/tiledquickplugin/tiledquickplugin.pro 2019-11-12 21:50:05.469424699 +0100
-@@ -17,12 +17,12 @@
- } else:win32 {
- LIBS += -L$$OUT_PWD/../../lib
- } else {
-- QMAKE_LIBDIR = $$OUT_PWD/../../lib $$QMAKE_LIBDIR
-+ QMAKE_LIBDIR = $$OUT_PWD/../../lib64 $$QMAKE_LIBDIR
- }
-
- # Make sure the Tiled executable can find libtiled
- !win32:!macx:contains(RPATH, yes) {
-- QMAKE_RPATHDIR += \$\$ORIGIN/../../../../lib
-+ QMAKE_RPATHDIR += \$\$ORIGIN/../../../../lib64
-
- # It is not possible to use ORIGIN in QMAKE_RPATHDIR, so a bit manually
- QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$$join(QMAKE_RPATHDIR, ":")\'
diff --git a/development/tinyscheme/README b/development/tinyscheme/README
new file mode 100644
index 0000000000..28d8c867d5
--- /dev/null
+++ b/development/tinyscheme/README
@@ -0,0 +1,11 @@
+TinyScheme is a lightweight Scheme interpreter that implements as large
+subset of R5RS as was possible without getting very large and complicated.
+It's meant to be used as an embedded scripting interpreter for
+other programs. As such, it does not offer IDEs or extensive toolkits
+although it does sport a small top-level loop, included conditionally.
+A lot of functionality in TinyScheme is included conditionally,
+to allow developers freedom in balancing features and footprint.
+
+The compiled binary is installed as "tinyscheme" instead of "scheme" in
+order to avoid possible conflicts with other Scheme implementations that
+might be installed in the user's system.
diff --git a/development/tinyscheme/scheme.c.patch b/development/tinyscheme/scheme.c.patch
new file mode 100644
index 0000000000..9c05d95c5d
--- /dev/null
+++ b/development/tinyscheme/scheme.c.patch
@@ -0,0 +1,11 @@
+--- scheme.c 2020-05-30 04:37:00.000000000 +0200
++++ scheme.c.patched 2023-08-25 16:27:06.630913191 +0200
+@@ -101,7 +101,7 @@
+ #endif
+
+ #ifndef InitFile
+-# define InitFile "init.scm"
++# define InitFile "/usr/share/tinyscheme/init.scm"
+ #endif
+
+ #ifndef FIRST_CELLSEGS
diff --git a/development/tinyscheme/slack-desc b/development/tinyscheme/slack-desc
new file mode 100644
index 0000000000..2c5964129b
--- /dev/null
+++ b/development/tinyscheme/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------------------------------------------------------|
+tinyscheme: tinyscheme (Scheme R5RS implementation)
+tinyscheme:
+tinyscheme: TinyScheme is a lightweight Scheme interpreter that implements as
+tinyscheme: large a subset of R5RS as was possible without getting very large
+tinyscheme: and complicated. It is meant to be used as an embedded scripting
+tinyscheme: interpreter for other programs.
+tinyscheme:
+tinyscheme: Homepage: https://tinyscheme.sourceforge.net/
+tinyscheme:
+tinyscheme:
+tinyscheme:
diff --git a/development/tinyscheme/tinyscheme.SlackBuild b/development/tinyscheme/tinyscheme.SlackBuild
new file mode 100644
index 0000000000..fac508e66c
--- /dev/null
+++ b/development/tinyscheme/tinyscheme.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for tinyscheme
+
+# Copyright 2023 rc-05 <rc_o5@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=tinyscheme
+VERSION=${VERSION:-1.42}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+patch < $CWD/scheme.c.patch
+CC=${CC:-gcc}
+SLKCFLAGS+=' -DUSE_INTERFACE=1'
+make CC="${CC} ${SLKCFLAGS}"
+
+(
+mkdir -p $PKG/usr/bin $PKG/usr/lib$LIBDIRSUFFIX $PKG/usr/share/tinyscheme $PKG/usr/include/tinyscheme
+
+# Rename the binary to tinyscheme to avoid conflicts with (eventual) other
+# possible Scheme implemenations installed in the system.
+cp scheme $PKG/usr/bin/tinyscheme
+
+cp libtinyscheme.so $PKG/usr/lib$LIBDIRSUFFIX
+cp init.scm $PKG/usr/share/tinyscheme
+cp -t $PKG/usr/include/tinyscheme scheme.h scheme-private.h opdefines.h
+)
+
+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 COPYING Manual.txt MiniSCHEMETribute.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/development/tinyscheme/tinyscheme.info b/development/tinyscheme/tinyscheme.info
new file mode 100644
index 0000000000..c538a2bf6c
--- /dev/null
+++ b/development/tinyscheme/tinyscheme.info
@@ -0,0 +1,10 @@
+PRGNAM="tinyscheme"
+VERSION="1.42"
+HOMEPAGE="https://tinyscheme.sourceforge.net/"
+DOWNLOAD="https://downloads.sourceforge.net/project/tinyscheme/tinyscheme/tinyscheme-1.42/tinyscheme-1.42.tar.gz"
+MD5SUM="273ac5ffe5305986b329e9045f2aea89"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="rc-05"
+EMAIL="rc_o5@protonmail.com"
diff --git a/development/tkcon/README b/development/tkcon/README
new file mode 100644
index 0000000000..f122a1936b
--- /dev/null
+++ b/development/tkcon/README
@@ -0,0 +1,6 @@
+tkcon itself provides many more features than the standard console
+and works on all platforms where Tcl/Tk is available. It is meant
+primarily to aid one when working with the little details inside
+tcl and tk, giving Unix users the GUI console provided by default
+int the Mac and Windows Tk implementations.
+
diff --git a/development/tkcon/doinst.sh b/development/tkcon/doinst.sh
new file mode 100644
index 0000000000..696d35bad7
--- /dev/null
+++ b/development/tkcon/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/development/tkcon/man/man1/tkcon.1 b/development/tkcon/man/man1/tkcon.1
new file mode 100644
index 0000000000..6bf1c711ae
--- /dev/null
+++ b/development/tkcon/man/man1/tkcon.1
@@ -0,0 +1,625 @@
+'\"
+'\" Generated from file 'tkcon\&.1\&.man' by tcllib/doctools with format 'nroff'
+'\" Copyright (c) Jeffrey Hobbs (jeff at hobbs\&.org)
+'\"
+.TH "tkcon" 1 2\&.5 tkcon\&.1 "TkCon"
+.\" The -*- nroff -*- definitions below are for supplemental macros used
+.\" in Tcl/Tk manual entries.
+.\"
+.\" .AP type name in/out ?indent?
+.\" Start paragraph describing an argument to a library procedure.
+.\" type is type of argument (int, etc.), in/out is either "in", "out",
+.\" or "in/out" to describe whether procedure reads or modifies arg,
+.\" and indent is equivalent to second arg of .IP (shouldn't ever be
+.\" needed; use .AS below instead)
+.\"
+.\" .AS ?type? ?name?
+.\" Give maximum sizes of arguments for setting tab stops. Type and
+.\" name are examples of largest possible arguments that will be passed
+.\" to .AP later. If args are omitted, default tab stops are used.
+.\"
+.\" .BS
+.\" Start box enclosure. From here until next .BE, everything will be
+.\" enclosed in one large box.
+.\"
+.\" .BE
+.\" End of box enclosure.
+.\"
+.\" .CS
+.\" Begin code excerpt.
+.\"
+.\" .CE
+.\" End code excerpt.
+.\"
+.\" .VS ?version? ?br?
+.\" Begin vertical sidebar, for use in marking newly-changed parts
+.\" of man pages. The first argument is ignored and used for recording
+.\" the version when the .VS was added, so that the sidebars can be
+.\" found and removed when they reach a certain age. If another argument
+.\" is present, then a line break is forced before starting the sidebar.
+.\"
+.\" .VE
+.\" End of vertical sidebar.
+.\"
+.\" .DS
+.\" Begin an indented unfilled display.
+.\"
+.\" .DE
+.\" End of indented unfilled display.
+.\"
+.\" .SO ?manpage?
+.\" Start of list of standard options for a Tk widget. The manpage
+.\" argument defines where to look up the standard options; if
+.\" omitted, defaults to "options". The options follow on successive
+.\" lines, in three columns separated by tabs.
+.\"
+.\" .SE
+.\" End of list of standard options for a Tk widget.
+.\"
+.\" .OP cmdName dbName dbClass
+.\" Start of description of a specific option. cmdName gives the
+.\" option's name as specified in the class command, dbName gives
+.\" the option's name in the option database, and dbClass gives
+.\" the option's class in the option database.
+.\"
+.\" .UL arg1 arg2
+.\" Print arg1 underlined, then print arg2 normally.
+.\"
+.\" .QW arg1 ?arg2?
+.\" Print arg1 in quotes, then arg2 normally (for trailing punctuation).
+.\"
+.\" .PQ arg1 ?arg2?
+.\" Print an open parenthesis, arg1 in quotes, then arg2 normally
+.\" (for trailing punctuation) and then a closing parenthesis.
+.\"
+.\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
+.if t .wh -1.3i ^B
+.nr ^l \n(.l
+.ad b
+.\" # Start an argument description
+.de AP
+.ie !"\\$4"" .TP \\$4
+.el \{\
+. ie !"\\$2"" .TP \\n()Cu
+. el .TP 15
+.\}
+.ta \\n()Au \\n()Bu
+.ie !"\\$3"" \{\
+\&\\$1 \\fI\\$2\\fP (\\$3)
+.\".b
+.\}
+.el \{\
+.br
+.ie !"\\$2"" \{\
+\&\\$1 \\fI\\$2\\fP
+.\}
+.el \{\
+\&\\fI\\$1\\fP
+.\}
+.\}
+..
+.\" # define tabbing values for .AP
+.de AS
+.nr )A 10n
+.if !"\\$1"" .nr )A \\w'\\$1'u+3n
+.nr )B \\n()Au+15n
+.\"
+.if !"\\$2"" .nr )B \\w'\\$2'u+\\n()Au+3n
+.nr )C \\n()Bu+\\w'(in/out)'u+2n
+..
+.AS Tcl_Interp Tcl_CreateInterp in/out
+.\" # BS - start boxed text
+.\" # ^y = starting y location
+.\" # ^b = 1
+.de BS
+.br
+.mk ^y
+.nr ^b 1u
+.if n .nf
+.if n .ti 0
+.if n \l'\\n(.lu\(ul'
+.if n .fi
+..
+.\" # BE - end boxed text (draw box now)
+.de BE
+.nf
+.ti 0
+.mk ^t
+.ie n \l'\\n(^lu\(ul'
+.el \{\
+.\" Draw four-sided box normally, but don't draw top of
+.\" box if the box started on an earlier page.
+.ie !\\n(^b-1 \{\
+\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.el \}\
+\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.\}
+.fi
+.br
+.nr ^b 0
+..
+.\" # VS - start vertical sidebar
+.\" # ^Y = starting y location
+.\" # ^v = 1 (for troff; for nroff this doesn't matter)
+.de VS
+.if !"\\$2"" .br
+.mk ^Y
+.ie n 'mc \s12\(br\s0
+.el .nr ^v 1u
+..
+.\" # VE - end of vertical sidebar
+.de VE
+.ie n 'mc
+.el \{\
+.ev 2
+.nf
+.ti 0
+.mk ^t
+\h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n'
+.sp -1
+.fi
+.ev
+.\}
+.nr ^v 0
+..
+.\" # Special macro to handle page bottom: finish off current
+.\" # box/sidebar if in box/sidebar mode, then invoked standard
+.\" # page bottom macro.
+.de ^B
+.ev 2
+'ti 0
+'nf
+.mk ^t
+.if \\n(^b \{\
+.\" Draw three-sided box if this is the box's first page,
+.\" draw two sides but no top otherwise.
+.ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.\}
+.if \\n(^v \{\
+.nr ^x \\n(^tu+1v-\\n(^Yu
+\kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c
+.\}
+.bp
+'fi
+.ev
+.if \\n(^b \{\
+.mk ^y
+.nr ^b 2
+.\}
+.if \\n(^v \{\
+.mk ^Y
+.\}
+..
+.\" # DS - begin display
+.de DS
+.RS
+.nf
+.sp
+..
+.\" # DE - end display
+.de DE
+.fi
+.RE
+.sp
+..
+.\" # SO - start of list of standard options
+.de SO
+'ie '\\$1'' .ds So \\fBoptions\\fR
+'el .ds So \\fB\\$1\\fR
+.SH "STANDARD OPTIONS"
+.LP
+.nf
+.ta 5.5c 11c
+.ft B
+..
+.\" # SE - end of list of standard options
+.de SE
+.fi
+.ft R
+.LP
+See the \\*(So manual entry for details on the standard options.
+..
+.\" # OP - start of full description for a single option
+.de OP
+.LP
+.nf
+.ta 4c
+Command-Line Name: \\fB\\$1\\fR
+Database Name: \\fB\\$2\\fR
+Database Class: \\fB\\$3\\fR
+.fi
+.IP
+..
+.\" # CS - begin code excerpt
+.de CS
+.RS
+.nf
+.ta .25i .5i .75i 1i
+..
+.\" # CE - end code excerpt
+.de CE
+.fi
+.RE
+..
+.\" # UL - underline word
+.de UL
+\\$1\l'|0\(ul'\\$2
+..
+.\" # QW - apply quotation marks to word
+.de QW
+.ie '\\*(lq'"' ``\\$1''\\$2
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\$2
+..
+.\" # PQ - apply parens and quotation marks to word
+.de PQ
+.ie '\\*(lq'"' (``\\$1''\\$2)\\$3
+.\"" fix emacs highlighting
+.el (\\*(lq\\$1\\*(rq\\$2)\\$3
+..
+.\" # QR - quoted range
+.de QR
+.ie '\\*(lq'"' ``\\$1''\\-``\\$2''\\$3
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\-\\*(lq\\$2\\*(rq\\$3
+..
+.\" # MT - "empty" string
+.de MT
+.QW ""
+..
+.BS
+.SH NAME
+tkcon \- Tk console replacement
+.SH SYNOPSIS
+\fBtkcon\fR [{\fIoption\fR \fIvalue\fR | \fItcl_script\fR} \&.\&.\&.]
+.sp
+.BE
+.SH DESCRIPTION
+.PP
+TkCon is a replacement for the standard console that comes with Tk
+(on Windows/Mac, but also works on Unix)\&.
+The console itself provides many more features than the standard
+console\&.
+TkCon works on all platforms where Tcl/Tk is available\&.
+It is meant primarily to aid one when working with the little
+details inside Tcl and Tk, giving Unix users the GUI console
+provided by default in the Mac and Windows Tk\&.
+.TP
+\fBtkcon\fR [{\fIoption\fR \fIvalue\fR | \fItcl_script\fR} \&.\&.\&.]
+.PP
+.SH OPTIONS
+.PP
+Except for \fB-rcfile\fR, command line arguments are handled after
+the TkCon resource file is sourced, but before the slave
+interpreter or the TkCon user interface is initialized\&.
+.PP
+\fB-rcfile\fR is handled right before it would be sourced,
+allowing you to specify any alternate file\&.
+Command line arguments are passed to each new console and
+will be evaluated by each\&.
+To prevent this from happening, you have to say
+.CS
+
+
+tkcon main set argv {}; tkcon main set argc 0
+
+.CE
+.PP
+For these options, any unique substring is allowed\&.
+.TP
+\fB-argv\fR (also \fB--\fR)
+Causes TkCon to stop evaluating arguments and set the remaining
+args to be argv/argc (with \fB--\fR prepended)\&.
+This carries over for any further consoles\&.
+This is meant only for wrapping TkCon
+around programs that require their own arguments\&.
+.TP
+\fB-color-<color>\fR \fIcolor\fR
+Sets the requested color type to the specified color for tkcon\&.
+See \fBtkconrc\fR(5) for the recognized \fB<color>\fR names\&.
+.TP
+\fB-eval\fR \fItcl_script\fR (also \fB-main\fR or \fB-e\fR)
+A Tcl script to eval in each main interpreter\&.
+This is evaluated after the resource file is loaded and the
+slave interpreter is created\&.
+Multiple \fB-eval\fR switches will be recognized (in order)\&.
+.TP
+\fB-exec\fR \fIslavename\fR
+Sets the named slave that tkcon operates in\&.
+In general, this is only useful to set to \fI""\fR (empty),
+indicating to tkcon to avoid the multi-interpreter model and
+operate in the main environment\&.
+When this is empty, any further arguments will be only used
+in the first tkcon console and not passed onto further new consoles\&.
+This is useful when using tkcon as a console for extended wish
+executables that don't load there commands into slave interpreters\&.
+.TP
+\fB-font\fR \fIfont\fR
+Sets the font that tkcon uses for its text windows\&.
+If this isn't a fixed width font, tkcon will override it\&.
+.TP
+\fB-nontcl\fR \fITCL_BOOLEAN\fR
+Sets \fB::tkcon::OPT(nontcl)\fR to \fITCL_BOOLEAN\fR (see
+\fBtkconrc\fR(5))\&.
+Needed when attaching to non-Tcl interpreters\&.
+.TP
+\fB-package\fR \fIpackage_name\fR (also \fB-load\fR)
+Packages to automatically load into the slave interpreters (i\&.e\&. "Tk")\&.
+.TP
+\fB-rcfile\fR \fIfilename\fR
+Specify an alternate tkcon resource file name\&.
+.TP
+\fB-root\fR \fIwidgetname\fR
+Makes the named widget the root name of all consoles (i\&.e\&. \&.tkcon)\&.
+.TP
+\fB-slave\fR \fItcl_script\fR
+A Tcl script to eval in each slave interpreter\&.
+This will append the one specified in the tkcon resource file, if any\&.
+.PP
+.SH "KEY BINDINGS"
+.PP
+Most of the bindings are the same as for the \fBtext\fR widget\&.
+Some have been modified to make sure that the integrity of the
+console is maintained\&.
+Others have been added to enhance the usefulness of the console\&.
+Only the modified or new bindings are listed here\&.
+.TP
+\fBControl-x\fR or \fBCut\fR (on Sparc5 keyboards)
+Cut\&.
+.TP
+\fBControl-c\fR or \fBCopy\fR (on Sparc5 keyboards)
+Copy\&.
+.TP
+\fBControl-v\fR or \fBPaste\fR (on Sparc5 keyboards)
+Paste\&.
+.TP
+\fBInsert\fR
+Insert (duh)\&.
+.TP
+\fBUp\fR
+Goes up one level in the commands line history when cursor is on
+the prompt line, otherwise it moves through the buffer\&.
+.TP
+\fBDown\fR
+Goes down one level in the commands line history when cursor
+is on the last line of the buffer, otherwise it moves through the buffer\&.
+.TP
+\fBControl-p\fR
+Goes up one level in the commands line history\&.
+.TP
+\fBControl-n\fR
+Goes down one level in the commands line history\&.
+.TP
+\fBTab\fR
+Tries to expand file path names, then variable names, then proc names\&.
+.TP
+\fBEscape\fR
+Tries to expand file path names\&.
+.TP
+\fBControl-P\fR
+Tries to expand procedure names\&.
+The procedure names will be those that are actually in the attached
+interpreter (unless nontcl is specified, in which case it always
+does the lookup in the default slave interpreter)\&.
+.TP
+\fBControl-V\fR
+Tries to expand variable names (those returned by [info vars])\&.
+It's search behavior is like that for procedure names\&.
+.TP
+\fBReturn\fR or \fBEnter\fR
+Evaluates the current command line if it is a complete command,
+otherwise it just goes to a new line\&.
+.TP
+\fBControl-a\fR
+Go to the beginning of the current command line\&.
+.TP
+\fBControl-l\fR
+Clear the entire console buffer\&.
+.TP
+\fBControl-r\fR
+Searches backwards in the history for any command that contains
+the string in the current command line\&.
+Repeatable to search farther back\&.
+The matching substring off the found command will blink\&.
+.TP
+\fBControl-s\fR
+As above, but searches forward (only useful if you searched too far back)\&.
+.TP
+\fBControl-t\fR
+Transposes characters\&.
+.TP
+\fBControl-u\fR
+Clears the current command line\&.
+.TP
+\fBControl-z\fR
+Saves current command line in a buffer that can be retrieved
+with another \fBControl-z\fR\&.
+If the current command line is empty, then any saved command
+is retrieved without being overwritten, otherwise the current
+contents get swapped with what's in the saved command buffer\&.
+.TP
+\fBControl-Key-1\fR
+Attaches console to the console's slave interpreter\&.
+.TP
+\fBControl-Key-2\fR
+Attaches console to the console's master interpreter\&.
+.TP
+\fBControl-Key-3\fR
+Attaches console to main TkCon interpreter\&.
+.TP
+\fBControl-A\fR
+Pops up the "About" dialog\&.
+.TP
+\fBControl-N\fR
+Creates a new console\&. Each console has separate state, including
+it's own widget hierarchy (it's a slave interpreter)\&.
+.TP
+\fBControl-q\fR
+Close the current console OR Quit the program (depends on the
+value of \fB::tkcon::TKCON(slaveexit)\fR)\&.
+.TP
+\fBControl-w\fR
+Closes the current console\&.
+Closing the main console will exit the program (something has
+to control all the slaves\&.\&.\&.)\&.
+.PP
+.PP
+TkCon also has electric bracing (similar to that in emacs)\&.
+It will highlight matching pairs of {}'s, []'s, ()'s and ""'s\&.
+For the first three, if there is no matching left element for the right,
+then it blinks the entire current command line\&.
+For the double quote, if there is no proper match then it just blinks
+the current double quote character\&.
+It does properly recognize most escaping (except escaped escapes),
+but does not look for commenting (why would you interactively
+put comments in?)\&.
+.SH COMMANDS
+.PP
+There are several new procedures introduced in TkCon to improve
+productivity and/or account for lost functionality in the Tcl
+environment that users are used to in native environments\&.
+There are also some redefined procedures\&.
+Here is a non-comprehensive list:
+.TP
+\fBalias\fR ?\fIsourceCmd\fR \fItargetCmd\fR ?\fIarg\fR \fIarg\fR \&.\&.\&.??
+Simple alias mechanism\&.
+It will overwrite existing commands\&.
+When called without args, it returns current aliases\&.
+Note that TkCon makes some aliases for you (in slaves)\&.
+Don't delete those\&.
+.TP
+\fBclear\fR ?\fIpercentage\fR?
+Clears the text widget\&.
+Same as the <\fBControl-l\fR> binding, except this will accept a
+percentage of the buffer to clear (1-100, 100 default)\&.
+.TP
+\fBdir\fR ?\fI-all\fR? ?\fI-full\fR? ?\fI-long\fR? ?\fIpattern\fR \fIpattern\fR \&.\&.\&.?
+Cheap way to get directory listings\&.
+Uses glob style pattern matching\&.
+.TP
+\fBdump\fR \fItype\fR ?\fI-nocomplain\fR? ?\fI-filter pattern\fR? ?\fB--\fR? \fIpattern\fR ?\fIpattern\fR \&.\&.\&.?
+The dump command provides a way for the user to spit out state
+information about the interpreter in a Tcl readable (and
+human readable) form\&.
+See \fBdump\fR(n) for details\&.
+.TP
+\fBecho\fR ?\fIarg\fR \fIarg\fR \&.\&.\&.?
+Concatenates the args and spits the result to the console (stdout)\&.
+.TP
+\fBedit\fR ?\fI-type type\fR? ?\fI-find str\fR? ?\fI-attach interp\fR? \fIarg\fR
+Opens an editor with the data from arg\&.
+The optional type argument can be one of: \fIproc\fR, \fIvar\fR or \fIfile\fR\&.
+For proc or var, the arg may be a pattern\&.
+.TP
+\fBidebug\fR \fIcommand\fR ?\fIargs\fR?
+Interactive debugging command\&.
+See \fBidebug\fR(n) for details\&.
+.TP
+\fBlremove\fR ?\fI-all\fR? ?\fI-regexp\fR \fI-glob\fR? \fIlist\fR \fIitems\fR
+Removes one or more items from a list and returns the new list\&.
+If \fI-all\fR is specified, it removes all instances of each item
+in the list\&.
+If \fI-regexp\fR or \fI-glob\fR is specified, it interprets each item in
+the items list as a regexp or glob pattern to match against\&.
+.TP
+\fBless\fR
+Aliased to \fBedit\fR\&.
+.TP
+\fBls\fR
+Aliased to \fBdir\fR \fI-full\fR\&.
+.TP
+\fBmore\fR
+Aliased to \fBedit\fR\&.
+.TP
+\fBobserve\fR \fItype\fR ?\fIargs\fR?
+This command provides passive runtime debugging output for
+variables and commands\&.
+See \fBobserve\fR(n) for details\&.
+.TP
+\fBputs\fR (same options as always)
+Redefined to put the output into TkCon\&.
+.TP
+\fBtkcon\fR \fImethod\fR ?\fIargs\fR?
+Multi-purpose command\&.
+See \fBtkcon\fR(n) for details\&.
+.TP
+\fBtclindex\fR \fI?-extensions patternlist? ?-index TCL_BOOLEAN? ?-package TCL_BOOLEAN? ?dir1 dir2 \&.\&.\&.?\fR
+Convenience proc to update the "\fItclIndex\fR" (controlled by \fI-index\fR switch)
+and/or "\fIpkgIndex\&.tcl\fR" (controlled by \fI-package\fR switch) file in the named
+directories based on the given pattern for files\&.
+It defaults to creating the "\fItclIndex\fR" but not the "\fIpkgIndex\&.tcl\fR" file,
+with the directory defaulting to [pwd]\&.
+The extension defaults to *\&.tcl, with *\&.[info sharelibextension]
+added when \fI-package\fR is true\&.
+.TP
+\fBunalias\fR \fIcmd\fR
+unaliases command\&.
+.TP
+\fBwhat\fR \fIstring\fR
+The what command will identify the word given in string in
+the Tcl environment and return a list of types that it was recognized as\&.
+Possible types are: alias, procedure, command, array variable,
+scalar variable, directory, file, widget, and executable\&.
+Used by procedures dump and which\&.
+.TP
+\fBwhich\fR \fIcommand\fR
+Like the \fBwhich\fR command of Unix shells, this will tell you if a
+particular command is known, and if so, whether it is internal or
+external to the interpreter\&.
+If it is an internal command and there is a slot in \fBauto_index\fR for it,
+it tells you the file that \fBauto_index\fR would load\&.
+This does not necessarily mean that that is where the file came from,
+but if it were not in the interpreter previously, then that
+is where the command was found\&.
+.PP
+.PP
+There are several procedures that I use as helpers that some may find
+helpful in there coding (i\&.e\&. expanding pathnames)\&. Feel free to lift
+them from the code (but do assign proper attribution)\&.
+.SH EXAMLPES
+.PP
+Some examples of tkcon command line startup situations:
+.CS
+
+
+\fBmegawish\fR /usr/bin/tkcon \fB-exec\fR "" \fB-root\fR \&.tkcon \fImainfile\&.tcl\fR
+
+.CE
+Use tkcon as a console for your \fBmegawish\fR application\&.
+You can avoid starting the line with megawish if that is the
+default \fBwish\fR that TkCon would use\&.
+The \fB-root\fR ensures that tkcon will not conflict with the
+application root window\&.
+.CS
+
+
+\fBtkcon\fR \fB-font\fR "Courier 12" \fB-load\fR Tk
+
+.CE
+Use the courier font for TkCon and always load Tk in slave
+interpreters at startup\&.
+.CS
+
+
+\fBtkcon\fR \fB-rcfile\fR ~/\&.wishrc \fB-color-bg\fR white
+
+.CE
+Use the ~/\&.wishrc file as the resource file, and a white
+background for TkCon's text widgets\&.
+.SH FILES
+TkCon will search for a resource file in "\fI~/\&.tkconrc\fR"\&.
+TkCon never sources the "\fI~/\&.wishrc\fR" file\&.
+The resource file is sourced by each new instance of the console\&.
+An example resource file is provided in \fBtkconrc\fR(5)\&.
+.SH "SEE ALSO"
+\fBdump\fR(n), \fBidebug\fR(n), \fBobserve\fR(n), \fBtext\fR(n), \fBtkcon\fR(n), \fBtkconrc\fR(5)
+.SH KEYWORDS
+Tk, console
+.SH COPYRIGHT
+.nf
+Copyright (c) Jeffrey Hobbs (jeff at hobbs\&.org)
+
+.fi
diff --git a/development/tkcon/man/man5/tkconrc.5 b/development/tkcon/man/man5/tkconrc.5
new file mode 100644
index 0000000000..5ca3cb8060
--- /dev/null
+++ b/development/tkcon/man/man5/tkconrc.5
@@ -0,0 +1,517 @@
+'\"
+'\" Generated from file 'tkconrc\&.5\&.man' by tcllib/doctools with format 'nroff'
+'\" Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+'\"
+.TH "tkconrc" 5 2\&.5 tkconrc\&.5 "TkCon"
+.\" The -*- nroff -*- definitions below are for supplemental macros used
+.\" in Tcl/Tk manual entries.
+.\"
+.\" .AP type name in/out ?indent?
+.\" Start paragraph describing an argument to a library procedure.
+.\" type is type of argument (int, etc.), in/out is either "in", "out",
+.\" or "in/out" to describe whether procedure reads or modifies arg,
+.\" and indent is equivalent to second arg of .IP (shouldn't ever be
+.\" needed; use .AS below instead)
+.\"
+.\" .AS ?type? ?name?
+.\" Give maximum sizes of arguments for setting tab stops. Type and
+.\" name are examples of largest possible arguments that will be passed
+.\" to .AP later. If args are omitted, default tab stops are used.
+.\"
+.\" .BS
+.\" Start box enclosure. From here until next .BE, everything will be
+.\" enclosed in one large box.
+.\"
+.\" .BE
+.\" End of box enclosure.
+.\"
+.\" .CS
+.\" Begin code excerpt.
+.\"
+.\" .CE
+.\" End code excerpt.
+.\"
+.\" .VS ?version? ?br?
+.\" Begin vertical sidebar, for use in marking newly-changed parts
+.\" of man pages. The first argument is ignored and used for recording
+.\" the version when the .VS was added, so that the sidebars can be
+.\" found and removed when they reach a certain age. If another argument
+.\" is present, then a line break is forced before starting the sidebar.
+.\"
+.\" .VE
+.\" End of vertical sidebar.
+.\"
+.\" .DS
+.\" Begin an indented unfilled display.
+.\"
+.\" .DE
+.\" End of indented unfilled display.
+.\"
+.\" .SO ?manpage?
+.\" Start of list of standard options for a Tk widget. The manpage
+.\" argument defines where to look up the standard options; if
+.\" omitted, defaults to "options". The options follow on successive
+.\" lines, in three columns separated by tabs.
+.\"
+.\" .SE
+.\" End of list of standard options for a Tk widget.
+.\"
+.\" .OP cmdName dbName dbClass
+.\" Start of description of a specific option. cmdName gives the
+.\" option's name as specified in the class command, dbName gives
+.\" the option's name in the option database, and dbClass gives
+.\" the option's class in the option database.
+.\"
+.\" .UL arg1 arg2
+.\" Print arg1 underlined, then print arg2 normally.
+.\"
+.\" .QW arg1 ?arg2?
+.\" Print arg1 in quotes, then arg2 normally (for trailing punctuation).
+.\"
+.\" .PQ arg1 ?arg2?
+.\" Print an open parenthesis, arg1 in quotes, then arg2 normally
+.\" (for trailing punctuation) and then a closing parenthesis.
+.\"
+.\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
+.if t .wh -1.3i ^B
+.nr ^l \n(.l
+.ad b
+.\" # Start an argument description
+.de AP
+.ie !"\\$4"" .TP \\$4
+.el \{\
+. ie !"\\$2"" .TP \\n()Cu
+. el .TP 15
+.\}
+.ta \\n()Au \\n()Bu
+.ie !"\\$3"" \{\
+\&\\$1 \\fI\\$2\\fP (\\$3)
+.\".b
+.\}
+.el \{\
+.br
+.ie !"\\$2"" \{\
+\&\\$1 \\fI\\$2\\fP
+.\}
+.el \{\
+\&\\fI\\$1\\fP
+.\}
+.\}
+..
+.\" # define tabbing values for .AP
+.de AS
+.nr )A 10n
+.if !"\\$1"" .nr )A \\w'\\$1'u+3n
+.nr )B \\n()Au+15n
+.\"
+.if !"\\$2"" .nr )B \\w'\\$2'u+\\n()Au+3n
+.nr )C \\n()Bu+\\w'(in/out)'u+2n
+..
+.AS Tcl_Interp Tcl_CreateInterp in/out
+.\" # BS - start boxed text
+.\" # ^y = starting y location
+.\" # ^b = 1
+.de BS
+.br
+.mk ^y
+.nr ^b 1u
+.if n .nf
+.if n .ti 0
+.if n \l'\\n(.lu\(ul'
+.if n .fi
+..
+.\" # BE - end boxed text (draw box now)
+.de BE
+.nf
+.ti 0
+.mk ^t
+.ie n \l'\\n(^lu\(ul'
+.el \{\
+.\" Draw four-sided box normally, but don't draw top of
+.\" box if the box started on an earlier page.
+.ie !\\n(^b-1 \{\
+\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.el \}\
+\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.\}
+.fi
+.br
+.nr ^b 0
+..
+.\" # VS - start vertical sidebar
+.\" # ^Y = starting y location
+.\" # ^v = 1 (for troff; for nroff this doesn't matter)
+.de VS
+.if !"\\$2"" .br
+.mk ^Y
+.ie n 'mc \s12\(br\s0
+.el .nr ^v 1u
+..
+.\" # VE - end of vertical sidebar
+.de VE
+.ie n 'mc
+.el \{\
+.ev 2
+.nf
+.ti 0
+.mk ^t
+\h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n'
+.sp -1
+.fi
+.ev
+.\}
+.nr ^v 0
+..
+.\" # Special macro to handle page bottom: finish off current
+.\" # box/sidebar if in box/sidebar mode, then invoked standard
+.\" # page bottom macro.
+.de ^B
+.ev 2
+'ti 0
+'nf
+.mk ^t
+.if \\n(^b \{\
+.\" Draw three-sided box if this is the box's first page,
+.\" draw two sides but no top otherwise.
+.ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.\}
+.if \\n(^v \{\
+.nr ^x \\n(^tu+1v-\\n(^Yu
+\kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c
+.\}
+.bp
+'fi
+.ev
+.if \\n(^b \{\
+.mk ^y
+.nr ^b 2
+.\}
+.if \\n(^v \{\
+.mk ^Y
+.\}
+..
+.\" # DS - begin display
+.de DS
+.RS
+.nf
+.sp
+..
+.\" # DE - end display
+.de DE
+.fi
+.RE
+.sp
+..
+.\" # SO - start of list of standard options
+.de SO
+'ie '\\$1'' .ds So \\fBoptions\\fR
+'el .ds So \\fB\\$1\\fR
+.SH "STANDARD OPTIONS"
+.LP
+.nf
+.ta 5.5c 11c
+.ft B
+..
+.\" # SE - end of list of standard options
+.de SE
+.fi
+.ft R
+.LP
+See the \\*(So manual entry for details on the standard options.
+..
+.\" # OP - start of full description for a single option
+.de OP
+.LP
+.nf
+.ta 4c
+Command-Line Name: \\fB\\$1\\fR
+Database Name: \\fB\\$2\\fR
+Database Class: \\fB\\$3\\fR
+.fi
+.IP
+..
+.\" # CS - begin code excerpt
+.de CS
+.RS
+.nf
+.ta .25i .5i .75i 1i
+..
+.\" # CE - end code excerpt
+.de CE
+.fi
+.RE
+..
+.\" # UL - underline word
+.de UL
+\\$1\l'|0\(ul'\\$2
+..
+.\" # QW - apply quotation marks to word
+.de QW
+.ie '\\*(lq'"' ``\\$1''\\$2
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\$2
+..
+.\" # PQ - apply parens and quotation marks to word
+.de PQ
+.ie '\\*(lq'"' (``\\$1''\\$2)\\$3
+.\"" fix emacs highlighting
+.el (\\*(lq\\$1\\*(rq\\$2)\\$3
+..
+.\" # QR - quoted range
+.de QR
+.ie '\\*(lq'"' ``\\$1''\\-``\\$2''\\$3
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\-\\*(lq\\$2\\*(rq\\$3
+..
+.\" # MT - "empty" string
+.de MT
+.QW ""
+..
+.BS
+.SH NAME
+tkconrc \- TkCon resource file
+.SH DESCRIPTION
+.PP
+TkCon will search for a resource file in "\fI~/\&.tkconrc\fR"\&.
+TkCon never sources the "\fI~/\&.wishrc\fR" file\&.
+The resource file is sourced by each new instance of the console\&.
+An example resource file is provided below\&.
+.PP
+The file itself is a Tcl script, so it is required that the
+file conforms to Tcl script conventions\&.
+.SH VARIABLES
+.PP
+Certain variables in TkCon can be modified to suit your needs\&.
+It's easiest to do this in the resource file, but you can do
+it when time the program is running (and some can be changed
+via the \fIPrefs\fR menu)\&.
+All these are part of the master interpreter's \fB::tkcon\fR
+namespace\&.
+The modifiable array variables are \fB::tkcon::COLOR\fR and
+\fB::tkcon::OPT\fR\&.
+You can call
+.CS
+
+
+tkcon set ::tkcon::COLOR
+
+.CE
+when the program is running to check its state\&.
+Here is an explanation of certain variables you
+might change or use:
+.TP
+\fB::tkcon::COLOR(bg)\fR
+The background color for tkcon text widgets\&.
+Defaults to the operating system default (determined at startup)\&.
+.TP
+\fB::tkcon::COLOR(blink)\fR
+The background color of the electric brace highlighting, if on\&.
+Defaults to yellow\&.
+.TP
+\fB::tkcon::COLOR(cursor)\fR
+The background color for the insertion cursor in tkcon\&.
+Defaults to black\&.
+.TP
+\fB::tkcon::COLOR(disabled)\fR
+The foreground color for disabled menu items\&.
+Defaults to dark grey\&.
+.TP
+\fB::tkcon::COLOR(proc)\fR
+The foreground color of a recognized proc, if command highlighting is on\&.
+Defaults to dark green\&.
+.TP
+\fB::tkcon::COLOR(var)\fR
+The background color of a recognized var, if command highlighting is on\&.
+Defaults to pink\&.
+.TP
+\fB::tkcon::COLOR(prompt)\fR
+The foreground color of the prompt as output in the console\&.
+Defaults to brown\&.
+.TP
+\fB::tkcon::COLOR(stdin)\fR
+The foreground color of the stdin for the console\&.
+Defaults to black\&.
+.TP
+\fB::tkcon::COLOR(stdout)\fR
+The foreground color of the stdout as output in the console\&.
+Defaults to blue\&.
+.TP
+\fB::tkcon::COLOR(stderr)\fR
+The foreground color of stderr as output in the console\&.
+Defaults to red\&.
+.TP
+\fB::tkcon::OPT(autoload)\fR
+Packages to automatically load into the slave interpreter (i\&.e\&. 'Tk')\&.
+This is a list\&.
+Defaults to {} (none)\&.
+.TP
+\fB::tkcon::OPT(blinktime)\fR
+The amount of time (in millisecs) that braced sections should blink for\&.
+Defaults to 500 (0\&.5 secs), must be at least 100\&.
+.TP
+\fB::tkcon::OPT(blinkrange)\fR
+Whether to blink the entire range for electric brace matching
+or to just blink the actual matching braces (respectively 1 or 0,
+defaults to 1)\&.
+.TP
+\fB::tkcon::OPT(buffer)\fR
+The size of the console scroll buffer (in lines)\&.
+Defaults to 512\&.
+.TP
+\fB::tkcon::OPT(calcmode)\fR
+Whether to allow expr commands to be run at the command line
+without prefixing them with expr (just a convenience)\&.
+.TP
+\fB::tkcon::OPT(cols)\fR
+Number of columns for the console to start out with\&.
+Defaults to 80\&.
+.TP
+\fB::tkcon::OPT(dead)\fR
+What to do with dead connected interpreters\&.
+If dead is leave, TkCon automatically exits the dead interpreter\&.
+If dead is ignore then it remains attached waiting for the
+interpreter to reappear\&.
+Otherwise TkCon will prompt you\&.
+.TP
+\fB::tkcon::OPT(exec)\fR
+This corresponds to the \fB-exec\fR tkcon option (see \fBtkcon\fR(1))\&.
+.TP
+\fB::tkcon::OPT(font)\fR
+Font to use for tkcon text widgets (also specified with \fB-font\fR option)\&.
+Defaults to the system default, or a fixed width equivalent\&.
+.TP
+\fB::tkcon::OPT(gets)\fR
+Controls whether tkcon will overload the gets command to work with tkcon\&.
+The valid values are: congets (the default), which will redirect
+stdin requests to the tkcon window; gets, which will pop up a dialog to
+get input; and {} (empty string) which tells tkcon not to overload gets\&.
+This value must be set at startup to alter tkcon's behavior\&.
+.TP
+\fB::tkcon::OPT(history)\fR
+The size of the history list to keep\&.
+Defaults to 48\&.
+.TP
+\fB::tkcon::OPT(hoterrors)\fR
+Whether hot errors are enabled or not\&.
+When enabled, errors that are returned to the console are marked
+with a link to the error info that will pop up in an minimal editor\&.
+This requires more memory because each error that occurs will
+maintain bindings for this feature, as long as the error
+is in the text widget\&.
+Defaults to on\&.
+.TP
+\fB::tkcon::OPT(library)\fR
+The path to any tcl library directories (these are appended
+to the \fBauto_path\fR when the after the resource file is loaded in)\&.
+.TP
+\fB::tkcon::OPT(lightbrace)\fR
+Whether to use the brace highlighting feature or not
+(respectively 1 or 0, defaults to 1)\&.
+.TP
+\fB::tkcon::OPT(lightcmd)\fR
+Whether to use the command highlighting feature or not
+(respectively 1 or 0, defaults to 1)\&.
+.TP
+\fB::tkcon::OPT(maineval)\fR
+A tcl script to execute in the main interpreter after the
+slave interpreter is created and the user interface is initialized\&.
+.TP
+\fB::tkcon::OPT(maxlinelen)\fR
+A number that specifies the limit of long result lines\&.
+True result is still captured in $_ (and 'puts $_' works)\&.
+Defaults to 0 (unlimited)\&.
+.TP
+\fB::tkcon::OPT(maxmenu)\fR
+A number that specifies the maximum number of packages to
+show vertically in the \fIInterp->Packages\fR menu before breaking
+into another column\&.
+Defaults to 15\&.
+.TP
+\fB::tkcon::OPT(nontcl)\fR
+For those who might be using non-Tcl based Tk attachments, set this to 1\&.
+It prevents TkCon from trying to evaluate its own Tcl
+code in an attached interpreter\&.
+Also see my notes for non-Tcl based Tk interpreters\&.
+.TP
+\fB::tkcon::OPT(prompt1)\fR
+Like \fBtcl_prompt1\fR, except it doesn't require you use \fBputs\fR\&.
+No equivalent for \fBtcl_prompt2\fR is available (it's unnecessary IMHO)\&.
+Defaults to {([file tail [pwd]]) [history nextid] % }\&.
+.TP
+\fB::tkcon::OPT(rows)\fR
+Number of rows for the console to start out with\&.
+Defaults to 20\&.
+.TP
+\fB::tkcon::OPT(scollypos)\fR
+Y scrollbar position\&.
+Valid values are left or right\&.
+Defaults to right\&.
+.TP
+\fB::tkcon::OPT(showmenu)\fR
+Show the menubar on startup (1 or 0, defaults to 1)\&.
+.TP
+\fB::tkcon::OPT(showmultiple)\fR
+Show multiple matches for path/proc/var name expansion (1 or 0,
+defaults to 1)\&.
+.TP
+\fB::tkcon::OPT(slaveeval)\fR
+A tcl script to execute in each slave interpreter right after it's created\&.
+This allows the user to have user defined info always available in a slave\&.
+.sp
+Example:
+.CS
+
+
+set ::tkcon::OPT(slaveeval) {
+ proc foo args { puts $args }
+ lappend auto_path \&.
+}
+
+.CE
+.TP
+\fB::tkcon::OPT(slaveexit)\fR
+Allows the prevention of exit in slaves from exitting the entire application\&.
+If it is equal to exit, exit will exit as usual, otherwise it will just close
+down that interpreter (and any children)\&.
+Defaults to close\&.
+.TP
+\fB::tkcon::OPT(subhistory)\fR
+Allow history substitution to occur (0 or 1, defaults to 1)\&.
+The history list is maintained in a single interpreter per TkCon console
+instance\&.
+Thus you have history which can range over a series of attached interpreters\&.
+.PP
+.SH EXAMPLES
+.PP
+An example TkCon resource file might look like:
+.CS
+
+
+######################################################
+## My TkCon Resource File
+
+# Use a fixed default font
+#tkcon font fixed; # valid on unix
+#tkcon font systemfixed; # valid on win
+tkcon font Courier 12; # valid everywhere
+
+# Keep 50 commands in history
+set ::tkcon::OPT(history) 50
+
+# Use a pink prompt
+set ::tkcon::COLOR(prompt) pink
+######################################################
+
+.CE
+.SH "SEE ALSO"
+\fBdump\fR(n), \fBidebug\fR(n), \fBobserve\fR(n), \fBtkcon\fR(1), \fBtkcon\fR(n)
+.SH KEYWORDS
+Tk, console
+.SH COPYRIGHT
+.nf
+Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+
+.fi
diff --git a/development/tkcon/man/mann/dump.n b/development/tkcon/man/mann/dump.n
new file mode 100644
index 0000000000..71f4d1d35d
--- /dev/null
+++ b/development/tkcon/man/mann/dump.n
@@ -0,0 +1,322 @@
+'\"
+'\" Generated from file 'dump\&.n\&.man' by tcllib/doctools with format 'nroff'
+'\" Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+'\"
+.TH "dump" n 2\&.5 dump\&.n "TkCon"
+.\" The -*- nroff -*- definitions below are for supplemental macros used
+.\" in Tcl/Tk manual entries.
+.\"
+.\" .AP type name in/out ?indent?
+.\" Start paragraph describing an argument to a library procedure.
+.\" type is type of argument (int, etc.), in/out is either "in", "out",
+.\" or "in/out" to describe whether procedure reads or modifies arg,
+.\" and indent is equivalent to second arg of .IP (shouldn't ever be
+.\" needed; use .AS below instead)
+.\"
+.\" .AS ?type? ?name?
+.\" Give maximum sizes of arguments for setting tab stops. Type and
+.\" name are examples of largest possible arguments that will be passed
+.\" to .AP later. If args are omitted, default tab stops are used.
+.\"
+.\" .BS
+.\" Start box enclosure. From here until next .BE, everything will be
+.\" enclosed in one large box.
+.\"
+.\" .BE
+.\" End of box enclosure.
+.\"
+.\" .CS
+.\" Begin code excerpt.
+.\"
+.\" .CE
+.\" End code excerpt.
+.\"
+.\" .VS ?version? ?br?
+.\" Begin vertical sidebar, for use in marking newly-changed parts
+.\" of man pages. The first argument is ignored and used for recording
+.\" the version when the .VS was added, so that the sidebars can be
+.\" found and removed when they reach a certain age. If another argument
+.\" is present, then a line break is forced before starting the sidebar.
+.\"
+.\" .VE
+.\" End of vertical sidebar.
+.\"
+.\" .DS
+.\" Begin an indented unfilled display.
+.\"
+.\" .DE
+.\" End of indented unfilled display.
+.\"
+.\" .SO ?manpage?
+.\" Start of list of standard options for a Tk widget. The manpage
+.\" argument defines where to look up the standard options; if
+.\" omitted, defaults to "options". The options follow on successive
+.\" lines, in three columns separated by tabs.
+.\"
+.\" .SE
+.\" End of list of standard options for a Tk widget.
+.\"
+.\" .OP cmdName dbName dbClass
+.\" Start of description of a specific option. cmdName gives the
+.\" option's name as specified in the class command, dbName gives
+.\" the option's name in the option database, and dbClass gives
+.\" the option's class in the option database.
+.\"
+.\" .UL arg1 arg2
+.\" Print arg1 underlined, then print arg2 normally.
+.\"
+.\" .QW arg1 ?arg2?
+.\" Print arg1 in quotes, then arg2 normally (for trailing punctuation).
+.\"
+.\" .PQ arg1 ?arg2?
+.\" Print an open parenthesis, arg1 in quotes, then arg2 normally
+.\" (for trailing punctuation) and then a closing parenthesis.
+.\"
+.\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
+.if t .wh -1.3i ^B
+.nr ^l \n(.l
+.ad b
+.\" # Start an argument description
+.de AP
+.ie !"\\$4"" .TP \\$4
+.el \{\
+. ie !"\\$2"" .TP \\n()Cu
+. el .TP 15
+.\}
+.ta \\n()Au \\n()Bu
+.ie !"\\$3"" \{\
+\&\\$1 \\fI\\$2\\fP (\\$3)
+.\".b
+.\}
+.el \{\
+.br
+.ie !"\\$2"" \{\
+\&\\$1 \\fI\\$2\\fP
+.\}
+.el \{\
+\&\\fI\\$1\\fP
+.\}
+.\}
+..
+.\" # define tabbing values for .AP
+.de AS
+.nr )A 10n
+.if !"\\$1"" .nr )A \\w'\\$1'u+3n
+.nr )B \\n()Au+15n
+.\"
+.if !"\\$2"" .nr )B \\w'\\$2'u+\\n()Au+3n
+.nr )C \\n()Bu+\\w'(in/out)'u+2n
+..
+.AS Tcl_Interp Tcl_CreateInterp in/out
+.\" # BS - start boxed text
+.\" # ^y = starting y location
+.\" # ^b = 1
+.de BS
+.br
+.mk ^y
+.nr ^b 1u
+.if n .nf
+.if n .ti 0
+.if n \l'\\n(.lu\(ul'
+.if n .fi
+..
+.\" # BE - end boxed text (draw box now)
+.de BE
+.nf
+.ti 0
+.mk ^t
+.ie n \l'\\n(^lu\(ul'
+.el \{\
+.\" Draw four-sided box normally, but don't draw top of
+.\" box if the box started on an earlier page.
+.ie !\\n(^b-1 \{\
+\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.el \}\
+\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.\}
+.fi
+.br
+.nr ^b 0
+..
+.\" # VS - start vertical sidebar
+.\" # ^Y = starting y location
+.\" # ^v = 1 (for troff; for nroff this doesn't matter)
+.de VS
+.if !"\\$2"" .br
+.mk ^Y
+.ie n 'mc \s12\(br\s0
+.el .nr ^v 1u
+..
+.\" # VE - end of vertical sidebar
+.de VE
+.ie n 'mc
+.el \{\
+.ev 2
+.nf
+.ti 0
+.mk ^t
+\h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n'
+.sp -1
+.fi
+.ev
+.\}
+.nr ^v 0
+..
+.\" # Special macro to handle page bottom: finish off current
+.\" # box/sidebar if in box/sidebar mode, then invoked standard
+.\" # page bottom macro.
+.de ^B
+.ev 2
+'ti 0
+'nf
+.mk ^t
+.if \\n(^b \{\
+.\" Draw three-sided box if this is the box's first page,
+.\" draw two sides but no top otherwise.
+.ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.\}
+.if \\n(^v \{\
+.nr ^x \\n(^tu+1v-\\n(^Yu
+\kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c
+.\}
+.bp
+'fi
+.ev
+.if \\n(^b \{\
+.mk ^y
+.nr ^b 2
+.\}
+.if \\n(^v \{\
+.mk ^Y
+.\}
+..
+.\" # DS - begin display
+.de DS
+.RS
+.nf
+.sp
+..
+.\" # DE - end display
+.de DE
+.fi
+.RE
+.sp
+..
+.\" # SO - start of list of standard options
+.de SO
+'ie '\\$1'' .ds So \\fBoptions\\fR
+'el .ds So \\fB\\$1\\fR
+.SH "STANDARD OPTIONS"
+.LP
+.nf
+.ta 5.5c 11c
+.ft B
+..
+.\" # SE - end of list of standard options
+.de SE
+.fi
+.ft R
+.LP
+See the \\*(So manual entry for details on the standard options.
+..
+.\" # OP - start of full description for a single option
+.de OP
+.LP
+.nf
+.ta 4c
+Command-Line Name: \\fB\\$1\\fR
+Database Name: \\fB\\$2\\fR
+Database Class: \\fB\\$3\\fR
+.fi
+.IP
+..
+.\" # CS - begin code excerpt
+.de CS
+.RS
+.nf
+.ta .25i .5i .75i 1i
+..
+.\" # CE - end code excerpt
+.de CE
+.fi
+.RE
+..
+.\" # UL - underline word
+.de UL
+\\$1\l'|0\(ul'\\$2
+..
+.\" # QW - apply quotation marks to word
+.de QW
+.ie '\\*(lq'"' ``\\$1''\\$2
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\$2
+..
+.\" # PQ - apply parens and quotation marks to word
+.de PQ
+.ie '\\*(lq'"' (``\\$1''\\$2)\\$3
+.\"" fix emacs highlighting
+.el (\\*(lq\\$1\\*(rq\\$2)\\$3
+..
+.\" # QR - quoted range
+.de QR
+.ie '\\*(lq'"' ``\\$1''\\-``\\$2''\\$3
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\-\\*(lq\\$2\\*(rq\\$3
+..
+.\" # MT - "empty" string
+.de MT
+.QW ""
+..
+.BS
+.SH NAME
+dump \- Dump information about Tcl interpreter in TkCon
+.SH SYNOPSIS
+\fBdump\fR \fImethod\fR ?\fI-nocomplain\fR? ?\fI-filter pattern\fR? ?\fB--\fR? \fIpattern\fR ?\fIpattern \&.\&.\&.\fR?
+.sp
+.BE
+.SH DESCRIPTION
+.PP
+The dump command provides a way for the user to spit out state
+information about the interpreter in a Tcl readable
+(and human readable) form\&.
+It takes the general form:
+.TP
+\fBdump\fR \fImethod\fR ?\fI-nocomplain\fR? ?\fI-filter pattern\fR? ?\fB--\fR? \fIpattern\fR ?\fIpattern \&.\&.\&.\fR?
+.PP
+.PP
+The patterns represent glob-style patterns (as in \fBstring\fR \fImatch pattern $str\fR)\&.
+\fI-nocomplain\fR will prevent dump from throwing an error if no items
+matched the pattern\&.
+\fI-filter\fR is interpreted as appropriate for the method\&.
+The various methods are:
+.TP
+\fBdump\fR \fIcommand\fR \fIargs\fR
+Outputs one or more commands\&.
+.TP
+\fBdump\fR \fIprocedure\fR \fIargs\fR
+Outputs one or more procs in sourceable form\&.
+.TP
+\fBdump\fR \fIvariable\fR \fIargs\fR
+Outputs the values of variables in sourceable form\&.
+Recognizes nested arrays\&.
+The -filter pattern is used as to filter array element
+names and is interepreted as a glob pattern (defaults to {*})\&.
+It is passed down for nested arrays\&.
+.TP
+\fBdump\fR \fIwidget\fR \fIargs\fR
+Outputs one or more widgets by giving their configuration options\&.
+The -filter pattern is used as to filter the config options and
+is interpreted as a case insensitive regexp pattern (defaults to {\&.*})\&.
+.PP
+.SH "SEE ALSO"
+\fBidebug\fR(n), \fBobserve\fR(n), \fBtkcon\fR(1), \fBtkcon\fR(n), \fBtkconrc\fR(5)
+.SH KEYWORDS
+Tk, console, dump
+.SH COPYRIGHT
+.nf
+Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+
+.fi
diff --git a/development/tkcon/man/mann/idebug.n b/development/tkcon/man/mann/idebug.n
new file mode 100644
index 0000000000..e33e58f5dc
--- /dev/null
+++ b/development/tkcon/man/mann/idebug.n
@@ -0,0 +1,369 @@
+'\"
+'\" Generated from file 'idebug\&.n\&.man' by tcllib/doctools with format 'nroff'
+'\" Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+'\"
+.TH "idebug" n 2\&.5 idebug\&.n "TkCon"
+.\" The -*- nroff -*- definitions below are for supplemental macros used
+.\" in Tcl/Tk manual entries.
+.\"
+.\" .AP type name in/out ?indent?
+.\" Start paragraph describing an argument to a library procedure.
+.\" type is type of argument (int, etc.), in/out is either "in", "out",
+.\" or "in/out" to describe whether procedure reads or modifies arg,
+.\" and indent is equivalent to second arg of .IP (shouldn't ever be
+.\" needed; use .AS below instead)
+.\"
+.\" .AS ?type? ?name?
+.\" Give maximum sizes of arguments for setting tab stops. Type and
+.\" name are examples of largest possible arguments that will be passed
+.\" to .AP later. If args are omitted, default tab stops are used.
+.\"
+.\" .BS
+.\" Start box enclosure. From here until next .BE, everything will be
+.\" enclosed in one large box.
+.\"
+.\" .BE
+.\" End of box enclosure.
+.\"
+.\" .CS
+.\" Begin code excerpt.
+.\"
+.\" .CE
+.\" End code excerpt.
+.\"
+.\" .VS ?version? ?br?
+.\" Begin vertical sidebar, for use in marking newly-changed parts
+.\" of man pages. The first argument is ignored and used for recording
+.\" the version when the .VS was added, so that the sidebars can be
+.\" found and removed when they reach a certain age. If another argument
+.\" is present, then a line break is forced before starting the sidebar.
+.\"
+.\" .VE
+.\" End of vertical sidebar.
+.\"
+.\" .DS
+.\" Begin an indented unfilled display.
+.\"
+.\" .DE
+.\" End of indented unfilled display.
+.\"
+.\" .SO ?manpage?
+.\" Start of list of standard options for a Tk widget. The manpage
+.\" argument defines where to look up the standard options; if
+.\" omitted, defaults to "options". The options follow on successive
+.\" lines, in three columns separated by tabs.
+.\"
+.\" .SE
+.\" End of list of standard options for a Tk widget.
+.\"
+.\" .OP cmdName dbName dbClass
+.\" Start of description of a specific option. cmdName gives the
+.\" option's name as specified in the class command, dbName gives
+.\" the option's name in the option database, and dbClass gives
+.\" the option's class in the option database.
+.\"
+.\" .UL arg1 arg2
+.\" Print arg1 underlined, then print arg2 normally.
+.\"
+.\" .QW arg1 ?arg2?
+.\" Print arg1 in quotes, then arg2 normally (for trailing punctuation).
+.\"
+.\" .PQ arg1 ?arg2?
+.\" Print an open parenthesis, arg1 in quotes, then arg2 normally
+.\" (for trailing punctuation) and then a closing parenthesis.
+.\"
+.\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
+.if t .wh -1.3i ^B
+.nr ^l \n(.l
+.ad b
+.\" # Start an argument description
+.de AP
+.ie !"\\$4"" .TP \\$4
+.el \{\
+. ie !"\\$2"" .TP \\n()Cu
+. el .TP 15
+.\}
+.ta \\n()Au \\n()Bu
+.ie !"\\$3"" \{\
+\&\\$1 \\fI\\$2\\fP (\\$3)
+.\".b
+.\}
+.el \{\
+.br
+.ie !"\\$2"" \{\
+\&\\$1 \\fI\\$2\\fP
+.\}
+.el \{\
+\&\\fI\\$1\\fP
+.\}
+.\}
+..
+.\" # define tabbing values for .AP
+.de AS
+.nr )A 10n
+.if !"\\$1"" .nr )A \\w'\\$1'u+3n
+.nr )B \\n()Au+15n
+.\"
+.if !"\\$2"" .nr )B \\w'\\$2'u+\\n()Au+3n
+.nr )C \\n()Bu+\\w'(in/out)'u+2n
+..
+.AS Tcl_Interp Tcl_CreateInterp in/out
+.\" # BS - start boxed text
+.\" # ^y = starting y location
+.\" # ^b = 1
+.de BS
+.br
+.mk ^y
+.nr ^b 1u
+.if n .nf
+.if n .ti 0
+.if n \l'\\n(.lu\(ul'
+.if n .fi
+..
+.\" # BE - end boxed text (draw box now)
+.de BE
+.nf
+.ti 0
+.mk ^t
+.ie n \l'\\n(^lu\(ul'
+.el \{\
+.\" Draw four-sided box normally, but don't draw top of
+.\" box if the box started on an earlier page.
+.ie !\\n(^b-1 \{\
+\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.el \}\
+\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.\}
+.fi
+.br
+.nr ^b 0
+..
+.\" # VS - start vertical sidebar
+.\" # ^Y = starting y location
+.\" # ^v = 1 (for troff; for nroff this doesn't matter)
+.de VS
+.if !"\\$2"" .br
+.mk ^Y
+.ie n 'mc \s12\(br\s0
+.el .nr ^v 1u
+..
+.\" # VE - end of vertical sidebar
+.de VE
+.ie n 'mc
+.el \{\
+.ev 2
+.nf
+.ti 0
+.mk ^t
+\h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n'
+.sp -1
+.fi
+.ev
+.\}
+.nr ^v 0
+..
+.\" # Special macro to handle page bottom: finish off current
+.\" # box/sidebar if in box/sidebar mode, then invoked standard
+.\" # page bottom macro.
+.de ^B
+.ev 2
+'ti 0
+'nf
+.mk ^t
+.if \\n(^b \{\
+.\" Draw three-sided box if this is the box's first page,
+.\" draw two sides but no top otherwise.
+.ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.\}
+.if \\n(^v \{\
+.nr ^x \\n(^tu+1v-\\n(^Yu
+\kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c
+.\}
+.bp
+'fi
+.ev
+.if \\n(^b \{\
+.mk ^y
+.nr ^b 2
+.\}
+.if \\n(^v \{\
+.mk ^Y
+.\}
+..
+.\" # DS - begin display
+.de DS
+.RS
+.nf
+.sp
+..
+.\" # DE - end display
+.de DE
+.fi
+.RE
+.sp
+..
+.\" # SO - start of list of standard options
+.de SO
+'ie '\\$1'' .ds So \\fBoptions\\fR
+'el .ds So \\fB\\$1\\fR
+.SH "STANDARD OPTIONS"
+.LP
+.nf
+.ta 5.5c 11c
+.ft B
+..
+.\" # SE - end of list of standard options
+.de SE
+.fi
+.ft R
+.LP
+See the \\*(So manual entry for details on the standard options.
+..
+.\" # OP - start of full description for a single option
+.de OP
+.LP
+.nf
+.ta 4c
+Command-Line Name: \\fB\\$1\\fR
+Database Name: \\fB\\$2\\fR
+Database Class: \\fB\\$3\\fR
+.fi
+.IP
+..
+.\" # CS - begin code excerpt
+.de CS
+.RS
+.nf
+.ta .25i .5i .75i 1i
+..
+.\" # CE - end code excerpt
+.de CE
+.fi
+.RE
+..
+.\" # UL - underline word
+.de UL
+\\$1\l'|0\(ul'\\$2
+..
+.\" # QW - apply quotation marks to word
+.de QW
+.ie '\\*(lq'"' ``\\$1''\\$2
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\$2
+..
+.\" # PQ - apply parens and quotation marks to word
+.de PQ
+.ie '\\*(lq'"' (``\\$1''\\$2)\\$3
+.\"" fix emacs highlighting
+.el (\\*(lq\\$1\\*(rq\\$2)\\$3
+..
+.\" # QR - quoted range
+.de QR
+.ie '\\*(lq'"' ``\\$1''\\-``\\$2''\\$3
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\-\\*(lq\\$2\\*(rq\\$3
+..
+.\" # MT - "empty" string
+.de MT
+.QW ""
+..
+.BS
+.SH NAME
+idebug \- Interactive debugging environment in TkCon
+.SH SYNOPSIS
+\fBidebug\fR \fIbody\fR ?\fIlevel\fR?
+.sp
+\fBidebug\fR \fIbreak\fR ?\fIid\fR?
+.sp
+\fBidebug\fR {\fI\fIecho\fR ?\fIid\fR?\fR} ?\fIargs\fR?
+.sp
+\fBidebug\fR \fIid\fR ?\fIid\fR?
+.sp
+\fBidebug\fR \fIoff\fR
+.sp
+\fBidebug\fR \fIon\fR ?\fIid\fR?
+.sp
+\fBidebug\fR {\fI\fIputs\fR ?\fIid\fR?\fR} \fIargs\fR
+.sp
+\fBidebug\fR \fIshow\fR \fItype\fR ?\fIlevel\fR? ?\fIVERBOSE\fR?
+.sp
+\fBidebug\fR \fItrace\fR ?\fIlevel\fR?
+.sp
+.BE
+.SH DESCRIPTION
+.PP
+The idebug command provides an interactive debugging
+environment for procedures via TkCon\&.
+You can place idebug break commands into your procedure
+to create breakpoints\&.
+It will pop up the TkCon console and put you into a
+"debugging" mode\&.
+The \fIbody\fR, \fIshow\fR & \fItrace\fR methods are
+intended for internal use only\&.
+This procedure works for minimal debugging sessions\&.
+Comments are encouraged\&.
+.TP
+\fBidebug\fR \fIbody\fR ?\fIlevel\fR?
+Prints out the body of the command (if it is a procedure)
+at the specified level\&.
+level defaults to the current level\&.
+.TP
+\fBidebug\fR \fIbreak\fR ?\fIid\fR?
+Creates a breakpoint within a procedure\&.
+This will only trigger if idebug is on and the \fIid\fR matches the pattern\&.
+If so, TkCon will pop to the front with the prompt changed
+to an idebug prompt\&.
+You are given the basic ability to observe the call stack
+an query/set variables or execute Tcl commands at any level\&.
+A separate history is maintained in debugging mode\&.
+To see the special commands available at the debug prompt,
+type ? and hit return\&.
+.TP
+\fBidebug\fR {\fI\fIecho\fR ?\fIid\fR?\fR} ?\fIargs\fR?
+Behaves just like \fBecho\fR, but only triggers when idebug is on\&.
+You can specify an optional \fIid\fR to further restrict triggering\&.
+If no id is specified, it defaults to the name of the command
+in which the call was made\&.
+.TP
+\fBidebug\fR \fIid\fR ?\fIid\fR?
+Query or set the idebug id\&.
+This id is used by other idebug methods to determine if
+they should trigger or not\&.
+The idebug id can be a glob pattern and defaults to *\&.
+.TP
+\fBidebug\fR \fIoff\fR
+Turns idebug off\&.
+.TP
+\fBidebug\fR \fIon\fR ?\fIid\fR?
+Turns idebug on\&.
+If \fIid\fR is specified, it sets the id to it\&.
+.TP
+\fBidebug\fR {\fI\fIputs\fR ?\fIid\fR?\fR} \fIargs\fR
+Behaves just like \fBputs\fR, but only triggers when idebug is on\&.
+You can specify an optional \fIid\fR to further restrict triggering\&.
+If no id is specified, it defaults to the name of the
+command in which the call was made\&.
+.TP
+\fBidebug\fR \fIshow\fR \fItype\fR ?\fIlevel\fR? ?\fIVERBOSE\fR?
+type must be one of vars, locals or globals\&.
+This method will output the variables/locals/globals present
+in a particular level\&.
+If \fIVERBOSE\fR is added, then it actually \fBdump\fRs out the values as well\&.
+level defaults to the level in which this method was called\&.
+.TP
+\fBidebug\fR \fItrace\fR ?\fIlevel\fR?
+Prints out the stack trace from the specified level up to the top level\&.
+level defaults to the current level\&.
+.PP
+.SH "SEE ALSO"
+\fBdump\fR(n), \fBobserve\fR(n), \fBtkcon\fR(1), \fBtkcon\fR(n), \fBtkconrc\fR(5)
+.SH KEYWORDS
+Tk, console, debug
+.SH COPYRIGHT
+.nf
+Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+
+.fi
diff --git a/development/tkcon/man/mann/observe.n b/development/tkcon/man/mann/observe.n
new file mode 100644
index 0000000000..ea8e7f1b45
--- /dev/null
+++ b/development/tkcon/man/mann/observe.n
@@ -0,0 +1,335 @@
+'\"
+'\" Generated from file 'observe\&.n\&.man' by tcllib/doctools with format 'nroff'
+'\" Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+'\"
+.TH "observe" n 2\&.5 observe\&.n "TkCon"
+.\" The -*- nroff -*- definitions below are for supplemental macros used
+.\" in Tcl/Tk manual entries.
+.\"
+.\" .AP type name in/out ?indent?
+.\" Start paragraph describing an argument to a library procedure.
+.\" type is type of argument (int, etc.), in/out is either "in", "out",
+.\" or "in/out" to describe whether procedure reads or modifies arg,
+.\" and indent is equivalent to second arg of .IP (shouldn't ever be
+.\" needed; use .AS below instead)
+.\"
+.\" .AS ?type? ?name?
+.\" Give maximum sizes of arguments for setting tab stops. Type and
+.\" name are examples of largest possible arguments that will be passed
+.\" to .AP later. If args are omitted, default tab stops are used.
+.\"
+.\" .BS
+.\" Start box enclosure. From here until next .BE, everything will be
+.\" enclosed in one large box.
+.\"
+.\" .BE
+.\" End of box enclosure.
+.\"
+.\" .CS
+.\" Begin code excerpt.
+.\"
+.\" .CE
+.\" End code excerpt.
+.\"
+.\" .VS ?version? ?br?
+.\" Begin vertical sidebar, for use in marking newly-changed parts
+.\" of man pages. The first argument is ignored and used for recording
+.\" the version when the .VS was added, so that the sidebars can be
+.\" found and removed when they reach a certain age. If another argument
+.\" is present, then a line break is forced before starting the sidebar.
+.\"
+.\" .VE
+.\" End of vertical sidebar.
+.\"
+.\" .DS
+.\" Begin an indented unfilled display.
+.\"
+.\" .DE
+.\" End of indented unfilled display.
+.\"
+.\" .SO ?manpage?
+.\" Start of list of standard options for a Tk widget. The manpage
+.\" argument defines where to look up the standard options; if
+.\" omitted, defaults to "options". The options follow on successive
+.\" lines, in three columns separated by tabs.
+.\"
+.\" .SE
+.\" End of list of standard options for a Tk widget.
+.\"
+.\" .OP cmdName dbName dbClass
+.\" Start of description of a specific option. cmdName gives the
+.\" option's name as specified in the class command, dbName gives
+.\" the option's name in the option database, and dbClass gives
+.\" the option's class in the option database.
+.\"
+.\" .UL arg1 arg2
+.\" Print arg1 underlined, then print arg2 normally.
+.\"
+.\" .QW arg1 ?arg2?
+.\" Print arg1 in quotes, then arg2 normally (for trailing punctuation).
+.\"
+.\" .PQ arg1 ?arg2?
+.\" Print an open parenthesis, arg1 in quotes, then arg2 normally
+.\" (for trailing punctuation) and then a closing parenthesis.
+.\"
+.\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
+.if t .wh -1.3i ^B
+.nr ^l \n(.l
+.ad b
+.\" # Start an argument description
+.de AP
+.ie !"\\$4"" .TP \\$4
+.el \{\
+. ie !"\\$2"" .TP \\n()Cu
+. el .TP 15
+.\}
+.ta \\n()Au \\n()Bu
+.ie !"\\$3"" \{\
+\&\\$1 \\fI\\$2\\fP (\\$3)
+.\".b
+.\}
+.el \{\
+.br
+.ie !"\\$2"" \{\
+\&\\$1 \\fI\\$2\\fP
+.\}
+.el \{\
+\&\\fI\\$1\\fP
+.\}
+.\}
+..
+.\" # define tabbing values for .AP
+.de AS
+.nr )A 10n
+.if !"\\$1"" .nr )A \\w'\\$1'u+3n
+.nr )B \\n()Au+15n
+.\"
+.if !"\\$2"" .nr )B \\w'\\$2'u+\\n()Au+3n
+.nr )C \\n()Bu+\\w'(in/out)'u+2n
+..
+.AS Tcl_Interp Tcl_CreateInterp in/out
+.\" # BS - start boxed text
+.\" # ^y = starting y location
+.\" # ^b = 1
+.de BS
+.br
+.mk ^y
+.nr ^b 1u
+.if n .nf
+.if n .ti 0
+.if n \l'\\n(.lu\(ul'
+.if n .fi
+..
+.\" # BE - end boxed text (draw box now)
+.de BE
+.nf
+.ti 0
+.mk ^t
+.ie n \l'\\n(^lu\(ul'
+.el \{\
+.\" Draw four-sided box normally, but don't draw top of
+.\" box if the box started on an earlier page.
+.ie !\\n(^b-1 \{\
+\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.el \}\
+\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.\}
+.fi
+.br
+.nr ^b 0
+..
+.\" # VS - start vertical sidebar
+.\" # ^Y = starting y location
+.\" # ^v = 1 (for troff; for nroff this doesn't matter)
+.de VS
+.if !"\\$2"" .br
+.mk ^Y
+.ie n 'mc \s12\(br\s0
+.el .nr ^v 1u
+..
+.\" # VE - end of vertical sidebar
+.de VE
+.ie n 'mc
+.el \{\
+.ev 2
+.nf
+.ti 0
+.mk ^t
+\h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n'
+.sp -1
+.fi
+.ev
+.\}
+.nr ^v 0
+..
+.\" # Special macro to handle page bottom: finish off current
+.\" # box/sidebar if in box/sidebar mode, then invoked standard
+.\" # page bottom macro.
+.de ^B
+.ev 2
+'ti 0
+'nf
+.mk ^t
+.if \\n(^b \{\
+.\" Draw three-sided box if this is the box's first page,
+.\" draw two sides but no top otherwise.
+.ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.\}
+.if \\n(^v \{\
+.nr ^x \\n(^tu+1v-\\n(^Yu
+\kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c
+.\}
+.bp
+'fi
+.ev
+.if \\n(^b \{\
+.mk ^y
+.nr ^b 2
+.\}
+.if \\n(^v \{\
+.mk ^Y
+.\}
+..
+.\" # DS - begin display
+.de DS
+.RS
+.nf
+.sp
+..
+.\" # DE - end display
+.de DE
+.fi
+.RE
+.sp
+..
+.\" # SO - start of list of standard options
+.de SO
+'ie '\\$1'' .ds So \\fBoptions\\fR
+'el .ds So \\fB\\$1\\fR
+.SH "STANDARD OPTIONS"
+.LP
+.nf
+.ta 5.5c 11c
+.ft B
+..
+.\" # SE - end of list of standard options
+.de SE
+.fi
+.ft R
+.LP
+See the \\*(So manual entry for details on the standard options.
+..
+.\" # OP - start of full description for a single option
+.de OP
+.LP
+.nf
+.ta 4c
+Command-Line Name: \\fB\\$1\\fR
+Database Name: \\fB\\$2\\fR
+Database Class: \\fB\\$3\\fR
+.fi
+.IP
+..
+.\" # CS - begin code excerpt
+.de CS
+.RS
+.nf
+.ta .25i .5i .75i 1i
+..
+.\" # CE - end code excerpt
+.de CE
+.fi
+.RE
+..
+.\" # UL - underline word
+.de UL
+\\$1\l'|0\(ul'\\$2
+..
+.\" # QW - apply quotation marks to word
+.de QW
+.ie '\\*(lq'"' ``\\$1''\\$2
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\$2
+..
+.\" # PQ - apply parens and quotation marks to word
+.de PQ
+.ie '\\*(lq'"' (``\\$1''\\$2)\\$3
+.\"" fix emacs highlighting
+.el (\\*(lq\\$1\\*(rq\\$2)\\$3
+..
+.\" # QR - quoted range
+.de QR
+.ie '\\*(lq'"' ``\\$1''\\-``\\$2''\\$3
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\-\\*(lq\\$2\\*(rq\\$3
+..
+.\" # MT - "empty" string
+.de MT
+.QW ""
+..
+.BS
+.SH NAME
+observe \- Runtime debugging output in TkCon
+.SH SYNOPSIS
+\fBobserve\fR \fIcommand\fR \fIcmdname\fR ?\fImaxlevel\fR?
+.sp
+\fBobserve\fR \fIcdelete\fR \fIcmdname\fR
+.sp
+\fBobserve\fR \fIcinfo\fR \fIcmdname\fR
+.sp
+\fBobserve\fR \fIvariable\fR \fIvarname\fR \fIoperation\fR ?\fIargs\fR?
+.sp
+\fBobserve\fR \fIvdelete\fR \fIvarname\fR \fIoperation\fR
+.sp
+\fBobserve\fR \fIvinfo\fR \fIvarname\fR
+.sp
+.BE
+.SH DESCRIPTION
+.PP
+This command provides runtime debugging output for variables
+and commands without the need to edit your code\&.
+For variables, the underlying mechanism uses \fBtrace\fR and \fBdump\fR var\&.
+For commands, it renames the observed procedure and uses a
+special wrapper procedure\&.
+WARNING: using this procedure after checkpointing state will
+result in major problems if you clean state because the
+renamed (true) commands will be lost\&.
+.PP
+This procedure is experimental\&.
+Comments are encouraged\&.
+.TP
+\fBobserve\fR \fIcommand\fR \fIcmdname\fR ?\fImaxlevel\fR?
+This will create a wrapper command which prints out (using \fBdump\fR)
+the call stack to the console\&.
+maxlevel represents the maximum number of levels of the call
+stack which will be printed (defaults to 4)\&.
+.TP
+\fBobserve\fR \fIcdelete\fR \fIcmdname\fR
+Removes the wrapper around an observed command\&.
+.TP
+\fBobserve\fR \fIcinfo\fR \fIcmdname\fR
+Prints out useless info\&.
+.TP
+\fBobserve\fR \fIvariable\fR \fIvarname\fR \fIoperation\fR ?\fIargs\fR?
+Currently a wrapper around trace that uses \fBdump\fR to print out
+the value of the named variable whenever the specified
+operation on that variable occurs (must be \fIread\fR, \fIwrite\fR or \fIunset\fR)\&.
+.TP
+\fBobserve\fR \fIvdelete\fR \fIvarname\fR \fIoperation\fR
+Deletes the trace wrapper around the named variable\&.
+.TP
+\fBobserve\fR \fIvinfo\fR \fIvarname\fR
+Prints out trace info about the named variable\&.
+.PP
+.SH "SEE ALSO"
+\fBdump\fR(n), \fBidebug\fR(n), \fBtkcon\fR(1), \fBtkcon\fR(n), \fBtkconrc\fR(5)
+.SH KEYWORDS
+Tk, console, debug
+.SH COPYRIGHT
+.nf
+Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+
+.fi
diff --git a/development/tkcon/man/mann/tkcon.n b/development/tkcon/man/mann/tkcon.n
new file mode 100644
index 0000000000..e445e1dc35
--- /dev/null
+++ b/development/tkcon/man/mann/tkcon.n
@@ -0,0 +1,464 @@
+'\"
+'\" Generated from file 'tkcon\&.n\&.man' by tcllib/doctools with format 'nroff'
+'\" Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+'\"
+.TH "tkcon" n 2\&.5 tkcon\&.n "TkCon"
+.\" The -*- nroff -*- definitions below are for supplemental macros used
+.\" in Tcl/Tk manual entries.
+.\"
+.\" .AP type name in/out ?indent?
+.\" Start paragraph describing an argument to a library procedure.
+.\" type is type of argument (int, etc.), in/out is either "in", "out",
+.\" or "in/out" to describe whether procedure reads or modifies arg,
+.\" and indent is equivalent to second arg of .IP (shouldn't ever be
+.\" needed; use .AS below instead)
+.\"
+.\" .AS ?type? ?name?
+.\" Give maximum sizes of arguments for setting tab stops. Type and
+.\" name are examples of largest possible arguments that will be passed
+.\" to .AP later. If args are omitted, default tab stops are used.
+.\"
+.\" .BS
+.\" Start box enclosure. From here until next .BE, everything will be
+.\" enclosed in one large box.
+.\"
+.\" .BE
+.\" End of box enclosure.
+.\"
+.\" .CS
+.\" Begin code excerpt.
+.\"
+.\" .CE
+.\" End code excerpt.
+.\"
+.\" .VS ?version? ?br?
+.\" Begin vertical sidebar, for use in marking newly-changed parts
+.\" of man pages. The first argument is ignored and used for recording
+.\" the version when the .VS was added, so that the sidebars can be
+.\" found and removed when they reach a certain age. If another argument
+.\" is present, then a line break is forced before starting the sidebar.
+.\"
+.\" .VE
+.\" End of vertical sidebar.
+.\"
+.\" .DS
+.\" Begin an indented unfilled display.
+.\"
+.\" .DE
+.\" End of indented unfilled display.
+.\"
+.\" .SO ?manpage?
+.\" Start of list of standard options for a Tk widget. The manpage
+.\" argument defines where to look up the standard options; if
+.\" omitted, defaults to "options". The options follow on successive
+.\" lines, in three columns separated by tabs.
+.\"
+.\" .SE
+.\" End of list of standard options for a Tk widget.
+.\"
+.\" .OP cmdName dbName dbClass
+.\" Start of description of a specific option. cmdName gives the
+.\" option's name as specified in the class command, dbName gives
+.\" the option's name in the option database, and dbClass gives
+.\" the option's class in the option database.
+.\"
+.\" .UL arg1 arg2
+.\" Print arg1 underlined, then print arg2 normally.
+.\"
+.\" .QW arg1 ?arg2?
+.\" Print arg1 in quotes, then arg2 normally (for trailing punctuation).
+.\"
+.\" .PQ arg1 ?arg2?
+.\" Print an open parenthesis, arg1 in quotes, then arg2 normally
+.\" (for trailing punctuation) and then a closing parenthesis.
+.\"
+.\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
+.if t .wh -1.3i ^B
+.nr ^l \n(.l
+.ad b
+.\" # Start an argument description
+.de AP
+.ie !"\\$4"" .TP \\$4
+.el \{\
+. ie !"\\$2"" .TP \\n()Cu
+. el .TP 15
+.\}
+.ta \\n()Au \\n()Bu
+.ie !"\\$3"" \{\
+\&\\$1 \\fI\\$2\\fP (\\$3)
+.\".b
+.\}
+.el \{\
+.br
+.ie !"\\$2"" \{\
+\&\\$1 \\fI\\$2\\fP
+.\}
+.el \{\
+\&\\fI\\$1\\fP
+.\}
+.\}
+..
+.\" # define tabbing values for .AP
+.de AS
+.nr )A 10n
+.if !"\\$1"" .nr )A \\w'\\$1'u+3n
+.nr )B \\n()Au+15n
+.\"
+.if !"\\$2"" .nr )B \\w'\\$2'u+\\n()Au+3n
+.nr )C \\n()Bu+\\w'(in/out)'u+2n
+..
+.AS Tcl_Interp Tcl_CreateInterp in/out
+.\" # BS - start boxed text
+.\" # ^y = starting y location
+.\" # ^b = 1
+.de BS
+.br
+.mk ^y
+.nr ^b 1u
+.if n .nf
+.if n .ti 0
+.if n \l'\\n(.lu\(ul'
+.if n .fi
+..
+.\" # BE - end boxed text (draw box now)
+.de BE
+.nf
+.ti 0
+.mk ^t
+.ie n \l'\\n(^lu\(ul'
+.el \{\
+.\" Draw four-sided box normally, but don't draw top of
+.\" box if the box started on an earlier page.
+.ie !\\n(^b-1 \{\
+\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.el \}\
+\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
+.\}
+.\}
+.fi
+.br
+.nr ^b 0
+..
+.\" # VS - start vertical sidebar
+.\" # ^Y = starting y location
+.\" # ^v = 1 (for troff; for nroff this doesn't matter)
+.de VS
+.if !"\\$2"" .br
+.mk ^Y
+.ie n 'mc \s12\(br\s0
+.el .nr ^v 1u
+..
+.\" # VE - end of vertical sidebar
+.de VE
+.ie n 'mc
+.el \{\
+.ev 2
+.nf
+.ti 0
+.mk ^t
+\h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n'
+.sp -1
+.fi
+.ev
+.\}
+.nr ^v 0
+..
+.\" # Special macro to handle page bottom: finish off current
+.\" # box/sidebar if in box/sidebar mode, then invoked standard
+.\" # page bottom macro.
+.de ^B
+.ev 2
+'ti 0
+'nf
+.mk ^t
+.if \\n(^b \{\
+.\" Draw three-sided box if this is the box's first page,
+.\" draw two sides but no top otherwise.
+.ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
+.\}
+.if \\n(^v \{\
+.nr ^x \\n(^tu+1v-\\n(^Yu
+\kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c
+.\}
+.bp
+'fi
+.ev
+.if \\n(^b \{\
+.mk ^y
+.nr ^b 2
+.\}
+.if \\n(^v \{\
+.mk ^Y
+.\}
+..
+.\" # DS - begin display
+.de DS
+.RS
+.nf
+.sp
+..
+.\" # DE - end display
+.de DE
+.fi
+.RE
+.sp
+..
+.\" # SO - start of list of standard options
+.de SO
+'ie '\\$1'' .ds So \\fBoptions\\fR
+'el .ds So \\fB\\$1\\fR
+.SH "STANDARD OPTIONS"
+.LP
+.nf
+.ta 5.5c 11c
+.ft B
+..
+.\" # SE - end of list of standard options
+.de SE
+.fi
+.ft R
+.LP
+See the \\*(So manual entry for details on the standard options.
+..
+.\" # OP - start of full description for a single option
+.de OP
+.LP
+.nf
+.ta 4c
+Command-Line Name: \\fB\\$1\\fR
+Database Name: \\fB\\$2\\fR
+Database Class: \\fB\\$3\\fR
+.fi
+.IP
+..
+.\" # CS - begin code excerpt
+.de CS
+.RS
+.nf
+.ta .25i .5i .75i 1i
+..
+.\" # CE - end code excerpt
+.de CE
+.fi
+.RE
+..
+.\" # UL - underline word
+.de UL
+\\$1\l'|0\(ul'\\$2
+..
+.\" # QW - apply quotation marks to word
+.de QW
+.ie '\\*(lq'"' ``\\$1''\\$2
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\$2
+..
+.\" # PQ - apply parens and quotation marks to word
+.de PQ
+.ie '\\*(lq'"' (``\\$1''\\$2)\\$3
+.\"" fix emacs highlighting
+.el (\\*(lq\\$1\\*(rq\\$2)\\$3
+..
+.\" # QR - quoted range
+.de QR
+.ie '\\*(lq'"' ``\\$1''\\-``\\$2''\\$3
+.\"" fix emacs highlighting
+.el \\*(lq\\$1\\*(rq\\-\\*(lq\\$2\\*(rq\\$3
+..
+.\" # MT - "empty" string
+.de MT
+.QW ""
+..
+.BS
+.SH NAME
+tkcon \- Controlling TkCon console
+.SH SYNOPSIS
+\fBtkcon\fR \fIattach\fR \fIinterpreter\fR
+.sp
+\fBtkcon\fR \fIbuffer\fR ?\fIsize\fR?
+.sp
+\fBtkcon\fR \fIbgerror\fR ?\fImsg\fR \fIerrorInfo\fR?
+.sp
+\fBtkcon\fR \fIclose\fR or \fBtkcon\fR \fIdestroy\fR
+.sp
+\fBtkcon\fR \fIcongets\fR
+.sp
+\fBtkcon\fR \fIconsole\fR \fIargs\fR
+.sp
+\fBtkcon\fR \fIerror\fR
+.sp
+\fBtkcon\fR \fIfind\fR \fIstring\fR ?\fI-case\fR \fITCL_BOOLEAN\fR \fI-regexp\fR \fITCL_BOOLEAN\fR?
+.sp
+\fBtkcon\fR \fIfont\fR ?\fIfontname\fR?
+.sp
+\fBtkcon\fR \fIgets\fR
+.sp
+\fBtkcon\fR \fIgetcommand\fR
+.sp
+\fBtkcon\fR \fIhide\fR
+.sp
+\fBtkcon\fR \fIhistory\fR ?\fI-newline\fR?
+.sp
+\fBtkcon\fR \fIiconify\fR
+.sp
+\fBtkcon\fR \fIlinelength\fR ?\fIvalue\fR?
+.sp
+\fBtkcon\fR \fIload\fR \fIfilename\fR
+.sp
+\fBtkcon\fR \fImain\fR ?\fIarg\fR \fIarg\fR \fI\&.\&.\&.\fR?
+.sp
+\fBtkcon\fR \fImaster\fR \fIargs\fR
+.sp
+\fBtkcon\fR \fInew\fR
+.sp
+\fBtkcon\fR \fIresultfilter\fR ?\fIcommand\fR?
+.sp
+\fBtkcon\fR \fIsave\fR ?\fIfilename\fR ?\fItype\fR??
+.sp
+\fBtkcon\fR \fIset\fR \fIvar\fR ?\fIvalue\fR?
+.sp
+\fBtkcon\fR \fIappend\fR \fIvar\fR ?\fIvalue\fR?
+.sp
+\fBtkcon\fR \fIlappend\fR \fIvar\fR ?\fIvalue\fR?
+.sp
+\fBtkcon\fR \fIshow\fR or \fBtkcon\fR \fIdeiconify\fR
+.sp
+\fBtkcon\fR \fIslave\fR ?\fIslavename\fR ?\fIarg arg \&.\&.\&.\fR??
+.sp
+\fBtkcon\fR \fItitle\fR ?\fItitle\fR?
+.sp
+\fBtkcon\fR \fIversion\fR
+.sp
+.BE
+.SH DESCRIPTION
+.PP
+This provides lots of useful control over a console:
+.TP
+\fBtkcon\fR \fIattach\fR \fIinterpreter\fR
+Attaches tkcon to the named interpreter\&.
+The name must be that returned by [\fBtk\fR \fIappname\fR] or a valid
+path to a slave interpreter\&.
+It's best to use this via the \fIConsole->Attach Console\fR menu\&.
+.TP
+\fBtkcon\fR \fIbuffer\fR ?\fIsize\fR?
+Sets or queries the allowed size of the console text widget in lines\&.
+The text widget will automatically delete leading lines once this
+number has been exceeded (read: this is the scroll buffer size)\&.
+.TP
+\fBtkcon\fR \fIbgerror\fR ?\fImsg\fR \fIerrorInfo\fR?
+Does bgerror stuff in the tkcon master interpreter\&.
+.TP
+\fBtkcon\fR \fIclose\fR or \fBtkcon\fR \fIdestroy\fR
+Destroys this tkcon widget\&.
+.TP
+\fBtkcon\fR \fIcongets\fR
+Behaves like the traditional Tcl gets, but instead of using stdin,
+it uses the tkcon console window\&.
+By default, tkcon replaces the standard gets with this command\&.
+This behavior can be controlled by altering the \fB::tkcon::OPT(gets)\fR
+parameter at startup\&.
+This should not be called directly - instead rely on the overloaded
+gets, which has support for the optional varName parameter\&.
+.TP
+\fBtkcon\fR \fIconsole\fR \fIargs\fR
+Passes the args to the tkcon text widget (the console)\&.
+.TP
+\fBtkcon\fR \fIerror\fR
+Pops up a dialog that gives the user a full trace of the
+last error received in the tkcon console\&.
+.TP
+\fBtkcon\fR \fIfind\fR \fIstring\fR ?\fI-case\fR \fITCL_BOOLEAN\fR \fI-regexp\fR \fITCL_BOOLEAN\fR?
+Highlights all instances of string in the console\&.
+If the string is empty, it clears any previous highlighting\&.
+.TP
+\fBtkcon\fR \fIfont\fR ?\fIfontname\fR?
+Sets or returns the font used by tkcon text widgets\&.
+.TP
+\fBtkcon\fR \fIgets\fR
+Behaves like the traditional Tcl gets, but instead of needing
+stdin, it pops a dialog box up for the user\&.
+The overloaded gets has support for the optional varName parameter\&.
+.TP
+\fBtkcon\fR \fIgetcommand\fR
+A variation of the congets method that requires a full
+command to be input before returning\&.
+.TP
+\fBtkcon\fR \fIhide\fR
+Withdraw the tkcon display from the screen (make sure you
+have a way to get it back)\&.
+.TP
+\fBtkcon\fR \fIhistory\fR ?\fI-newline\fR?
+Displays the tkcon history in sourceable form\&.
+If \fI-newline\fR is specified, it separates each command by
+an extra newline\&.
+.TP
+\fBtkcon\fR \fIiconify\fR
+Iconifies the tkcon display\&.
+.TP
+\fBtkcon\fR \fIlinelength\fR ?\fIvalue\fR?
+Sets or displays the number that specifies the limit of long result lines\&.
+True result is still captured in $_ (and 'puts $_' works)\&.
+.TP
+\fBtkcon\fR \fIload\fR \fIfilename\fR
+Sources named file into the slave interpreter\&.
+If no filename is given, it will attempt to call
+\fBtk_getOpenFile\fR to pop up the file select box\&.
+.TP
+\fBtkcon\fR \fImain\fR ?\fIarg\fR \fIarg\fR \fI\&.\&.\&.\fR?
+Passes the args to the main tkcon interpreter to be
+evaluated and returns the result\&.
+.TP
+\fBtkcon\fR \fImaster\fR \fIargs\fR
+Passes the args to the master interpreter to be evaluated
+and returns the result\&.
+.TP
+\fBtkcon\fR \fInew\fR
+Creates a new tkcon widget\&.
+.TP
+\fBtkcon\fR \fIresultfilter\fR ?\fIcommand\fR?
+Specify a command to process the results before outputting it to the console
+window\&. The command receives one argument (the result string) and the string
+returned is placed in the console\&.
+.TP
+\fBtkcon\fR \fIsave\fR ?\fIfilename\fR ?\fItype\fR??
+Saves the console buffer to the given filename\&.
+If no filename is given, it will attempt to call
+\fBtk_getSaveFile\fR to pop up the file select box\&.
+If no type is given, a dialog will ask you to specify
+what portion of the text you want to save\&.
+.TP
+\fBtkcon\fR \fIset\fR \fIvar\fR ?\fIvalue\fR?
+Queries or sets a master interpreter variable\&.
+.TP
+\fBtkcon\fR \fIappend\fR \fIvar\fR ?\fIvalue\fR?
+Like set, but uses append on the variable\&.
+.TP
+\fBtkcon\fR \fIlappend\fR \fIvar\fR ?\fIvalue\fR?
+Like set, but uses lappend on the variable\&.
+.TP
+\fBtkcon\fR \fIshow\fR or \fBtkcon\fR \fIdeiconify\fR
+Redisplays tkcon on the screen\&.
+.TP
+\fBtkcon\fR \fIslave\fR ?\fIslavename\fR ?\fIarg arg \&.\&.\&.\fR??
+If called with no args, it returns the name of all the tkcon interpreters\&.
+Otherwise given an interp name it passes the args to the named interpreter
+to be evaluated and returns the result\&.
+If no args are passed, then it returns the [\fBtk\fR \fIappname\fR] of that
+interpreter\&.
+.TP
+\fBtkcon\fR \fItitle\fR ?\fItitle\fR?
+Sets or returns the title for tkcon\&.
+.TP
+\fBtkcon\fR \fIversion\fR
+Returns of version of tkcon\&.
+.PP
+.SH "SEE ALSO"
+\fBdump\fR(n), \fBobserve\fR(n), \fBtkcon\fR(1), \fBtkcon\fR(n), \fBtkconrc\fR(5)
+.SH KEYWORDS
+Tk, console, debug
+.SH COPYRIGHT
+.nf
+Copyright (c) Jeffrey Hobbs <jeff at hobbs\&.org>
+
+.fi
diff --git a/development/tkcon/slack-desc b/development/tkcon/slack-desc
new file mode 100644
index 0000000000..4d6aa5fd41
--- /dev/null
+++ b/development/tkcon/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------------------------------------------------------|
+tkcon: tkcon (replacement for the standard Tk console)
+tkcon:
+tkcon: tkcon itself provides many more features than the standard console
+tkcon: and works on all platforms where Tcl/Tk is available. It is meant
+tkcon: primarily to aid one when working with the little details inside
+tkcon: tcl and tk, giving Unix users the GUI console provided by default
+tkcon: int the Mac and Windows Tk implementations.
+tkcon:
+tkcon:
+tkcon: http://tkcon.sourceforge.net
+tkcon:
diff --git a/development/tkcon/tkcon.SlackBuild b/development/tkcon/tkcon.SlackBuild
new file mode 100644
index 0000000000..dcc5336c02
--- /dev/null
+++ b/development/tkcon/tkcon.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for tkcon
+
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tkcon
+VERSION=${VERSION:-2.7.11}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+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-$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 {} \;
+
+chmod -R -x .
+
+# correct version number and .desktop file
+sed -i 's/2\.7/2\.7\.11/' pkgIndex.tcl
+sed -i 's/VERSION "2\.7\.10"/VERSION "2\.7\.11"/' tkcon.tcl
+sed -i 's/Utility\;//;/Encoding=UTF-8/d;/Comment=/d' tkcon-console.desktop
+
+install tkcon.tcl -Dm755 $PKG/usr/lib/tkcon/tkcon.tcl
+install tkcon-console.desktop -Dm644 $PKG/usr/share/applications/tkcon-console.desktop
+install icons/tkcon-small48.png -Dm644 $PKG/usr/share/pixmaps/tkcon-icon.png
+install pkgIndex.tcl -Dm644 $PKG/usr/lib/tkcon/pkgIndex.tcl
+install icons/tkcon-small48.png -Dm644 $PKG/usr/share/icons/tkcon-icon.png
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin ; ln -s ../lib/tkcon/tkcon.tcl tkcon )
+
+# install man pages
+install -Dm0644 $CWD/man/man1/tkcon.1 $PKG/usr/man/man1/tkcon.1
+install -Dm0644 $CWD/man/man5/tkconrc.5 $PKG/usr/man/man5/tkconrc.5
+install -Dm0644 $CWD/man/mann/dump.n $PKG/usr/man/mann/dump.n
+install -Dm0644 $CWD/man/mann/observe.n $PKG/usr/man/mann/observe.n
+install -Dm0644 $CWD/man/mann/idebug.n $PKG/usr/man/mann/idebug.n
+install -Dm0644 $CWD/man/mann/tkcon.n $PKG/usr/man/mann/tkcon.n
+
+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/html/docs
+cp -a \
+ README.txt docs/license.terms \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ docs/*.html docs/demopic.png docs/style.css \
+ $PKG/usr/doc/$PRGNAM-$VERSION/html/docs
+cp -a \
+ index.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION/html/
+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/development/tkcon/tkcon.info b/development/tkcon/tkcon.info
new file mode 100644
index 0000000000..8db68918a2
--- /dev/null
+++ b/development/tkcon/tkcon.info
@@ -0,0 +1,10 @@
+PRGNAM="tkcon"
+VERSION="2.7.11"
+HOMEPAGE="http://tkcon.sourceforge.net"
+DOWNLOAD="https://github.com/wjoye/tkcon/archive/v2.7.11/tkcon-2.7.11.tar.gz"
+MD5SUM="3e7d3afd971165b880e5a54a30792004"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/tkcvs/tkcvs.SlackBuild b/development/tkcvs/tkcvs.SlackBuild
index 7411a11ca5..f205626b21 100644
--- a/development/tkcvs/tkcvs.SlackBuild
+++ b/development/tkcvs/tkcvs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tkcvs
@@ -24,13 +24,23 @@
# Slightly modified by the SlackBuilds project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tkcvs
VERSION=${VERSION:-8.2.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 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
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,4 +86,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tkdiff/tkdiff.SlackBuild b/development/tkdiff/tkdiff.SlackBuild
index c98cda8637..a76c0fd3b5 100644
--- a/development/tkdiff/tkdiff.SlackBuild
+++ b/development/tkdiff/tkdiff.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tkdiff
-# Copyright 2017,2018 Duncan Roe, Melbourne, Australia
+# Copyright 2017,2018,2022 Duncan Roe, Melbourne, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,15 +22,25 @@
# 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=tkdiff
-VERSION=${VERSION:-5.1}
+VERSION=${VERSION:-5.6}
SRCVERSION=$( echo $VERSION | tr . - )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -61,10 +71,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -name '*.txt' -exec chmod 0644 {} +
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tkdiff/tkdiff.info b/development/tkdiff/tkdiff.info
index 14b6418f85..0c511b5401 100644
--- a/development/tkdiff/tkdiff.info
+++ b/development/tkdiff/tkdiff.info
@@ -1,8 +1,8 @@
PRGNAM="tkdiff"
-VERSION="5.1"
+VERSION="5.6"
HOMEPAGE="https://sourceforge.net/projects/tkdiff/"
-DOWNLOAD="https://sourceforge.net/projects/tkdiff/files/tkdiff/5.1/tkdiff-5-1.zip"
-MD5SUM="3c08e7985080e310c51ab29181df1856"
+DOWNLOAD="https://sourceforge.net/projects/tkdiff/files/tkdiff/5.6/tkdiff-5-6.zip"
+MD5SUM="69355922c7738efe9ec9203acef36e02"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/tkdnd/tkdnd.SlackBuild b/development/tkdnd/tkdnd.SlackBuild
index 3946593af4..4b32b352c7 100644
--- a/development/tkdnd/tkdnd.SlackBuild
+++ b/development/tkdnd/tkdnd.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tkdnd
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tkdnd
VERSION=${VERSION:-2.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tklib/tklib.SlackBuild b/development/tklib/tklib.SlackBuild
index fa65e48b17..75d1db83d1 100644
--- a/development/tklib/tklib.SlackBuild
+++ b/development/tklib/tklib.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tklib
# Based on slackbuild script written by Paul Wisehart wise@lupulin.net
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tklib
VERSION=${VERSION:-0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -78,4 +88,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tktable/README b/development/tktable/README
new file mode 100644
index 0000000000..2b92e80afa
--- /dev/null
+++ b/development/tktable/README
@@ -0,0 +1,22 @@
+tktable is a full-featured 2D table widget for Tk.
+Some of its features include:
+* multi-line cells
+* support for embedded windows
+* row & column spanning
+* variable width columns / height rows (interactively resizable)
+* row and column titles
+* multiple data sources
+* supports standard Tk reliefs, fonts, colors, etc.
+* x/y scrollbar support
+* 'tag' styles per row, column or cell to change visual appearance
+* in-cell editing - returns value back to data source
+* support for disabled (read-only) tables or cells (via tags)
+* multiple selection modes, with "active" cell
+* multiple drawing modes to get optimal performance for larger tables
+* optional 'flashes' when things update
+* cell validation support
+* Works everywhere Tk does
+
+Possible conflict:
+The BLT package (tclblt) also has a command named "table". It's
+possible to avoid such conflict by renaming one command or another.
diff --git a/development/tktable/slack-desc b/development/tktable/slack-desc
new file mode 100644
index 0000000000..3fadb04b03
--- /dev/null
+++ b/development/tktable/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------------------------------------------------------|
+tktable: tktable (a full-featured 2D table widget for Tk)
+tktable:
+tktable: Among its many features are multi-line cells, support for embedded
+tktable: windows, row & column spanning, variable width columns / height rows,
+tktable: row and column titles, multiple data sources, supports standard Tk
+tktable: options, x/y scrollbar support, 'tag' styles per row, column or cell
+tktable: to change visual appearance, in-cell editing - returns value back to
+tktable: data source, support for disabled (read-only) tables or cells,
+tktable: multiple selection modes, with "active" cell, multiple drawing modes,
+tktable: optional 'flashes' when things update and cell validation support.
+tktable: For more info visit https://github.com/wjoye/tktable
diff --git a/development/tktable/tktable.SlackBuild b/development/tktable/tktable.SlackBuild
new file mode 100644
index 0000000000..25c900a091
--- /dev/null
+++ b/development/tktable/tktable.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for tktable
+
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tktable
+VERSION=${VERSION:-2.10.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+[ "$ARCH" = "x86_64" ] && WITH_64BIT_SUPPORT="--enable-64bit"
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux \
+ --enable-threads \
+ $WITH_64BIT_SUPPORT
+
+make
+make install DESTDIR=$PKG
+
+# fix naming issue to retain backward compatibility
+sed -i '4s/tktable/Tktable/' $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}2.10/pkgIndex.tcl
+
+# Remove unnessesary directories created during install
+rmdir $PKG/usr/bin
+rmdir $PKG/usr/include
+
+# rename man page
+( cd $PKG/usr/man/mann/; mv tkTable.n tktable.n )
+
+
+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
+
+chmod 0664 demos/*
+chmod 0664 release.txt ChangeLog README.txt
+gzip -9 ChangeLog
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md README.blt README.txt TODO.txt license.txt \
+ release.txt ChangeLog.gz demos \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tktable/tktable.info b/development/tktable/tktable.info
new file mode 100644
index 0000000000..e20ad47d89
--- /dev/null
+++ b/development/tktable/tktable.info
@@ -0,0 +1,10 @@
+PRGNAM="tktable"
+VERSION="2.10.8"
+HOMEPAGE="https://github.com/wjoye/tktable"
+DOWNLOAD="https://github.com/wjoye/tktable/archive/v2.10.8/tktable-2.10.8.tar.gz"
+MD5SUM="ed084513d3517d994686165c25eacb05"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/tofuenv/README b/development/tofuenv/README
new file mode 100644
index 0000000000..8fafad6773
--- /dev/null
+++ b/development/tofuenv/README
@@ -0,0 +1 @@
+OpenTofu version manager
diff --git a/development/tofuenv/slack-desc b/development/tofuenv/slack-desc
new file mode 100644
index 0000000000..db221d42f3
--- /dev/null
+++ b/development/tofuenv/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------------------------------------------------------|
+tofuenv: tofuenv (OpenTofu version manager)
+tofuenv:
+tofuenv: OpenTofu version manager inspired by tfenv.
+tofuenv:
+tofuenv: https://github.com/tofuutils/tofuenv
+tofuenv:
+tofuenv:
+tofuenv:
+tofuenv:
+tofuenv:
+tofuenv:
diff --git a/development/tofuenv/tofuenv.SlackBuild b/development/tofuenv/tofuenv.SlackBuild
new file mode 100644
index 0000000000..1e5979e475
--- /dev/null
+++ b/development/tofuenv/tofuenv.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for tofuenv
+
+# Copyright 2024 Andrew Clemons, Tokyo Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tofuenv
+VERSION=${VERSION:-1.0.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+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-$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/usr/share/tofuenv/
+mv bin lib libexec share $PKG/usr/share/tofuenv/
+mkdir -p $PKG/usr/bin
+
+(
+ cd $PKG/usr/bin
+ ln -s ../share/tofuenv/bin/tofuenv .
+ ln -s ../share/tofuenv/bin/tofu .
+)
+
+(
+ cd $PKG/usr/share/tofuenv
+ ln -s ../../doc/$PRGNAM-$VERSION/CHANGELOG.md
+)
+
+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 versions in users home
+mkdir -p $PKG/etc/profile.d/
+cat << "EOF" > $PKG/etc/profile.d/tofuenv.csh
+#!/bin/csh
+
+setenv TOFUENV_CONFIG_DIR "${HOME}/.config/tofuenv"
+EOF
+
+cat << "EOF" > $PKG/etc/profile.d/tofuenv.sh
+#!/bin/sh
+
+export TOFUENV_CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/tofuenv"
+EOF
+
+chmod 0755 $PKG/etc/profile.d/*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tofuenv/tofuenv.info b/development/tofuenv/tofuenv.info
new file mode 100644
index 0000000000..c048836192
--- /dev/null
+++ b/development/tofuenv/tofuenv.info
@@ -0,0 +1,10 @@
+PRGNAM="tofuenv"
+VERSION="1.0.6"
+HOMEPAGE="https://github.com/tofuutils/tofuenv"
+DOWNLOAD="https://github.com/tofuutils/tofuenv/archive/v1.0.6/tofuenv-1.0.6.tar.gz"
+MD5SUM="04cc8d00e2b7549ca397854a37e9c23c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/tora/README b/development/tora/README
index e5777babe8..adf276ef8c 100644
--- a/development/tora/README
+++ b/development/tora/README
@@ -5,3 +5,5 @@ any target that can be accessed through Qt's ODBC support.
For Oracle DBMS support, run the script like this,
ORACLE_HOME=/path/to/oracle/home ./tora.Slackbuild
+
+postgresql is an autodetected dependency.
diff --git a/development/tora/include_unistd.patch b/development/tora/include_unistd.patch
deleted file mode 100644
index be3ca2f88a..0000000000
--- a/development/tora/include_unistd.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -aur tora-2.1.3/src/toextract.h tora-2.1.3patched/src/toextract.h
---- tora-2.1.3/src/toextract.h 2010-02-02 10:25:43.000000000 -0800
-+++ tora-2.1.3patched/src/toextract.h 2012-06-22 21:58:45.026286147 -0700
-@@ -53,6 +53,7 @@
- #include <qvariant.h>
- //Added by qt3to4:
- #include <QString>
-+#include <unistd.h>
-
- class QWidget;
- class toConnection;
diff --git a/development/tora/tora.SlackBuild b/development/tora/tora.SlackBuild
index 9245687cbb..5d60dc0946 100644
--- a/development/tora/tora.SlackBuild
+++ b/development/tora/tora.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for TOra
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220312 bkw: Modified by SlackBuilds.org: VERSION must be constant,
+# and match VERSION in the .info file.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tora
-VERSION=${VERSION:-2.1.3}
+GITREV=${GITREV:-5859a97cb25f4ead879ac866d1427609602c08e6}
+VERSION=${VERSION:-git5859a97}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -59,11 +70,9 @@ 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
-
-patch -Np1 -i "${CWD}/include_unistd.patch"
+rm -rf $PRGNAM-$GITREV
+tar xvf $CWD/$PRGNAM-$GITREV.tar.gz
+cd $PRGNAM-$GITREV
chown -R root:root .
find -L . \
@@ -79,12 +88,13 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DWANT_INTERNAL_QSCINTILLA=0 \
+ -DWANT_INTERNAL_QSCINTILLA=1 \
+ -DWANT_INTERNAL_LOKI=1 \
-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
@@ -93,8 +103,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/help/images
mkdir -p $PKG/usr/share/icons/hicolor/{32x32,16x16}/apps
mkdir -p $PKG/usr/share/applications
-( cd $TMP/$PRGNAM-$VERSION
- cp -a AUTHORS BUGS ChangeLog COPYING* README* TODO NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $TMP/$PRGNAM-$GITREV
+ cp -a AUTHORS ChangeLog COPYING* README* TODO NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a src/help/*.html $PKG/usr/doc/$PRGNAM-$VERSION/help
cp -a src/help/images/*.png $PKG/usr/doc/$PRGNAM-$VERSION/help/images
cp -a src/icons/tora.xpm $PKG/usr/share/icons/hicolor/32x32/apps
@@ -110,4 +120,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tora/tora.info b/development/tora/tora.info
index a03ef294b4..b99dc10b2b 100644
--- a/development/tora/tora.info
+++ b/development/tora/tora.info
@@ -1,8 +1,8 @@
PRGNAM="tora"
-VERSION="2.1.3"
+VERSION="git5859a97"
HOMEPAGE="http://torasql.com"
-DOWNLOAD="http://sourceforge.net/projects/tora/files/tora/2.1.3/tora-2.1.3.tar.bz2"
-MD5SUM="b3a4b5c827c300e75eea53874634e8a2"
+DOWNLOAD="https://github.com/tora-tool/tora/archive/5859a97cb25f4ead879ac866d1427609602c08e6/tora-5859a97cb25f4ead879ac866d1427609602c08e6.tar.gz"
+MD5SUM="5e8b1758f68766a494bc5cb2cdc91536"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/trac/README b/development/trac/README
index c4b716005e..b0dbcab0c1 100644
--- a/development/trac/README
+++ b/development/trac/README
@@ -4,5 +4,3 @@ software project management. Our mission is to help developers write
great software while staying out of the way. Trac should impose as
little as possible on a team's established development process and
policies.
-
-Pygments is optional (provides syntax highlighting).
diff --git a/development/trac/trac.SlackBuild b/development/trac/trac.SlackBuild
index d90a29e455..e8338b91e4 100644
--- a/development/trac/trac.SlackBuild
+++ b/development/trac/trac.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Trac
# Written by Eugene Suter <easuter at gmail.com>
@@ -23,27 +23,37 @@
# 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="trac"
SRCNAM="Trac"
VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/trf/trf.SlackBuild b/development/trf/trf.SlackBuild
index a009c8d5d3..9a9af5168b 100644
--- a/development/trf/trf.SlackBuild
+++ b/development/trf/trf.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for trf
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trf
VERSION=${VERSION:-2.1p2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,4 +90,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tstoolbox/tstoolbox.SlackBuild b/development/tstoolbox/tstoolbox.SlackBuild
index 874e31ed45..d715facb12 100644
--- a/development/tstoolbox/tstoolbox.SlackBuild
+++ b/development/tstoolbox/tstoolbox.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tstoolbox
@@ -22,10 +22,13 @@
# 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=tstoolbox
VERSION=${VERSION:-11.35.19.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -83,4 +93,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tstoolbox/tstoolbox.info b/development/tstoolbox/tstoolbox.info
index d4b3ede3a6..ad05c5bf8e 100644
--- a/development/tstoolbox/tstoolbox.info
+++ b/development/tstoolbox/tstoolbox.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/d6/70/57ce5cd3e36ac664b5c3eba5697c4d5
MD5SUM="34bc5b33ecf623b2909392e4f22353ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pandas mando matplotlib rst2ansi scipy"
+REQUIRES="pandas mando python2-matplotlib rst2ansi python2-scipy"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/ttk-themes/README b/development/ttk-themes/README
new file mode 100644
index 0000000000..8164597e41
--- /dev/null
+++ b/development/ttk-themes/README
@@ -0,0 +1,18 @@
+A group of themes for the Tk theme engine (and also the python tkinter
+package) gathered together by RedFantom and created by various authors.
+
+| THEME NAME | VERSION | AUTHOR | LICENSE |
+|------------+---------+----------------+-----------|
+| aquativo | 0.0.1 | Pat Thoyts | BSD-style |
+| black | 0.1 | Mats Bengtsson | BSD-style |
+| blue | 0.7 | Pat Thoyts | BSD-style |
+| clearlooks | 0.1 | N/A | BSD-style |
+| elegance | 0.1 | N/A | BSD-style |
+| itft1 | 0.14 | RedFantom | GNU GPLv3 |
+| keramik | 0.6.2 | Pat Thoyts | BSD-style |
+| kroc | 0.0.1 | David Zolli | BSD-style |
+| plastik | 0.6.2 | Pat Thoyts | BSD-style |
+| radiance | 0.1 | RedFantom | GNU GPLv3 |
+| smog | 0.1.1 | RedFantom | GNU GPLv2 |
+| winxpblue | 0.6 | Pat Thoyts | BSD-style |
+
diff --git a/development/ttk-themes/slack-desc b/development/ttk-themes/slack-desc
new file mode 100644
index 0000000000..7ffb6bf77c
--- /dev/null
+++ b/development/ttk-themes/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------------------------------------------------------|
+ttk-themes: ttk-themes (themes for the Tk theme engine)
+ttk-themes:
+ttk-themes: A group of themes for the Tk theme engine (and also the python
+ttk-themes: tkinter package) gathered together by RedFantom and created by
+ttk-themes: various authors.
+ttk-themes:
+ttk-themes: https://github.com/TkinterEP/ttkthemes
+ttk-themes:
+ttk-themes:
+ttk-themes:
+ttk-themes:
diff --git a/development/ttk-themes/ttk-themes.SlackBuild b/development/ttk-themes/ttk-themes.SlackBuild
new file mode 100644
index 0000000000..daea86641f
--- /dev/null
+++ b/development/ttk-themes/ttk-themes.SlackBuild
@@ -0,0 +1,74 @@
+#!/bin/bash
+
+# Slackware build script for ttk-themes
+
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ttk-themes
+SRCNAM=ttkthemes
+VERSION=${VERSION:-3.2.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+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 {} \;
+
+mkdir -p $PKG/usr/lib/$PRGNAM
+cp -a $SRCNAM/themes/* $PKG/usr/lib/$PRGNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ttk-themes/ttk-themes.info b/development/ttk-themes/ttk-themes.info
new file mode 100644
index 0000000000..717b7cb026
--- /dev/null
+++ b/development/ttk-themes/ttk-themes.info
@@ -0,0 +1,10 @@
+PRGNAM="ttk-themes"
+VERSION="3.2.2"
+HOMEPAGE="https://github.com/TkinterEP/ttkthemes"
+DOWNLOAD="https://github.com/TkinterEP/ttkthemes/archive/v3.2.2/ttkthemes-3.2.2.tar.gz"
+MD5SUM="5a15968eec2d671992707c6e204d71e1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/development/tup/README b/development/tup/README
new file mode 100644
index 0000000000..97ebc5a5b2
--- /dev/null
+++ b/development/tup/README
@@ -0,0 +1,9 @@
+tup (file-based build system)
+
+Tup is a file-based build system for Linux, OSX, and Windows. It
+takes as input a list of file changes and a directed acyclic graph
+(DAG). It then processes the DAG to execute the appropriate commands
+required to update dependent files. Updates are performed with very
+little overhead since tup implements powerful build algorithms to
+avoid doing unnecessary work. This means you can stay focused on
+your project rather than on your build system.
diff --git a/development/tup/slack-desc b/development/tup/slack-desc
new file mode 100644
index 0000000000..0a84a4e8a8
--- /dev/null
+++ b/development/tup/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------------------------------------------------------|
+tup: tup (file-based build system)
+tup:
+tup: Tup is a file-based build system for Linux, OSX, and Windows. It
+tup: takes as input a list of file changes and a directed acyclic graph
+tup: (DAG). It then processes the DAG to execute the appropriate commands
+tup: required to update dependent files. Updates are performed with very
+tup: little overhead since tup implements powerful build algorithms to
+tup: avoid doing unnecessary work. This means you can stay focused on
+tup: your project rather than on your build system.
+tup:
+tup:
diff --git a/development/tup/tup.SlackBuild b/development/tup/tup.SlackBuild
new file mode 100644
index 0000000000..6096121dfa
--- /dev/null
+++ b/development/tup/tup.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for tup
+
+# Copyright 2022 Charadon US
+# Copyright 2023 B. Watson
+# 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.
+
+# 20230829 bkw: BUILD=2
+# - take over maintenance.
+# - add a couple of missing doc files.
+# - actually use SLKCFLAGS.
+# - add ftdetect for vim, so the tup syntax highlighting actually works.
+# - use tup project page for homepage.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tup
+VERSION=${VERSION:-0.7.11}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "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-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+cd $PRGNAM-v$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 {} +
+
+sed -i "s,-Os,$SLKCFLAGS," Tuprules.tup build.sh
+export CFLAGS="$SLKCFLAGS"
+
+./build.sh
+./build/tup init
+./build/tup generate runme.sh
+./runme.sh
+
+PKGVIM=$PKG/usr/share/vim/vimfiles
+mkdir -p $PKG/usr/{bin,man/man1} $PKGVIM/{syntax,ftdetect}
+install -s -m755 -t $PKG/usr/bin tup
+gzip -9 < tup.1 > $PKG/usr/man/man1/tup.1.gz
+install -o root -g root -m644 -t $PKGVIM/syntax contrib/syntax/tup.vim
+install -o root -g root -m644 $CWD/tup.ftdect.vim $PKGVIM/ftdetect/tup.vim
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a *.md COPYING $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tup/tup.ftdect.vim b/development/tup/tup.ftdect.vim
new file mode 100644
index 0000000000..cb630e315a
--- /dev/null
+++ b/development/tup/tup.ftdect.vim
@@ -0,0 +1,2 @@
+autocmd BufRead,BufNewFile *.tup setfiletype tup
+autocmd BufRead,BufNewFile Tupfile setfiletype tup
diff --git a/development/tup/tup.info b/development/tup/tup.info
new file mode 100644
index 0000000000..17c6752a1e
--- /dev/null
+++ b/development/tup/tup.info
@@ -0,0 +1,10 @@
+PRGNAM="tup"
+VERSION="0.7.11"
+HOMEPAGE="https://gittup.org/tup/"
+DOWNLOAD="https://gittup.org/tup/releases/tup-v0.7.11.tar.gz"
+MD5SUM="03ba28a725a48a2c1f0075054bea35f0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/tweak/20200601.diff b/development/tweak/20200601.diff
new file mode 100644
index 0000000000..2fc610999a
--- /dev/null
+++ b/development/tweak/20200601.diff
@@ -0,0 +1,1315 @@
+diff -Naur tweak-3.02/actions.c tweak-3.02.patched/actions.c
+--- tweak-3.02/actions.c 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/actions.c 2021-09-07 14:21:21.913810300 -0400
+@@ -112,11 +112,11 @@
+ display_write_str (question);
+ display_refresh();
+ }
+- safe_update = TRUE;
++ safe_update = true;
+ #endif
+ c = display_getkey();
+ #if defined(unix) && !defined(GO32)
+- safe_update = FALSE;
++ safe_update = false;
+ #endif
+ if (c >= 'a' && c <= 'z')
+ c += 'A'-'a';
+@@ -130,32 +130,43 @@
+ return; /* don't even quit */
+ }
+ }
+- finished = TRUE;
++ finished = true;
+ }
+
+-static void act_save(void) {
+- static int backed_up = FALSE;
++static bool act_save_internal(void) {
++ static bool backed_up = false;
+
++ if (look_mode) {
++ display_beep();
++ strcpy (message, "Cannot save in LOOK mode!");
++ return false;
++ }
+ if (!backed_up) {
+ if (!backup_file()) {
+ display_beep();
+ strcpy (message, "Unable to back up file!");
+- return;
++ return false;
+ }
+- backed_up = TRUE;
++ backed_up = true;
+ }
+ if (!save_file()) {
+ display_beep();
+ strcpy (message, "Unable to save file!");
+- return;
++ return false;
+ }
+- modified = FALSE;
++ modified = false;
++ return true;
++}
++
++static void act_save(void) {
++ act_save_internal(); /* just discard the bool return value */
+ }
+
+ static void act_exitsave(void) {
+- act_save();
+- draw_scr(); /* update ** on status line */
+- act_exit();
++ if (act_save_internal()) {
++ draw_scr(); /* update ** on status line */
++ act_exit();
++ }
+ }
+
+ static void act_top (void) {
+@@ -294,7 +305,7 @@
+ display_beep();
+ sprintf(message, "Can't engage Insert mode when in %s mode",
+ (look_mode ? "LOOK" : "FIX"));
+- insert_mode = FALSE; /* safety! */
++ insert_mode = false; /* safety! */
+ } else
+ insert_mode = !insert_mode;
+ }
+@@ -307,7 +318,7 @@
+ }
+
+ void act_self_ins(void) {
+- int insert = insert_mode;
++ bool insert = insert_mode;
+ unsigned char c;
+
+ if (look_mode) {
+@@ -352,17 +363,17 @@
+ buf_fetch_data(filedata, &c, 1, cur_pos);
+ c &= 0xF0;
+ c |= last_char;
+- insert = FALSE;
++ insert = false;
+ break;
+ }
+
+ if (insert) {
+ buf_insert_data(filedata, &c, 1, cur_pos);
+ file_size++;
+- modified = TRUE;
++ modified = true;
+ } else if (cur_pos < file_size) {
+ buf_overwrite_data(filedata, &c, 1, cur_pos);
+- modified = TRUE;
++ modified = true;
+ } else {
+ display_beep();
+ strcpy(message, "End of file reached");
+@@ -379,7 +390,7 @@
+ buf_delete (filedata, 1, cur_pos);
+ file_size--;
+ edit_type = !!edit_type;
+- modified = TRUE;
++ modified = true;
+ }
+ }
+
+@@ -391,7 +402,7 @@
+ buf_delete (filedata, 1, cur_pos);
+ file_size--;
+ edit_type = !!edit_type;
+- modified = TRUE;
++ modified = true;
+ }
+ }
+
+@@ -399,7 +410,7 @@
+ if (look_mode) {
+ display_beep();
+ strcpy (message, "Can't cut or paste in LOOK mode");
+- marking = FALSE; /* safety */
++ marking = false; /* safety */
+ return;
+ }
+ marking = !marking;
+@@ -435,8 +446,8 @@
+ if (top_pos > cur_pos)
+ top_pos = begline(cur_pos);
+ edit_type = !!edit_type;
+- modified = TRUE;
+- marking = FALSE;
++ modified = true;
++ marking = false;
+ }
+
+ static void act_copy (void) {
+@@ -456,7 +467,7 @@
+ if (cutbuffer)
+ buf_free (cutbuffer);
+ cutbuffer = buf_copy (filedata, marksize, marktop);
+- marking = FALSE;
++ marking = false;
+ }
+
+ static void act_paste (void) {
+@@ -475,7 +486,7 @@
+ file_size -= cutsize;
+ }
+ buf_paste (filedata, cutbuffer, cur_pos);
+- modified = TRUE;
++ modified = true;
+ cur_pos += cutsize;
+ file_size += cutsize;
+ edit_type = !!edit_type;
+@@ -494,9 +505,9 @@
+ static void act_goto (void) {
+ char buffer[80];
+ fileoffset_t position, new_top;
+- int error;
++ bool error;
+
+- if (!get_str("Enter position to go to: ", buffer, FALSE))
++ if (!get_str("Enter position to go to: ", buffer, false))
+ return; /* user break */
+
+ position = parse_num (buffer, &error);
+@@ -531,16 +542,16 @@
+ statfmt = decstatus;
+ }
+
+-static int search_prompt(char *withdef, char *withoutdef)
++static bool search_prompt(char *withdef, char *withoutdef)
+ {
+ char buffer[80];
+ int len;
+
+- if (!get_str(last_search ? withdef : withoutdef, buffer, TRUE))
+- return 0; /* user break */
++ if (!get_str(last_search ? withdef : withoutdef, buffer, true))
++ return false; /* user break */
+ if (!last_search && !*buffer) {
+ strcpy (message, "Search aborted.");
+- return 0;
++ return false;
+ }
+
+ if (!*buffer) {
+@@ -550,14 +561,14 @@
+ if (len == -1) {
+ display_beep();
+ strcpy (message, "Invalid escape sequence in search string");
+- return 0;
++ return false;
+ }
+ if (last_search)
+ free_search(last_search);
+ last_search = build_search (buffer, len);
+ }
+
+- return 1;
++ return true;
+ }
+
+ static void act_search (void) {
+@@ -660,10 +671,10 @@
+ char prompt[80];
+ fileoffset_t w;
+ fileoffset_t new_top;
+- int error;
++ bool error;
+
+ sprintf (prompt, "Enter screen width in bytes (now %"OFF"d): ", width);
+- if (!get_str (prompt, buffer, FALSE))
++ if (!get_str (prompt, buffer, false))
+ return;
+ w = parse_num (buffer, &error);
+ if (error) {
+@@ -686,11 +697,11 @@
+ char prompt[80];
+ fileoffset_t o;
+ fileoffset_t new_top;
+- int error;
++ bool error;
+
+ sprintf (prompt, "Enter start-of-file offset in bytes (now %"OFF"d): ",
+ realoffset);
+- if (!get_str (prompt, buffer, FALSE))
++ if (!get_str (prompt, buffer, false))
+ return;
+ o = parse_num (buffer, &error);
+ if (error) {
+diff -Naur tweak-3.02/btree.c tweak-3.02.patched/btree.c
+--- tweak-3.02/btree.c 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/btree.c 2021-09-07 14:21:21.902810301 -0400
+@@ -47,7 +47,7 @@
+ * - user-supplied copy function.
+ * - bt_add when element already exists.
+ * - bt_del when element doesn't.
+- * - splitpos with before==TRUE.
++ * - splitpos with before==true.
+ * - split() on sorted elements (but it should be fine).
+ * - bt_replace, at all (it won't be useful until we get user read
+ * properties).
+@@ -162,13 +162,6 @@
+ free(p);
+ }
+
+-#ifndef FALSE
+-#define FALSE 0
+-#endif
+-#ifndef TRUE
+-#define TRUE 1
+-#endif
+-
+ /* We could probably do with more compiler-specific branches of this #if. */
+ #if defined(__GNUC__)
+ #define INLINE __inline
+@@ -274,7 +267,7 @@
+ /*
+ * Determine whether a node is a leaf node or not.
+ */
+-static INLINE int bt_is_leaf(btree *bt, nodeptr n)
++static INLINE bool bt_is_leaf(btree *bt, nodeptr n)
+ {
+ return n[0].na.p == NULL;
+ }
+@@ -292,7 +285,7 @@
+ #else
+ memset((char *)ret + bt->propoffset, 0, bt->propsize);
+ #endif
+- testlock(TRUE, TRUE, ret);
++ testlock(true, true, ret);
+ return ret;
+ }
+
+@@ -301,7 +294,7 @@
+ */
+ static INLINE void bt_destroy_node(btree *bt, nodeptr n)
+ {
+- testlock(TRUE, FALSE, n);
++ testlock(true, false, n);
+ /* Free the property. */
+ bt->propmerge(bt->userstate, NULL, NULL, n + bt->maxdegree * 2 + 2);
+ sfree(n);
+@@ -312,8 +305,8 @@
+ */
+ static INLINE nodeptr bt_reuse_node(btree *bt, nodeptr n, int nsubtrees)
+ {
+- testlock(TRUE, FALSE, n);
+- testlock(TRUE, TRUE, n);
++ testlock(true, false, n);
++ testlock(true, true, n);
+ n[bt->maxdegree*2-1].i = nsubtrees;
+ return n;
+ }
+@@ -405,10 +398,10 @@
+ if (addr.p && addr.p[bt->maxdegree*2+1].i > 1) {
+ nodeptr clone = bt_clone_node(bt, addr.p);
+ bt_set_child(bt, a, index, bt_node_addr(bt, clone));
+- testlock(TRUE, TRUE, clone);
++ testlock(true, true, clone);
+ return clone;
+ }
+- testlock(TRUE, TRUE, addr.p);
++ testlock(true, true, addr.p);
+ return addr.p;
+ }
+ static INLINE nodeptr bt_write_lock_root(btree *bt)
+@@ -417,21 +410,21 @@
+ if (addr.p && addr.p[bt->maxdegree*2+1].i > 1) {
+ nodeptr clone = bt_clone_node(bt, addr.p);
+ bt->root = bt_node_addr(bt, clone);
+- testlock(TRUE, TRUE, clone);
++ testlock(true, true, clone);
+ return clone;
+ }
+- testlock(TRUE, TRUE, addr.p);
++ testlock(true, true, addr.p);
+ return addr.p;
+ }
+ static INLINE nodeptr bt_read_lock(btree *bt, node_addr a)
+ {
+- testlock(FALSE, TRUE, a.p);
++ testlock(false, true, a.p);
+ return a.p;
+ }
+ #define bt_read_lock_root(bt) (bt_read_lock(bt, (bt)->root))
+ #define bt_read_lock_child(bt,a,index) (bt_read_lock(bt,bt_child(bt,a,index)))
+
+-static INLINE void bt_write_relock(btree *bt, nodeptr n, int props)
++static INLINE void bt_write_relock(btree *bt, nodeptr n, bool props)
+ {
+ int i, ns, count;
+
+@@ -443,8 +436,8 @@
+ for (i = 0; i < ns; i++)
+ count += bt_child_count(bt, n, i);
+ n[bt->maxdegree*2].i = count;
+- testlock(TRUE, FALSE, n);
+- testlock(TRUE, TRUE, n);
++ testlock(true, false, n);
++ testlock(true, true, n);
+
+ /*
+ * Update user read properties.
+@@ -477,13 +470,13 @@
+ }
+
+ static INLINE node_addr bt_write_unlock_internal(btree *bt, nodeptr n,
+- int props)
++ bool props)
+ {
+ node_addr ret;
+
+ bt_write_relock(bt, n, props);
+
+- testlock(TRUE, FALSE, n);
++ testlock(true, false, n);
+
+ ret.p = n;
+ return ret;
+@@ -491,7 +484,7 @@
+
+ static INLINE node_addr bt_write_unlock(btree *bt, nodeptr n)
+ {
+- return bt_write_unlock_internal(bt, n, TRUE);
++ return bt_write_unlock_internal(bt, n, true);
+ }
+
+ static INLINE void bt_read_unlock(btree *bt, nodeptr n)
+@@ -500,7 +493,7 @@
+ * For trees in memory, we do nothing here, except run some
+ * optional testing.
+ */
+- testlock(FALSE, FALSE, n);
++ testlock(false, false, n);
+ }
+
+ /* ----------------------------------------------------------------------
+@@ -594,14 +587,14 @@
+ * searching for that element.
+ *
+ * Return value is either the index of the element, or the index of
+- * the subtree (both 0 upwards). `is_elt' returns FALSE or TRUE
++ * the subtree (both 0 upwards). `is_elt' returns false or true
+ * respectively.
+ *
+ * Since this may be used by bt_find() with an alternative cmpfn_t,
+ * we always pass the input element as the first argument to cmp.
+ */
+ static int bt_lookup_cmp(btree *bt, nodeptr n, bt_element_t element,
+- cmpfn_t cmp, int *is_elt)
++ cmpfn_t cmp, bool *is_elt)
+ {
+ int mintree = 0, maxtree = bt_subtrees(bt, n)-1;
+
+@@ -610,7 +603,7 @@
+ int c = cmp(bt->userstate, element, bt_element(bt, n, elt));
+
+ if (c == 0) {
+- *is_elt = TRUE;
++ *is_elt = true;
+ return elt;
+ } else if (c < 0) {
+ /*
+@@ -634,7 +627,7 @@
+ * to search next.
+ */
+ assert(mintree == maxtree);
+- *is_elt = FALSE;
++ *is_elt = false;
+ return mintree;
+ }
+
+@@ -986,7 +979,8 @@
+ int relation, int *index)
+ {
+ nodeptr n, n2;
+- int child, is_elt;
++ int child;
++ bool is_elt;
+ bt_element_t gotit;
+ int pos = 0;
+
+@@ -1083,7 +1077,8 @@
+ int *index)
+ {
+ nodeptr n, n2;
+- int i, j, count, is_elt;
++ int i, j, count;
++ bool is_elt;
+ void **props;
+ int *counts;
+ bt_element_t *elts;
+@@ -1294,7 +1289,8 @@
+ bt_element_t bt_add(btree *bt, bt_element_t element)
+ {
+ nodeptr n, n2;
+- int child, is_elt;
++ int child;
++ bool is_elt;
+ int pos = 0;
+
+ n = bt_read_lock_root(bt);
+@@ -1322,7 +1318,8 @@
+ {
+ nodeptr n, c, c2, saved_n;
+ nodeptr *nodes;
+- int nnodes, child, nroot, pos2, ends, st, splitpoint, saved_pos;
++ int nnodes, child, pos2, ends, st, splitpoint, saved_pos;
++ bool nroot;
+ bt_element_t e, ret;
+
+ /*
+@@ -1334,7 +1331,7 @@
+ nnodes = 0;
+
+ n = bt_write_lock_root(bt);
+- nroot = TRUE;
++ nroot = true;
+ saved_n = NULL;
+
+ if (!n || pos < 0 || pos >= bt_node_count(bt, n)) {
+@@ -1405,7 +1402,7 @@
+ bt_shift_root(bt, n, bt_node_addr(bt, c));
+ nnodes--; /* don't leave it in nodes[]! */
+ n = NULL;
+- bt_write_relock(bt, c, TRUE);
++ bt_write_relock(bt, c, true);
+ } else
+ bt_write_unlock(bt, c);
+ } else {
+@@ -1422,7 +1419,7 @@
+
+ if (n) {
+ /* Recompute the counts in n so we can do lookups again. */
+- bt_write_relock(bt, n, TRUE);
++ bt_write_relock(bt, n, true);
+
+ /* Having done the transform, redo the position lookup. */
+ pos = pos2;
+@@ -1485,7 +1482,7 @@
+
+ /* Descend to the child and go round again. */
+ n = c;
+- nroot = FALSE;
++ nroot = false;
+ }
+
+ /*
+@@ -1725,7 +1722,7 @@
+ * Perform the healing process after a tree has been split. `rhs'
+ * is set if the cut edge is the one on the right.
+ */
+-static void bt_split_heal(btree *bt, int rhs)
++static void bt_split_heal(btree *bt, bool rhs)
+ {
+ nodeptr n;
+ nodeptr *nodes;
+@@ -1881,15 +1878,15 @@
+ * which will sort all that out for us.
+ */
+ while (nnodes-- > 0) {
+- bt_write_unlock_internal(bt1, lnodes[nnodes], FALSE);
+- bt_write_unlock_internal(bt2, rnodes[nnodes], FALSE);
++ bt_write_unlock_internal(bt1, lnodes[nnodes], false);
++ bt_write_unlock_internal(bt2, rnodes[nnodes], false);
+ }
+
+ /*
+ * Then we make a healing pass down each side of the tree.
+ */
+- bt_split_heal(bt1, TRUE);
+- bt_split_heal(bt2, FALSE);
++ bt_split_heal(bt1, true);
++ bt_split_heal(bt2, false);
+
+ ifree(lnodes);
+ ifree(rnodes);
+@@ -1900,7 +1897,7 @@
+ /*
+ * Split a tree at a numeric index.
+ */
+-btree *bt_splitpos(btree *bt, int index, int before)
++btree *bt_splitpos(btree *bt, int index, bool before)
+ {
+ btree *ret;
+ node_addr na;
+@@ -1932,15 +1929,16 @@
+ */
+ btree *bt_split(btree *bt, bt_element_t element, cmpfn_t cmp, int rel)
+ {
+- int before, index;
++ bool before;
++ int index;
+
+ assert(rel != BT_REL_EQ); /* has to be an inequality */
+
+ if (rel == BT_REL_GT || rel == BT_REL_GE) {
+- before = TRUE;
++ before = true;
+ rel = (rel == BT_REL_GT ? BT_REL_LE : BT_REL_LT);
+ } else {
+- before = FALSE;
++ before = false;
+ }
+ if (!bt_findrelpos(bt, element, cmp, rel, &index))
+ index = -1;
+@@ -1979,7 +1977,7 @@
+ n = bt_read_lock_root(bt);
+ i = bt_subtrees(bt, n);
+ bt_read_unlock(bt, n);
+- return (i == 2 ? TRUE : FALSE);
++ return (i == 2 ? true : false);
+ }
+
+ /*
+@@ -2394,7 +2392,7 @@
+ printf("splittest: %d\n", i);
+ tree3 = BT_COPY(tree);
+ testlock(-1, 0, NULL);
+- tree4 = bt_splitpos(tree3, i, 0);
++ tree4 = bt_splitpos(tree3, i, false);
+ testlock(-1, 0, NULL);
+ verifytree(tree3, array, i);
+ verifytree(tree4, array+i, arraylen-i);
+diff -Naur tweak-3.02/btree.h tweak-3.02.patched/btree.h
+--- tweak-3.02/btree.h 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/btree.h 2021-09-07 14:21:21.903810301 -0400
+@@ -31,6 +31,7 @@
+ #define BTREE_H
+
+ #include <stddef.h> /* for offsetof */
++#include <stdbool.h>
+
+ #ifndef alignof
+ #define alignof(typ) ( offsetof(struct { char c; typ t; }, t) )
+@@ -47,7 +48,7 @@
+ typedef void (*propmergefn_t)(void *state, void *s1, void *s2, void *dest);
+ typedef int (*searchfn_t)(void *tstate, void *sstate, int ntrees,
+ void **props, int *counts,
+- bt_element_t *elts, int *is_elt);
++ bt_element_t *elts, bool *is_elt);
+
+ enum {
+ BT_REL_EQ, BT_REL_LT, BT_REL_LE, BT_REL_GT, BT_REL_GE
+@@ -77,7 +78,7 @@
+ bt_element_t bt_del(btree *bt, bt_element_t element);
+ btree *bt_join(btree *bt1, btree *bt2);
+ btree *bt_joinr(btree *bt1, btree *bt2);
+-btree *bt_splitpos(btree *bt, int index, int before);
++btree *bt_splitpos(btree *bt, int index, bool before);
+ btree *bt_split(btree *bt, bt_element_t element, cmpfn_t cmp, int rel);
+
+ #endif /* BTREE_H */
+diff -Naur tweak-3.02/buffer.c tweak-3.02.patched/buffer.c
+--- tweak-3.02/buffer.c 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/buffer.c 2021-09-07 14:21:21.917810299 -0400
+@@ -3,6 +3,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <errno.h>
+ #include <ctype.h>
+ #include <assert.h>
+
+@@ -112,7 +113,7 @@
+
+ static int bufblksearch(void *tstate, void *sstate, int ntrees,
+ void **props, int *counts,
+- bt_element_t *elts, int *is_elt)
++ bt_element_t *elts, bool *is_elt)
+ {
+ fileoffset_t *disttogo = (fileoffset_t *)sstate;
+ fileoffset_t distsofar = 0;
+@@ -128,7 +129,7 @@
+ /*
+ * Descend into this subtree.
+ */
+- *is_elt = FALSE;
++ *is_elt = false;
+ return i;
+ }
+
+@@ -142,7 +143,7 @@
+ * Select this element.
+ */
+ *disttogo -= distsofar;
+- *is_elt = TRUE;
++ *is_elt = true;
+ return i;
+ }
+
+@@ -164,6 +165,16 @@
+ return index;
+ }
+
++static void fread_check(void *buf, size_t size, FILE *fp)
++{
++ if (fread(buf, 1, size, fp) != size) {
++ display_cleanup();
++ fprintf(stderr, "Fatal error reading from file: %s\n",
++ strerror(errno));
++ exit(1);
++ }
++}
++
+ /*
+ * Convert a file-data block of size at most BUFMAX into a
+ * literal-data block. Returns the replacement block (the old one
+@@ -179,7 +190,7 @@
+ ret->filepos = 0;
+ ret->len = blk->len;
+ fseeko(blk->file->fp, blk->filepos, SEEK_SET);
+- fread(ret->data, blk->len, 1, blk->file->fp);
++ fread_check(ret->data, blk->len, blk->file->fp);
+
+ return ret;
+ }
+@@ -298,7 +309,7 @@
+ return index + 1;
+ }
+
+-static btree *buf_bt_split(btree *bt, fileoffset_t pos, int before)
++static btree *buf_bt_split(btree *bt, fileoffset_t pos, bool before)
+ {
+ int index = buf_bt_splitpoint(bt, pos);
+ return bt_splitpos(bt, index, before);
+@@ -318,14 +329,14 @@
+
+ static void buf_insert_bt(buffer *buf, btree *bt, fileoffset_t pos)
+ {
+- btree *right = buf_bt_split(buf->bt, pos, FALSE);
++ btree *right = buf_bt_split(buf->bt, pos, false);
+ buf->bt = buf_bt_join(buf->bt, bt);
+ buf->bt = buf_bt_join(buf->bt, right);
+ }
+
+ static int bufblklensearch(void *tstate, void *sstate, int ntrees,
+ void **props, int *counts,
+- bt_element_t *elts, int *is_elt)
++ bt_element_t *elts, bool *is_elt)
+ {
+ fileoffset_t *output = (fileoffset_t *)sstate;
+ fileoffset_t size = 0;
+@@ -347,7 +358,7 @@
+ *output = size;
+
+ /* Actual return value doesn't matter */
+- *is_elt = TRUE;
++ *is_elt = true;
+ return 1;
+ }
+
+@@ -417,7 +428,7 @@
+
+ if (blk->file) {
+ fseeko(blk->file->fp, blk->filepos + poswithin, SEEK_SET);
+- fread(data, thislen, 1, blk->file->fp);
++ fread_check(data, thislen, blk->file->fp);
+ } else {
+ memcpy(data, blk->data + poswithin, thislen);
+ }
+@@ -473,8 +484,8 @@
+
+ extern void buf_delete(buffer *buf, fileoffset_t len, fileoffset_t pos)
+ {
+- btree *left = buf_bt_split(buf->bt, pos, TRUE);
+- btree *right = buf_bt_split(buf->bt, len, FALSE);
++ btree *left = buf_bt_split(buf->bt, pos, true);
++ btree *right = buf_bt_split(buf->bt, len, false);
+
+ bt_free(buf->bt);
+
+@@ -490,8 +501,8 @@
+
+ extern buffer *buf_cut(buffer *buf, fileoffset_t len, fileoffset_t pos)
+ {
+- btree *left = buf_bt_split(buf->bt, pos, TRUE);
+- btree *right = buf_bt_split(buf->bt, len, FALSE);
++ btree *left = buf_bt_split(buf->bt, pos, true);
++ btree *right = buf_bt_split(buf->bt, len, false);
+ btree *ret = buf->bt;
+
+ buf->bt = buf_bt_join(left, right);
+@@ -501,8 +512,8 @@
+
+ extern buffer *buf_copy(buffer *buf, fileoffset_t len, fileoffset_t pos)
+ {
+- btree *left = buf_bt_split(buf->bt, pos, TRUE);
+- btree *right = buf_bt_split(buf->bt, len, FALSE);
++ btree *left = buf_bt_split(buf->bt, pos, true);
++ btree *right = buf_bt_split(buf->bt, len, false);
+ btree *ret = bt_clone(buf->bt);
+
+ buf->bt = buf_bt_join(left, buf->bt);
+diff -Naur tweak-3.02/curses.c tweak-3.02.patched/curses.c
+--- tweak-3.02/curses.c 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/curses.c 2021-09-07 14:21:21.918810299 -0400
+@@ -61,7 +61,7 @@
+ #define MAXCOLOURS 32
+ int attrs[MAXCOLOURS];
+
+-void display_define_colour(int colour, int fg, int bg, int reverse)
++void display_define_colour(int colour, int fg, int bg, bool reverse)
+ {
+ static int colours[8] = {
+ COLOR_BLACK,
+@@ -117,24 +117,28 @@
+ schedule_update();
+ continue;
+ }
++ if (ret == ERR) {
++ /* A failure to read from standard input is fatal */
++ exit(1);
++ }
+ return ret;
+ }
+ }
+
+-int display_input_to_flush(void)
++bool display_input_to_flush(void)
+ {
+ int ret;
+ if (last_getch != ERR)
+- return TRUE;
++ return true;
+
+ nodelay(stdscr, 1);
+ ret = getch();
+ nodelay(stdscr, 0);
+ if (ret == ERR)
+- return FALSE;
++ return false;
+
+ last_getch = ret;
+- return TRUE;
++ return true;
+ }
+
+ void display_post_error(void)
+diff -Naur tweak-3.02/keytab.c tweak-3.02.patched/keytab.c
+--- tweak-3.02/keytab.c 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/keytab.c 2021-09-07 14:21:21.920810299 -0400
+@@ -61,16 +61,33 @@
+ /*
+ * Format an ASCII code into a printable description of the key stroke.
+ */
+-static void strkey (char *s, int k) {
+- k &= 255; /* force unsigned */
+- if (k==27)
+- strcpy(s, " ESC");
+- else if (k<32 || k==127)
+- sprintf(s, " ^%c", k ^ 64);
+- else if (k<127)
+- sprintf(s, " %c", k);
+- else
+- sprintf(s, " <0x%2X>", k);
++struct strkey_state {
++ char *s, *end;
++ bool truncated;
++};
++static void strkey (struct strkey_state *sks, int k) {
++ char thisbuf[32];
++
++ if (sks->truncated)
++ return;
++
++ if (sks->end - sks->s < 16) {
++ sks->truncated = true;
++ strcpy(thisbuf, " ...");
++ } else {
++ k &= 255; /* force unsigned */
++ if (k==27)
++ strcpy(thisbuf, " ESC");
++ else if (k<32 || k==127)
++ sprintf(thisbuf, " ^%c", k ^ 64);
++ else if (k<127)
++ sprintf(thisbuf, " %c", k);
++ else
++ sprintf(thisbuf, " <0x%2X>", k);
++ }
++
++ strcpy(sks->s, thisbuf);
++ sks->s += strlen(sks->s);
+ }
+
+ /*
+@@ -82,19 +99,25 @@
+ #if defined(unix) && !defined(GO32)
+ if (update_required)
+ update();
+- safe_update = TRUE;
++ safe_update = true;
+ #endif
+ last_char = display_getkey();
+ #if defined(unix) && !defined(GO32)
+- safe_update = FALSE;
++ safe_update = false;
+ #endif
+ strcpy(message, "Unknown key sequence");
+- strkey(message+strlen(message), last_char);
++
++ struct strkey_state sks;
++ sks.s = message + strlen(message);
++ sks.end = message + sizeof(message);
++ sks.truncated = false;
++
++ strkey(&sks, last_char);
+ kt = base[(unsigned char) last_char];
+ if (!kt) {
+ display_beep();
+ while (display_input_to_flush())
+- strkey(message+strlen(message), display_getkey());
++ strkey(&sks, display_getkey());
+ return;
+ }
+
+@@ -102,18 +125,18 @@
+ #if defined(unix) && !defined(GO32)
+ if (update_required)
+ update();
+- safe_update = TRUE;
++ safe_update = true;
+ #endif
+ last_char = display_getkey();
+ #if defined(unix) && !defined(GO32)
+- safe_update = FALSE;
++ safe_update = false;
+ #endif
+- strkey(message+strlen(message), last_char);
++ strkey(&sks, last_char);
+ kt = kt->e.extended[(unsigned char) last_char];
+ if (!kt) {
+ display_beep();
+ while (display_input_to_flush())
+- strkey(message+strlen(message), display_getkey());
++ strkey(&sks, display_getkey());
+ return;
+ }
+ }
+diff -Naur tweak-3.02/main.c tweak-3.02.patched/main.c
+--- tweak-3.02/main.c 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/main.c 2021-09-07 14:21:21.903810301 -0400
+@@ -200,20 +200,20 @@
+ char *pname;
+ char *filename = NULL;
+ buffer *filedata, *cutbuffer = NULL;
+-int fix_mode = FALSE;
+-int look_mode = FALSE;
+-int eager_mode = FALSE;
+-int insert_mode = FALSE;
++bool fix_mode = false;
++bool look_mode = false;
++bool eager_mode = false;
++bool insert_mode = false;
+ int edit_type = 1; /* 1,2 are hex digits, 0=ascii */
+-int finished = FALSE;
+-int marking = FALSE;
+-int modified = FALSE;
+-int new_file = FALSE; /* shouldn't need initialisation -
++bool finished = false;
++bool marking = false;
++bool modified = false;
++bool new_file = false; /* shouldn't need initialisation -
+ * but let's not take chances :-) */
+ fileoffset_t width = 16;
+ fileoffset_t realoffset = 0, offset = 16;
+
+-int ascii_enabled = TRUE;
++bool ascii_enabled = true;
+
+ fileoffset_t file_size = 0, top_pos = 0, cur_pos = 0, mark_point = 0;
+
+@@ -284,13 +284,13 @@
+ }
+ break;
+ case 'f': case 'F':
+- fix_mode = TRUE;
++ fix_mode = true;
+ break;
+ case 'l': case 'L':
+- look_mode = TRUE;
++ look_mode = true;
+ break;
+ case 'e': case 'E':
+- eager_mode = TRUE;
++ eager_mode = true;
+ break;
+ case 'D':
+ write_default_rc();
+@@ -339,11 +339,11 @@
+ "Width reduced to %"OFF"d to fit on the screen", width);
+ }
+ if (4*width+14 > display_cols) {
+- ascii_enabled = FALSE;
++ ascii_enabled = false;
+ if (edit_type == 0)
+ edit_type = 1; /* force to hex mode */
+ } else
+- ascii_enabled = TRUE;
++ ascii_enabled = true;
+ offset = realoffset % width;
+ if (!offset)
+ offset = width;
+@@ -358,11 +358,11 @@
+
+ display_setup();
+
+- display_define_colour(COL_BUFFER, -1, -1, FALSE);
+- display_define_colour(COL_SELECT, 0, 7, TRUE);
+- display_define_colour(COL_STATUS, 11, 4, TRUE);
+- display_define_colour(COL_ESCAPE, 9, 0, FALSE);
+- display_define_colour(COL_INVALID, 11, 0, FALSE);
++ display_define_colour(COL_BUFFER, -1, -1, false);
++ display_define_colour(COL_SELECT, 0, 7, true);
++ display_define_colour(COL_STATUS, 11, 4, true);
++ display_define_colour(COL_ESCAPE, 9, 0, false);
++ display_define_colour(COL_INVALID, 11, 0, false);
+
+ for (i=0; i<256; i++) {
+ sprintf(hex[i], "%02X", i);
+@@ -412,7 +412,7 @@
+ "opened %s (size %"OFF"d == 0x%"OFF"X).",
+ fname, file_size, file_size);
+ }
+- new_file = FALSE;
++ new_file = false;
+ } else {
+ if (look_mode || fix_mode) {
+ fprintf(stderr, "%s: file %s not found, and %s mode active\n",
+@@ -421,19 +421,19 @@
+ }
+ filedata = buf_new_empty();
+ snprintf(message, sizeof(message), "New file %s.", fname);
+- new_file = TRUE;
++ new_file = true;
+ }
+ }
+
+ /*
+- * Save the file. Return TRUE on success, FALSE on error.
++ * Save the file. Return true on success, false on error.
+ */
+-int save_file (void) {
++bool save_file (void) {
+ FILE *fp;
+ fileoffset_t pos = 0;
+
+ if (look_mode)
+- return FALSE; /* do nothing! */
++ return false; /* do nothing! */
+
+ if ( (fp = fopen (filename, "wb")) ) {
+ static char buffer[SAVE_BLKSIZ];
+@@ -446,25 +446,25 @@
+ buf_fetch_data (filedata, buffer, size, pos);
+ if (size != fwrite (buffer, 1, size, fp)) {
+ fclose (fp);
+- return FALSE;
++ return false;
+ }
+ pos += size;
+ }
+ } else
+- return FALSE;
++ return false;
+ fclose (fp);
+- return TRUE;
++ return true;
+ }
+
+ /*
+ * Make a backup of the file, if such has not already been done.
+- * Return TRUE on success, FALSE on error.
++ * Return true on success, false on error.
+ */
+-int backup_file (void) {
++bool backup_file (void) {
+ char backup_name[FILENAME_MAX];
+
+ if (new_file)
+- return TRUE; /* unnecessary - pretend it's done */
++ return true; /* unnecessary - pretend it's done */
+ strcpy (backup_name, filename);
+ #if defined(unix) && !defined(GO32)
+ strcat (backup_name, ".bak");
+@@ -498,7 +498,7 @@
+ int scrsize, scroff, llen, i, j;
+ fileoffset_t currpos;
+ fileoffset_t marktop, markbot;
+- int mark;
++ bool mark;
+ char *p;
+ unsigned char c, *q;
+ char *linebuf;
+@@ -657,15 +657,15 @@
+ display_refresh ();
+ }
+
+-volatile int safe_update, update_required;
++volatile bool safe_update, update_required;
+ void update (void);
+
+ /*
+- * Get a string, in the "minibuffer". Return TRUE on success, FALSE
++ * Get a string, in the "minibuffer". Return true on success, false
+ * on break. Possibly syntax-highlight the entered string for
+ * backslash-escapes, depending on the "highlight" parameter.
+ */
+-int get_str (char *prompt, char *buf, int highlight) {
++bool get_str (char *prompt, char *buf, bool highlight) {
+ int maxlen = 79 - strlen(prompt); /* limit to 80 - who cares? :) */
+ int len = 0;
+ int c;
+@@ -702,17 +702,17 @@
+ display_refresh();
+ if (update_required)
+ update();
+- safe_update = TRUE;
++ safe_update = true;
+ c = display_getkey();
+- safe_update = FALSE;
++ safe_update = false;
+ if (c == 13 || c == 10) {
+ buf[len] = '\0';
+- return TRUE;
++ return true;
+ } else if (c == 27 || c == 7) {
+ display_beep();
+ display_post_error();
+ snprintf(message, sizeof(message), "User Break!");
+- return FALSE;
++ return false;
+ }
+
+ if (c >= 32 && c <= 126) {
+@@ -794,12 +794,12 @@
+ if (safe_update)
+ update();
+ else
+- update_required = TRUE;
++ update_required = true;
+ }
+
+-fileoffset_t parse_num (char *buffer, int *error) {
++fileoffset_t parse_num (char *buffer, bool *error) {
+ if (error)
+- *error = FALSE;
++ *error = false;
+ if (!buffer[strspn(buffer, "0123456789")]) {
+ /* interpret as decimal */
+ return ATOOFF(buffer);
+@@ -812,6 +812,6 @@
+ } else {
+ return 0;
+ if (error)
+- *error = TRUE;
++ *error = true;
+ }
+ }
+diff -Naur tweak-3.02/rcfile.c tweak-3.02.patched/rcfile.c
+--- tweak-3.02/rcfile.c 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/rcfile.c 2021-09-07 14:21:21.903810301 -0400
+@@ -146,7 +146,7 @@
+ char rcbuffer[256];
+ char rcname[FILENAME_MAX];
+ int lineno = 0;
+- int errors = FALSE, errors_here;
++ bool errors = false, errors_here;
+
+ #if defined(unix) && !defined(GO32)
+ rcname[0] = '\0';
+@@ -200,7 +200,7 @@
+ strcpy (rcbuffer, *p++);
+ }
+ lineno++;
+- errors_here = FALSE;
++ errors_here = false;
+
+ /*
+ * Now we have a line from the .rc file, wherever it's
+@@ -242,7 +242,7 @@
+ else {
+ fprintf(stderr, "%s: no key sequence after \"bind\" command"
+ " on line %d of "RCNAME, pname, lineno);
+- errors = TRUE;
++ errors = true;
+ continue;
+ }
+
+@@ -255,8 +255,8 @@
+ if (!*++q) {
+ fprintf(stderr, "%s: nothing follows `^' on line %d"
+ " of "RCNAME, pname, lineno);
+- errors = TRUE;
+- errors_here = TRUE;
++ errors = true;
++ errors_here = true;
+ } else {
+ *s++ = *q++ ^ 0x40;
+ }
+@@ -264,8 +264,8 @@
+ if (!*++q) {
+ fprintf(stderr, "%s: nothing follows `\\' on line %d"
+ " of "RCNAME, pname, lineno);
+- errors = TRUE;
+- errors_here = TRUE;
++ errors = true;
++ errors_here = true;
+ } else if (*q == '\\' || *q == '^') {
+ *s++ = *q++;
+ } else if (isxdigit((unsigned char)*q) &&
+@@ -278,8 +278,8 @@
+ } else {
+ fprintf(stderr, "%s: badly formed `\\' sequence on"
+ " line %d of "RCNAME, pname, lineno);
+- errors = TRUE;
+- errors_here = TRUE;
++ errors = true;
++ errors_here = true;
+ }
+ } else
+ *s++ = *q++;
+@@ -307,7 +307,7 @@
+ fprintf(stderr, "%s: unrecognised key action \"%s\""
+ " at line %d of "RCNAME"\n",
+ pname, r, lineno);
+- errors = TRUE;
++ errors = true;
+ }
+ } else if (!strcmp(q, "width")) {
+ width = atoi(r);
+@@ -317,7 +317,7 @@
+ fprintf(stderr, "%s: unrecognised "RCNAME" directive \"%s\""
+ " at line %d of "RCNAME"\n",
+ pname, q, lineno);
+- errors = TRUE;
++ errors = true;
+ }
+ }
+ if (errors)
+diff -Naur tweak-3.02/slang.c tweak-3.02.patched/slang.c
+--- tweak-3.02/slang.c 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/slang.c 2021-09-07 14:21:21.918810299 -0400
+@@ -69,7 +69,7 @@
+ exit (1);
+ }
+ SLang_set_abort_signal (NULL);
+- SLtt_Use_Ansi_Colors = TRUE;
++ SLtt_Use_Ansi_Colors = true;
+
+ get_screen_size ();
+ if (SLsmg_init_smg () < 0) {
+@@ -109,7 +109,7 @@
+ SLsmg_write_nchars(str, len);
+ }
+
+-void display_define_colour(int colour, int fg, int bg, int reverse)
++void display_define_colour(int colour, int fg, int bg, bool reverse)
+ {
+ static char *colours[16] = {
+ "black", "red", "green", "brown",
+@@ -142,10 +142,15 @@
+
+ int display_getkey(void)
+ {
+- return SLang_getkey();
++ int key = SLang_getkey();
++ if (key == SLANG_GETKEY_ERROR) {
++ /* A failure to read from standard input is fatal */
++ exit(1);
++ }
++ return key;
+ }
+
+-int display_input_to_flush(void)
++bool display_input_to_flush(void)
+ {
+ return SLang_input_pending(0);
+ }
+@@ -153,7 +158,7 @@
+ void display_post_error(void)
+ {
+ SLKeyBoard_Quit = 0;
+- SLang_Error = 0;
++ SLang_set_error (0);
+ }
+
+ void display_recheck_size(void)
+diff -Naur tweak-3.02/tweak.h tweak-3.02.patched/tweak.h
+--- tweak-3.02/tweak.h 2016-03-22 17:12:51.000000000 -0400
++++ tweak-3.02.patched/tweak.h 2021-09-07 14:21:21.903810301 -0400
+@@ -16,12 +16,7 @@
+
+ #endif
+
+-#ifndef FALSE
+-#define FALSE 0
+-#endif
+-#ifndef TRUE
+-#define TRUE 1
+-#endif
++#include <stdbool.h>
+
+ #define EVER ;;
+
+@@ -80,23 +75,25 @@
+ extern char decstatus[], hexstatus[], *statfmt;
+ extern char last_char, *pname, *filename;
+ extern buffer *filedata, *cutbuffer;
+-extern int fix_mode, look_mode, insert_mode, edit_type, finished, marking;
++extern bool fix_mode, look_mode, insert_mode, finished, marking;
++extern int edit_type;
+ extern fileoffset_t file_size, top_pos, cur_pos, mark_point;
+-extern int scrlines, modified, new_file;
++extern int scrlines;
++extern bool modified, new_file;
+ extern fileoffset_t width, offset, realoffset;
+-extern int ascii_enabled;
++extern bool ascii_enabled;
+
+ #ifdef unix
+-extern volatile int safe_update, update_required;
++extern volatile bool safe_update, update_required;
+ extern void update (void);
+ #endif
+
+ extern void fix_offset(void);
+-extern fileoffset_t parse_num (char *buffer, int *error);
++extern fileoffset_t parse_num (char *buffer, bool *error);
+
+ extern void draw_scr (void);
+-extern int backup_file (void);
+-extern int save_file (void);
++extern bool backup_file (void);
++extern bool save_file (void);
+
+ extern void act_self_ins (void);
+ extern keyact parse_action (char *);
+@@ -107,7 +104,7 @@
+ extern Search *build_search (char *, int);
+ void free_search(Search *s);
+
+-extern int get_str (char *, char *, int);
++extern bool get_str (char *, char *, bool);
+ extern int parse_quoted (char *);
+ extern void suspend (void);
+
+@@ -137,11 +134,11 @@
+ extern void display_refresh(void);
+ extern void display_write_str(char *str);
+ extern void display_write_chars(char *str, int len);
+-extern void display_define_colour(int colour, int fg, int bg, int reverse);
++extern void display_define_colour(int colour, int fg, int bg, bool reverse);
+ extern void display_set_colour(int colour);
+ extern void display_clear_to_eol(void);
+ extern int display_getkey(void);
+-extern int display_input_to_flush(void);
++extern bool display_input_to_flush(void);
+ extern void display_post_error(void);
+ extern void display_recheck_size(void);
+
diff --git a/development/tweak/README b/development/tweak/README
index 532a13c0c9..f98032f016 100644
--- a/development/tweak/README
+++ b/development/tweak/README
@@ -1,4 +1,4 @@
-tweak (ncurses-based hex editor)
+tweak (ncurses-based hex editor, with emacs-like keybindings)
Tweak is a hex editor. It allows you to edit a file at very low level,
letting you see the full and exact binary contents of the file. It can
diff --git a/development/tweak/slack-desc b/development/tweak/slack-desc
index a86c024909..a30395cc3f 100644
--- a/development/tweak/slack-desc
+++ b/development/tweak/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-tweak: tweak (ncurses-based hex editor)
+tweak: tweak (ncurses-based hex editor, with emacs-like keybindings)
tweak:
tweak: Tweak is a hex editor. It allows you to edit a file at very low
tweak: level, letting you see the full and exact binary contents of the
diff --git a/development/tweak/tweak.SlackBuild b/development/tweak/tweak.SlackBuild
index 4303be32a1..f623881a0c 100644
--- a/development/tweak/tweak.SlackBuild
+++ b/development/tweak/tweak.SlackBuild
@@ -1,15 +1,22 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tweak
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210907 bkw: update for v3.02+20200601 (git commit ad97e13),
+# which has a few bugfixes. The patch does *not* include the last git
+# commit, d131fe2, which switches from a plain Makefile to autotools.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tweak
-VERSION=${VERSION:-3.02}
+VERSION=${VERSION:-3.02+20200601}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +26,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -40,15 +51,20 @@ fi
set -e
+TARVER=${VERSION/+*}
+PATCH=${VERSION/*+}
+
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 $PRGNAM-$TARVER
+tar xvf $CWD/$PRGNAM-$TARVER.tar.gz
+cd $PRGNAM-$TARVER
chown -R root:root .
chmod 644 *
+[ "$PATCH" != "$VERSION" ] && patch -p1 < $CWD/$PATCH.diff
+
make XFLAGS="$SLKCFLAGS"
install -D -s -m0755 $PRGNAM $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/man/man1
@@ -62,4 +78,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/tweak/tweak.info b/development/tweak/tweak.info
index 96d13aaafd..bc36b5539e 100644
--- a/development/tweak/tweak.info
+++ b/development/tweak/tweak.info
@@ -1,5 +1,5 @@
PRGNAM="tweak"
-VERSION="3.02"
+VERSION="3.02+20200601"
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/tweak/"
DOWNLOAD="https://www.chiark.greenend.org.uk/~sgtatham/tweak/tweak-3.02.tar.gz"
MD5SUM="d50e20d9ed05d7cc5eb04ff3f0bf1d9b"
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/txr/README b/development/txr/README
new file mode 100644
index 0000000000..9f0f053c84
--- /dev/null
+++ b/development/txr/README
@@ -0,0 +1,12 @@
+txr (pattern-based text extraction language)
+
+TXR is a pragmatic, convenient tool ready to take on your daily
+hacking challenges with its dual personality: its whole-document
+pattern matching and extraction language for scraping information from
+arbitrary text sources, and its powerful data-processing language to
+slice through problems like a hot knife through butter. Many tasks
+can be accomplished with TXR "one liners" directly from your system
+prompt. TXR is relatively new: the project started in 2009.
+
+If you want to run the test suite, export MAKETESTS=yes in the
+script's environment.
diff --git a/development/txr/slack-desc b/development/txr/slack-desc
new file mode 100644
index 0000000000..beec320033
--- /dev/null
+++ b/development/txr/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------------------------------------------------------|
+txr: txr (pattern-based text extraction language)
+txr:
+txr: TXR is a pragmatic, convenient tool ready to take on your daily
+txr: hacking challenges with its dual personality: its whole-document
+txr: pattern matching and extraction language for scraping information from
+txr: arbitrary text sources, and its powerful data-processing language to
+txr: slice through problems like a hot knife through butter. Many tasks
+txr: can be accomplished with TXR "one liners" directly from your system
+txr: prompt. TXR is relatively new: the project started in 2009.
+txr:
+txr:
diff --git a/development/txr/txr.SlackBuild b/development/txr/txr.SlackBuild
new file mode 100644
index 0000000000..066ac08740
--- /dev/null
+++ b/development/txr/txr.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for txr
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230117 bkw: update for v284 (which does pass "make tests").
+# 20220518 bkw: Note: txr-274 isn't the latest release, but txr-275
+# fails to pass its own "make tests". I'm submitting the newest
+# version that does pass.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=txr
+VERSION=${VERSION:-284}
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# 20220506 bkw: N.B. this is not a regular autoconf script.
+./configure \
+ --prefix=/usr \
+ --opt-flags="$SLKCFLAGS" \
+ --mandir=man \
+ --parallelmake \
+ --install-prefix=$PKG
+
+make VERBOSE=1
+[ "${MAKETESTS:-no}" = "yes" ] && make tests
+make install
+strip $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/man*/*
+
+# 20220519 bkw: install vim syntax stuff, but don't use
+# the main vim dir with the version number embedded in it
+# (e.g. /usr/share/vim/vim82). vim finds the files just fine here,
+# and they survive across vim updates:
+VIMF=$PKG/usr/share/vim/vimfiles
+mkdir -p $VIMF/{syntax,ftdetect}
+cp -a *.vim $VIMF/syntax
+cat <<EOF >$VIMF/ftdetect/txr.vim
+autocmd BufRead,BufNewFile *.txr set filetype=txr | set lisp
+autocmd BufRead,BufNewFile *.tl,*.tlo set filetype=tl | set lisp
+EOF
+
+# 20220519 bkw: don't include ChangeLog-2009-2015, it's >700KB and the
+# author stopped updating it over 150 releases ago. HACKING-toc.txr is
+# a script, not documentation.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a HACKING RELNOTES $PKGDOC
+ln -s ../../share/$PRGNAM/{META,}LICENSE $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/txr/txr.info b/development/txr/txr.info
new file mode 100644
index 0000000000..2399b3961b
--- /dev/null
+++ b/development/txr/txr.info
@@ -0,0 +1,10 @@
+PRGNAM="txr"
+VERSION="284"
+HOMEPAGE="https://www.nongnu.org/txr/"
+DOWNLOAD="https://www.kylheku.com/cgit/txr/snapshot/txr-284.tar.bz2"
+MD5SUM="8463800c867ac218a68535ff80a8c481"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/txt2man/README b/development/txt2man/README
new file mode 100644
index 0000000000..63f0565426
--- /dev/null
+++ b/development/txt2man/README
@@ -0,0 +1,11 @@
+txt2man (create man pages from plain text)
+
+txt2man converts the input text into nroff/troff standard man(7)
+macros used to format Unix manual pages. Nice pages can be generated
+specially for commands (section 1 or 8) or for C functions reference
+(sections 2, 3), with the ability to recognize and format command and
+function names, flags, types and arguments.
+
+txt2man is also able to recognize and format sections, paragraphs,
+lists (standard, numbered, description, nested), cross references and
+literal display blocks.
diff --git a/development/txt2man/slack-desc b/development/txt2man/slack-desc
new file mode 100644
index 0000000000..c1ed4c00ea
--- /dev/null
+++ b/development/txt2man/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------------------------------------------------------|
+txt2man: txt2man (create man pages from plain text)
+txt2man:
+txt2man: txt2man converts the input text into nroff/troff standard man(7)
+txt2man: macros used to format Unix manual pages. Nice pages can be generated
+txt2man: specially for commands (section 1 or 8) or for C functions reference
+txt2man: (sections 2, 3), with the ability to recognize and format command and
+txt2man: function names, flags, types and arguments.
+txt2man:
+txt2man:
+txt2man:
+txt2man:
diff --git a/development/txt2man/txt2man.SlackBuild b/development/txt2man/txt2man.SlackBuild
new file mode 100644
index 0000000000..714b180dab
--- /dev/null
+++ b/development/txt2man/txt2man.SlackBuild
@@ -0,0 +1,53 @@
+#!/bin/bash
+
+# Slackware build script for txt2man
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=txt2man
+VERSION=${VERSION:-1.7.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+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-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$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 {} +
+
+sed -i 's,/share/man,/man,' Makefile
+mkdir -p $PKG/usr/{bin,man/man1}
+make install prefix=$PKG/usr
+gzip -9 $PKG/usr/man/man*/*
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a COPYING* Change* README* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/txt2man/txt2man.info b/development/txt2man/txt2man.info
new file mode 100644
index 0000000000..359cd4d9a9
--- /dev/null
+++ b/development/txt2man/txt2man.info
@@ -0,0 +1,10 @@
+PRGNAM="txt2man"
+VERSION="1.7.1"
+HOMEPAGE="https://github.com/mvertes/txt2man"
+DOWNLOAD="https://github.com/mvertes/txt2man/archive/txt2man-1.7.1/txt2man-txt2man-1.7.1.tar.gz"
+MD5SUM="0c587fda9780ade673ccbfc6d5b98fc9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/tyrutils-ericw/README b/development/tyrutils-ericw/README
deleted file mode 100644
index 77d6806a2d..0000000000
--- a/development/tyrutils-ericw/README
+++ /dev/null
@@ -1,21 +0,0 @@
-tyrutils-ericw is a branch of Tyrann's quake 1 tools, focused on adding
-lighting features, mostly borrowed from q3map2. There are a few bugfixes
-for qbsp as well. Original readme follows:
-
-A collection of command line utilities for building Quake levels
-and working with various Quake file formats. I need to work on the
-documentation a bit more, but below are some brief descriptions of
-the tools.
-
-Included utilities:
-
- qbsp - Used for turning a .map file into a playable .bsp file.
-
- light - Used for lighting a level after the bsp stage.
- This util was previously known as TyrLite
-
- vis - Creates the potentially visible set (PVS) for a bsp.
-
- bspinfo - Print stats about the data contained in a bsp file.
-
- bsputil - Simple tool for manipulation of bsp file data.
diff --git a/development/tyrutils-ericw/slack-desc b/development/tyrutils-ericw/slack-desc
deleted file mode 100644
index 16b38e55d0..0000000000
--- a/development/tyrutils-ericw/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------------------------------------------------------|
-tyrutils-ericw: tyrutils-ericw (Quake/Hexen 2 Map Compiling Tools)
-tyrutils-ericw:
-tyrutils-ericw: tyrutils-ericw is a branch of Tyrann's quake 1 tools, focused on
-tyrutils-ericw: adding lighting features, mostly borrowed from q3map2. There are a
-tyrutils-ericw: few bugfixes for qbsp as well.
-tyrutils-ericw:
-tyrutils-ericw: Homepage: https://github.com/ericwa/tyrutils-ericw
-tyrutils-ericw:
-tyrutils-ericw:
-tyrutils-ericw:
-tyrutils-ericw:
diff --git a/development/tyrutils-ericw/tyrutils-ericw.SlackBuild b/development/tyrutils-ericw/tyrutils-ericw.SlackBuild
deleted file mode 100644
index d1eb613c04..0000000000
--- a/development/tyrutils-ericw/tyrutils-ericw.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for tyrutils-ericw
-#
-# Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com>
-# All rights reserved.
-#
-# Based on:
-# SBo's cmake-template
-#
-# 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.
-
-PRGNAM=tyrutils-ericw
-VERSION=${VERSION:-0.15.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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-ericw-v$VERSION.tar.gz || tar xvf $CWD/ericw-v$VERSION.tar.gz
-cd $PRGNAM-ericw-v$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Let's compile!
-make
-
-# Copies over compiled binaries
-install -D -m 0755 bin/bspinfo $PKG/usr/bin/bspinfo
-install -D -m 0755 bin/bsputil $PKG/usr/bin/bsputil
-install -D -m 0755 bin/light $PKG/usr/bin/light
-install -D -m 0755 bin/qbsp $PKG/usr/bin/qbsp
-install -D -m 0755 bin/vis $PKG/usr/bin/vis
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.txt COPYING changelog.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:-tgz}
diff --git a/development/tyrutils-ericw/tyrutils-ericw.info b/development/tyrutils-ericw/tyrutils-ericw.info
deleted file mode 100644
index 2587b560ed..0000000000
--- a/development/tyrutils-ericw/tyrutils-ericw.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="tyrutils-ericw"
-VERSION="0.15.4"
-HOMEPAGE="https://github.com/ericwa/tyrutils-ericw"
-DOWNLOAD="https://github.com/ericwa/tyrutils-ericw/archive/ericw-v0.15.4.tar.gz"
-MD5SUM="5c1ac216de0f2e657cf0d0bc7b302ce1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Gethyn ThomasQuail"
-EMAIL="gethyn@bloodbathsoftworks.com"
diff --git a/development/u-boot-tools/u-boot-tools.SlackBuild b/development/u-boot-tools/u-boot-tools.SlackBuild
index 6272ea88f2..5ebd3fc835 100644
--- a/development/u-boot-tools/u-boot-tools.SlackBuild
+++ b/development/u-boot-tools/u-boot-tools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for U-Boot Tools
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=u-boot-tools
SRCNAM=u-boot
VERSION=${VERSION:-2017.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ucblogo/01-makefiles.patch b/development/ucblogo/01-makefiles.patch
deleted file mode 100644
index a50f032da7..0000000000
--- a/development/ucblogo/01-makefiles.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-diff -Nur ucblogo-6.0/docs/makefile ucblogo-6.0.new/docs/makefile
---- ucblogo-6.0/docs/makefile 2008-08-19 21:56:59.000000000 +0200
-+++ ucblogo-6.0.new/docs/makefile 2014-12-19 01:16:37.021678595 +0100
-@@ -1,6 +1,6 @@
- BUILDIR = `pwd`
- INFODIR = $(prefix)/info
--DOCSDIR = $(LIBLOC)/docs
-+DOCSDIR = $(prefix)/doc/ucblogo-6.0
- HTMLDIR = $(DOCSDIR)/html
-
- all: usermanual.ps usermanual.pdf html/usermanual_1.html ucblogo.info
-@@ -30,9 +30,11 @@
- ship:
- -rm -f *.{aux,cp,cps,dvi,fn,ky,log,pg,toc,tp,vr}
-
--install: all
-+#install: all
-+install:
- for d in $(INFODIR) $(DOCSDIR) $(HTMLDIR); do [ -d $$d ] || mkdir -p $$d || exit 1; done
-- -cp -f *.info* $(INFODIR)/.
-+ -gzip *.info*
-+ -cp -f *.info.gz* $(INFODIR)/.
- -cp -f html/*.html $(HTMLDIR)/.
- -cp -f usermanual.ps $(DOCSDIR)/.
- -cp -f usermanual.pdf $(DOCSDIR)/.
-diff -Nur ucblogo-6.0/makefile.in ucblogo-6.0.new/makefile.in
---- ucblogo-6.0/makefile.in 2008-09-14 01:27:17.000000000 +0200
-+++ ucblogo-6.0.new/makefile.in 2014-12-19 00:46:50.621593132 +0100
-@@ -24,7 +24,7 @@
- logo: $(OBJS)
- $(LINKER) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o logo
-
--everything: logo logolib/Messages helpfiles helpfiles/HELPCONTENTS
-+all: logo logolib/Messages helpfiles helpfiles/HELPCONTENTS
- #logo-mode
-
- mem.o: mem.c
-@@ -71,13 +71,14 @@
- cd docs; $(MAKE) ship
-
- install: all
-- for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $$d ] || mkdir -p $$d || exit 1; done
-- cp logo $(BINDIR)/.
-- cp -f logolib/* $(LIBLOC)/logolib/.
-- cp -f helpfiles/* $(LIBLOC)/helpfiles/.
-- cp -f csls/* $(LIBLOC)/csls/.
-+# for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $$d ] || mkdir -p $(DESTDIR)/$$d || exit 1; done
-+ for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do mkdir -p $(DESTDIR)/$$d || exit 1; done
-+ cp logo $(DESTDIR)$(BINDIR)/.
-+ cp -f logolib/* $(DESTDIR)$(LIBLOC)/logolib/.
-+ cp -f helpfiles/* $(DESTDIR)$(LIBLOC)/helpfiles/.
-+ cp -rf csls/* $(DESTDIR)$(LIBLOC)/csls/.
- # (cd emacs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) $(MAKE) install)
-- (cd docs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) $(MAKE) install)
-+ (cd docs; prefix=$(DESTDIR)$(prefix) LIBLOC=$(DESTDIR)$(LIBLOC) BINDIR=$(DESTDIR)$(BINDIR) $(MAKE) install)
- # prefix=$(prefix); LIBLOC=$(LIBLOC); BINDIR=$(BINDIR); export prefix LIBLOC BINDIR; cd emacs; $(MAKE) install
-
- logo-mode:
-@@ -85,7 +86,7 @@
- # @prefix=$(prefix); LIBLOC=$(LIBLOC); BINDIR=$(BINDIR); export prefix LIBLOC BINDIR; cd emacs; $(MAKE)
-
- make-docs:
-- (cd docs; prefix=$(prefix) LIBLOC=$(LIBLOC) $(MAKE) all)
-+ (cd docs; prefix=$(DESTDIR)$(prefix) LIBLOC=$(DESTDIR)$(LIBLOC) $(MAKE) all)
-
- mac: all
- mkdir -p UCBLogo.app
diff --git a/development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch b/development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch
deleted file mode 100644
index 47e6efb567..0000000000
--- a/development/ucblogo/ucblogo-6.0-include-math.h-earlier.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -upr ucblogo-6.0.orig/coms.c ucblogo-6.0/coms.c
---- ucblogo-6.0.orig/coms.c 2008-08-23 22:51:14.000000000 +0300
-+++ ucblogo-6.0/coms.c 2015-09-09 19:48:45.375415764 +0300
-@@ -24,10 +24,11 @@
- extern int check_wx_stop(int force_yield);
- #endif
-
-+#include <math.h>
-+
- #define WANT_EVAL_REGS 1
- #include "logo.h"
- #include "globals.h"
--#include <math.h>
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #endif
-diff -upr ucblogo-6.0.orig/graphics.c ucblogo-6.0/graphics.c
---- ucblogo-6.0.orig/graphics.c 2008-09-03 20:58:13.000000000 +0300
-+++ ucblogo-6.0/graphics.c 2015-09-09 19:49:04.289294029 +0300
-@@ -22,11 +22,12 @@
- #ifdef WIN32
- #include <windows.h>
- #endif /* WIN32 */
--
-+
-+#include <math.h>
-+
- #define WANT_EVAL_REGS 1
- #include "logo.h"
- /* #include "globals.h" has been moved further down */
--#include <math.h>
-
- #ifdef HAVE_WX
- #include "wxGraphics.h"
diff --git a/development/ucblogo/ucblogo.SlackBuild b/development/ucblogo/ucblogo.SlackBuild
index 070539b9c8..46cc436533 100644
--- a/development/ucblogo/ucblogo.SlackBuild
+++ b/development/ucblogo/ucblogo.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ucblogo
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ucblogo
-VERSION=${VERSION:-6.0}
+VERSION=${VERSION:-6.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -42,7 +52,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar zxvf $CWD/${PRGNAM}.tar.gz
+tar zxvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -51,18 +61,15 @@ 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/01-makefiles.patch
-sed -i -e 's:lib/logo:share/logo:' makefile.in
-# Fix build with gcc-5 (thanks to Arch Linux)
-patch -p1 < $CWD/ucblogo-6.0-include-math.h-earlier.patch
-
CFLAGS="$SLKCFLAGS -std=gnu89" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --with-x \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --infodir=/usr/info \
+ --enable-x11 \
--build=$ARCH-slackware-linux
make
@@ -71,13 +78,18 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README TODO changes.txt gpl plm usermanual logologo.ico logologo.png ucblogo.png ucblogo.xpm \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README* TODO changes.txt gpl.html plm usermanual logologo.ico \
+ logologo.png ucblogo.png ucblogo.xpm $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/ucblogo/ucblogo.info b/development/ucblogo/ucblogo.info
index 9ac4719008..44ee232b2b 100644
--- a/development/ucblogo/ucblogo.info
+++ b/development/ucblogo/ucblogo.info
@@ -1,8 +1,8 @@
PRGNAM="ucblogo"
-VERSION="6.0"
+VERSION="6.2.2"
HOMEPAGE="http://www.cs.berkeley.edu/~bh/logo.html"
-DOWNLOAD="ftp://ftp.cs.berkeley.edu/pub/ucblogo/ucblogo.tar.gz"
-MD5SUM="36a56765b18136c817880c5381af196b"
+DOWNLOAD="https://github.com/jrincayc/ucblogo-code/releases/download/version_6.2.2/ucblogo-6.2.2.tar.gz"
+MD5SUM="9f92d6a95afa7030c9beba47345cf29d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libbsd"
diff --git a/development/ucpp/ucpp.SlackBuild b/development/ucpp/ucpp.SlackBuild
index 4aed6471f8..d38723815b 100644
--- a/development/ucpp/ucpp.SlackBuild
+++ b/development/ucpp/ucpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ucpp
@@ -22,10 +22,13 @@
# 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=ucpp
VERSION=${VERSION:-1.3.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -92,8 +102,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/udis86/udis86.SlackBuild b/development/udis86/udis86.SlackBuild
index 57fd0792cf..fdfb96c7a9 100644
--- a/development/udis86/udis86.SlackBuild
+++ b/development/udis86/udis86.SlackBuild
@@ -1,49 +1,59 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for udis86
-# Copyright 2013 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2013-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# 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.
+# 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=udis86
VERSION=${VERSION:-1.7.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="INSTALL README"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,11 +75,7 @@ rm -rf $PRGNAM-$VERSION
tar -xzvf $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 {} \;
+chmod -R u+w,go-w,a+rX-st .
# Respect --docdir.
sed -i '/^docdir = /s/\${datadir}\/docs\/udis86/@docdir@/' \
@@ -77,7 +83,6 @@ sed -i '/^docdir = /s/\${datadir}\/docs\/udis86/@docdir@/' \
docs/x86/Makefile.am
autoreconf -vif
-CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -88,11 +93,16 @@ CFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared \
--disable-static \
- --build=$ARCH-slackware-linux
+ --disable-dependency-tracking \
+ --build=$ARCH-slackware-linux \
+ CFLAGS="$SLKCFLAGS" \
make
+make check
make install-strip DESTDIR=$PKG
+find $PKG/usr/lib${LIBDIRSUFFIX} -name '*.la' -delete
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -101,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/udis86/udis86.info b/development/udis86/udis86.info
index 55561be5e6..614c8174f3 100644
--- a/development/udis86/udis86.info
+++ b/development/udis86/udis86.info
@@ -1,7 +1,7 @@
PRGNAM="udis86"
VERSION="1.7.2"
HOMEPAGE="http://udis86.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/udis86/udis86-1.7.2.tar.gz"
+DOWNLOAD="https://sourceforge.net/projects/udis86/files/udis86/1.7/udis86-1.7.2.tar.gz"
MD5SUM="b7def25257afb612e8da052ee6759dac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/development/uemacs/uemacs.SlackBuild b/development/uemacs/uemacs.SlackBuild
index 25031b0592..9706db5d43 100644
--- a/development/uemacs/uemacs.SlackBuild
+++ b/development/uemacs/uemacs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uemacs
@@ -23,10 +23,13 @@
# 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=uemacs
VERSION=${VERSION:-20141208}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -93,4 +103,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/uemacs/uemacs.info b/development/uemacs/uemacs.info
index 9e52ac31bb..e365665174 100644
--- a/development/uemacs/uemacs.info
+++ b/development/uemacs/uemacs.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jason Graham"
-EMAIL="jgraha8@gmail.com"
+EMAIL="jgraham@compukix.net"
diff --git a/development/uftrace/README b/development/uftrace/README
new file mode 100644
index 0000000000..e3d851eec1
--- /dev/null
+++ b/development/uftrace/README
@@ -0,0 +1,13 @@
+uftrace is a function call graph tracer for C, C++, Rust and Python
+programs.
+
+It hooks into the entry and exit of each function, recording timestamps
+as well as the function's arguments and return values. uftrace is
+capable of tracing both user and kernel functions, as well as library
+functions and system events providing an integrated execution flow in a
+single timeline.
+
+Initially, uftrace only supported function tracing with compiler
+support. However, it now allows users to trace function calls without
+recompilation by analyzing instructions in each function prologue and
+dynamically and selectively patching those instructions.
diff --git a/development/uftrace/slack-desc b/development/uftrace/slack-desc
new file mode 100644
index 0000000000..9c0e3d2c89
--- /dev/null
+++ b/development/uftrace/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------------------------------------------------------|
+uftrace: uftrace (Function call graph tracer for C, C++, Rust and Python)
+uftrace:
+uftrace: It hooks into the entry and exit of each function, recording
+uftrace: timestamps as well as the function's arguments and return values.
+uftrace: uftrace is capable of tracing both user and kernel functions, as well
+uftrace: as library functions and system events providing an integrated
+uftrace: execution flow in a single timeline.
+uftrace:
+uftrace: Homepage: https://github.com/namhyung/uftrace
+uftrace:
+uftrace:
diff --git a/development/uftrace/uftrace.SlackBuild b/development/uftrace/uftrace.SlackBuild
new file mode 100644
index 0000000000..56c2fa3604
--- /dev/null
+++ b/development/uftrace/uftrace.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for uftrace
+
+# Copyright 2023-2024 Ebben Aries <slackbuilds@dscp.org>
+# 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=uftrace
+VERSION=${VERSION:-20240313_1919a15}
+GITHASH=${GITHASH:-1919a15cd71dbb9fed4138923a1954c79b638796}
+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-$GITHASH
+tar xvf $CWD/$PRGNAM-$GITHASH.tar.?z || exit 1
+cd $PRGNAM-$GITHASH || exit 1
+
+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 {} \;
+
+# Configure, build, and install:
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --mandir=/usr/man \
+ --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 NEWS README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/uftrace/uftrace.info b/development/uftrace/uftrace.info
new file mode 100644
index 0000000000..d8e5473764
--- /dev/null
+++ b/development/uftrace/uftrace.info
@@ -0,0 +1,10 @@
+PRGNAM="uftrace"
+VERSION="20240313_1919a15"
+HOMEPAGE="https://github.com/namhyung/uftrace"
+DOWNLOAD="https://github.com/namhyung/uftrace/archive/1919a15/uftrace-1919a15cd71dbb9fed4138923a1954c79b638796.tar.gz"
+MD5SUM="60a04a7e30278ce181475ef2751463da"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="capstone"
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/development/uncrustify/uncrustify.SlackBuild b/development/uncrustify/uncrustify.SlackBuild
index 7b170d05ad..6a8c45c795 100644
--- a/development/uncrustify/uncrustify.SlackBuild
+++ b/development/uncrustify/uncrustify.SlackBuild
@@ -1,13 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uncrustify
-
+# Copyright 2015-2023, Zhu Qun-Ying
+#
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uncrustify
-VERSION=${VERSION:-0.71.0}
+VERSION=${VERSION:-0.78.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -48,13 +59,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
- cmake \
+ cmake -G Ninja \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
+ DESTDIR=$PKG ninja install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -64,12 +74,13 @@ mv $PKG/usr/share/man $PKG/usr
gzip -9 $PKG/usr/man/man1/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog documentation \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a documentation $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/uncrustify/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/uncrustify/uncrustify.info b/development/uncrustify/uncrustify.info
index 4c5514fb7e..50be463155 100644
--- a/development/uncrustify/uncrustify.info
+++ b/development/uncrustify/uncrustify.info
@@ -1,8 +1,8 @@
PRGNAM="uncrustify"
-VERSION="0.71.0"
+VERSION="0.78.1"
HOMEPAGE="http://uncrustify.sourceforge.net/"
-DOWNLOAD="https://github.com/uncrustify/uncrustify/archive/uncrustify-0.71.0/uncrustify-uncrustify-0.71.0.tar.gz"
-MD5SUM="748482d4c16e2de966505c7e3829d925"
+DOWNLOAD="https://github.com/uncrustify/uncrustify/archive/uncrustify-0.78.1/uncrustify-uncrustify-0.78.1.tar.gz"
+MD5SUM="55820a8a6729016b6e91d27a108a4a6f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/unicorn/README b/development/unicorn/README
new file mode 100644
index 0000000000..811082b62a
--- /dev/null
+++ b/development/unicorn/README
@@ -0,0 +1,14 @@
+Unicorn is a lightweight, multi-platform, multi-architecture CPU
+emulator framework, based on QEMU.
+
+Unicorn offers some unparalleled features:
+
+- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, PowerPC, RISCV,
+ SPARC, S390X, TriCore and X86 (16, 32, 64-bit)
+- Clean/simple/lightweight/intuitive architecture-neutral API
+- Implemented in pure C language, with bindings for Crystal, Clojure,
+ Visual Basic, Perl, Rust, Ruby, Python, Java, .NET, Go, Delphi/Free
+ Pascal, Haskell, Pharo, and Lua.
+- High performance via Just-In-Time compilation
+- Support for fine-grained instrumentation at various levels
+- Thread-safety by design
diff --git a/development/unicorn/slack-desc b/development/unicorn/slack-desc
new file mode 100644
index 0000000000..49343a4aca
--- /dev/null
+++ b/development/unicorn/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------------------------------------------------------|
+unicorn: unicorn (CPU emulator framework)
+unicorn:
+unicorn: Unicorn is a lightweight multi-platform, multi-architecture CPU
+unicorn: emulator framework.
+unicorn:
+unicorn:
+unicorn:
+unicorn:
+unicorn:
+unicorn: Homepage: https://www.unicorn-engine.org/
+unicorn:
diff --git a/development/unicorn/unicorn.SlackBuild b/development/unicorn/unicorn.SlackBuild
new file mode 100644
index 0000000000..7908715eb9
--- /dev/null
+++ b/development/unicorn/unicorn.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for Unicorn
+
+# Copyright 2022 pyllyukko
+# 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=unicorn
+VERSION=${VERSION:-2.0.1.post1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ TODO SECURITY.md README.md ChangeLog CREDITS.TXT COPYING_GLIB COPYING.LGPL2 COPYING AUTHORS.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/development/unicorn/unicorn.info b/development/unicorn/unicorn.info
new file mode 100644
index 0000000000..a2a0d429a8
--- /dev/null
+++ b/development/unicorn/unicorn.info
@@ -0,0 +1,10 @@
+PRGNAM="unicorn"
+VERSION="2.0.1.post1"
+HOMEPAGE="https://www.unicorn-engine.org/"
+DOWNLOAD="https://github.com/unicorn-engine/unicorn/archive/2.0.1.post1/unicorn-2.0.1.post1.tar.gz"
+MD5SUM="2a88c852c43e11edb89687aad90588e6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="pyllyukko"
+EMAIL="pyllyukko@maimed.org"
diff --git a/development/unifdef/unifdef.SlackBuild b/development/unifdef/unifdef.SlackBuild
index e6aa66523f..7f6f7da067 100644
--- a/development/unifdef/unifdef.SlackBuild
+++ b/development/unifdef/unifdef.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for unifdef
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unifdef
VERSION=${VERSION:-2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -73,4 +80,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/unifdef/unifdef.info b/development/unifdef/unifdef.info
index df9a902bbd..7b03bbddcb 100644
--- a/development/unifdef/unifdef.info
+++ b/development/unifdef/unifdef.info
@@ -1,10 +1,10 @@
PRGNAM="unifdef"
VERSION="2.12"
-HOMEPAGE="http://dotat.at/prog/unifdef/"
-DOWNLOAD="http://dotat.at/prog/unifdef/unifdef-2.12.tar.xz"
+HOMEPAGE="https://dotat.at/prog/unifdef/"
+DOWNLOAD="https://dotat.at/prog/unifdef/unifdef-2.12.tar.xz"
MD5SUM="ae8c0b3b4c43c1f6bc5f32412a820818"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/unittest-cpp/unittest-cpp.SlackBuild b/development/unittest-cpp/unittest-cpp.SlackBuild
index 94091f4e61..061e9fea38 100644
--- a/development/unittest-cpp/unittest-cpp.SlackBuild
+++ b/development/unittest-cpp/unittest-cpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for unittest-cpp
@@ -22,10 +22,13 @@
# 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=unittest-cpp
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -95,4 +105,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/universal-ctags/universal-ctags.SlackBuild b/development/universal-ctags/universal-ctags.SlackBuild
index af29f706bd..7f03ab26d4 100644
--- a/development/universal-ctags/universal-ctags.SlackBuild
+++ b/development/universal-ctags/universal-ctags.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for universal-ctags
-# Copyright 2015-2019 Eugene Wissner, Germany, Dachau
+# Copyright 2015-2023 Eugene Wissner, Mannheim, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,13 @@
# 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=universal-ctags
-VERSION=${VERSION:-86bdb84}
-GITVERSION=${GITVERSION:-86bdb84ce1fc25239c02121343cec897c12b9ffa}
+VERSION=${VERSION:-6.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +39,14 @@ if [ -z "$ARCH" ]; then
fi
SRCNAM=ctags
-CWD=$(pwd)
+# 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}
@@ -61,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$GITVERSION
-tar -Jxvf $CWD/$SRCNAM-$GITVERSION.tar.xz
-cd $SRCNAM-$GITVERSION
+rm -rf $SRCNAM-$VERSION
+tar -xvf $CWD/$SRCNAM-$VERSION.tar.?z*
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -102,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/universal-ctags/universal-ctags.info b/development/universal-ctags/universal-ctags.info
index e9e68bd0df..89a2593a1e 100644
--- a/development/universal-ctags/universal-ctags.info
+++ b/development/universal-ctags/universal-ctags.info
@@ -1,8 +1,8 @@
PRGNAM="universal-ctags"
-VERSION="86bdb84"
-HOMEPAGE="https://ctags.io/"
-DOWNLOAD="https://download.dlackware.com/hosted-sources/universal-ctags/ctags-86bdb84ce1fc25239c02121343cec897c12b9ffa.tar.xz"
-MD5SUM="3b86aa2c662ce77e3d0d2ae0d561481a"
+VERSION="6.1.0"
+HOMEPAGE="https://ctags.io"
+DOWNLOAD="https://download.dlackware.com/hosted-sources/universal-ctags/ctags-6.1.0.tar.gz"
+MD5SUM="eb0047378f0f49b013de032a7530caf7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"
diff --git a/development/unreliablefs/README b/development/unreliablefs/README
new file mode 100644
index 0000000000..4d99b18a7b
--- /dev/null
+++ b/development/unreliablefs/README
@@ -0,0 +1,3 @@
+unreliablefs is a FUSE-based fault injection filesystem.
+It allows testing handling of filesystem issues and supports
+changing fault-injections in runtime using simple configuration file.
diff --git a/development/unreliablefs/slack-desc b/development/unreliablefs/slack-desc
new file mode 100644
index 0000000000..46c5e6768d
--- /dev/null
+++ b/development/unreliablefs/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------------------------------------------------------|
+unreliablefs: unreliablefs (a FUSE-based fault injection filesystem)
+unreliablefs:
+unreliablefs: It allows testing handling of filesystem issues and supports
+unreliablefs: changing fault-injections in runtime using simple configuration file.
+unreliablefs:
+unreliablefs:
+unreliablefs:
+unreliablefs:
+unreliablefs:
+unreliablefs:
+unreliablefs:
diff --git a/development/unreliablefs/unreliablefs.SlackBuild b/development/unreliablefs/unreliablefs.SlackBuild
new file mode 100644
index 0000000000..7329d28b32
--- /dev/null
+++ b/development/unreliablefs/unreliablefs.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for unreliablefs
+
+# Copyright 2022 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=unreliablefs
+VERSION=${VERSION:-0.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+ make install 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/man/man1 $PKG/usr/man/man5
+mv $PKG/usr/share/man/*.1 $PKG/usr/man/man1
+mv $PKG/usr/share/man/*.5 $PKG/usr/man/man5
+rmdir $PKG/usr/share/man $PKG/usr/share
+
+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 \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/unreliablefs/unreliablefs.info b/development/unreliablefs/unreliablefs.info
new file mode 100644
index 0000000000..d77ed39f76
--- /dev/null
+++ b/development/unreliablefs/unreliablefs.info
@@ -0,0 +1,10 @@
+PRGNAM="unreliablefs"
+VERSION="0.2.0"
+HOMEPAGE="https://ligurio.github.io/unreliablefs/unreliablefs.1.html"
+DOWNLOAD="https://github.com/ligurio/unreliablefs/archive/0.2.0/unreliablefs-0.2.0.tar.gz"
+MD5SUM="2f532eab8c2e65e8a9ccfaf5a6bce587"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/development/uprog2/README b/development/uprog2/README
new file mode 100644
index 0000000000..741cd84ea7
--- /dev/null
+++ b/development/uprog2/README
@@ -0,0 +1 @@
+ UPROG2: Universeller Controller Programmer fur Linux
diff --git a/development/uprog2/slack-desc b/development/uprog2/slack-desc
new file mode 100644
index 0000000000..b96b7bb449
--- /dev/null
+++ b/development/uprog2/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------------------------------------------------------|
+uprog2: uprog2 (UPROG2: Universeller Programmer fur Linux)
+uprog2:
+uprog2:
+uprog2:
+uprog2: Universal microcontroller progammer for Linux
+uprog2:
+uprog2:
+uprog2:
+uprog2:
+uprog2:
+uprog2:
diff --git a/development/uprog2/uprog2.SlackBuild b/development/uprog2/uprog2.SlackBuild
new file mode 100644
index 0000000000..3f57a75844
--- /dev/null
+++ b/development/uprog2/uprog2.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for uprog2
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=uprog2
+VERSION=${VERSION:-1.42}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=$PRGNAM-v$VERSION-release
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION; cd $_
+tar xvf $CWD/$SRCNAM.tar.bz2
+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 {} \;
+
+
+cd source/HOST
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make
+cd ../../
+
+install -d $PKG/usr/bin
+install -m 0755 source/HOST/uprog2 $PKG/usr/bin
+
+mkdir -p $PKG/usr/libexec/$PRGNAM
+cp -av sys/{prog_ftdi,reprog_ftdi} $PKG/usr/libexec/$PRGNAM
+
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -av sys/{96-uprog2.rules,uprog2.conf,vanilla.conf} $PKG/usr/share/$PRGNAM
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING doc \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/uprog2/uprog2.info b/development/uprog2/uprog2.info
new file mode 100644
index 0000000000..52c05fcadc
--- /dev/null
+++ b/development/uprog2/uprog2.info
@@ -0,0 +1,10 @@
+PRGNAM="uprog2"
+VERSION="1.42"
+HOMEPAGE="https://www.jcwolfram.de/projekte/uprog2"
+DOWNLOAD="https://www.jcwolfram.de/downloads/files/uprog2/uprog2-v1.42-release.tar.bz2"
+MD5SUM="f8e00f5d81ac8235a4a034ead4fb6a5a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libftdi1"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/urjtag/urjtag.SlackBuild b/development/urjtag/urjtag.SlackBuild
index 039cbab0b4..66b1cc5a11 100644
--- a/development/urjtag/urjtag.SlackBuild
+++ b/development/urjtag/urjtag.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for urjtag
@@ -22,10 +22,13 @@
# 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=urjtag
-VERSION=${VERSION:-2017.10}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2021.03}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -94,8 +104,10 @@ cp -a ABOUT-NLS AUTHORS COPYING INSTALL NEWS README THANKS ChangeLog \
$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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/urjtag/urjtag.info b/development/urjtag/urjtag.info
index b7e43fe7ff..038f6ce1e4 100644
--- a/development/urjtag/urjtag.info
+++ b/development/urjtag/urjtag.info
@@ -1,8 +1,8 @@
PRGNAM="urjtag"
-VERSION="2017.10"
+VERSION="2021.03"
HOMEPAGE="http://urjtag.org/"
-DOWNLOAD="https://downloads.sourceforge.net/project/urjtag/urjtag/2017.10/urjtag-2017.10.tar.xz"
-MD5SUM="1af340aff8200f1be347394d612a97c2"
+DOWNLOAD="https://downloads.sourceforge.net/project/urjtag/urjtag/2021.03/urjtag-2021.03.tar.xz"
+MD5SUM="3bddb9c7ab718cd9b8ad2fba2608cbec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/urn/urn.SlackBuild b/development/urn/urn.SlackBuild
index e9c5d11694..307402f300 100644
--- a/development/urn/urn.SlackBuild
+++ b/development/urn/urn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for urn
# Copyright 2020 abooksigun <abooksigun09@gmail.com>
@@ -21,26 +21,36 @@
# 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=urn
VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,4 +106,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/uz80as/README b/development/uz80as/README
index e69e0cf8bf..0c6bfde36c 100644
--- a/development/uz80as/README
+++ b/development/uz80as/README
@@ -18,3 +18,4 @@ Currently, uz80as can assemble for these microprocessors:
- Datapoint 2200 (versions I & II)
- Intel 4004, 4040, 8008, 8021, 8022, 8041, 8048, 8051, 8080, 8085
- Motorola 6800, 6801, 68HC11
+ - RCA 1802
diff --git a/development/uz80as/slack-desc b/development/uz80as/slack-desc
index 2a1f5216aa..12fe0f8377 100644
--- a/development/uz80as/slack-desc
+++ b/development/uz80as/slack-desc
@@ -13,7 +13,7 @@ uz80as: Its syntax is compatible with TASM (Telemark cross assembler).
uz80as: uz80as can assemble for the Zilog Z80, Hitachi HD64180,
uz80as: Sharp LR35902 (Nintendo Gameboy CPU), MOS 6502, Rockwell R6501/02/29,
uz80as: California Micro Devices G65SC02, Western Design Center W65C02S,
-uz80as: Datapoint 2200 (versions I & II), Intel 4004/40,
+uz80as: Datapoint 2200 (versions I & II), Intel 4004/40, RCA 1802,
uz80as: Intel 8008/21/22/41/48/51/80/85, Motorola 6800/01/HC11.
uz80as:
uz80as: https://jorgicor.niobe.org/uz80as
diff --git a/development/uz80as/uz80as.SlackBuild b/development/uz80as/uz80as.SlackBuild
index f3647ee810..9a271fe256 100644
--- a/development/uz80as/uz80as.SlackBuild
+++ b/development/uz80as/uz80as.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uz80as
-# Copyright 2020 Jorge Giner Cordero
+# Copyright 2023 Jorge Giner Cordero
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=uz80as
-VERSION=${VERSION:-1.11}
+VERSION=${VERSION:-2.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -101,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/uz80as/uz80as.info b/development/uz80as/uz80as.info
index 07f0bafee5..e288169dbc 100644
--- a/development/uz80as/uz80as.info
+++ b/development/uz80as/uz80as.info
@@ -1,8 +1,8 @@
PRGNAM="uz80as"
-VERSION="1.11"
+VERSION="2.01"
HOMEPAGE="https://jorgicor.niobe.org/uz80as"
-DOWNLOAD="https://jorgicor.niobe.org/uz80as/uz80as-1.11.tar.gz"
-MD5SUM="990e7f4b41358aa42766d917d077f2c7"
+DOWNLOAD="https://jorgicor.niobe.org/uz80as/uz80as-2.01.tar.gz"
+MD5SUM="11134b2d3b740fd2305641cc96ea7a10"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/vala-12/README b/development/vala-12/README
deleted file mode 100644
index 5fe9e1d676..0000000000
--- a/development/vala-12/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Vala is a new programming language that aims to bring modern
-programming language features to GNOME developers without imposing
-any additional runtime requirements and without using a different ABI
-compared to applications and libraries written in C.
-
-Note: This version of Vala is obsolete, but is required by Shotwell
-0.11.6.
diff --git a/development/vala-12/slack-desc b/development/vala-12/slack-desc
deleted file mode 100644
index 4aff8933ff..0000000000
--- a/development/vala-12/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------------------------------------------------------|
-vala-12: vala-12 (Compiler for the GObject type system)
-vala-12:
-vala-12: Vala is a new programming language that aims to bring modern
-vala-12: programming language features to GNOME developers without imposing
-vala-12: any additional runtime requirements and without using a different
-vala-12: ABI compared to applications and libraries written in C.
-vala-12:
-vala-12:
-vala-12:
-vala-12:
-vala-12:
diff --git a/development/vala-12/vala-12.SlackBuild b/development/vala-12/vala-12.SlackBuild
deleted file mode 100644
index 97876452de..0000000000
--- a/development/vala-12/vala-12.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Vala
-
-# Copyright 2009-2012 Erik W. Hanson, Minneapolis, MN, USA
-# All rights reserved.
-#
-# Modified by Brad Hermanson
-#
-# 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.
-
-PRGNAM=vala-12
-VERSION=${VERSION:-0.12.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=vala
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man/ \
- --disable-static \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-# We don't want to overwrite files that are included in other
-# vala packages.
-mv $PKG/usr/share/aclocal/vala.m4 $PKG/usr/share/aclocal/vala-12.m4
-rm $PKG/usr/bin/vala $PKG/usr/bin/valac
-
-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 ChangeLog INSTALL MAINTAINERS NEWS README THANKS \
- $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:-tgz}
diff --git a/development/vala-12/vala-12.info b/development/vala-12/vala-12.info
deleted file mode 100644
index 797b7185c6..0000000000
--- a/development/vala-12/vala-12.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vala-12"
-VERSION="0.12.1"
-HOMEPAGE="http://live.gnome.org/Vala"
-DOWNLOAD="http://download.gnome.org/sources/vala/0.12/vala-0.12.1.tar.xz"
-MD5SUM="27e6e852b8f6b5695654029b7914b89d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Brad Hermanson"
-EMAIL="apeitheo@gmail.com"
diff --git a/development/vala-language-server/README b/development/vala-language-server/README
new file mode 100644
index 0000000000..6c4516fa9d
--- /dev/null
+++ b/development/vala-language-server/README
@@ -0,0 +1,2 @@
+This is a language server for the Vala programming language.
+
diff --git a/development/vala-language-server/slack-desc b/development/vala-language-server/slack-desc
new file mode 100644
index 0000000000..50d15cc893
--- /dev/null
+++ b/development/vala-language-server/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------------------------------------------------------|
+vala-language-server: vala-language-server (Code Intelligence for Vala & Genie)
+vala-language-server:
+vala-language-server: This is a language server for the Vala programming language.
+vala-language-server:
+vala-language-server:
+vala-language-server:
+vala-language-server:
+vala-language-server:
+vala-language-server:
+vala-language-server:
+vala-language-server:
diff --git a/development/vala-language-server/vala-language-server.SlackBuild b/development/vala-language-server/vala-language-server.SlackBuild
new file mode 100644
index 0000000000..df7405c989
--- /dev/null
+++ b/development/vala-language-server/vala-language-server.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for vala-language-server
+
+# Copyright 2023 Charadon US
+# 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=vala-language-server
+VERSION=${VERSION:-0.48.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dman_pages=enabled \
+ -Dplugins=true
+ "${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
+
+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 $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vala-language-server/vala-language-server.info b/development/vala-language-server/vala-language-server.info
new file mode 100644
index 0000000000..8fda8898b2
--- /dev/null
+++ b/development/vala-language-server/vala-language-server.info
@@ -0,0 +1,10 @@
+PRGNAM="vala-language-server"
+VERSION="0.48.7"
+HOMEPAGE="https://github.com/vala-lang/vala-language-server"
+DOWNLOAD="https://github.com/vala-lang/vala-language-server/releases/download/0.48.7/vala-language-server-0.48.7.tar.xz"
+MD5SUM="05923109090de2a64d2549555a71bcf4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="jsonrpc-glib scdoc"
+MAINTAINER="Charadon"
+EMAIL="dev@iotib.net"
diff --git a/development/vala/README b/development/vala/README
deleted file mode 100644
index 8c6d4c8a21..0000000000
--- a/development/vala/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Vala is a new programming language that aims to bring modern programming
-language features to GNOME developers without imposing any additional
-runtime requirements and without using a different ABI compared to
-applications and libraries written in C.
diff --git a/development/vala/patch_support-gtk318.diff b/development/vala/patch_support-gtk318.diff
deleted file mode 100644
index cace5971c7..0000000000
--- a/development/vala/patch_support-gtk318.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- vala-0.34.2/vapi/gtk+-3.0.vapi.orig 2016-09-27 22:44:37.000000000 +1000
-+++ vala-0.34.2/vapi/gtk+-3.0.vapi 2016-11-14 16:24:16.635334244 +1000
-@@ -840,6 +840,7 @@
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public Button.with_mnemonic (string label);
- public bool always_show_image { get; set construct; }
-+ public bool focus_on_click { get; set; }
- public Gtk.Widget image { get; set; }
- public Gtk.PositionType image_position { get; set; }
- public string label { get; set construct; }
-@@ -1573,6 +1574,7 @@
- public Gtk.CellArea cell_area { owned get; construct; }
- public int column_span_column { get; set; }
- public int entry_text_column { get; set; }
-+ public bool focus_on_click { get; set; }
- public bool has_entry { get; construct; }
- [NoAccessorMethod]
- public bool has_frame { get; set; }
-@@ -2080,6 +2082,7 @@
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public FileChooserButton.with_dialog (Gtk.Dialog dialog);
- public Gtk.FileChooser dialog { construct; }
-+ public bool focus_on_click { get; set; }
- public string title { get; set; }
- public int width_chars { get; set; }
- public virtual signal void file_set ();
-@@ -6692,7 +6695,6 @@
- public unowned Gdk.Display get_display ();
- public bool get_double_buffered ();
- public int get_events ();
-- public bool get_focus_on_click ();
- public unowned Pango.FontMap? get_font_map ();
- public unowned Cairo.FontOptions? get_font_options ();
- public unowned Gdk.FrameClock? get_frame_clock ();
-@@ -6859,7 +6861,6 @@
- public void set_direction (Gtk.TextDirection dir);
- public void set_double_buffered (bool double_buffered);
- public void set_events (int events);
-- public void set_focus_on_click (bool focus_on_click);
- public void set_font_map (Pango.FontMap? font_map);
- public void set_font_options (Cairo.FontOptions? options);
- public void set_halign (Gtk.Align align);
-@@ -6927,7 +6928,6 @@
- public Gdk.EventMask events { get; set; }
- [NoAccessorMethod]
- public bool expand { get; set; }
-- public bool focus_on_click { get; set; }
- public Gtk.Align halign { get; set; }
- [NoAccessorMethod]
- public bool has_default { get; set; }
diff --git a/development/vala/slack-desc b/development/vala/slack-desc
deleted file mode 100644
index 77e7b20230..0000000000
--- a/development/vala/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------------------------------------------------------|
-vala: vala (Compiler for the GObject type system)
-vala:
-vala: Vala is a new programming language that aims to bring modern
-vala: programming language features to GNOME developers without imposing
-vala: any additional runtime requirements and without using a different
-vala: ABI compared to applications and libraries written in C.
-vala:
-vala:
-vala:
-vala:
-vala:
diff --git a/development/vala/vala.SlackBuild b/development/vala/vala.SlackBuild
deleted file mode 100644
index b1a58fde29..0000000000
--- a/development/vala/vala.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Vala
-
-# Copyright 2009-2016 Erik W. Hanson, Minneapolis, MN, USA
-# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# 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.
-
-PRGNAM=vala
-VERSION=${VERSION:-0.34.9}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $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 {} \;
-
-# Patch to support older GTK+3
-patch -p1 < $CWD/patch_support-gtk318.diff
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man/ \
- --disable-static \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --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 ChangeLog INSTALL MAINTAINERS NEWS README THANKS \
- $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:-tgz}
diff --git a/development/vala/vala.info b/development/vala/vala.info
deleted file mode 100644
index a3db035038..0000000000
--- a/development/vala/vala.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vala"
-VERSION="0.34.9"
-HOMEPAGE="https://wiki.gnome.org/Projects/Vala"
-DOWNLOAD="https://download.gnome.org/sources/vala/0.34/vala-0.34.9.tar.xz"
-MD5SUM="f8bb81971065d7208447ad2437883a0d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/development/valabind/valabind.SlackBuild b/development/valabind/valabind.SlackBuild
index ca860606b0..5a2e54b705 100644
--- a/development/valabind/valabind.SlackBuild
+++ b/development/valabind/valabind.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for valabind
@@ -22,10 +22,13 @@
# 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=valabind
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,12 +79,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 {} \;
-make \
- CFLAGS="$SLKCFLAGS"
-
-make install \
- MANDIR=/usr/man \
- DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -90,4 +109,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/valabind/valabind.info b/development/valabind/valabind.info
index eac84a5288..c22a2cdac6 100644
--- a/development/valabind/valabind.info
+++ b/development/valabind/valabind.info
@@ -1,10 +1,10 @@
PRGNAM="valabind"
-VERSION="1.4.0"
-HOMEPAGE="http://radare.org/"
-DOWNLOAD="https://github.com/radare/valabind/archive/1.4.0/valabind-1.4.0.tar.gz"
-MD5SUM="c710b99ac4c27f4ed45dc38eccbc8544"
+VERSION="1.8.0"
+HOMEPAGE="https://radare.org/n/"
+DOWNLOAD="https://github.com/radare/valabind/archive/1.8.0/valabind-1.8.0.tar.gz"
+MD5SUM="427c07a82902506c65101952af6bb2f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vala"
+REQUIRES=""
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/development/valgrind/README b/development/valgrind/README
index 5f3882ddea..7e4eec3411 100644
--- a/development/valgrind/README
+++ b/development/valgrind/README
@@ -11,3 +11,9 @@ three experimental tools: a heap/stack/global array overrun detector,
a different kind of heap profiler, and a SimPoint basic block vector
generator. It runs on the following platforms: x86/Linux, AMD64/Linux,
PPC32/Linux, PPC64/Linux, ARM/Linux, x86/MacOSX and AMD64/MacOSX.
+
+Optional dependency: either mpich or openmpi. If one of these is
+found, valgrind will include the MPI wrapper, which allows using
+valgrind with software that uses the MPI message passing standard.
+Note that only one of mpich or openmpi should be installed, as they
+conflict with each other.
diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild
index 991cf4dbc5..5d8405d1b5 100644
--- a/development/valgrind/valgrind.SlackBuild
+++ b/development/valgrind/valgrind.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for valgrind
# Written by Kyle Guinn <elyk03@gmail.com>
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=valgrind
-VERSION=${VERSION:-3.16.1}
+VERSION=${VERSION:-3.22.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -109,4 +116,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/valgrind/valgrind.info b/development/valgrind/valgrind.info
index 7e58b06734..c524c1e987 100644
--- a/development/valgrind/valgrind.info
+++ b/development/valgrind/valgrind.info
@@ -1,8 +1,8 @@
PRGNAM="valgrind"
-VERSION="3.16.1"
+VERSION="3.22.0"
HOMEPAGE="http://www.valgrind.org/"
-DOWNLOAD="http://sourceware.org/pub/valgrind/valgrind-3.16.1.tar.bz2"
-MD5SUM="d1b153f1ab17cf1f311705e7a83ef589"
+DOWNLOAD="http://sourceware.org/pub/valgrind/valgrind-3.22.0.tar.bz2"
+MD5SUM="38ea14f567efa09687a822b33b4d9d60"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/valkyrie/valkyrie.SlackBuild b/development/valkyrie/valkyrie.SlackBuild
index ad00d40643..70b6de5daa 100644
--- a/development/valkyrie/valkyrie.SlackBuild
+++ b/development/valkyrie/valkyrie.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for valkyrie
# Copyright 2010 Raymond Bailey <GooseYArd@gmail.com>
@@ -24,10 +24,13 @@
# 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=valkyrie
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -98,4 +108,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/valkyrie/valkyrie.info b/development/valkyrie/valkyrie.info
index e4cf40f408..ca49d177fd 100644
--- a/development/valkyrie/valkyrie.info
+++ b/development/valkyrie/valkyrie.info
@@ -1,10 +1,10 @@
PRGNAM="valkyrie"
VERSION="2.0.0"
-HOMEPAGE="http://valgrind.org"
-DOWNLOAD="http://valgrind.org/downloads/valkyrie-2.0.0.tar.bz2"
+HOMEPAGE="https://valgrind.org/"
+DOWNLOAD="https://sourceware.org/pub/valgrind/valkyrie-2.0.0.tar.bz2"
MD5SUM="a411dfb803f548dae5f988de0160aeb5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="valgrind"
+REQUIRES="valgrind qt4"
MAINTAINER="Emmanuel N. Millan"
EMAIL="emmanueln@gmail.com"
diff --git a/development/vasm/README b/development/vasm/README
new file mode 100644
index 0000000000..465a80938f
--- /dev/null
+++ b/development/vasm/README
@@ -0,0 +1,9 @@
+vasm (portable multi-target cross assembler)
+
+vasm is a portable and retargetable assembler able to create linkable
+objects in different formats as well as absolute code. Different CPU,
+syntax, and output modules are supported.
+
+Supported target CPUs:
+
+6502 6800 6809 arm c16x jagrisc m68k pdp11 ppc tr3200 vidcore x86 z80
diff --git a/development/vasm/slack-desc b/development/vasm/slack-desc
new file mode 100644
index 0000000000..3c01da0bfb
--- /dev/null
+++ b/development/vasm/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------------------------------------------------------|
+vasm: vasm (portable multi-target cross assembler)
+vasm:
+vasm: vasm is a portable and retargetable assembler able to create linkable
+vasm: objects in different formats as well as absolute code. Different CPU,
+vasm: syntax, and output modules are supported.
+vasm:
+vasm: Supported target CPUs:
+vasm:
+vasm: 6502 6800 6809 arm c16x jagrisc m68k pdp11 ppc tr3200 vidcore x86 z80
+vasm:
+vasm:
diff --git a/development/vasm/vasm.SlackBuild b/development/vasm/vasm.SlackBuild
new file mode 100644
index 0000000000..d00fa2806b
--- /dev/null
+++ b/development/vasm/vasm.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for vasm
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230912 bkw: update for v1.9d.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=vasm
+VERSION=${VERSION:-1.9d}
+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
+# create our own versioned top-level dir.
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM}${VERSION/./_}.tar.gz
+cd $PRGNAM
+chown -R root:root .
+# permissions are awful, don't use template here.
+find . -type d -exec chmod 755 {} +
+find . -type f -exec chmod 644 {} +
+
+sed -i "/^COPTS/s,-O2,$SLKCFLAGS," Makefile
+
+runmake() {
+ local cpu="$( echo "$1" | cut -d- -f1 )"
+ local syntax="$( echo "$1" | cut -d- -f2 )"
+ rm -rf obj/*
+ make CPU=$cpu SYNTAX=$syntax
+ install -s -m0755 ${PRGNAM}${cpu}* $PKG/usr/bin
+ rm -f ${PRGNAM}${cpu}*
+}
+
+# qnice looks to be a toy/test architecture (only 22 opcodes), and
+# it's never explained in the docs. leave it out.
+
+# every CPU gets std syntax:
+CPUS="6502 6800 6809 arm c16x jagrisc m68k \
+ pdp11 ppc tr3200 vidcore x86 z80"
+
+# only a few CPUs get extra syntax modules:
+EXTRAS="m68k-mot ppc-mot 6502-madmac jagrisc-madmac \
+ 6502-oldstyle 6800-oldstyle 6809-oldstyle z80-oldstyle"
+
+mkdir -p $PKG/usr/bin
+for cpu in $CPUS; do
+ runmake $cpu-std
+done
+for cpusyn in $EXTRAS; do
+ runmake $cpusyn
+done
+
+install -s -m0755 vobjdump $PKG/usr/bin
+
+# 20230912 bkw: 1.9d's texi doc is slightly broken.
+sed -i 's, \(option{\), @\1,' doc/output_tos.texi
+
+make doc/vasm.pdf
+
+# This would require texi2html... but it fails with the texi2html
+# we have on SBo:
+#make doc/vasm.html
+
+# This works, but doesn't create an index or TOC. Without
+# --no-split, the result is kinda hard to use.
+( cd doc && texi2any --no-split --html vasm.texi )
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a doc/vasm.pdf $PKGDOC
+cp -a doc/index.html $PKGDOC/vasm.html
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vasm/vasm.info b/development/vasm/vasm.info
new file mode 100644
index 0000000000..9193269ef7
--- /dev/null
+++ b/development/vasm/vasm.info
@@ -0,0 +1,10 @@
+PRGNAM="vasm"
+VERSION="1.9d"
+HOMEPAGE="http://sun.hasenbraten.de/vasm/"
+DOWNLOAD="http://phoenix.owl.de/tags/vasm1_9d.tar.gz"
+MD5SUM="14e87e882ac20f1a69dddf2fd7c6db86"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/vc-intrinsics/README b/development/vc-intrinsics/README
new file mode 100644
index 0000000000..784125481a
--- /dev/null
+++ b/development/vc-intrinsics/README
@@ -0,0 +1,3 @@
+ VC Intrinsics project contains a set of new intrinsics on top of
+core LLVM IR instructions that represent SIMD semantics of a program
+targeting GPU.
diff --git a/development/vc-intrinsics/slack-desc b/development/vc-intrinsics/slack-desc
new file mode 100644
index 0000000000..4ee7bce536
--- /dev/null
+++ b/development/vc-intrinsics/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------------------------------------------------------|
+vc-intrinsics: vc-intrinsics (LLVM IR instructions that represent SIMD semantics)
+vc-intrinsics:
+vc-intrinsics:
+vc-intrinsics: VC Intrinsics project contains a set of new intrinsics on top of
+vc-intrinsics: core LLVM IR instructions that represent SIMD semantics of a program
+vc-intrinsics: targeting GPU.
+vc-intrinsics:
+vc-intrinsics:
+vc-intrinsics:
+vc-intrinsics:
+vc-intrinsics:
diff --git a/development/vc-intrinsics/vc-intrinsics.SlackBuild b/development/vc-intrinsics/vc-intrinsics.SlackBuild
new file mode 100644
index 0000000000..ef9d2f1a1c
--- /dev/null
+++ b/development/vc-intrinsics/vc-intrinsics.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for vc-intrinsics
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=vc-intrinsics
+VERSION=${VERSION:-0.7.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DLLVM_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/llvm \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ 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/development/vc-intrinsics/vc-intrinsics.info b/development/vc-intrinsics/vc-intrinsics.info
new file mode 100644
index 0000000000..73886671ce
--- /dev/null
+++ b/development/vc-intrinsics/vc-intrinsics.info
@@ -0,0 +1,10 @@
+PRGNAM="vc-intrinsics"
+VERSION="0.7.1"
+HOMEPAGE="https://github.com/intel/vc-intrinsics"
+DOWNLOAD="https://github.com/intel/vc-intrinsics/archive/v0.7.1/vc-intrinsics-0.7.1.tar.gz"
+MD5SUM="80cb159761b289b2c33495de139c6630"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/velero/slack-desc b/development/velero/slack-desc
index 4b8ec3d748..97a1c11656 100644
--- a/development/velero/slack-desc
+++ b/development/velero/slack-desc
@@ -15,5 +15,5 @@ velero: persistent volumes.
velero:
velero:
velero: Homepage: https://velero.io
-velero: Release date: Mar 10, 2020
+velero: Release date: Oct 21, 2020
velero:
diff --git a/development/velero/velero.SlackBuild b/development/velero/velero.SlackBuild
index b36296ab5f..e8e423ba62 100644
--- a/development/velero/velero.SlackBuild
+++ b/development/velero/velero.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for velero
-# Copyright 2020 Dmitrii Sosedov, United States
+# Copyright 2021 Dmitrii Sosedov, United States
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=velero
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,13 +37,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -91,4 +101,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/velero/velero.info b/development/velero/velero.info
index 9d7b9168be..04cf64e416 100644
--- a/development/velero/velero.info
+++ b/development/velero/velero.info
@@ -1,10 +1,10 @@
PRGNAM="velero"
-VERSION="1.3.2"
+VERSION="1.5.2"
HOMEPAGE="https://velero.io"
DOWNLOAD="UNSUPPORTED"
-MD5SUM="UNSUPPORTED"
-DOWNLOAD_x86_64="https://github.com/vmware-tanzu/velero/releases/download/v1.3.2/velero-v1.3.2-linux-amd64.tar.gz"
-MD5SUM_x86_64="cc25462d3e02115c7aa8f9cfe0eb5931"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/vmware-tanzu/velero/releases/download/v1.5.2/velero-v1.5.2-linux-amd64.tar.gz"
+MD5SUM_x86_64="e5c1d6593717841e76b4573df5a47c79"
REQUIRES=""
MAINTAINER="Dmitrii Sosedov"
EMAIL="d.sosedov@gmail.com"
diff --git a/development/viewvc/README b/development/viewvc/README
index 2dfdba10f3..fdaca8c066 100644
--- a/development/viewvc/README
+++ b/development/viewvc/README
@@ -2,6 +2,3 @@ ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable
directory, revision, and change log listings. It can display specific
versions of files as well as diffs between those versions.
-
-Installing Pygments (available on SlackBuilds) will improve your ViewVC
-experience (highlighting changes)
diff --git a/development/viewvc/viewvc.SlackBuild b/development/viewvc/viewvc.SlackBuild
index 5ce2a86354..365d8927e6 100644
--- a/development/viewvc/viewvc.SlackBuild
+++ b/development/viewvc/viewvc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for viewvc
# a browser interface for cvs and svn
@@ -25,14 +25,24 @@
# Revision date: 2013/07/07
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=viewvc
VERSION=${VERSION:-1.1.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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}
@@ -78,4 +88,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vile/vile.SlackBuild b/development/vile/vile.SlackBuild
index 9858965aea..10fcac007b 100644
--- a/development/vile/vile.SlackBuild
+++ b/development/vile/vile.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vile
-# Copyright 2010-2019 Wayne Cuddy Fairfax, VA (USA)
+# Copyright 2010-2022 Wayne Cuddy Fairfax, VA (USA)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,10 +24,22 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# 2024-02-23
+# - upgrade upstream version to 9.8z
+#
+# 2022-10-22
+# - upgrade upstream version to 9.8w
+#
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vile
-VERSION=${VERSION:-9.8t}
+VERSION=${VERSION:-9.8z}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +49,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -71,6 +90,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 {} \;
+# 20220318 bkw: ac_cv_sys_long_file_names=yes stops it from writing to
+# /usr/lib to check for long filenames.
+
+ac_cv_sys_long_file_names=yes \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -81,23 +104,20 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make
-make DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION install install-doc
+make DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION -j1 install install-doc
mkdir -p $PKG/usr/share/pixmaps
-cp icons/vile.* $PKG/usr/share/pixmaps
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+cp icons/*.{xpm,png} $PKG/usr/share/pixmaps
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 CHANGES* COPYING INSTALL README* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES* 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vile/vile.info b/development/vile/vile.info
index a7dc56c471..bdcfeca282 100644
--- a/development/vile/vile.info
+++ b/development/vile/vile.info
@@ -1,8 +1,8 @@
PRGNAM="vile"
-VERSION="9.8t"
+VERSION="9.8z"
HOMEPAGE="http://invisible-island.net/vile/"
-DOWNLOAD="ftp://ftp.invisible-island.net/pub/vile/current/vile-9.8t.tgz"
-MD5SUM="4a748c35844ae4b3e89352faaa6daaad"
+DOWNLOAD="https://www.invisible-island.net/archives/vile/current/vile-9.8z.tgz"
+MD5SUM="2b9c80836e7188d4901aceb8cd1572fa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/vis/vis.SlackBuild b/development/vis/vis.SlackBuild
index 228aa5df00..3f1fca86f4 100644
--- a/development/vis/vis.SlackBuild
+++ b/development/vis/vis.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vis
-# Copyright 2017 Ruben Schuller
+# Copyright 2017-2022 Ruben Schuller
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=vis
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -60,8 +70,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-v$VERSION
-tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
-cd $PRGNAM-v$VERSION
+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 \
@@ -96,4 +106,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vis/vis.info b/development/vis/vis.info
index 63bbbcf893..936a2b09d0 100644
--- a/development/vis/vis.info
+++ b/development/vis/vis.info
@@ -1,10 +1,10 @@
PRGNAM="vis"
-VERSION="0.5"
+VERSION="0.8"
HOMEPAGE="https://github.com/martanne/vis"
-DOWNLOAD="https://github.com/martanne/vis/releases/download/v0.5/vis-v0.5.tar.gz"
-MD5SUM="dceea039778e7da5dad93238e4e4bae2"
+DOWNLOAD="https://github.com/martanne/vis/releases/download/v0.8/vis-0.8.tar.gz"
+MD5SUM="1da929a33dc09988d553e4a0461b5da6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libtermkey lua-lpeg tre"
+REQUIRES="libtermkey lua53 lua-lpeg tre"
MAINTAINER="Ruben Schuller"
EMAIL="sb@rbn.im"
diff --git a/development/vispatch/vispatch.SlackBuild b/development/vispatch/vispatch.SlackBuild
index a4b851f075..1f41d2d47b 100644
--- a/development/vispatch/vispatch.SlackBuild
+++ b/development/vispatch/vispatch.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vispatch
#
@@ -25,26 +25,36 @@
# 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=vispatch
VERSION=${VERSION:-1.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -86,4 +96,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vscode-bin/README b/development/vscode-bin/README
index 8a54dbbde6..2faf0fc98b 100644
--- a/development/vscode-bin/README
+++ b/development/vscode-bin/README
@@ -3,10 +3,3 @@ editor with what developers need for their core edit-build-debug
cycle. It provides comprehensive editing and debugging support,
an extensibility model, and lightweight integration with existing
tools.
-
-NOTE:
-This package is a binary repackaging from the official package.
-If you prefer to download from source, use vscode which is also
-available from SBo.
-
-32-bit version stays at version 1.35.1.
diff --git a/development/vscode-bin/vscode-bin.SlackBuild b/development/vscode-bin/vscode-bin.SlackBuild
index cafb42f566..c543e3cce1 100644
--- a/development/vscode-bin/vscode-bin.SlackBuild
+++ b/development/vscode-bin/vscode-bin.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vscode-bin
-# Copyright 2019-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2019-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# 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=vscode-bin
SRCNAM=code-stable
-VERSION=${VERSION:-1.51.1}
-SRCVER=1605051992
+VERSION=${VERSION:-1.88.0}
+SRCVER=1712150767
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -79,4 +86,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vscode-bin/vscode-bin.info b/development/vscode-bin/vscode-bin.info
index b250be4db4..47c077e1e1 100644
--- a/development/vscode-bin/vscode-bin.info
+++ b/development/vscode-bin/vscode-bin.info
@@ -1,10 +1,10 @@
PRGNAM="vscode-bin"
-VERSION="1.51.1"
+VERSION="1.88.0"
HOMEPAGE="https://code.visualstudio.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://az764295.vo.msecnd.net/stable/e5a624b788d92b8d34d1392e4c4d9789406efe8f/code-stable-x64-1605051992.tar.gz"
-MD5SUM_x86_64="c65b82b7163250730263d9dd07a61e5d"
+DOWNLOAD_x86_64="https://vscode.download.prss.microsoft.com/dbazure/download/stable/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/code-stable-x64-1712150767.tar.gz"
+MD5SUM_x86_64="0caa975f650fbb425af202bfcfa15113"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/development/vscode/README b/development/vscode/README
deleted file mode 100644
index a96018d1c2..0000000000
--- a/development/vscode/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Visual Studio Code.
-
-VS Code is a new type of tool that combines the simplicity of a code
-editor with what developers need for their core edit-build-debug
-cycle. Code provides comprehensive editing and debugging support, an
-extensibility model, and lightweight integration with existing tools.
diff --git a/development/vscode/product.json.patch b/development/vscode/product.json.patch
deleted file mode 100644
index f0812e6c3c..0000000000
--- a/development/vscode/product.json.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/product.json 2018-03-09 06:31:57.240781519 +0100
-+++ b/product.json 2018-03-09 06:35:38.671467882 +0100
-@@ -1,6 +1,6 @@
- {
- "nameShort": "Code - OSS",
-- "nameLong": "Code - OSS",
-+ "nameLong": "Visual Studio Code - OSS",
- "applicationName": "code-oss",
- "dataFolderName": ".vscode-oss",
- "win32MutexName": "vscodeoss",
-@@ -19,5 +19,19 @@
- "extensionAllowedProposedApi": [
- "ms-vscode.node-debug",
- "ms-vscode.node-debug2"
-- ]
--}
-\ No newline at end of file
-+ ],
-+ "welcomePage": "http://go.microsoft.com/fwlink/?LinkId=723048",
-+ "quality": "stable",
-+ "extensionsGallery": {
-+ "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
-+ "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
-+ "itemUrl": "https://marketplace.visualstudio.com/items"
-+ },
-+ "documentationUrl": "http://go.microsoft.com/fwlink/?LinkID=533484#vscode",
-+ "releaseNotesUrl": "http://go.microsoft.com/fwlink/?LinkID=533483#vscode",
-+ "twitterUrl": "http://go.microsoft.com/fwlink/?LinkID=533687",
-+ "requestFeatureUrl": "http://go.microsoft.com/fwlink/?LinkID=533482",
-+ "privacyStatementUrl": "http://go.microsoft.com/fwlink/?LinkID=528096&clcid=0x409",
-+ "commit": "79b44aa704ce542d8ca4a3cc44cfca566e7720f1",
-+ "date": "2018-03-30T21:23:00Z"
-+}
diff --git a/development/vscode/slack-desc b/development/vscode/slack-desc
deleted file mode 100644
index 3a0b6400d9..0000000000
--- a/development/vscode/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------------------------------------------------------|
-vscode: vscode (Build and debug modern web and cloud applications)
-vscode:
-vscode: VS Code is a new type of tool that combines the simplicity of a code
-vscode: editor with what developers need for their core edit-build-debug
-vscode: cycle. Code provides comprehensive editing and debugging support, an
-vscode: extensibility model, and lightweight integration with existing tools.
-vscode:
-vscode:
-vscode:
-vscode: https://github.com/Microsoft/vscode/
-vscode:
diff --git a/development/vscode/vscode.SlackBuild b/development/vscode/vscode.SlackBuild
deleted file mode 100644
index 4eb2cdcdcb..0000000000
--- a/development/vscode/vscode.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Microsoft VSCode
-
-# Copyright 2017-2018 Andre Barboza, Belo Horizonte, Andreas Guldstrand
-# 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.
-
-PRGNAM=vscode
-VERSION=${VERSION:-1.21.1}
-COMMIT=${COMMIT:-79b44aa704ce542d8ca4a3cc44cfca566e7720f1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=${ARCH:-$(uname -m)}
-case "$ARCH" in
- i?86)
- ARCH=i586
- BUILDARCH=ia32
- ;;
- x86_64)
- BUILDARCH=x64
- ;;
- *)
- echo "$ARCH is not supported"
- exit 1
- ;;
-esac
-
-CWD=$(pwd)
-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-$VERSION VSCode-linux-$BUILDARCH
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 < ${CWD}/product.json.patch
-yarn
-node --max_old_space_size=2048 ./node_modules/.bin/gulp vscode-linux-${BUILDARCH}
-
-cd $TMP/VSCode-linux-$BUILDARCH
-
-# https://github.com/Microsoft/vscode/issues/25935
-( cd resources/app
- sed -i "s/\"date\".*/&\n\t\"commit\": \"${COMMIT}\",/" product.json
-)
-
-# Copy binary files
-mkdir -p "${PKG}/usr/share/code-oss"
-cp -rvf * "${PKG}/usr/share/code-oss" -R
-
-# Link executable to usr/bin
-mkdir -p "${PKG}/usr/bin"
-( cd $PKG/usr/bin
- ln -s "../share/code-oss/bin/code-oss"
-)
-
-# copy desktop shortcut
-mkdir -p "${PKG}/usr/share/applications"
-install -m644 "${CWD}/${PRGNAM}.desktop" "${PKG}/usr/share/applications/${PRGNAM}.desktop"
-
-# copy vscode icon
-mkdir -p "${PKG}/usr/share/icons"
-install -m644 "${PKG}/usr/share/code-oss/resources/app/resources/linux/code.png" \
- "${PKG}/usr/share/icons/${PRGNAM}.png"
-
-# copy license and slackbuild
-mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"
-( cd resources/app
- cp -raf LICENSE.txt ThirdPartyNotices.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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/vscode/vscode.desktop b/development/vscode/vscode.desktop
deleted file mode 100644
index 9b0a9eb995..0000000000
--- a/development/vscode/vscode.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=VS Code
-GenericName=Visual Studio Code - Open Source
-Categories=Development;IDE
-Exec=/usr/bin/code-oss %F
-Icon=vscode
-Terminal=false
-Type=Application
-Comment=Editor for building and debugging modern web and cloud applications
diff --git a/development/vscode/vscode.info b/development/vscode/vscode.info
deleted file mode 100644
index 08c31991bb..0000000000
--- a/development/vscode/vscode.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vscode"
-VERSION="1.21.1"
-HOMEPAGE="https://code.visualstudio.com/"
-DOWNLOAD="https://github.com/Microsoft/vscode/archive/1.21.1/vscode-1.21.1.tar.gz"
-MD5SUM="23adb5bf0c82ccdf254585e76d0ec29b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="yarn"
-MAINTAINER="Andreas Guldstrand"
-EMAIL="andreas.guldstrand@gmail.com"
diff --git a/development/vscodium/README b/development/vscodium/README
new file mode 100644
index 0000000000..c53096d4f2
--- /dev/null
+++ b/development/vscodium/README
@@ -0,0 +1,7 @@
+Free and open source binary release of VSCode without Microsoft's
+branding, telemetry and license.
+
+If you cannot or do not want to build VSCode from source and you need a
+clean binary then VSCodium is for you.
+
+NOTE: The 32bit release stops at version 1.35.1
diff --git a/development/vscodium/doinst.sh b/development/vscodium/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/vscodium/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/vscodium/slack-desc b/development/vscodium/slack-desc
new file mode 100644
index 0000000000..618bb35f60
--- /dev/null
+++ b/development/vscodium/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------------------------------------------------------|
+vscodium: vscodium (Visual Studio Code FOSS Binary Release)
+vscodium:
+vscodium: Free and open source binary release of VSCode without Microsoft's
+vscodium: branding, telemetry and license.
+vscodium:
+vscodium: Homepage: https://vscodium.com/
+vscodium:
+vscodium:
+vscodium:
+vscodium:
+vscodium:
diff --git a/development/vscodium/vscodium.SlackBuild b/development/vscodium/vscodium.SlackBuild
new file mode 100644
index 0000000000..1ae7f45ffc
--- /dev/null
+++ b/development/vscodium/vscodium.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for vscodium
+
+# Copyright 2022-2023 rc-05 <rc_o5@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=vscodium
+VERSION=${VERSION:-1.79.0.23159}
+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
+
+# Bail out when building the Slackbuild on non-x86_64 arch.
+if [ "$ARCH" != "x86_64" ]; then
+ echo "Unsupported on $ARCH: last version available is 1.35.2"
+ exit -1
+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-$VERSION
+# Creates a directory to extract the files into a suitable directory as the
+# original archive doesn't contain a directory.
+mkdir $PRGNAM-$VERSION
+tar xvf $CWD/VSCodium-linux-x64-$VERSION.tar.gz -C $PRGNAM-$VERSION
+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 $PKG/usr/bin
+mv * $PKG/opt/$PRGNAM
+
+mkdir -p $PKG/usr/share/applications
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
+
+mkdir -p $PKG/usr/share/icons/hicolor/1024x1024/apps
+cp $PKG/opt/$PRGNAM/resources/app/resources/linux/code.png $PKG/usr/share/icons/hicolor/1024x1024/apps
+
+cd $PKG/usr/bin
+ln -s ../../opt/$PRGNAM/bin/codium .
+
+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/$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/development/vscodium/vscodium.desktop b/development/vscodium/vscodium.desktop
new file mode 100644
index 0000000000..3659cc54de
--- /dev/null
+++ b/development/vscodium/vscodium.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=VSCodium
+Exec=/usr/bin/codium
+Icon=/usr/share/icons/hicolor/1024x1024/apps/code.png
+Type=Application
+Categories=Development;
diff --git a/development/vscodium/vscodium.info b/development/vscodium/vscodium.info
new file mode 100644
index 0000000000..34930bdef7
--- /dev/null
+++ b/development/vscodium/vscodium.info
@@ -0,0 +1,10 @@
+PRGNAM="vscodium"
+VERSION="1.79.0.23159"
+HOMEPAGE="https://vscodium.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/VSCodium/vscodium/releases/download/1.79.0.23159/VSCodium-linux-x64-1.79.0.23159.tar.gz"
+MD5SUM_x86_64="e1de145b481d45909d486bcbd26d90de"
+REQUIRES=""
+MAINTAINER="rc-05"
+EMAIL="rc_o5@protonmail.com"
diff --git a/development/vstudio/README b/development/vstudio/README
index a3fd87e745..0b0a633950 100644
--- a/development/vstudio/README
+++ b/development/vstudio/README
@@ -14,3 +14,5 @@ MySQL, Postgre and SQLite with help of the following tools:
data.
Note: You need to request a free license to use this software
+also, the debian package file is unversioned so MD5SUM and VERSION
+might change unexpectly.
diff --git a/development/vstudio/vstudio.SlackBuild b/development/vstudio/vstudio.SlackBuild
index c7dda34412..6d644ad012 100644
--- a/development/vstudio/vstudio.SlackBuild
+++ b/development/vstudio/vstudio.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vstudio
-# Copyright 2015 Antonio Leal, Lisbon, Portugal
+# Copyright 2023 Antonio Leal, Porto Salvo, Oeiras, Portugal
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,18 +22,28 @@
# 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=vstudio
-VERSION=${VERSION:-10}
+VERSION=${VERSION:-13.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
case "$( uname -m )" in
- x86_64) ARCH=x86_64 ; BASENAME=${BASENAME:-vstudio_x64_10_lin} ;;
+ x86_64) ARCH=x86_64 ; BASENAME=${BASENAME:-vstudio_x64_13_lin} ;;
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
set -e
-CWD=$(pwd)
+# 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}
@@ -41,7 +51,7 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-if [ -e $BASENAME.deb ]; then
+if [ -e $CWD/$BASENAME.deb ]; then
ar p $CWD/$BASENAME.deb data.tar.xz | tar xvJ
else
ar p $CWD/vstudio_x64_lin-deb data.tar.xz | tar xvJ
@@ -67,4 +77,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/vstudio/vstudio.info b/development/vstudio/vstudio.info
index 8c48543575..28a038d85e 100644
--- a/development/vstudio/vstudio.info
+++ b/development/vstudio/vstudio.info
@@ -1,10 +1,10 @@
PRGNAM="vstudio"
-VERSION="10"
+VERSION="13.7"
HOMEPAGE="http://www.valentina-db.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://www.valentina-db.com/en/all-downloads/vstudio/current/vstudio_x64_lin-deb"
-MD5SUM_x86_64="7a0e80bc55f9ddeb4e32decc6ace127b"
+DOWNLOAD_x86_64="http://valentina-db.com/download/prev_releases/13.7/lin_64/vstudio_x64_13_lin.deb"
+MD5SUM_x86_64="72a0e9a9f9eadf9a27b5523e836c04a0"
REQUIRES=""
MAINTAINER="Antonio Leal"
EMAIL="antonioleal@yahoo.com"
diff --git a/development/watchman/README b/development/watchman/README
deleted file mode 100644
index e55abe1ff9..0000000000
--- a/development/watchman/README
+++ /dev/null
@@ -1,26 +0,0 @@
-Watchman exists to watch files and record when they change. It can also
-trigger actions (such as rebuilding assets) when matching files change.
-
-Concepts:
-
-- Watchman can recursively watch one or more directory trees (we call
- them roots).
-
-- Watchman does not follow symlinks. It knows they exist, but they show
- up the same as any other file in its reporting.
-
-- Watchman waits for a root to settle down before it will start to
- trigger notifications or command execution.
-
-- Watchman is conservative, preferring to err on the side of caution;
- it considers files to be freshly changed when you start to watch them
- or when it is unsure.
-
-- You can query a root for file changes since you last checked, or the
- current state of the tree.
-
-- You can subscribe to file changes that occur in a root.
-
-Note: this is not the latest version of watchman. Newer versions
-require newer libraries than Slackware 14.2 has, so this build can't
-be upgraded.
diff --git a/development/watchman/slack-desc b/development/watchman/slack-desc
deleted file mode 100644
index 71feb4c4ed..0000000000
--- a/development/watchman/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------------------------------------------------------|
-watchman: watchman (A file watching service)
-watchman:
-watchman: Watchman exists to watch files and record when they change.
-watchman: It can also trigger actions (such as rebuilding assets) when
-watchman: matching files change.
-watchman:
-watchman: https://facebook.github.io/watchman/
-watchman:
-watchman:
-watchman:
-watchman:
diff --git a/development/watchman/watchman.SlackBuild b/development/watchman/watchman.SlackBuild
deleted file mode 100644
index 8222d4bd87..0000000000
--- a/development/watchman/watchman.SlackBuild
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for watchman
-
-# Originally written by:
-# Ryan P.C. McQuen | Everett, WA | <email removed>
-
-# Now maintained by B. Watson <yalhcru@gmail.com>
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <https://www.gnu.org/licenses/>.
-
-# 20170819 bkw: update for v4.9.0, BUILD=1
-
-# 20170810 bkw: get rid of /usr/share/doc, BUILD=3
-
-# 20170621 bkw: fix build on -current (--enable-lenient, removes -Werror)
-
-# 20170309 bkw:
-# - take over maintenance
-# - use long-form github URL
-# - /usr/var/run => /var/run
-# - BUILD=2
-
-PRGNAM=watchman
-VERSION=${VERSION:-4.9.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-
-./autogen.sh
-CC=clang CXX=clang++ \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --enable-lenient \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-statedir=/var/run/$PRGNAM \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-# don't know how to keep python/setup.py from installing docs here, easier
-# to blow it away after the fact.
-rm -rf $PKG/usr/share
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.markdown $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:-tgz}
diff --git a/development/watchman/watchman.info b/development/watchman/watchman.info
deleted file mode 100644
index 93c590a973..0000000000
--- a/development/watchman/watchman.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="watchman"
-VERSION="4.9.0"
-HOMEPAGE="https://facebook.github.io/watchman/"
-DOWNLOAD="https://github.com/facebook/watchman/archive/v4.9.0/watchman-4.9.0.tar.gz"
-MD5SUM="d5dc483f70f82d8cd2b0787bbea25ae4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/development/wheel/README b/development/wheel/README
deleted file mode 100644
index 4063e3f1e7..0000000000
--- a/development/wheel/README
+++ /dev/null
@@ -1,6 +0,0 @@
-A wheel is a ZIP-format archive with a specially formatted
-filename and the .whl extension. It is designed to contain
-all the files for a PEP 376 compatible install in a way
-that is very close to the on-disk format.
-
-Optional dependencies: python-keyring
diff --git a/development/wheel/slack-desc b/development/wheel/slack-desc
deleted file mode 100644
index d80f59e3cf..0000000000
--- a/development/wheel/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------------------------------------------------------|
-wheel: wheel (A built-package format for Python)
-wheel:
-wheel: A wheel is a ZIP-format archive with a specially formatted filename
-wheel: and the .whl extension. It is designed to contain all the files for
-wheel: a PEP 376 compatible install in a way that is very close to the
-wheel: on-disk format.
-wheel:
-wheel: Homepage: https://bitbucket.org/pypa/wheel/
-wheel:
-wheel:
-wheel:
diff --git a/development/wheel/wheel.SlackBuild b/development/wheel/wheel.SlackBuild
deleted file mode 100644
index 95d61fa85d..0000000000
--- a/development/wheel/wheel.SlackBuild
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for wheel
-
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
-# 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.
-
-PRGNAM=wheel
-VERSION=${VERSION:-0.33.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-python setup.py install --root=$PKG
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
-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.rst LICENSE.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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/wheel/wheel.info b/development/wheel/wheel.info
deleted file mode 100644
index 0bb811e0fc..0000000000
--- a/development/wheel/wheel.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wheel"
-VERSION="0.33.0"
-HOMEPAGE="https://github.com/pypa/wheel"
-DOWNLOAD="https://files.pythonhosted.org/packages/d9/7d/86df15e317027f6e87aa68ea854abf8437e796b4c0fadd3ae5ee67b77cb2/wheel-0.33.0.tar.gz"
-MD5SUM="e1e85b00ca5c666186e38cfce4457f3e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/development/woff2/README b/development/woff2/README
deleted file mode 100644
index ab5a471f4a..0000000000
--- a/development/woff2/README
+++ /dev/null
@@ -1 +0,0 @@
-woff2 is a font compression reference code
diff --git a/development/woff2/slack-desc b/development/woff2/slack-desc
deleted file mode 100644
index 526392fda2..0000000000
--- a/development/woff2/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------------------------------------------------------|
-woff2: woff2 (Web Open Font Format 2 reference implementation)
-woff2:
-woff2: woff2 is a font compression reference code
-woff2:
-woff2:
-woff2:
-woff2:
-woff2:
-woff2: Project URL: https://github.com/google/woff2
-woff2:
-woff2:
diff --git a/development/woff2/woff2.SlackBuild b/development/woff2/woff2.SlackBuild
deleted file mode 100644
index 2b10ec23cc..0000000000
--- a/development/woff2/woff2.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for woff2
-
-# Copyright 2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# 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.
-
-PRGNAM=woff2
-VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-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 {} \;
-
-sed -i "s/NOT BUILD_SHARED_LIBS/TRUE/" CMakeLists.txt
-cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} .
-DESTDIR="$PKG" ninja install
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.txt *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/woff2/woff2.info b/development/woff2/woff2.info
deleted file mode 100644
index d05a989518..0000000000
--- a/development/woff2/woff2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="woff2"
-VERSION="1.0.2"
-HOMEPAGE="https://github.com/google/woff2/"
-DOWNLOAD="https://github.com/google/woff2/archive/v1.0.2/woff2-1.0.2.tar.gz"
-MD5SUM="793c8844845351cb80730a74937e411b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="brotli ninja"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/development/wxFormBuilder/README b/development/wxFormBuilder/README
new file mode 100644
index 0000000000..8c2ef3caa7
--- /dev/null
+++ b/development/wxFormBuilder/README
@@ -0,0 +1,11 @@
+wxFormBuilder ( wxWidgets RAD tool )
+
+wxFormBuilder is a GUI builder for the wxWidgets framework.
+
+Code generation is supported for C++, Python, XRC, Lua and PHP.
+Additionally, the import and export of XRC code is possible.
+To support additional widgets, custom plugins can be used.
+
+wxFormBuilder runs on Windows, various Linux distributions and macOS.
+
+This package installs to /opt/wxFormBuilder
diff --git a/development/wxFormBuilder/doinst.sh b/development/wxFormBuilder/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/wxFormBuilder/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/wxFormBuilder/slack-desc b/development/wxFormBuilder/slack-desc
new file mode 100644
index 0000000000..d608503e55
--- /dev/null
+++ b/development/wxFormBuilder/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------------------------------------------------------|
+wxFormBuilder: wxFormBuilder ( wxWidgets RAD tool )
+wxFormBuilder:
+wxFormBuilder: wxFormBuilder is a GUI builder for the wxWidgets framework.
+wxFormBuilder:
+wxFormBuilder: Code generation is supported for C++, Python, XRC, Lua and PHP.
+wxFormBuilder: Additionally, the import and export of XRC code is possible.
+wxFormBuilder: To support additional widgets, custom plugins can be used.
+wxFormBuilder:
+wxFormBuilder: Homepage at https://github.com/wxFormBuilder/wxFormBuilder
+wxFormBuilder:
+wxFormBuilder:
diff --git a/development/wxFormBuilder/wxFormBuilder.SlackBuild b/development/wxFormBuilder/wxFormBuilder.SlackBuild
new file mode 100644
index 0000000000..30ea7b77cd
--- /dev/null
+++ b/development/wxFormBuilder/wxFormBuilder.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for wxFormBuilder
+
+# 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=wxFormBuilder
+VERSION=${VERSION:-4.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}
+BUILDDIR=$TMP/$PRGNAM-$VERSION
+
+
+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 $BUILDDIR
+mkdir -p $TMP $PKG $OUTPUT $BUILDDIR
+cd $TMP
+tar xvfz $CWD/$PRGNAM-$VERSION-source-full.tar.gz
+cd $BUILDDIR
+
+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 {} \;
+
+cmake -S . -B _build -G "Unix Makefiles" --install-prefix "$PKG/opt/wxFormBuilder" -DCMAKE_BUILD_TYPE=Release
+cmake --build _build --config Release
+cmake --install _build --config Release
+
+#remove zero length files
+rm $PKG/opt/wxFormBuilder/share/mime/XMLnamespaces
+rm $PKG/opt/wxFormBuilder/share/mime/subclasses
+rm $PKG/opt/wxFormBuilder/share/mime/generic-icons
+rm $PKG/opt/wxFormBuilder/share/mime/aliases
+
+# create program symlinks
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin ; rm -rf wxformbuilder )
+( cd $PKG/usr/bin ; ln -sf ../../opt/wxFormBuilder/bin/wxformbuilder wxformbuilder )
+mkdir -p $PKG/usr/share/applications
+( cd $PKG/usr/share/applications ; rm -rf org.wxformbuilder.wxFormBuilder.desktop )
+( cd $PKG/usr/share/applications ; ln -sf ../../../opt/wxFormBuilder/share/applications/org.wxformbuilder.wxFormBuilder.desktop org.wxformbuilder.wxFormBuilder.desktop )
+mkdir -p $PKG/usr/share/pixmaps
+( cd $PKG/usr/share/pixmaps ; rm -rf org.wxformbuilder.wxFormBuilder.png )
+( cd $PKG/usr/share/pixmaps ; ln -sf ../../../opt/wxFormBuilder/share/icons/hicolor/48x48/apps/org.wxformbuilder.wxFormBuilder.png org.wxformbuilder.wxFormBuilder.png )
+
+
+
+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
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $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
+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/development/wxFormBuilder/wxFormBuilder.info b/development/wxFormBuilder/wxFormBuilder.info
new file mode 100644
index 0000000000..bbc161a1a6
--- /dev/null
+++ b/development/wxFormBuilder/wxFormBuilder.info
@@ -0,0 +1,10 @@
+PRGNAM="wxFormBuilder"
+VERSION="4.1.0"
+HOMEPAGE="https://github.com/wxFormBuilder/wxFormBuilder"
+DOWNLOAD="https://github.com/wxFormBuilder/wxFormBuilder/releases/download/v4.1.0/wxFormBuilder-4.1.0-source-full.tar.gz"
+MD5SUM="c81fe1a49bfe931471dd64a2fda951f5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="wxWidgets"
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/wxHexEditor/wxHexEditor.SlackBuild b/development/wxHexEditor/wxHexEditor.SlackBuild
index 0865380b0e..b297d15490 100644
--- a/development/wxHexEditor/wxHexEditor.SlackBuild
+++ b/development/wxHexEditor/wxHexEditor.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wxHexEditor
# Written by Branko Grubic <branko.grubic@gmail.com>
# Former maintainer Vliegendehuiskat <vliegendehuiskat [at] gmail [dot] com>
# Former maintainer Didier Spaier, Paris, France
-# Current maintainer 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Current maintainer 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
@@ -26,10 +26,13 @@
# 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=wxHexEditor
VERSION=${VERSION:-20170415_bb951eb}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -77,7 +84,7 @@ make PREFIX=/usr OPTFLAGS="$SLKCFLAGS" HOST=$ARCH-slackware-linux
make install PREFIX=$PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a docs/Change.log docs/GPL.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp docs/Change.log docs/GPL.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -85,4 +92,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xa/xa.SlackBuild b/development/xa/xa.SlackBuild
index 4a7069bc35..ee23c3e5cf 100644
--- a/development/xa/xa.SlackBuild
+++ b/development/xa/xa.SlackBuild
@@ -1,11 +1,19 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xa
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240314 bkw: update for xa-2.4.1.
+# 20240216 bkw: update for xa-2.4.0.
+# 20230906 bkw: update for xa-2.3.14.
+# - add ChangeLog.dxa to doc dir.
+# - correctly apply SLKCFLAGS and -DLONG_OPTIONS to dxa.
+
+# 20230103 bkw: update for xa-2.3.13 and dxa-0.1.5.
+
# 20201024 bkw:
# - update for xa-2.3.11 (dxa still the same)
# - add support for running the test suite
@@ -28,13 +36,16 @@
# 20141030 bkw: take the tiny little patches out of DOWNLOAD= since
# they were included in the script tarball all along.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xa
-VERSION=${VERSION:-2.3.11}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# dxa is a separate distribution with its own version number
-DXAVER=0.1.4
+DXAVER=${DXAVER:-0.1.5}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,23 +55,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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
@@ -80,6 +91,8 @@ chmod 755 tests/harness tests/hextool
sed -i "s,-O2,$SLKCFLAGS," Makefile
# Note: non-standard use of DESTDIR
+# 20240216 bkw: 2.4.0's got some bad logic in its Makefile...
+sed -i '/^all:/s,killxa ,,' Makefile
make DESTDIR=/usr
[ "${MAKETEST:-no}" = "yes" ] && make -j1 test
make install DESTDIR=$PKG/usr MANDIR=$PKG/usr/man/man1
@@ -89,24 +102,27 @@ strip $PKG/usr/bin/*
chmod -x $PKG/usr/man/man?/*.?
gzip -9 $PKG/usr/man/man?/*.?
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README* COPYING ChangeLog TODO doc/* examples tests mkrom.sh \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README* COPYING ChangeLog TODO attic/doc/* examples tests mkrom.sh $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
# now build dxa
tar xvf $CWD/dxa-$DXAVER.tar.gz
cd dxa-$DXAVER
+chown -R root:root .
+find . -type d -exec chmod 755 {} \+ -o -type f -exec chmod 644 {} \+
# Can't see a disadvantage to enabling the --long-options
-sed -i "s,-O6,$SLKCFLAGS -DLONG_OPTIONS," Makefile
+sed -i "/^CFLAGS/s,-O2,$SLKCFLAGS -DLONG_OPTIONS," Makefile
make
install -s -m0755 dxa $PKG/usr/bin
gzip -9c < dxa.1 > $PKG/usr/man/man1/dxa.1.gz
+cp -a ChangeLog $PKGDOC/ChangeLog.dxa
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xa/xa.info b/development/xa/xa.info
index 6b872338ad..e2ddd7241b 100644
--- a/development/xa/xa.info
+++ b/development/xa/xa.info
@@ -1,12 +1,12 @@
PRGNAM="xa"
-VERSION="2.3.11"
-HOMEPAGE="http://www.floodgap.com/retrotech/xa/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/xa-2.3.11.tar.gz \
- https://slackware.uk/~urchlay/src/dxa-0.1.4.tar.gz"
-MD5SUM="72cbd5619f75b0c9839b90c41d0f9ea6 \
- 3a7993751bcb94e5f9081cc2f27eee1d"
+VERSION="2.4.1"
+HOMEPAGE="https://www.floodgap.com/retrotech/xa/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/xa-2.4.1.tar.gz \
+ https://slackware.uk/~urchlay/src/dxa-0.1.5.tar.gz"
+MD5SUM="86ef6e8562b2e30b55c41e835178aede \
+ 6d69ae1772ed58de97b0180e480dfe0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/xasm/README b/development/xasm/README
index f734548b95..8150cc64d2 100644
--- a/development/xasm/README
+++ b/development/xasm/README
@@ -3,4 +3,6 @@ xasm (cross assembler targetting the 6502)
xasm is a 6502 cross-assembler with original syntax extensions. By
default it generates binaries for Atari 8-bit computers.
-Syntax highlighting for the scite editor is included.
+Syntax highlighting for the scite editor is included. If you
+want syntax highlighting for vim, see:
+https://github.com/lybrown/vim-xasm
diff --git a/development/xasm/xasm.SlackBuild b/development/xasm/xasm.SlackBuild
index 0a216c30a5..c9662dadf7 100644
--- a/development/xasm/xasm.SlackBuild
+++ b/development/xasm/xasm.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xasm
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230103 bkw: updated for v3.2.1.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xasm
-VERSION=${VERSION:-3.1.1}
+VERSION=${VERSION:-3.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +24,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -36,11 +45,8 @@ rm -rf $PRGNAM-$PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$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 {} \+
make install install-scite prefix=/usr mandir=/usr/man/man1 DESTDIR=$PKG
chmod 644 $PKG/usr/share/scite/$PRGNAM.properties
@@ -55,4 +61,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xasm/xasm.info b/development/xasm/xasm.info
index 257b794d9d..03a9bfaec8 100644
--- a/development/xasm/xasm.info
+++ b/development/xasm/xasm.info
@@ -1,10 +1,10 @@
PRGNAM="xasm"
-VERSION="3.1.1"
+VERSION="3.2.1"
HOMEPAGE="https://github.com/pfusik/xasm"
-DOWNLOAD="https://github.com/pfusik/xasm/archive/xasm-3.1.1/xasm-xasm-3.1.1.tar.gz"
-MD5SUM="fc4b8c8c085bae50adcce519c3c51c8c"
+DOWNLOAD="https://github.com/pfusik/xasm/archive/xasm-3.2.1/xasm-xasm-3.2.1.tar.gz"
+MD5SUM="01f9c9d73bc1ae32ce7039d56a5a17f5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dmd"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/xdebug/slack-desc b/development/xdebug/slack-desc
deleted file mode 100644
index 9c76d1228e..0000000000
--- a/development/xdebug/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------------------------------------------------------|
-xdebug: xdebug (A PHP extension for debuggin PHP scripts)
-xdebug:
-xdebug: The Xdebug extension helps you debugging your script by providing a
-xdebug: lot of valuable debug information. The debug information that Xdebug
-xdebug: can provide includes the following: stack traces and function traces
-xdebug: in error messages, memory allocation and protection for infinite
-xdebug: recursions. Xdebug also provides profiling information for PHP,
-xdebug: scripts, code coverage analysis and capabilities to debug PHP scripts
-xdebug: interactively with a debug client.
-xdebug:
-xdebug: Homepage: http://xdebug.org
diff --git a/development/xdebug/xdebug.SlackBuild b/development/xdebug/xdebug.SlackBuild
deleted file mode 100644
index 83f7ebabb8..0000000000
--- a/development/xdebug/xdebug.SlackBuild
+++ /dev/null
@@ -1,139 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for xdebug
-
-# Copyright (c) 2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
-# Copyright 2011-2018 Heinz Wiesinger, Amsterdam, The Netherlands
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# 1.- Redistributions of source code 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.
-
-PRGNAM=xdebug
-VERSION=${VERSION:-2.5.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-rm -f package.xml
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Prepare a PHP extension for compiling
-/usr/bin/phpize
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-php-config=/usr/bin/php-config \
- --build=$ARCH-slackware-linux \
- --enable-xdebug
-
-# Build xdebug
-make
-
-# Prepare for installation
-EXTENSION_DIR="$PKG/$(/usr/bin/php-config --extension-dir)"
-mkdir -p $EXTENSION_DIR
-
-# Install xdebug
-make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
-
-# Build and install debugclient
-cd debugclient
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION/debugclient \
- --build=$ARCH-slackware-linux \
- --with-libedit
- make
- make install DESTDIR=$PKG
-cd ..
-
-mkdir -p $PKG/etc/php.d
-install -m 644 $CWD/xdebug.ini $PKG/etc/php.d/xdebug.ini.new
-sed -i "s/LIBDIR/lib$LIBDIRSUFFIX/g" $PKG/etc/php.d/xdebug.ini.new
-
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml
-install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/xdebug.xml
-
-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/debugclient
-cp -a CREDITS LICENSE README.rst \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a debugclient/INSTALL debugclient/LICENSE \
- $PKG/usr/doc/$PRGNAM-$VERSION/debugclient
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-sed "s|LIBDIRSUFFIX|$LIBDIRSUFFIX|" $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/xdebug/xdebug.info b/development/xdebug/xdebug.info
deleted file mode 100644
index 5cf003532a..0000000000
--- a/development/xdebug/xdebug.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="xdebug"
-VERSION="2.5.5"
-HOMEPAGE="http://xdebug.org"
-DOWNLOAD="http://xdebug.org/files/xdebug-2.5.5.tgz"
-MD5SUM="81bca42ea6a1f7080f501b00d8122a01"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libedit"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/development/xdebug/xdebug.ini b/development/xdebug/xdebug.ini
deleted file mode 100644
index 0ec0bd6512..0000000000
--- a/development/xdebug/xdebug.ini
+++ /dev/null
@@ -1,47 +0,0 @@
-; Enable xdebug extension module
-;zend_extension="/usr/LIBDIR/php/extensions/xdebug.so"
-
-; This config file collects examples for the most commonly used
-; configuration options of xdebug. For a list of all possible
-; options take a look at http://xdebug.org/docs/all_settings
-
-; Enable xdebug
-;xdebug.default_enable=On
-
-; Enable "fancy" output and also a bit of performance drawback.
-; DISABLE on serious profiling
-;xdebug.extended_info=Off
-
-; Enable the remote client
-;xdebug.remote_enable=Off
-
-; Connect to debugclient only on error
-;xdebug.remote_mode="jit"
-
-; Enable the profiler
-;xdebug.profiler_enable=On
-
-; Enable the GET/POST trigger for the Profiler
-;xdebug.profiler_enable_trigger=On
-
-; Define directory for storing profiler output
-;xdebug.profiler_output_dir="/var/log/xdebug"
-
-; Filename of generated profiler files
-;xdebug.profiler_output_name="cachegrind.out.%R"
-
-; collect full variable content for function parameters
-;xdebug.collect_params="3"
-
-; collect return values of functions
-;xdebug.collect_return=On
-
-; Define directory for storing trace output
-;xdebug.trace_output_dir="/var/log/xdebug"
-
-; Filename of generated trace files
-;xdebug.trace_output_name="trace.%R"
-
-; show memory usage differences between function calls
-;xdebug.show_mem_delta=On
-
diff --git a/development/xemacs/README b/development/xemacs/README
deleted file mode 100644
index e0b4fac714..0000000000
--- a/development/xemacs/README
+++ /dev/null
@@ -1,8 +0,0 @@
-XEmacs is a highly customizable open source text editor and app-
-lication development system. It is protected under the GNU Public
-License and related to other versions of Emacs, in particular GNU
-Emacs. Its emphasis is on modern graphical user interface support and
-an open software development model, similar to Linux.
-
-NOTE: If you have xemacs installed, please remove it before building
-a new version. Otherwise it will fail to build.
diff --git a/development/xemacs/c11.patch b/development/xemacs/c11.patch
deleted file mode 100644
index d2d3741795..0000000000
--- a/development/xemacs/c11.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/lisp.h.orig 2014-06-05 09:02:17.000000000 -0600
-+++ src/lisp.h 2015-02-09 12:30:00.000000000 -0700
-@@ -1154,6 +1154,9 @@
-
- /* ------------------------ alignment definitions ------------------- */
-
-+#if (defined (__STDC_VERSION__) && __STDC_VERSION__ < 201112L) || \
-+ (defined (__cplusplus) && __cplusplus < 201103L) || \
-+ (! defined (__STDC_VERSION__) && ! defined (__cplusplus))
- /* No type has a greater alignment requirement than max_align_t.
- (except perhaps for types we don't use, like long double) */
- typedef union
-@@ -1163,6 +1166,7 @@
- struct { void (*f)(void); } f;
- struct { double d; } d;
- } max_align_t;
-+#endif
-
- /* ALIGNOF returns the required alignment of a type -- i.e. a value such
- that data of this type must begin at a memory address which is a
-@@ -1170,7 +1174,11 @@
- as the type itself. */
-
- #ifndef ALIGNOF
--# if defined (__GNUC__) && (__GNUC__ >= 2)
-+# if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
-+# define ALIGNOF(type) _Alignof(type)
-+# elif defined (__cplusplus) && __cplusplus >= 201103L
-+# define ALIGNOF(type) alignof(type)
-+# elif defined (__GNUC__) && (__GNUC__ >= 2)
- /* gcc has an extension that gives us exactly what we want. */
- # define ALIGNOF(type) __alignof__ (type)
- # elif ! defined (__cplusplus)
-
diff --git a/development/xemacs/patches/lib64.patch b/development/xemacs/patches/lib64.patch
deleted file mode 100644
index 4a1ff07097..0000000000
--- a/development/xemacs/patches/lib64.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- xemacs-21.5.34/lisp/find-paths.el.old 2016-01-04 18:49:46.227528964 +0700
-+++ xemacs-21.5.34/lisp/find-paths.el 2016-01-04 18:50:32.334978047 +0700
-@@ -226,7 +226,7 @@
- roots
- (file-name-as-directory
- (paths-construct-path (list
-- (if arch-dependent-p "lib" "share")
-+ (if arch-dependent-p "lib64" "share")
- emacs-program-name)))
- bases
- envvar default))
-@@ -276,7 +276,7 @@
- roots
- (file-name-as-directory
- (paths-construct-path
-- (list (if arch-dependent-p "lib" "share")
-+ (list (if arch-dependent-p "lib64" "share")
- (construct-emacs-version-name))))
- bases
- envvar default))
diff --git a/development/xemacs/slack-desc b/development/xemacs/slack-desc
deleted file mode 100644
index c8c907e51f..0000000000
--- a/development/xemacs/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------------------------------------------------------|
-xemacs: xemacs (XEmacs editor)
-xemacs:
-xemacs: Base binaries and support files for the XEmacs editor/environment.
-xemacs: This version requires X libraries installed but will run in a non-X
-xemacs: mode.
-xemacs:
-xemacs: XEmacs is a highly customizable open source text editor and app-
-xemacs: lication development system. It is protected under the GNU Public
-xemacs: License and related to other versions of Emacs, in particular GNU
-xemacs: Emacs. Its emphasis is on modern graphical user interface support
-xemacs: and an open software development model, similar to Linux.
diff --git a/development/xemacs/xemacs.SlackBuild b/development/xemacs/xemacs.SlackBuild
deleted file mode 100644
index 7cc954c509..0000000000
--- a/development/xemacs/xemacs.SlackBuild
+++ /dev/null
@@ -1,126 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for XEmacs
-
-# Created by Sean MacLennan <xemacs@seanm.ca>
-# Modified by Robby Workman <rworkman@slackbuilds.org> for
-# better consistency with existing SBo scripts...
-
-PRGNAM=xemacs
-VERSION=${VERSION:-21.5.34}
-SRCVER=21.5-b34
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-BASE_VERSION=2.27
-EFS_VERSION=1.34
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- # XEmacs will not run compiled -fPIC
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX="64"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root.root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p0 < $CWD/c11.patch
-
-# XEmacs is hardcoded to look in lib
-if [ "$ARCH" = "x86_64" ]; then
- patch -p1 < $CWD/patches/lib64.patch
-fi
-
-CFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --datadir=/usr/lib${LIBDIRSUFFIX} \
- --with-sound=none \
- --with-jpeg \
- --with-png \
- --with-tiff \
- --with-x \
- --build=$ARCH-slackware-linux
-
-make
-make install \
- prefix=$PKG/usr \
- libdir=$PKG/usr/lib${LIBDIRSUFFIX} \
- datadir=$PKG/usr/lib${LIBDIRSUFFIX}
-
-# Add minimal packages to allow package tools to work
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages
-tar xf $CWD/xemacs-base-$BASE_VERSION-pkg.tar.gz -C $PKG/usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages
-tar xf $CWD/efs-$EFS_VERSION-pkg.tar.gz -C $PKG/usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages
-# Make sure the .elc files are newer
-find $PKG/usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages -name \*.elc -exec touch {} \;
-
-make datadir=$PKG/usr/lib${LIBDIRSUFFIX} gzip-el
-
-# What is this 2.3M for?????
-rm -rf $PKG/usr/lib$LIBDIRSUFFIX/xemacs-$VERSION/$ARCH-slackware-linux/include
-
-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/man/man1
-mv $PKG/usr/share/man/* $PKG/usr/man/man1/
-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
-rm -rf $PKG/usr/share/man
-
-gzip -9 $PKG/usr/share/$PRGNAM-$SRCVER/info/*.info*
-
-# Fixup some conflicts with stock Slackware packages
-for file in b2m ctags etags ; do mv $PKG/usr/bin/$file{,-xemacs} ; done
-for file in ctags etags ; do mv $PKG/usr/man/man1/$file{,-xemacs}.1.gz ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES-* COPYING ChangeLog INSTALL Installation PROBLEMS 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
-
-cat <<EOF >$PKG/install/doinst.sh
-# Make sure the elc files are newer than the el files
-touch usr/lib${LIBDIRSUFFIX}/xemacs-$SRCVER/lisp/*.elc
-touch usr/lib${LIBDIRSUFFIX}/xemacs-$SRCVER/lisp/*/*.elc
-touch usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages/lisp/xemacs-base/*.elc
-touch usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages/lisp/efs/*.elc
-EOF
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/xemacs/xemacs.info b/development/xemacs/xemacs.info
deleted file mode 100644
index e6cc7cc9ad..0000000000
--- a/development/xemacs/xemacs.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="xemacs"
-VERSION="21.5.34"
-HOMEPAGE="http://xemacs.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/xemacs-21.5.34.tar.gz \
- http://ponce.cc/slackware/sources/repo/efs-1.34-pkg.tar.gz \
- http://ponce.cc/slackware/sources/repo/xemacs-base-2.27-pkg.tar.gz"
-MD5SUM="e093150724b6e55b14bae21739cfe373 \
- 1f424efc4a55b8da53a7d01136793c9d \
- 2ec18d0faf31e2d343f558c730474a63"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Sean MacLennan"
-EMAIL="xemacs@seanm.ca"
diff --git a/development/xkeys-sdk/README b/development/xkeys-sdk/README
new file mode 100644
index 0000000000..855545697e
--- /dev/null
+++ b/development/xkeys-sdk/README
@@ -0,0 +1,8 @@
+This is an open source Linux support for Pi Engineering's X-Keys
+products written in C++. Features code for accessing all X-keys controls
+and key states and includes a simple, straight forward example GUI.
+
+Example source code for the installed libraries, test & pietestgui
+programs are found in the piehid, test & testgui directories in
+/usr/doc/xkeys-sdk-$VERSION. The DataReports directory also found there
+contains the message formats for the various X-Keys products.
diff --git a/development/xkeys-sdk/doinst.sh b/development/xkeys-sdk/doinst.sh
new file mode 100644
index 0000000000..0fa754f75e
--- /dev/null
+++ b/development/xkeys-sdk/doinst.sh
@@ -0,0 +1,11 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/development/xkeys-sdk/slack-desc b/development/xkeys-sdk/slack-desc
new file mode 100644
index 0000000000..387c4c244b
--- /dev/null
+++ b/development/xkeys-sdk/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------------------------------------------------------|
+xkeys-sdk: xkeys-sdk (SDK for X-Keys)
+xkeys-sdk:
+xkeys-sdk: This is an open source Linux support for PI Engineering's X-Keys
+xkeys-sdk: products written in C++. Features code for accessing all X-keys
+xkeys-sdk: controls and key states and includes a simple, straight forward
+xkeys-sdk: example GUI.
+xkeys-sdk:
+xkeys-sdk:
+xkeys-sdk:
+xkeys-sdk:
+xkeys-sdk:
diff --git a/development/xkeys-sdk/xkeys-sdk.SlackBuild b/development/xkeys-sdk/xkeys-sdk.SlackBuild
new file mode 100644
index 0000000000..f54946c8f1
--- /dev/null
+++ b/development/xkeys-sdk/xkeys-sdk.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for xkeys-sdk
+
+# Copyright 2021 Christoph Willing Brisbane, Australia
+# 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=xkeys-sdk
+SRCNAM=X-keys_Linux
+VERSION=${VERSION:-2.1.0}
+COMMIT=6d63ceedb00f21a21a723ca899b4ff65f274c8b3
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$COMMIT
+tar xvf $CWD/$SRCNAM-$COMMIT.tar.gz
+cd $SRCNAM-$COMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+# Remove static library
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/libpiehid.a
+
+mkdir -p $PKG/lib/udev/rules.d
+install -m 0644 udev/90-xkeys.rules $PKG/lib/udev/rules.d/
+
+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.txt README.* piehid test testgui $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+tar -C $PKG/usr/doc/$PRGNAM-$VERSION -xf $TMP/$SRCNAM-$COMMIT/non-PC.tar.gz
+mv $PKG/usr/doc/$PRGNAM-$VERSION/non-PC $PKG/usr/doc/$PRGNAM-$VERSION/DataReports
+
+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/development/xkeys-sdk/xkeys-sdk.info b/development/xkeys-sdk/xkeys-sdk.info
new file mode 100644
index 0000000000..b5647fb5fd
--- /dev/null
+++ b/development/xkeys-sdk/xkeys-sdk.info
@@ -0,0 +1,10 @@
+PRGNAM="xkeys-sdk"
+VERSION="2.1.0"
+HOMEPAGE="https://github.com/piengineering/X-keys_Linux"
+DOWNLOAD="https://github.com/piengineering/X-keys_Linux/archive/6d63cee/X-keys_Linux-6d63ceedb00f21a21a723ca899b4ff65f274c8b3.tar.gz"
+MD5SUM="ef3bf752674383e3cba8c308324f89dc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/development/xmake/README b/development/xmake/README
new file mode 100644
index 0000000000..8afad5276b
--- /dev/null
+++ b/development/xmake/README
@@ -0,0 +1,8 @@
+xmake is a cross-platform build utility based on Lua.
+
+It can compile the project directly like Make/Ninja, or generate
+project files like CMake/Meson, and it also has a built-in package
+management system to help users solve the integrated use of C/C++
+dependent libraries.
+
+There are no dependencies, because xmake builds them on its own.
diff --git a/development/xmake/slack-desc b/development/xmake/slack-desc
new file mode 100644
index 0000000000..5ee20ff3b7
--- /dev/null
+++ b/development/xmake/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------------------------------------------------------|
+xmake: xmake (a cross-platform build utility based on Lua)
+xmake:
+xmake: It can compile the project directly like Make/Ninja, or generate
+xmake: project files like CMake/Meson, and it also has a built-in package
+xmake: management system to help users solve the integrated use of C/C++
+xmake: dependent libraries.
+xmake:
+xmake:
+xmake:
+xmake:
+xmake:
diff --git a/development/xmake/xmake.SlackBuild b/development/xmake/xmake.SlackBuild
new file mode 100644
index 0000000000..a93ed455e4
--- /dev/null
+++ b/development/xmake/xmake.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for xmake
+
+# Copyright 2022 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=xmake
+VERSION=${VERSION:-2.8.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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-v$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+./configure --generator=gmake \
+ --mode=release \
+ --toolchain=gcc \
+ --prefix=/usr \
+ --libdir="lib$LIBDIRSUFFIX" \
+ --runtime=lua
+
+make
+make PREFIX=/usr \
+ DESTDIR="$PKG" \
+ install
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md LICENSE.md NOTICE.md README.md README_zh.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xmake/xmake.info b/development/xmake/xmake.info
new file mode 100644
index 0000000000..6bb183ae48
--- /dev/null
+++ b/development/xmake/xmake.info
@@ -0,0 +1,10 @@
+PRGNAM="xmake"
+VERSION="2.8.9"
+HOMEPAGE="https://xmake.io/"
+DOWNLOAD="https://github.com/xmake-io/xmake/releases/download/v2.8.9/xmake-v2.8.9.tar.gz"
+MD5SUM="2b38f0522c6a20efe605f024a7949799"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/development/xmlcopyeditor/xmlcopyeditor.SlackBuild b/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
index 975bc168ee..c93b57854f 100644
--- a/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
+++ b/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xmlcopyeditor
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220320 bkw: Modified by SlackBuilds.org: use explicit path to wx
+# configure script, to fix the wxPython/wxGTK3 conflict.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xmlcopyeditor
VERSION=${VERSION:-1.2.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+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" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,9 +75,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Fix end-of-line formatting.
for FILE in $(find . -type f ! -name "*\.png" | xargs grep -Pl '\r$'); do
@@ -81,6 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-dependency-tracking \
+ --with-wx-config=/usr/lib$LIBDIRSUFFIX/wx/config/gtk2-unicode-release-2.8 \
--build=$ARCH-slackware-linux
make
@@ -100,4 +111,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xmlstarlet/xmlstarlet.SlackBuild b/development/xmlstarlet/xmlstarlet.SlackBuild
index 4cd7b548a9..913ebcc02d 100644
--- a/development/xmlstarlet/xmlstarlet.SlackBuild
+++ b/development/xmlstarlet/xmlstarlet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xmlstarlet
@@ -22,26 +22,36 @@
# 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=xmlstarlet
VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -107,4 +117,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xnedit/xnedit.SlackBuild b/development/xnedit/xnedit.SlackBuild
index 52461f43b8..834c717ee1 100644
--- a/development/xnedit/xnedit.SlackBuild
+++ b/development/xnedit/xnedit.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xnedit
-# Copyright 2019-2020 Qunying Zhu <zhu.qunying@gmail.com>
+# Copyright 2019-2023 Qunying Zhu <zhu.qunying@gmail.com>
# Copyright 2017 Alessandro Pittaluga <agp@pittux.com>
# All rights reserved.
@@ -25,10 +25,13 @@
# 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=xnedit
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-1.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -48,21 +58,16 @@ 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.?z*
-cd $PRGNAM
-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 {} \;
-
-make linux
+cd $PRGNAM-$VERSION
+
+make -j1 linux docs
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
install -m 755 source/xnedit $PKG/usr/bin/xnedit
+install -m 755 source/xnc $PKG/usr/bin/xnc
install -m 644 doc/xnedit.man $PKG/usr/man/man1/xnedit.1
-install -m 644 doc/xnc.man $PKG/usr/man/man1/xcl.1
+install -m 644 doc/xnc.man $PKG/usr/man/man1/xnc.1
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
@@ -74,10 +79,12 @@ mkdir -p $PKG/usr/share/icons
mkdir -p $PKG/usr/share/applications
cp resources/desktop/xnedit.png $PKG/usr/share/icons
-sed 's/%PREFIX%/\/usr/g' resources/desktop/xnedit.desktop.template > $PKG/usr/share/applications/xnedit.desktop
+sed -e 's/%PREFIX%/\/usr/g' \
+ -e 's/Application;//' \
+ resources/desktop/xnedit.desktop.template > $PKG/usr/share/applications/xnedit.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE CHANGELOG README ReleaseNotes doc/faq.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE CHANGELOG README.md ReleaseNotes doc/faq.txt doc/html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -85,4 +92,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xnedit/xnedit.info b/development/xnedit/xnedit.info
index 79b03131d2..22de9b43c7 100644
--- a/development/xnedit/xnedit.info
+++ b/development/xnedit/xnedit.info
@@ -1,8 +1,8 @@
PRGNAM="xnedit"
-VERSION="1.2.0"
+VERSION="1.5.3"
HOMEPAGE="https://sourceforge.net/projects/xnedit/"
-DOWNLOAD="https://sourceforge.net/projects/xnedit/files/xnedit-1.2.0.tar.gz"
-MD5SUM="72b66dabb081451bbe0069a84c4fbad8"
+DOWNLOAD="https://github.com/unixwork/xnedit/archive/v1.5.3/xnedit-1.5.3.tar.gz"
+MD5SUM="5ccb5a57e3bc5ed8dd307f74e7e8a64f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/xsp/xsp.SlackBuild b/development/xsp/xsp.SlackBuild
index 84cd4da2ca..265344e77c 100644
--- a/development/xsp/xsp.SlackBuild
+++ b/development/xsp/xsp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Mono XSP
@@ -22,10 +22,13 @@
# 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=xsp
VERSION=${VERSION:-4.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -103,8 +113,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README README.mono-fpm.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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xtruss/slack-desc b/development/xtruss/slack-desc
index 60d904107a..ce92fca42d 100644
--- a/development/xtruss/slack-desc
+++ b/development/xtruss/slack-desc
@@ -9,7 +9,7 @@
xtruss: xtruss (easy to use X protocol tracing program)
xtruss:
xtruss: XTruss logs everything that passes between the X server and one
-xtruss: or more X client programs. In this it is similar to xmon(1), but
+xtruss: or more X client programs. In this it is similar to xmon(1), but
xtruss: intended to combine xmon's basic functionality with an interface
xtruss: much more similar to strace(1).
xtruss:
diff --git a/development/xtruss/xtruss.1 b/development/xtruss/xtruss.1
new file mode 100644
index 0000000000..5166722e9c
--- /dev/null
+++ b/development/xtruss/xtruss.1
@@ -0,0 +1,98 @@
+.\" xtruss version 20211025.c25bf48
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.TH "xtruss" "1" "2009\(hy05\(hy02" "PuTTY\ spinoffs" "PuTTY\ spinoffs"
+.SH "NAME"
+.PP
+\fBxtruss\fP - trace X protocol exchanges, in the manner of \fBstrace\fP
+.SH "SYNOPSIS"
+.PP
+.nf
+\fBxtruss\fP\ [\ \fIoptions\fP\ ]\ \fIcommand\fP\ [\ \fIcommand\-arguments\fP\ ]
+\fBxtruss\fP\ [\ \fIoptions\fP\ ]\ \fB\-p\fP\ \fIX\-resource\-ID\fP
+\fBxtruss\fP\ [\ \fIoptions\fP\ ]\ \fB\-p\fP\ \fB\-\fP
+\fBxtruss\fP\ [\ \fIoptions\fP\ ]\ \fB\-P\fP
+.fi
+.SH "DESCRIPTION"
+.PP
+\fBxtruss\fP is a utility which logs everything that passes between the X server and one or more X client programs. In this it is similar to \fBxmon\fP(1), but intended to combine \fBxmon\fP\*(Aqs basic functionality with an interface much more similar to \fBstrace\fP(1).
+.PP
+Like \fBxmon\fP, \fBxtruss\fP in its default mode works by setting up a proxy X server, waiting for connections to that, and forwarding them on to the real X server. However, unlike \fBxmon\fP, you don\*(Aqt have to deal with any of that by hand: there\*(Aqs no need to start the trace utility in one terminal and manually attach processes to it from another, unless you really want to (in which case the \fB-P\fP option will do that). The principal mode of use is just to type \fBxtruss\fP followed by the command line of your X program; \fBxtruss\fP will automatically take care of adjusting the new program\*(Aqs environment to point at its proxy server, and (also unlike \fBxmon\fP) it will also take care of X authorisation automatically.
+.PP
+As an alternative mode of use, you can also attach \fBxtruss\fP to an already-running X application, if you didn\*(Aqt realise you were going to want to trace it until it had already been started. This mode requires cooperation from the X server - specifically, it can\*(Aqt work unless the server supports the \fBRECORD\fP protocol extension - but since modern X.Org servers do provide that, it\*(Aqs often useful.
+.PP
+The logging format of \fBxtruss\fP is much more compact than that of \fBxmon\fP, and resembles \fBstrace\fP in that it\*(Aqs written to look like a series of function calls some of which return values. For instance, where \fBxmon\fP would print
+.PP
+.nf
+\ \ \ \ \ \ \ \ \ ............REQUEST:\ GetSelectionOwner
+\ \ \ \ \ \ \ \ \ \ \ \ \ sequence\ number:\ 000f
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ request\ length:\ 0002
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ selection:\ <PRIMARY>
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ..............REPLY:\ GetSelectionOwner
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ sequence\ number:\ 000f
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ reply\ length:\ 00000000
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ owner:\ WIN\ 02c0002b
+\ \ \ \ \ \ \ \ \ ............REQUEST:\ InternAtom
+\ \ \ \ \ \ \ \ \ \ \ \ \ sequence\ number:\ 0010
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ only\-if\-exists:\ False
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ request\ length:\ 0005
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ length\ of\ name:\ 000c
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ name:\ "VT_SELECTION"
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ..............REPLY:\ InternAtom
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ sequence\ number:\ 0010
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ reply\ length:\ 00000000
+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ atom:\ ATM\ 000002bf
+.fi
+.PP
+\fBxtruss\fP will instead print
+.PP
+.nf
+GetSelectionOwner(selection=a#1)\ =\ {owner=w#02C0002B}
+InternAtom(name="VT_SELECTION",\ only\-if\-exists=False)\ =\ {atom=a#703}
+.fi
+.PP
+Note that not only has each request been condensed on to one line (though most lines will be long enough to wrap, at least on a standard 80-column terminal), but also each request and reply have been printed on the \fIsame\fP line.
+.PP
+That last is not always possible, of course: sometimes an application will queue multiple requests before receiving the reply to the first one (in fact, this is generally good behaviour since it minimises network round-trip delays), in which case \fBxtruss\fP\*(Aqs output will look - again mimicking \fBstrace\fP - something like this:
+.PP
+.nf
+InternAtom(name="TARGETS",\ only\-if\-exists=False)\ =\ <unfinished>
+InternAtom(name="TIMESTAMP",\ only\-if\-exists=False)\ =\ <unfinished>
+\ ...\ InternAtom(name="TARGETS",\ only\-if\-exists=False)\ =\ {atom=a#378}
+\ ...\ InternAtom(name="TIMESTAMP",\ only\-if\-exists=False)\ =\ {atom=a#379}
+.fi
+.SH "OPTIONS"
+.PP
+These options change the mode of operation of \fBxtruss\fP away from the default of acting as a wrapper on a single command:
+.IP "\fB-p\fP \fIresource-ID\fP"
+Attach to the X client owning the given resource, using the X \fBRECORD\fP extension (which the server must support for this to work). The resource ID can be a decimal integer or a hex integer preceded with `\fB0x\fP'. It typically names an X window, but can name another type of resource instead (e.g. a pixmap or cursor) or just specify the resource base of the client connection. If you don\*(Aqt know any of those things, you can give the resource ID as just `\fB-\fP', in which case \fBxtruss\fP will allow you to interactively select a window by clicking with the mouse (similarly to \fBxkill\fP(1), \fBxwininfo\fP(1) and \fBxprop\fP(1)) and will trace the client that owns the window you select.
+.IP "\fB-P\fP"
+Set up a logging X proxy as in the normal mode, but instead of spawning a subprocess to connect to that proxy, just wait for connections. This turns \fBxtruss\fP into a tool more similar to \fBxmon\fP: you start it in one terminal window, and then from another terminal window you can configure selected processes to connect to the proxy server and be logged. \fBxtruss\fP will print on standard output the environment variables you need to set up to connect other processes to the proxy (in both \fBsh\fP and \fBcsh\fP syntax).
+.PP
+The following options apply to all modes of operation:
+.IP "\fB-s\fP \fIlength\fP"
+Limit the length of output lines by eliding most of the contents of long arrays, strings and blocks of data. \fBxtruss\fP will begin to shorten lines at the specified length (any line shorter than that should not be interfered with), but lines cannot always be chopped to the exact length and continue to make sense, so the line length is approximate only. Specifying zero or `\fBunlimited\fP' will remove all restriction, so that \fBxtruss\fP will display the full contents of every request it understands, no matter how big. Default is 256.
+.IP "\fB-o\fP \fIfilename\fP"
+Send the trace output to the specified file, or to standard output if \fIfilename\fP is just `\fB-\fP'. The default is to log to standard error.
+.IP "\fB-e\fP [\fIclass\fP\fB=\fP][\fB!\fP]\fIitem\fP[\fB,\fP\fIitem\fP...]"
+Specify a subset of X requests or X events to log. \fIclass\fP can be either `\fBrequests\fP' or `\fBevents\fP'; if the class is omitted, `\fBrequests\fP' is assumed. The list of \fIitem\fP gives a list of X request names or X event names (respectively) to be logged; all other requests or events are omitted. If the list of items is prefixed with \fB!\fP, it is instead treated as a list of requests or events \fInot\fP to be logged, and anything not in the list is printed. Reply and error packets are not separately filtered: they are logged if and only if the request they respond to was logged.
+.RS
+.PP
+For example, to log only \fBImageText8\fP and \fBImageText16\fP requests, you might say `\fBxtruss -e requests=ImageText8,ImageText16\fP \fIcommand\fP' or just `\fBxtruss -e ImageText8,ImageText16\fP \fIcommand\fP'. To inhibit the display of \fBFocusIn\fP and \fBFocusOut\fP events, you might say `\fBxtruss -e events=!FocusIn,FocusOut\fP \fIcommand\fP'.
+.PP
+(Note that the \fB!\fP character might be treated specially by your shell, so you may need to escape it.)
+.RE
+.IP "\fB-I\fP"
+Log the initialisation message sent by the X server at the start of the connection. This is omitted by default because it's particularly long and ugly.
+.IP "\fB-R\fP"
+As well as translating the X protocol, also give a raw hex dump of all the data transferred over the connection. (Probably most useful to include in a bug report about \fBxtruss\fP itself!)
+.IP "\fB-C\fP"
+Prefix every output line with the X client id (resource base) of the client connection it came from. By default \fBxtruss\fP only starts to do this if it\*(Aqs tracing more than one X client; before then, lines are unprefixed. This option makes prefixing unconditional from the start of the run.
+.SH "BUGS"
+.PP
+Many commonly used X protocol extensions are not currently decoded.
+.PP
+A lot of this program has been only minimally tested.
+.SH "LICENCE"
+.PP
+\fBxtruss\fP is free software, distributed under the MIT/X11 licence. Type \fBxtruss --licence\fP to see the full licence text.
diff --git a/development/xtruss/xtruss.SlackBuild b/development/xtruss/xtruss.SlackBuild
index 22b9d43a4a..ec340a3f36 100644
--- a/development/xtruss/xtruss.SlackBuild
+++ b/development/xtruss/xtruss.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xtruss.
@@ -7,15 +7,23 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230103 bkw: update for v20211025.c25bf48. can't build older versions
+# as upstream has switched to cmake.
+
+# 20210907 bkw: update for v20210225.2addd50
+
# 20201102 bkw:
# - update for v20200918.a94a153
# - switch to self-hosted source, as upstream disappears the old source
# immediately on every new release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xtruss
-VERSION=${VERSION:-20200918.a94a153}
+VERSION=${VERSION:-20211025.c25bf48}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -25,11 +33,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
+# Note: upstream default adds -O3 after our flags :(
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -56,21 +69,23 @@ 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 {} \+
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
-make
-make install-strip DESTDIR=$PKG
+# 20230103 bkw: to avoid having halibut as a dependency, use a
+# prebuilt man page.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-gzip $PKG/usr/man/man?/*.?
+# in case halibut actually is installed (nothing in /usr/share but man/)
+rm -rf $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENCE README $PKG/usr/doc/$PRGNAM-$VERSION
@@ -80,4 +95,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xtruss/xtruss.info b/development/xtruss/xtruss.info
index 712b3b8ea7..7a3085abe0 100644
--- a/development/xtruss/xtruss.info
+++ b/development/xtruss/xtruss.info
@@ -1,10 +1,10 @@
PRGNAM="xtruss"
-VERSION="20200918.a94a153"
+VERSION="20211025.c25bf48"
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/xtruss/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/xtruss-20200918.a94a153.tar.gz"
-MD5SUM="bcdf1e92ec0f6226cd8a314edf861b62"
+DOWNLOAD="https://slackware.uk/~urchlay/src/xtruss-20211025.c25bf48.tar.gz"
+MD5SUM="fbfa31a93f14c47d0f584e8e937e9a66"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/xvi/README b/development/xvi/README
index c64957a55f..45602cb234 100644
--- a/development/xvi/README
+++ b/development/xvi/README
@@ -3,7 +3,7 @@ xvi (tiny but full-featured vi clone)
Xvi is a portable multi-window version of the UNIX editor 'vi', derived
from "STEVIE" in the 1980s. The program was originally developed for the
Atari ST, but has been ported to many platforms. In spite of its name,
-there is, as yet, no X-Windows-specific version of it.
+there is, as yet, no X-Window-specific version of it.
It uses text windows separated by horizontal status lines on character
mode displays and the windows may represent different files being
diff --git a/development/xvi/slack-desc b/development/xvi/slack-desc
index 716119b75b..9c0b82fdaa 100644
--- a/development/xvi/slack-desc
+++ b/development/xvi/slack-desc
@@ -11,7 +11,7 @@ xvi:
xvi: Xvi is a portable multi-window version of the UNIX editor 'vi',
xvi: derived from "STEVIE" in the 1980s. The program was originally
xvi: developed for the Atari ST, but has been ported to many platforms. In
-xvi: spite of its name, there is, as yet, no X-Windows-specific version
+xvi: spite of its name, there is, as yet, no X-Window-specific version
xvi: of it.
xvi:
xvi: It uses text windows separated by horizontal status lines on character
diff --git a/development/xvi/xvi.SlackBuild b/development/xvi/xvi.SlackBuild
index 92372a28af..1b2435e338 100644
--- a/development/xvi/xvi.SlackBuild
+++ b/development/xvi/xvi.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xvi
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xvi
VERSION=${VERSION:-2.50.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -90,4 +97,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xvi/xvi.info b/development/xvi/xvi.info
index 80512ed6d3..2e51934e93 100644
--- a/development/xvi/xvi.info
+++ b/development/xvi/xvi.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/xvile/xvile.SlackBuild b/development/xvile/xvile.SlackBuild
index 3abe9701b9..9591f10bd4 100644
--- a/development/xvile/xvile.SlackBuild
+++ b/development/xvile/xvile.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xvile
-# Copyright 2010-2019 Wayne Cuddy Fairfax, VA (USA)
+# Copyright 2010-2022 Wayne Cuddy Fairfax, VA (USA)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,10 +24,25 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# 2024-02-24
+# - upgrade upstream version to 9.8z
+#
+# 2022-10-22
+# - upgrade upstream version to 9.8w
+#
+#
+# 20220318 bkw: Modified by SlackBuilds.org, BUILD=2: cleanliness.
+# - stop configure from writing to /usr/lib during the build.
+# - do not install useless INSTALL to doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xvile
-VERSION=${VERSION:-9.8t}
+VERSION=${VERSION:-9.8z}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=vile
@@ -39,7 +54,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -70,10 +89,14 @@ 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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+# 20220318 bkw: ac_cv_sys_long_file_names=yes stops it from writing to
+# /usr/lib to check for long filenames.
+
+ac_cv_sys_long_file_names=yes \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -86,24 +109,21 @@ CXXFLAGS="$SLKCFLAGS" \
--with-app-defaults=/etc/X11/app-defaults \
--build=$ARCH-slackware-linux
-make
-make DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION install install-doc
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION install -j1 install-doc
+# 20220318 bkw: binaries already stripped.
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 CHANGES* COPYING INSTALL README* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES* COPYING README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/pixmaps
-cp icons/vile.* $PKG/usr/share/pixmaps
+cp icons/*.{xpm,png} $PKG/usr/share/pixmaps
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xvile/xvile.info b/development/xvile/xvile.info
index 1b5e6a6d51..e2c21c69e1 100644
--- a/development/xvile/xvile.info
+++ b/development/xvile/xvile.info
@@ -1,8 +1,8 @@
PRGNAM="xvile"
-VERSION="9.8t"
+VERSION="9.8z"
HOMEPAGE="http://invisible-island.net/vile/"
-DOWNLOAD="ftp://ftp.invisible-island.net/pub/vile/current/vile-9.8t.tgz"
-MD5SUM="4a748c35844ae4b3e89352faaa6daaad"
+DOWNLOAD="https://www.invisible-island.net/archives/vile/current/vile-9.8z.tgz"
+MD5SUM="2b9c80836e7188d4901aceb8cd1572fa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/xxd-standalone/xxd-standalone.SlackBuild b/development/xxd-standalone/xxd-standalone.SlackBuild
index 8c81455ac3..6a9ce88b76 100644
--- a/development/xxd-standalone/xxd-standalone.SlackBuild
+++ b/development/xxd-standalone/xxd-standalone.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xxd-standalone
-# Copyright 2020, 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
@@ -22,10 +22,13 @@
# 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=xxd-standalone
-VERSION=${VERSION:-8.2.0854}
+VERSION=${VERSION:-9.1.0094}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -118,4 +125,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xxd-standalone/xxd-standalone.info b/development/xxd-standalone/xxd-standalone.info
index 74350184cc..0496648f3f 100644
--- a/development/xxd-standalone/xxd-standalone.info
+++ b/development/xxd-standalone/xxd-standalone.info
@@ -1,30 +1,30 @@
PRGNAM="xxd-standalone"
-VERSION="8.2.0854"
+VERSION="9.1.0094"
HOMEPAGE="https://www.vim.org"
-DOWNLOAD="https://raw.githubusercontent.com/vim/vim/v8.2.0854/src/xxd/xxd.c \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/src/xxd/Makefile \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-fr.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-fr.UTF-8.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-it.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-it.UTF-8.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-ja.UTF-8.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-pl.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-pl.UTF-8.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-ru.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd-ru.UTF-8.1 \
- https://raw.githubusercontent.com/vim/vim/v8.2.0854/runtime/doc/xxd.1"
-MD5SUM="316a7f62dd590d7d18ef4344575d00d0 \
- d551525508580302c1c22a9ec0c0fb84 \
- d5967064b340a99671066fe1662b9a70 \
- 37987f54a8bef25f75c72972381880db \
- b772556f2393b1cdc82c653449bdcf02 \
- 9bb23fce20c8c6d0772108b53d66c874 \
- 557970ea576b1550c74edbf729c58ef0 \
- e3a2e3643b2bc4b14c99b45a7a46a5cc \
- 8f4fe8c8a682d6b1c608011a1fdc7171 \
- 92408c9623fcfa72e7780a4b0d365eb5 \
- 3ec378d11a435980ac03c1f66c1717f0 \
- 87467fa59b7efa85002baa2d78d2c0bb"
+DOWNLOAD="https://raw.githubusercontent.com/vim/vim/v9.1.0094/src/xxd/xxd.c \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/src/xxd/Makefile \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-fr.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-fr.UTF-8.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-it.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-it.UTF-8.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-ja.UTF-8.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-pl.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-pl.UTF-8.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-ru.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd-ru.UTF-8.1 \
+ https://raw.githubusercontent.com/vim/vim/v9.1.0094/runtime/doc/xxd.1"
+MD5SUM="f8817c8b0a30df8b33c9d0705cb00264 \
+ cc78bcf8a54283993e9422741eb07558 \
+ 4d8334a32c068f4ff268091ea9136fd8 \
+ 967cc9a866a5528c5422674813d2161f \
+ 5b931ababfc2fa78939db81667be271b \
+ 1c92891baf49828a45c9422b8178feed \
+ c6e3912b2da723620a83d628b67a00ac \
+ fb29302ce96f660cdd58d4eb0adcf0a7 \
+ 839b7221da6d5561be6d5cdf1feceab6 \
+ aaa4c5d7486c5d0fce9890b1bbeddeef \
+ 965aa6102b5bbd366369bf527aaa7649 \
+ 3ecdae02363805096180bf297c001b53"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/xxdiff/xxdiff-e3cdca0088916446b019dcbf8ea7164cc5f788ac.diff b/development/xxdiff/xxdiff-e3cdca0088916446b019dcbf8ea7164cc5f788ac.diff
deleted file mode 100644
index fc39adbc7e..0000000000
--- a/development/xxdiff/xxdiff-e3cdca0088916446b019dcbf8ea7164cc5f788ac.diff
+++ /dev/null
@@ -1,115 +0,0 @@
-# HG changeset patch
-# User Martin Blais <blais@furius.ca>
-# Date 1407690283 14400
-# Node ID e3cdca0088916446b019dcbf8ea7164cc5f788ac
-# Parent 5ebaec3d8cb9bb8eaf0600acee495a1ffc28b67c
-Applied patch from <john dot schmerge at gmail dot com> for bison 3.0.2
-
-diff --git a/src/resParser.cpp b/src/resParser.cpp
---- a/src/resParser.cpp
-+++ b/src/resParser.cpp
-@@ -73,7 +73,7 @@
-
- //------------------------------------------------------------------------------
- //
--void resParsererror( const char* msg )
-+void resParsererror( XxResources *, const char* msg )
- {
- // Send errors to stdout so we can filter out the debug info shmeglu while
- // debugging parser.
-@@ -794,7 +794,7 @@
- QString os;
- QTextStream oss( &os );
- oss << "Unknown " << errmsg << ": " << name << flush;
-- resParsererror( os.toLatin1().constData() );
-+ resParsererror( NULL, os.toLatin1().constData() );
- }
- num = ERROR_TOKEN;
- return ERROR_TOKEN;
-diff --git a/src/resParser.l b/src/resParser.l
---- a/src/resParser.l
-+++ b/src/resParser.l
-@@ -76,7 +76,7 @@
- result = YY_NULL; \
- } \
- else { \
-- int ii = 0; \
-+ unsigned ii = 0; \
- for ( ; (ii < max_size) && (!input_stream_ptr->atEnd()); ++ii ) { \
- (*input_stream_ptr) >> buf[ii]; \
- } \
-diff --git a/src/resParser.y b/src/resParser.y
---- a/src/resParser.y
-+++ b/src/resParser.y
-@@ -20,11 +20,6 @@
- *
- ******************************************************************************/
-
--%union
--{
-- int num;
-- char* str;
--}
- %{
-
- // xxdiff imports
-@@ -39,12 +34,22 @@
-
- // The parser input is the resources object to fill in.
- #define RESOURCES ( static_cast<XxResources*>(resources) )
--#define YYPARSE_PARAM resources
-+%}
-
-+%define api.pure full
-+%parse-param {XxResources * resources}
-+
-+%union
-+{
-+ int num;
-+ char* str;
-+}
-+
-+%{
- // Declare lexer from other compilation unit.
- int resParserlex( YYSTYPE* yylval );
-
--void resParsererror( const char* msg );
-+void resParsererror( XxResources *, const char* msg );
-
- // Declare some parser functions and data defined in resParser.cpp
- namespace XxResParserNS {
-@@ -144,7 +149,6 @@
- %type <num> boolkwd
-
- %start xxdiffrc
--%pure_parser
-
- %%
- xxdiffrc : stmts
-@@ -188,7 +192,7 @@
- RESOURCES->setPreferredGeometry( geometry );
- }
- else {
-- yyerror( "Bad geometry specification." );
-+ yyerror( NULL, "Bad geometry specification." );
- // Should never happen, the lexer regexp should be tough
- // enough.
- }
-@@ -212,7 +216,7 @@
- QString err = QString( "Requested style key does not exist." );
- err += QString( "\nValid styles are: " );
- err += styles.join( ", " );
-- yyerror( err.toLatin1().constData() );
-+ yyerror( NULL, err.toLatin1().constData() );
- }
- }
- ;
-@@ -224,7 +228,7 @@
- char buf[2048];
- ::snprintf( buf, 2048,
- "Unrecognized accelerator: %s\n", $5 );
-- yyerror( buf );
-+ yyerror( NULL, buf );
- }
- }
- ;
diff --git a/development/xxdiff/xxdiff.SlackBuild b/development/xxdiff/xxdiff.SlackBuild
index eaf1563b36..096cba8094 100644
--- a/development/xxdiff/xxdiff.SlackBuild
+++ b/development/xxdiff/xxdiff.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xxdiff
# Written by Benno Grolik <fwxx@rocketmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xxdiff
-VERSION=${VERSION:-401}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-20220219_d4432be}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -51,18 +61,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix for bison-3
-# https://bitbucket.org/blais/xxdiff/commits/e3cdca0088916446b019dcbf8ea7164cc5f788ac/raw/
-patch -p1 < $CWD/xxdiff-e3cdca0088916446b019dcbf8ea7164cc5f788ac.diff
-
cd src
-QMAKE=`which qmake` make -f Makefile.bootstrap Makefile
+make QMAKE=qmake-qt5 -f Makefile.bootstrap
make
cd ..
install -m 755 -o root -g root -D bin/$PRGNAM $PKG/usr/bin/$PRGNAM
install -m 644 -o root -g root -D src/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1
-
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
@@ -71,7 +76,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES COPYING README TODO tools/ \
+ CHANGES COPYING README* TODO tools/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION/html
rm $PKG/usr/doc/$PRGNAM-$VERSION/html/Makefile
@@ -82,4 +87,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/xxdiff/xxdiff.info b/development/xxdiff/xxdiff.info
index 24ff0a803c..888b1624c7 100644
--- a/development/xxdiff/xxdiff.info
+++ b/development/xxdiff/xxdiff.info
@@ -1,8 +1,8 @@
PRGNAM="xxdiff"
-VERSION="401"
+VERSION="20220219_d4432be"
HOMEPAGE="http://furius.ca/xxdiff/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/xxdiff-401.tar.xz"
-MD5SUM="ba7e03d2ad403926e9a3f8e30f67725a"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/xxdiff-20220219_d4432be.tar.xz"
+MD5SUM="1b74afc251e16e8e55e9cb210f89acf3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/yabasic/README b/development/yabasic/README
new file mode 100644
index 0000000000..43ba689b7b
--- /dev/null
+++ b/development/yabasic/README
@@ -0,0 +1,11 @@
+yabasic is a traditional basic interpreter. It understands most of
+the typical basic-constructs, like goto, gosub, line numbers, read,
+data or string-variables with a trailing '$'. But on the other hand,
+yabasic implements some more advanced programming-constructs like
+subroutines or libraries (but not objects). yabasic works much the
+same under Unix and Windows.
+
+yabasic puts emphasis on giving results quickly and easily;
+therefore simple commands are provided to open a graphic window,
+print the graphics or control the console screen and get
+keyboard or mouse information.
diff --git a/development/yabasic/doinst.sh b/development/yabasic/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/yabasic/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/development/yabasic/slack-desc b/development/yabasic/slack-desc
new file mode 100644
index 0000000000..6feacee5a2
--- /dev/null
+++ b/development/yabasic/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------------------------------------------------------|
+yabasic: yabasic (basic-interpreter)
+yabasic:
+yabasic: Yabasic is a traditional basic-interpreter. It comes with goto and
+yabasic: various loops and allows to define subroutines and libraries.
+yabasic: It does simple graphics and printing. Yabasic can call out to
+yabasic: libraries written in C and allows to create standalone programs.
+yabasic: Yabasic runs under Unix and Windows and has a comprehensive
+yabasic: documentation; it is small, simple, open-source and free.
+yabasic:
+yabasic: Yabasic is very well documented.
+yabasic:
diff --git a/development/yabasic/yabasic.SlackBuild b/development/yabasic/yabasic.SlackBuild
new file mode 100644
index 0000000000..3376a7beb8
--- /dev/null
+++ b/development/yabasic/yabasic.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for yabasic
+
+# Copyright 2023 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=yabasic
+VERSION=${VERSION:-2.90.4}
+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 xvfz $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 {} \;
+
+./configure
+make
+make check
+make install DESTDIR=$PKG
+
+mkdir -p $PKG/usr/bin $PKG/usr/share/pixmaps $PKG/usr/share/applications $PKG/usr/man/man1
+mv $PKG/usr/local/bin/yabasic $PKG/usr/bin
+cat $PKG/usr/local/share/man/man1/yabasic.1 | gzip -c -f > $PKG/usr/man/man1/yabasic.1.gz
+rm -rf $PKG/usr/local
+cp $CWD/yabasic.desktop $PKG/usr/share/applications
+cp $CWD/yabasic.png $PKG/usr/share/pixmaps
+
+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/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp yabasic.htm $PKG/usr/doc/$PRGNAM-$VERSION
+
+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/development/yabasic/yabasic.desktop b/development/yabasic/yabasic.desktop
new file mode 100644
index 0000000000..d76280099a
--- /dev/null
+++ b/development/yabasic/yabasic.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Yabasic
+GenericName=Yabasic
+Exec=yabasic
+Icon=yabasic.png
+Terminal=true
+Type=Application
+Categories=Development
+StartupNotify=false
diff --git a/development/yabasic/yabasic.info b/development/yabasic/yabasic.info
new file mode 100644
index 0000000000..403a1bb6fc
--- /dev/null
+++ b/development/yabasic/yabasic.info
@@ -0,0 +1,10 @@
+PRGNAM="yabasic"
+VERSION="2.90.4"
+HOMEPAGE="http://2484.de/yabasic/"
+DOWNLOAD="http://2484.de/yabasic/download/yabasic-2.90.4.tar.gz"
+MD5SUM="c7bef6160a4f4140d0edced4e9e30ffc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/development/yabasic/yabasic.png b/development/yabasic/yabasic.png
new file mode 100644
index 0000000000..1e108b7a47
--- /dev/null
+++ b/development/yabasic/yabasic.png
Binary files differ
diff --git a/development/yarn/README b/development/yarn/README
index 0653c56ec7..4c9a4165c1 100644
--- a/development/yarn/README
+++ b/development/yarn/README
@@ -3,3 +3,5 @@ yarn is a fast, reliable, and secure dependency management.
It allows you to use and share code with other developers from around
the world. Yarn does this quickly, securely, and reliably so you don't
ever have to worry.
+
+Note: This is the Classic YARN package
diff --git a/development/yarn/slack-desc b/development/yarn/slack-desc
index 8124a3e8c7..586ceb013d 100644
--- a/development/yarn/slack-desc
+++ b/development/yarn/slack-desc
@@ -16,4 +16,4 @@ yarn:
yarn: Yarn does this quickly, securely, and reliably so you don't ever
yarn: have to worry.
yarn:
-yarn: Project URL: https://yarnpkg.com/
+yarn: Project URL: https://classic.yarnpkg.com/
diff --git a/development/yarn/yarn.SlackBuild b/development/yarn/yarn.SlackBuild
index fccad85687..79fe602865 100644
--- a/development/yarn/yarn.SlackBuild
+++ b/development/yarn/yarn.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yarn
-# Copyright 2018-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2018-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=yarn
-VERSION=${VERSION:-1.22.10}
+VERSION=${VERSION:-1.22.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -89,4 +96,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/yarn/yarn.info b/development/yarn/yarn.info
index 20966c4dc8..dee6e5879d 100644
--- a/development/yarn/yarn.info
+++ b/development/yarn/yarn.info
@@ -1,8 +1,8 @@
PRGNAM="yarn"
-VERSION="1.22.10"
-HOMEPAGE="https://yarnpkg.com/"
-DOWNLOAD="https://github.com/yarnpkg/yarn/releases/download/v1.22.10/yarn-v1.22.10.tar.gz"
-MD5SUM="52e8dbe9d0cb90683dd3ee2ebf2becb8"
+VERSION="1.22.19"
+HOMEPAGE="https://classic.yarnpkg.com/"
+DOWNLOAD="https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-v1.22.19.tar.gz"
+MD5SUM="c04ea97bf9f72386c1a3da6b1c8510e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nodejs"
diff --git a/development/yosys/README b/development/yosys/README
new file mode 100644
index 0000000000..5913646914
--- /dev/null
+++ b/development/yosys/README
@@ -0,0 +1,22 @@
+ Yosys is a framework for Verilog RTL synthesis. It currently has
+extensive Verilog-2005 support and provides a basic set of synthesis
+algorithms for various application domains.
+
+ Yosys can be adapted to perform any synthesis job by combining the
+existing passes (algorithms) using synthesis scripts and adding
+additional passes as needed by extending the yosys C++ code base.
+
+ Yosys is free software licensed under the ISC license (a GPL
+compatible license that is similar in terms to the MIT license or
+the 2-clause BSD license).
+
+
+ By default it compiles using gcc if you want to use clang set
+the environment variable CLANG=yes.
+ If you want to enable GHDL set GHDL=yes, this requires the GHDL
+package.
+ For enabling protobuf install protobuf3 and set PROTOBUF=yes.
+ For building the python wrappers set PYTHON=yes.
+ If you want to enable ABC for synthesis and verification of
+binary sequential logic circuits set ABCEXTERNAL=yes, this
+requires berkeley-abc package.
diff --git a/development/yosys/slack-desc b/development/yosys/slack-desc
new file mode 100644
index 0000000000..834ca0bb84
--- /dev/null
+++ b/development/yosys/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------------------------------------------------------|
+yosys: yosys (A framework for Verilog RTL synthesis)
+yosys:
+yosys:
+yosys:
+yosys: Yosys is a framework for Verilog RTL synthesis. It currently has
+yosys: extensive Verilog-2005 support and provides a basic set of synthesis
+yosys: algorithms for various application domains.
+yosys:
+yosys:
+yosys:
+yosys:
diff --git a/development/yosys/yosys.SlackBuild b/development/yosys/yosys.SlackBuild
new file mode 100644
index 0000000000..cdbaed8e98
--- /dev/null
+++ b/development/yosys/yosys.SlackBuild
@@ -0,0 +1,161 @@
+#!/bin/bash
+
+# Slackware build script for yosys
+
+# Copyright 2022 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=yosys
+SRCNAM=yosys-$PRGNAM
+VERSION=${VERSION:-0.22}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $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 {} \;
+
+
+if [ "${CLANG:-no}" == "yes" ]; then
+ echo "CONFIG := clang" > Makefile.conf
+else
+ echo "CONFIG := gcc" > Makefile.conf
+fi
+
+# disable ABC because uses git clone
+echo "ENABLE_ABC := 0" >> Makefile.conf
+
+if [ "${GHDL:-no}" == "yes" ]; then
+ echo "ENABLE_GHDL := 1" >> Makefile.conf
+ # fix lib path at 64-bit to find ghdl libs
+ sed -i 's#(GHDL_PREFIX)/lib#&'${LIBDIRSUFFIX}'#' Makefile
+fi
+
+# enable yosys shared library
+# make libyosys.so, can manually build the
+# lib but will not work with the installation rule for make
+echo "ENABLE_LIBYOSYS := 1" >> Makefile.conf
+
+if [ "${PROTOBUF:-no}" == "yes" ]; then
+ echo "ENABLE_PROTOBUF := 1" >> Makefile.conf
+fi
+
+if [ "${PYTHON:-no}" == "yes" ]; then
+ echo "ENABLE_PYOSYS := 1" >> Makefile.conf
+fi
+
+if [ "${ABCEXTERNAL:-no}" == "yes" ]; then
+ echo "ENABLE_ABC := 1" >> Makefile.conf
+ echo "ABCEXTERNAL := abc" >> Makefile.conf
+fi
+
+# fix lib installation directory
+sed -i 's#$(PREFIX)/lib#$(PREFIX)/lib'${LIBDIRSUFFIX}'#' Makefile
+
+# set prefix, otherwise has to be set twice
+# make PREFIX=/usr for correctly find dependent libs/include (i.e for GHDL)
+# make install PREFIX=/usr for installing at prefix /usr
+echo "PREFIX := /usr" >> Makefile.conf
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make
+
+# not working, keep it for later
+# appnotes, requires IEEEtrans.cls
+# presentation, requries dot
+# manual requires luximono.sty
+#if [ "${MANUAL-no}" == "yes" ]; then
+# make manual
+#fi
+
+make install DESTDIR=$PKG
+
+# installing examples
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a examples $PKG/usr/share/$PRGNAM-$VERSION
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG CODEOWNERS COPYING Dockerfile 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/development/yosys/yosys.info b/development/yosys/yosys.info
new file mode 100644
index 0000000000..479c1b889e
--- /dev/null
+++ b/development/yosys/yosys.info
@@ -0,0 +1,10 @@
+PRGNAM="yosys"
+VERSION="0.22"
+HOMEPAGE="https://yosyshq.net/yosys"
+DOWNLOAD="https://github.com/YosysHQ/yosys/archive/yosys-0.22/yosys-yosys-0.22.tar.gz"
+MD5SUM="6c5ce0aa586019ec88ebfdae122157aa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/z88dk/z88dk.SlackBuild b/development/z88dk/z88dk.SlackBuild
index f1e4eb3605..23cf5ad3b6 100644
--- a/development/z88dk/z88dk.SlackBuild
+++ b/development/z88dk/z88dk.SlackBuild
@@ -1,22 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for z88dk
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# TODO: someday include the zsdcc stuff. Probably sometime after z88dk's
-# 2.0 release. If no 2.0 release exists by, say, the start of 2019, I'll
-# probably change this build so it works with a git snapshot instead
-# of a release. I'll admit, my motivation for that will be that I want
-# to have a C compiler that targets Pac-Man arcade hardware (the 1.99B
-# release doesn't, current git does).
+# 20240322 bkw: *Finally* updated, v2.3. Many thanks to fuzzix, who did
+# most of the work for this upgrade.
+
+# 20230114 bkw: BUILD=2
+# - do not ship pre-compiled binaries in the doc dir
+# - do not ship the windows installer
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=z88dk
-VERSION=${VERSION:-1.99B}
+VERSION=${VERSION:-2.3}
+ZSDCC_REV=14210
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -26,7 +30,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -51,49 +59,38 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-unzip $CWD/$PRGNAM-src-$VERSION.zip
+tar xf $CWD/$PRGNAM-src-$VERSION.tgz
cd $PRGNAM
+cp $CWD/zsdcc_r${ZSDCC_REV}_src.tar.gz .
# Upstream permissions are bad. Please don't replace with "find . -L
# ..." boilerplate.
-find . -name CVS -print0 | xargs -0 rm -rf
-find . -type f -print0 | xargs -0 chmod 0644
-find . -type d -print0 | xargs -0 chmod 0755
+find -L . -name CVS -a -exec rm -rf {} + -o \
+ -type f -a -exec chmod 0644 {} + -o \
+ -type d -a -exec chmod 0755 {} +
chmod +x *.sh
# Sneaky ways to inject CFLAGS.
+SLKCFLAGS+=" -fcommon"
sed -i "s/CC=gcc/CC='gcc $SLKCFLAGS'/" build.sh
export CXX="g++ $SLKCFLAGS"
# Default prefix.
-sed -i "s,/usr/local,/usr," Makefile
-
-# Upstream seems to be in the middle of migrating from /usr/lib to
-# /usr/share or vice versa. The compiler looks for stuff in lib that's
-# actually installed to share, if I don't do this:
-sed -i '/^prefix_share/s,/share,/lib,' Makefile
-
-# Note to well-intentioned maintainers: please don't try to move
-# this stuff to /usr/lib64 on 64-bit systems. There's no native code
-# (no ELF executables, no shared or static libraries full of x86_64
-# code). Everthing in /usr/lib/z88dk is either headers, source, or
-# z88dk's own .lib format for z80 object code. From Linux's point
-# of view, it's just data. It's no different from Pat keeping udev
-# rules in /lib/udev on 64-bit.
+# We could delete config.h and have make rebuild it with the PREFIX,
+# but Z88DK_VERSION gets wiped.
+sed -i "s,/usr/local,/usr," src/config.h
+export PREFIX=/usr
# Parallel make of the compiler itself works OK, but not of the
# z80 native libraries.
sed -i '/^\$MAKE *-e/aexport MAKEFLAGS="-j1"' build.sh
-./build.sh
-
-# install-libs doesn't seem to support DESTDIR.
-make install prefix=$PKG/usr
-make install-libs prefix=$PKG/usr
-
-# 'make install' doesn't install everything the compiler needs...
-# Trying to build the examples I got "sh: zpragma: command not found".
-cp -a bin/* $PKG/usr/bin/
+export BUILD_SDCC=1
+# The following should skip attempting the SVN fetch of zsdcc,
+# and also skip the HTTP fetch as the appropriate tarball is present
+export BUILD_SDCC_HTTP=1
+./build.sh -i $PREFIX
+make install DESTDIR=$PKG/
# strip strips everything but chokes on the perl script.
strip $PKG/usr/bin/* 2>/dev/null || true
@@ -107,13 +104,24 @@ for i in $CWD/man/*.1; do
gzip -9c < $i > $PKG/usr/man/man1/$( basename $i ).gz
done
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README* LICENSE EXTENSIONS doc examples support \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20230114 bkw: do not ship executables in the doc dir.
+# 20240322 bkw: make this smarter (but uglier).
+find support -type f | \
+ xargs file -m/etc/file/magic/elf | \
+ grep ELF | \
+ cut -d: -f1 | \
+ xargs rm -f
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README* LICENSE doc examples support $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# 20240322 bkw: stuff's getting installed to the doc dir with wrong owner.
+find $PKGDOC -exec chown root:root {} +
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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/z88dk/z88dk.info b/development/z88dk/z88dk.info
index e8bed2a8fe..fa63747e02 100644
--- a/development/z88dk/z88dk.info
+++ b/development/z88dk/z88dk.info
@@ -1,10 +1,12 @@
PRGNAM="z88dk"
-VERSION="1.99B"
+VERSION="2.3"
HOMEPAGE="https://www.z88dk.org/forum/"
-DOWNLOAD="http://downloads.sourceforge.net/project/z88dk/z88dk/1.99B/z88dk-src-1.99B.zip"
-MD5SUM="6412a730d1b38a8ecf393683981a33ae"
+DOWNLOAD="https://github.com/z88dk/z88dk/releases/download/v2.3/z88dk-src-2.3.tgz \
+ http://nightly.z88dk.org/zsdcc/zsdcc_r14210_src.tar.gz"
+MD5SUM="b8633163dabf544400e64a9056b16e2b \
+ 5d6d2c94879f791593eca1274c62ddf4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz b/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz
new file mode 100644
index 0000000000..cdd05caed3
--- /dev/null
+++ b/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz
Binary files differ
diff --git a/development/zeal/zeal.SlackBuild b/development/zeal/zeal.SlackBuild
index dee5fbf82a..abe348e5a3 100644
--- a/development/zeal/zeal.SlackBuild
+++ b/development/zeal/zeal.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zeal
# Copyright 2015-2018 Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright 2023 Nick Smallbone <nick@smallbone.se>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# 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=zeal
VERSION=${VERSION:-0.6.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -63,6 +74,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+# https://github.com/zealdocs/zeal/pull/1218
+zcat $CWD/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -96,4 +109,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zeal/zeal.info b/development/zeal/zeal.info
index 3f75e4bac3..239879912d 100644
--- a/development/zeal/zeal.info
+++ b/development/zeal/zeal.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/zealdocs/zeal/archive/v0.6.1/zeal-0.6.1.tar.gz"
MD5SUM="99da3e15dd100c42c9062fe525c9db8c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="extra-cmake-modules qt5-webkit"
-MAINTAINER="Ricardo J. Barberis"
-EMAIL="ricardo.barberis@gmail.com"
+REQUIRES=""
+MAINTAINER="Nick Smallbone"
+EMAIL="nick@smallbone.se"
diff --git a/development/zig/README b/development/zig/README
new file mode 100644
index 0000000000..96b2702697
--- /dev/null
+++ b/development/zig/README
@@ -0,0 +1,2 @@
+Zig is a general-purpose programming language and toolchain
+for maintaining robust, optimal, and reusable software
diff --git a/development/zig/slack-desc b/development/zig/slack-desc
new file mode 100644
index 0000000000..8022f99b0e
--- /dev/null
+++ b/development/zig/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------------------------------------------------------|
+zig: zig (toolchain)
+zig:
+zig: Zig is a general-purpose programming language and toolchain
+zig: for maintaining robust, optimal, and reusable software.
+zig:
+zig:
+zig:
+zig:
+zig:
+zig:
+zig:
diff --git a/development/zig/zig.SlackBuild b/development/zig/zig.SlackBuild
new file mode 100644
index 0000000000..4d10db7b5d
--- /dev/null
+++ b/development/zig/zig.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for zig
+
+# Copyright 2022 Damian Perticone, Berisso, Argentina
+# 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=zig
+VERSION=${VERSION:-0.9.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+ SRCNAM=zig-linux-i386
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ SRCNAM=zig-linux-i386
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ SRCNAM=zig-linux-x86_64
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+ SRCNAM=zig-linux-x86_64
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+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 {} \;
+
+install -Dm 755 zig -t $PKG/usr/bin
+install -d $PKG/usr/lib/zig
+cp -r lib/* $PKG/usr/lib/zig
+
+find $PKG/usr/lib/zig -type d -exec chmod 755 {} \;
+
+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/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zig/zig.info b/development/zig/zig.info
new file mode 100644
index 0000000000..861e2db8d3
--- /dev/null
+++ b/development/zig/zig.info
@@ -0,0 +1,10 @@
+PRGNAM="zig"
+VERSION="0.9.1"
+HOMEPAGE="https://ziglang.org/"
+DOWNLOAD="https://ziglang.org/download/0.9.1/zig-linux-i386-0.9.1.tar.xz"
+MD5SUM="20d6450b41ac07761717671ffa4c7922"
+DOWNLOAD_x86_64="https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz"
+MD5SUM_x86_64="01daf426d9e1c86aad6e4b26351e1ae8"
+REQUIRES=""
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/development/zile/zile.SlackBuild b/development/zile/zile.SlackBuild
index c6c6a5b89b..c44a51e25d 100644
--- a/development/zile/zile.SlackBuild
+++ b/development/zile/zile.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GNU Zile
# Written by Marco Maggi <marco.maggi-ipsu@poste.it>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zile
VERSION=${VERSION:-2.4.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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}
@@ -77,4 +87,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zmac/README b/development/zmac/README
new file mode 100644
index 0000000000..898b2f7cf9
--- /dev/null
+++ b/development/zmac/README
@@ -0,0 +1,16 @@
+zmac (Z-80 cross assembler)
+
+zmac is a Z-80 macro cross-assembler. It has all the features you'd
+expect. It assembles the specified input file (with a '.z' extension
+if there is no pre-existing extension and the file as given doesn't
+exist) and produces program output in many different formats. It also
+produces a nicely-formatted listing of the machine code and cycle
+counts alongside the source in a ".lst" file. Undocumented Z-80
+instructions are supported as well as 8080 and Z-180 (aka HD64180).
+
+zmac strives to be a powerful assembler with expressions familiar to C
+programmers while providing good backward compatibility with original
+assemblers such as Edtasm, MRAS and Macro-80.
+
+Also included in the package is ld80, a linker which is mostly
+compatible with the Microsoft L80 linker for CP/M and other Z-80 OSes.
diff --git a/development/zmac/slack-desc b/development/zmac/slack-desc
new file mode 100644
index 0000000000..aba6b8d1cb
--- /dev/null
+++ b/development/zmac/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------------------------------------------------------|
+zmac: zmac (Z-80 cross assembler)
+zmac:
+zmac: zmac is a Z-80 macro cross-assembler. It has all the features you'd
+zmac: expect. It assembles the specified input file (with a '.z' extension
+zmac: if there is no pre-existing extension and the file as given doesn't
+zmac: exist) and produces program output in many different formats. It also
+zmac: produces a nicely-formatted listing of the machine code and cycle
+zmac: counts alongside the source in a ".lst" file. Undocumented Z-80
+zmac: instructions are supported as well as 8080 and Z-180 (aka HD64180).
+zmac:
+zmac:
diff --git a/development/zmac/zmac.1 b/development/zmac/zmac.1
new file mode 100644
index 0000000000..9e336443eb
--- /dev/null
+++ b/development/zmac/zmac.1
@@ -0,0 +1,262 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "ZMAC" 1 "2023-05-18" "20221018_0.7" "SlackBuilds.org"
+.SH NAME
+zmac \- Z-80 macro cross-assembler
+.\" RST source for zmac(1) man page. Convert with:
+.
+.\" rst2man.py zmac.rst > zmac.1
+.
+.SH SYNOPSIS
+.sp
+\fBzmac\fP [\fI\-\-help\fP] [\fI\-\-version\fP] [\fI\-\-dep\fP] [\fI\-\-mras\fP] [\fI\-\-od dir\fP] [\fI\-\-oo sfx1,sfx2\fP] [\fI\-\-xo sfx1,sfx2\fP] [\fI\-\-dri\fP] [\fI\-\-rel\fP] [\fI\-\-rel7\fP] [\fI\-\-nmnv\fP] [\fI\-\-z180\fP] [\fI\-\-fcal\fP] [\fI\-\-doc\fP] [\fI\-\-zmac\fP] [\fI\-8bcefghijJlLmnopstz\fP] [\fIfilename[.z]\fP]
+.SH DESCRIPTION
+.sp
+zmac is a Z\-80 macro cross\-assembler. It has all the features you\(aqd
+expect. It assembles the specified input file (with a \(aq.z\(aq extension
+if there is no pre\-existing extension and the file as given doesn\(aqt
+exist) and produces program output in many different formats. It also
+produces a nicely\-formatted listing of the machine code and cycle
+counts alongside the source in a ".lst" file.
+.sp
+To reduce clutter and command line option usage, by default all zmac
+output is put into an (auto\-created) zout subdirectory. For file.z
+the listing will be in zout/file.lst, the TRS\-80 executable format
+in zout/file.cmd and so on. For more friendly usage in make files
+and integrated development environments the \-o, \-\-oo, \-\-xo and \-\-xd
+options may be used to select specific output file formats and where
+they are written.
+.sp
+Undocumented Z\-80 instructions are supported as well as 8080 and Z\-180
+(aka HD64180).
+.sp
+zmac strives to be a powerful assembler with expressions familiar to C
+programmers while providing good backward compatibility with original
+assemblers such as Edtasm, MRAS and Macro\-80.
+.sp
+This man page only documents the command\-line options. The full documentation can be found here:
+/usr/doc/zmac\-20221018_0.7/zmac.html
+.SH OPTIONS
+.sp
+Space\-separated arguments in the ZMAC_ARGS environment variable are added to the
+end of the command line.
+.INDENT 0.0
+.TP
+.B \-\-help
+Display a list of options and a terse description of what the
+options do.
+.TP
+.B \-\-version
+Print zmac version name.
+.TP
+.B \-\-mras
+MRAS compatibility mode. Any ? in a label will be expanded to
+the current module identifier as set by *mod. Operator
+precedence and results are changed.
+.TP
+.BI \-\-od \ dir
+Place output files in dir instead of the default "zout"
+subdirectory. Creates dir if necessary.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-oo hex,cmd
+Output only the the file types by suffix. Multiple \-\-oo
+arguments may be used. "\-\-oo lst,cas" is equivalent to "\-\-oo
+lst \-\-oo cas". See "Output Formats" for a list of output types
+by suffix.
+.TP
+.B \-\-xo tap,wav
+Do not output the file type types listed by suffix.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-dri
+Enable compatibility with Digital Research (CP/M) assemblers:
+Ignores dollar signs in constants and symbols. Silences a
+warning when using Z80.LIB. Allows the use of \(aq*\(aq in first
+column for comment lines. Accepts $\-MACRO directives.
+.TP
+.B \-\-nmnv
+Do not interpret Z\-80 or 8080 mnemonics as values in
+expressions.
+.TP
+.B \-\-rel
+Output ".rel" (relocatable object file) format only. Exported
+symbols are truncated to length 6.
+.TP
+.B \-\-rel7
+Output ".rel" (relocatable object file) format only. Exported
+symbols are truncated to length 7.
+.TP
+.B \-\-zmac
+zmac compatibility mode. defl labels are undefined after each
+pass. Quotes and double quotes are stripped from macro
+arguments before expansion. $ is ignored in identifiers
+allowing foo$bar to construct identifiers in macro expansions.
+Use \(ga (backquote) instead in normal mode. Labels starting with
+"." are temporary and are reset whenever a non\-temporary label
+is defined (thus they may be reused). Labels starting with "_"
+are local to their file thus avoid multiple definition when
+brought in with include.
+.TP
+.B \-\-z180
+Use Z\-180 timings and extended instructions. Undocumented Z\-80
+instructions will generate errors as the Z\-180 (or H64810) does
+not support them. Equivalent to .z180 pseudo\-op.
+.TP
+.B \-\-dep
+Print all files read by include, incbin and import.
+.TP
+.B \-\-doc
+Print full documentation in HTML format to standard output.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-Pk=number
+Set @@k to the given numeric value before assembly. Up to 10
+parameters can be set from 0 though 9. \-Pk is shorthand for
+\-Pk=\-1. For example, P4=$123 effectively puts @@4 equ $123 at
+the top of the first file.
+.UNINDENT
+.INDENT 0.0
+.TP
+.BI \-D\fB symbol
+Define symbol to be 1 before assembly.
+.TP
+.B \-\-fcal
+Always treat an indentifier in the first column as a label.
+zmac uses various heuristics in the case of ambiguity when a
+label does not have a colon. This option turns heuristics off.
+.TP
+.B \-8
+Accept 8080 mnemonics preferentially and use 8080 instruction
+timings. Equivalent to .8080 pseudo\-op.
+.TP
+.B \-b
+Don\(aqt generate any machine code output at all.
+.TP
+.B \-c
+Don\(aqt display cycle counts in the listing.
+.TP
+.B \-e
+Omit the "error report" section in the listing.
+.TP
+.B \-f
+List instructions not assembled due to "if" expressions being
+false. (Normally these are not shown in the listing.)
+.TP
+.B \-g
+List only the first line of equivalent hex for a source line.
+.TP
+.B \-h
+Display a list of options and a terse description of what the
+options do. (same as \-\-help)
+.TP
+.B \-i
+Don\(aqt list files included with include, read or import.
+.TP
+.BI \-I \ dir
+Add dir to the end of the include file search path.
+.TP
+.B \-j
+Promote relative jumps and DJNZ to absolute equivalents as
+needed.
+.TP
+.B \-J
+Error if an absolute jump could be replaced with a relative
+jump.
+.TP
+.B \-l
+List to standard output.
+.TP
+.B \-L
+Generate listing no matter what. Overrides any conflicting
+options.
+.TP
+.B \-m
+List macro expansions.
+.TP
+.B \-n
+Omit line numbers from listing.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-o filename.cmd
+Output only the named file. Multiple "\-o" options can be used
+to name a set of different files.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-p
+Use a few linefeeds for page break in listing rather than ^L.
+.TP
+.B \-P
+Output listing for a printer with headers, multiple symbols per
+column, etc.
+.TP
+.B \-s
+Omit the symbol table from the listing.
+.TP
+.B \-t
+Only output number of errors instead list of each one.
+.TP
+.B \-z
+Accept Z\-80 mnemonics preferentially and use Z\-80 instruction
+timings. Equivalent to .z80 pseudo\-op.
+.UNINDENT
+.SH LICENSE
+.sp
+\fBCC0\fP
+.sp
+To the extent possible under law, George Phillips has waived all copyright
+and related or neighboring rights to zmac macro cross assembler for the Zilog
+Z\-80 microprocessor. This work is published from: Canada.
+.SH AUTHORS
+.sp
+Bruce Norskog originally wrote zmac in 1978.
+.sp
+Updates and bugfixes over the years by John Providenza, Colin Kelley, and more
+recently by Russell Marks, Mark RISON, Chris Smith, Matthew Phillips and Tim
+Mann.
+.sp
+Extensive modifications for cycle counting, multiple output formats, ".rel"
+output, 8080 mode and older assembler compatibilty were written by George
+Phillips.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBld80\fP(1)
+.sp
+The zmac homepage: \fI\%http://48k.ca/zmac.html\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/zmac/zmac.SlackBuild b/development/zmac/zmac.SlackBuild
new file mode 100644
index 0000000000..61312de89e
--- /dev/null
+++ b/development/zmac/zmac.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for zmac
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# This is a combo: the assembler and the linker in one package.
+
+# VERSION is the zmac version (which is just a release date) plus
+# the ld80 version. I downloaded the .zip files from the author's
+# site, but as they're unversioned there (zmac.zip and ld80.zip),
+# they will be replaced with newer versions someday, and break this
+# SlackBuild. So I put them on my server with versioned filenames
+# (otherwise unmodified).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zmac
+VERSION=${VERSION:-20221018_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}
+
+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
+
+ZMACVER="$( echo $VERSION | cut -d_ -f1 )"
+LD80VER="$( echo $VERSION | cut -d_ -f2 )"
+ZMAC=zmac-$ZMACVER
+LD80=ld80-$LD80VER
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+TOPDIR=$(pwd)
+mkdir zmac-$ZMACVER ld80-$LD80VER
+unzip -j $CWD/$ZMAC.zip -d $ZMAC -x '*.exe' '*.bat'
+unzip $CWD/$LD80.zip -d $LD80 -x '*.exe' '*.bat' '*.vcproj' '*.sln'
+chown -R root:root .
+chmod 755 *
+chmod 644 */*
+
+sed -i "s,-g,$SLKCFLAGS," $LD80/Makefile
+
+# These really do fail with -jN in the env, if N>1. They're also
+# small enough that it's not painfully slow with -j1.
+make -j1 -C $ZMAC CXXFLAGS="$SLKCFLAGS" CFLAGS="$SLKCFLAGS"
+make -j1 -C $LD80
+
+# No 'make install' for either one.
+PKGBIN=$PKG/usr/bin
+PKGMAN1=$PKG/usr/man/man1
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGBIN $PKGMAN1 $PKGDOC
+
+install -s $ZMAC/zmac $LD80/ld80 $PKGBIN
+
+# ld80 has a nice man page, zmac man page is copypasta from zmac.html.
+gzip -9c < $CWD/zmac.1 > $PKGMAN1/zmac.1.gz
+gzip -9c < $LD80/ld80.1 > $PKGMAN1/ld80.1.gz
+
+# HTML doc is built into the binary, extract it. Don't bother with doc.txt,
+# since it's the source for the HTML.
+./$ZMAC/zmac --doc > $PKGDOC/zmac.html
+
+cp -a $LD80/ld80.html $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zmac/zmac.info b/development/zmac/zmac.info
new file mode 100644
index 0000000000..5265d51ae6
--- /dev/null
+++ b/development/zmac/zmac.info
@@ -0,0 +1,12 @@
+PRGNAM="zmac"
+VERSION="20221018_0.7"
+HOMEPAGE="http://48k.ca/zmac.html"
+DOWNLOAD="https://slackware.uk/~urchlay/src/zmac-20221018.zip \
+ https://slackware.uk/~urchlay/src/ld80-0.7.zip"
+MD5SUM="42948c0e0060dd15336df1bedfde6631 \
+ 91569de47101a0d0dfffbca7a2b9365e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/zmac/zmac.rst b/development/zmac/zmac.rst
new file mode 100644
index 0000000000..ae264d28db
--- /dev/null
+++ b/development/zmac/zmac.rst
@@ -0,0 +1,207 @@
+.. RST source for zmac(1) man page. Convert with:
+.. rst2man.py zmac.rst > zmac.1
+
+.. |version| replace:: 20221018_0.7
+.. |date| date::
+
+====
+zmac
+====
+
+--------------------------
+Z-80 macro cross-assembler
+--------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+**zmac** [*--help*] [*--version*] [*--dep*] [*--mras*] [*--od dir*] [*--oo sfx1,sfx2*] [*--xo sfx1,sfx2*] [*--dri*] [*--rel*] [*--rel7*] [*--nmnv*] [*--z180*] [*--fcal*] [*--doc*] [*--zmac*] [*-8bcefghijJlLmnopstz*] [*filename[.z]*]
+
+DESCRIPTION
+===========
+
+zmac is a Z-80 macro cross-assembler. It has all the features you'd
+expect. It assembles the specified input file (with a '.z' extension
+if there is no pre-existing extension and the file as given doesn't
+exist) and produces program output in many different formats. It also
+produces a nicely-formatted listing of the machine code and cycle
+counts alongside the source in a ".lst" file.
+
+To reduce clutter and command line option usage, by default all zmac
+output is put into an (auto-created) zout subdirectory. For file.z
+the listing will be in zout/file.lst, the TRS-80 executable format
+in zout/file.cmd and so on. For more friendly usage in make files
+and integrated development environments the -o, --oo, --xo and --xd
+options may be used to select specific output file formats and where
+they are written.
+
+Undocumented Z-80 instructions are supported as well as 8080 and Z-180
+(aka HD64180).
+
+zmac strives to be a powerful assembler with expressions familiar to C
+programmers while providing good backward compatibility with original
+assemblers such as Edtasm, MRAS and Macro-80.
+
+This man page only documents the command-line options. The full documentation can be found here:
+/usr/doc/zmac-|version|/zmac.html
+
+OPTIONS
+=======
+
+Space-separated arguments in the ZMAC_ARGS environment variable are added to the
+end of the command line.
+
+
+--help Display a list of options and a terse description of what the
+ options do.
+
+--version Print zmac version name.
+
+--mras MRAS compatibility mode. Any ? in a label will be expanded to
+ the current module identifier as set by \*mod. Operator
+ precedence and results are changed.
+
+--od dir Place output files in dir instead of the default "zout"
+ subdirectory. Creates dir if necessary.
+
+--oo hex,cmd
+ Output only the the file types by suffix. Multiple --oo
+ arguments may be used. "--oo lst,cas" is equivalent to "--oo
+ lst --oo cas". See "Output Formats" for a list of output types
+ by suffix.
+
+--xo tap,wav
+ Do not output the file type types listed by suffix.
+
+--dri Enable compatibility with Digital Research (CP/M) assemblers:
+ Ignores dollar signs in constants and symbols. Silences a
+ warning when using Z80.LIB. Allows the use of '*' in first
+ column for comment lines. Accepts $-MACRO directives.
+
+--nmnv Do not interpret Z-80 or 8080 mnemonics as values in
+ expressions.
+
+--rel Output ".rel" (relocatable object file) format only. Exported
+ symbols are truncated to length 6.
+
+--rel7 Output ".rel" (relocatable object file) format only. Exported
+ symbols are truncated to length 7.
+
+--zmac zmac compatibility mode. defl labels are undefined after each
+ pass. Quotes and double quotes are stripped from macro
+ arguments before expansion. $ is ignored in identifiers
+ allowing foo$bar to construct identifiers in macro expansions.
+ Use ` (backquote) instead in normal mode. Labels starting with
+ "." are temporary and are reset whenever a non-temporary label
+ is defined (thus they may be reused). Labels starting with "_"
+ are local to their file thus avoid multiple definition when
+ brought in with include.
+
+--z180 Use Z-180 timings and extended instructions. Undocumented Z-80
+ instructions will generate errors as the Z-180 (or H64810) does
+ not support them. Equivalent to .z180 pseudo-op.
+
+--dep Print all files read by include, incbin and import.
+
+--doc Print full documentation in HTML format to standard output.
+
+-Pk=number
+ Set @@k to the given numeric value before assembly. Up to 10
+ parameters can be set from 0 though 9. -Pk is shorthand for
+ -Pk=-1. For example, P4=$123 effectively puts @@4 equ $123 at
+ the top of the first file.
+
+-Dsymbol Define symbol to be 1 before assembly.
+
+--fcal Always treat an indentifier in the first column as a label.
+ zmac uses various heuristics in the case of ambiguity when a
+ label does not have a colon. This option turns heuristics off.
+
+-8 Accept 8080 mnemonics preferentially and use 8080 instruction
+ timings. Equivalent to .8080 pseudo-op.
+
+-b Don't generate any machine code output at all.
+
+-c Don't display cycle counts in the listing.
+
+-e Omit the "error report" section in the listing.
+
+-f List instructions not assembled due to "if" expressions being
+ false. (Normally these are not shown in the listing.)
+
+-g List only the first line of equivalent hex for a source line.
+
+-h Display a list of options and a terse description of what the
+ options do. (same as --help)
+
+-i Don't list files included with include, read or import.
+
+-I dir Add dir to the end of the include file search path.
+
+-j Promote relative jumps and DJNZ to absolute equivalents as
+ needed.
+
+-J Error if an absolute jump could be replaced with a relative
+ jump.
+
+-l List to standard output.
+
+-L Generate listing no matter what. Overrides any conflicting
+ options.
+
+-m List macro expansions.
+
+-n Omit line numbers from listing.
+
+-o filename.cmd
+ Output only the named file. Multiple "-o" options can be used
+ to name a set of different files.
+
+-p Use a few linefeeds for page break in listing rather than ^L.
+
+-P Output listing for a printer with headers, multiple symbols per
+ column, etc.
+
+-s Omit the symbol table from the listing.
+
+-t Only output number of errors instead list of each one.
+
+-z Accept Z-80 mnemonics preferentially and use Z-80 instruction
+ timings. Equivalent to .z80 pseudo-op.
+
+LICENSE
+=======
+
+**CC0**
+
+To the extent possible under law, George Phillips has waived all copyright
+and related or neighboring rights to zmac macro cross assembler for the Zilog
+Z-80 microprocessor. This work is published from: Canada.
+
+AUTHORS
+=======
+
+Bruce Norskog originally wrote zmac in 1978.
+
+Updates and bugfixes over the years by John Providenza, Colin Kelley, and more
+recently by Russell Marks, Mark RISON, Chris Smith, Matthew Phillips and Tim
+Mann.
+
+Extensive modifications for cycle counting, multiple output formats, ".rel"
+output, 8080 mode and older assembler compatibilty were written by George
+Phillips.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**ld80**\(1)
+
+The zmac homepage: http://48k.ca/zmac.html
diff --git a/development/zooey/README b/development/zooey/README
new file mode 100644
index 0000000000..5b28170783
--- /dev/null
+++ b/development/zooey/README
@@ -0,0 +1,10 @@
+zooey (6502 cross-assembler for Atari 8-bit systems)
+
+ZooEY is a cross assembler designed for 6502 processors. Binaries
+are generated specially for 8-bit Atari systems (Atari DOS II and
+SpartaDOS X formats supported). This tool is compatible with Quick
+Assembler, one of most popular assemblers in Poland.
+
+Also included are atari2unix and unix2atari (convert text files
+between Atari and Unix line-endings) and syntax highlighting for
+Midnight Commander (mcedit).
diff --git a/development/zooey/manpagefixes.diff b/development/zooey/manpagefixes.diff
new file mode 100644
index 0000000000..06b7242fde
--- /dev/null
+++ b/development/zooey/manpagefixes.diff
@@ -0,0 +1,447 @@
+diff -Naur zooey-1.4.orig/zooey.1 zooey-1.4/zooey.1
+--- zooey-1.4.orig/zooey.1 2006-12-29 06:17:20.000000000 -0500
++++ zooey-1.4/zooey.1 2022-12-27 19:45:47.730325765 -0500
+@@ -3,66 +3,65 @@
+ ZooEY \- 6502 crossassembler.
+
+ .SH SYNOPSIS
+-.B zooey
+- [\fIOPTIONS\fR] source
++.B zooey \fB\-o output\fR [\fIOPTIONS\fR] \fBsource\fR
+
+ .SH DESCRIPTION
+ .PP
+ ZooEY is a crossassembler designed for 6502 processors. Binaries are generated specially for
+-8-bit Atari systems (Atari DOS II and SpartaDOS X formats supported). This tool is
++8\-bit Atari systems (Atari DOS II and SpartaDOS X formats supported). This tool is
+ compatible with Quick Assembler, one of most popular assemblers in Poland.
+
+ .SH OPTIONS
+ .TP
+-\fB\ -d\fR
++\fB\ \-d\fR
+ More information about assembly process.
+ .TP
+-\fB\ -h\fR
++\fB\ \-h\fR
+ Help.
+ .TP
+-\fB\ -i path\fR
+-Add directory to search path for icl files. Order is: current dir is first, next is first -i path,
+-second -i path and next.
++\fB\ \-i path\fR
++Add directory to search path for icl files. Order is: current dir is first, next is first \-i path,
++next is second \-i path, etc.
+ .TP
+-\fB\ -l filename\fR
++\fB\ \-l filename\fR
+ Generate labels report. Each line consists of 5 fields:
+ label name, decimal value, hexadecimal value, declaration line number and
+ (optional) additional information.
+-In last filed can be two values: 'Reloc' means that label is relocable. 'Unused' means
++In last field can be two values: 'Reloc' means that label is relocatable. 'Unused' means
+ that label is unused.
+ .TP
+-\fB\ -m\fR
++\fB\ \-m\fR
+ Check memory collisions. You can check collisions only with 'd' and 's' block types.
+ All other blocks are ignored.
+ .TP
+-\fB\ -o filename\fR
+-Output fle name.
++\fB\ \-o filename\fR
++Output file name.
+ .TP
+-\fB\ -r\fR
+-Remove previously created file if assembly fail. Name is taken from \fI-o\fR option.
++\fB\ \-r\fR
++Remove previously created file if assembly fails. Name is taken from \fI\-o\fR option.
+ .TP
+-\fB\ -s\fR
++\fB\ \-s\fR
+ Turn on SpartaDOS X filenames for ICL directive. Ordinary paths looks like 'D2:filename.ext'.
+ If you have sources from SDX, your paths' syntax may be like 'D:>dir1>dir2>filename.ext'.
+ All included file must be in current directory.
+ .TP
+-\fB\ -v\fR
+-Prints version and exit.
++\fB\ \-v\fR
++Prints version and exits.
+ .TP
+-\fB\ -w\fR
++\fB\ \-w\fR
+ Turn display warnings on.
+ .TP
+-\fB\ -z\fR
++\fB\ \-z\fR
+ Turn off QA strange behavior. Currently works:
+ .br
+-- pseudodirective \fIend\fR used in file included by \fIicl\fR conclude current file and back
++\- pseudodirective \fIend\fR used in file included by \fIicl\fR conclude current file and back
+ to previous file, not to main,
+-- pseudodirectove \fIopt\fR are not skipped in file included by \fIicl\fR.
++\- pseudodirectove \fIopt\fR are not skipped in file included by \fIicl\fR.
+
+ .SH QA INCOMPATIBILITIES
+
+ ZooEY is a Quick Assembler descendant. As such it should work well with
+-any code written natively with Quick Assembler. However when porting some
++any code written natively with Quick Assembler. However, when porting some
+ code from original QA sources, you have to be aware that not all options
+ of native OPT directive are supported. Those that work are generating
+ binary headers and generating source printout. For details, look at pseudo
+@@ -70,51 +69,51 @@
+
+ .SH VALUES AND TYPES
+
+-A numeric value is a number from 0 to $FFFF (0-65535).
++A numeric value is a number from 0 to $FFFF (0\-65535).
+ It can be put down in any of the following ways, which
+ defines how it is treated by the assembler:
+ .RS 0
+-.B - \fI:lda 2000,x\fR
++.B \- \fI:lda 2000,x\fR
+ generates opcode of the mnemonic in specified addressing mode,
+ .BR
+ .br
+-.B - \fI<$2000\fR
++.B \- \fI<$2000\fR
+ generates LSB of the word,
+ .BR
+ .br
+-.B - \fI>$2000\fR
++.B \- \fI>$2000\fR
+ generates MSB of the word,
+ .BR
+ .br
+-.B - \fI'A'\fR
++.B \- \fI'A'\fR
+ generates an ATASCII/ASCII code of the value,
+ .BR
+ .br
+-.B - \fI'A'*\fR
++.B \- \fI'A'*\fR
+ generates an ATASCII/ASCII code of the value +128 (highest bit inverted),
+ .BR
+ .br
+-.B - \fI"A"\fR
++.B \- \fI"A"\fR
+ generates an internal code of the value,
+ .BR
+ .br
+-.B - \fI"A"*\fR
++.B \- \fI"A"*\fR
+ generates an internal code of the value +128 (highest bit inverted),
+ .BR
+ .br
+-.B - \fI*\fR
+-current PC (Program Counter) value. This is a 16-bit value,
++.B \- \fI*\fR
++current PC (Program Counter) value. This is a 16\-bit value,
+ .BR
+ .br
+-.B - \fI$1010\fR
++.B \- \fI$1010\fR
+ a hex representation of the value,
+ .BR
+ .br
+-.B - \fI%1010\fR
++.B \- \fI%1010\fR
+ a binary representation of the value,
+ .BR
+ .br
+-.B - \fI1010\fR
++.B \- \fI1010\fR
+ a decimal representation of the value.
+ .BR
+ .TP
+@@ -128,8 +127,8 @@
+ multiplication, division, modulo, division,
+ .BR
+ .br
+-.B \fI+ -\fR
+-addition, substraction,
++.B \fI+ \-\fR
++addition, subtraction,
+ .BR
+ .br
+ .B \fI< >\fR
+@@ -158,8 +157,8 @@
+
+ .SH MACROS
+
+-Macro must be enclosed in \fImac\fR and \fIenm\fR directives.
+-And the macro arguments must start with \\ and
++A macro must be enclosed in \fImac\fR and \fIenm\fR directives.
++The macro arguments must start with \\ and
+ be decimal numbers which correspond to macro argument
+ sequence. To use a macro you just call its name and arguments
+ like: macro_name arg1,arg...,argN.
+@@ -181,12 +180,12 @@
+ .br
+ enm
+ .PP
+-.RS -7
++.RS \-7
+ Using the macro:
+ .br
+ .RS 7
+ blah $2000,$2001
+-.RS -7
++.RS \-7
+ .PP
+ The above macro will be unrolled by assembler into:
+ .br
+@@ -202,7 +201,7 @@
+ .RS 4
+ .ifdef value
+ .br
+- .if codition
++ .if condition
+ .br
+ .elif condition
+ .br
+@@ -210,7 +209,7 @@
+ .br
+ .fi
+ .br
+-.RS -4
++.RS \-4
+ where 'condition' is any arithmetic or logical argument, and 'value' is const symbol defined or not.
+ .br
+ An example:
+@@ -225,26 +224,26 @@
+ .br
+ cmp 20
+ .br
+-beq *-2
+-.RS -3
++beq *\-2
++.RS \-3
+ .fi
+
+ .SH ADDITIONAL DIRECTIVES
+
+ Those two are automatic. I.e assembler recognizes the EOLs anyway.
+-If, for some reason the assembler can't parse the EOLs, those directive can
++If, for some reason the assembler can't parse the EOLs, these directives can
+ force it into a specified EOL mode.
+ .RS 0
+ .B \fI.atari\fR
+-forces the assembler to assume that the sourcefile has atari EOLs (9B)
++forces the assembler to assume that the sourcefile has Atari EOLs (9B)
+ .BR
+ .br
+ .B \fI.unix\fR
+-forces the assembler to assume that the sourcefile has unix EOLs (0A)
++forces the assembler to assume that the sourcefile has Unix EOLs (0A)
+ .BR
+ .PP
+ The assembling of unpublished (illegal) or extended (65C02) instructions.
+-By default Zooey uses the op-code list of a generic vanilla MOS6502.
++By default Zooey uses the op\-code list of a generic vanilla MOS6502.
+ If you want to extend the instruction set use the following:
+ .RS 0
+ .B \fI.65c02\fR
+@@ -261,7 +260,7 @@
+ .PP
+ .B \fIbin 'fname'[,A[,B]]\fR
+ includes contents of the file 'fname'.
+-If A is present - readout starts at the offset A, if B is present,
++If A is present \- readout starts at the offset A, if B is present,
+ B bytes of file are read in.
+ .BR
+ .PP
+@@ -275,33 +274,33 @@
+ .BR
+ .RS 5
+ .br
+-.B - a
+-- address - 16-bit value.
+-You can write adresses in a row like this: 'dta a(1,2,3,4)',
++.B \- a
++\- address \- 16\-bit value.
++You can write addresses in a row like this: 'dta a(1,2,3,4)',
+ .BR
+ .br
+-.B - b
+-- byte - 8-bit value,
++.B \- b
++\- byte \- 8\-bit value,
+ .BR
+ .br
+-.B - c
+-- ATASCII/ASCII code(s) for given argument e.g. dta c'ABCD',
++.B \- c
++\- ATASCII/ASCII code(s) for given argument e.g. dta c'ABCD',
+ .BR
+ .br
+-.B - d
+-- Internal Antic Character code(s) for given argument,
++.B \- d
++\- Internal Antic Character code(s) for given argument,
+ .BR
+ .br
+-.B - h
+-- MSB of argument,
++.B \- h
++\- MSB of argument,
+ .BR
+ .br
+-.B - l
+-- LSB of argument,
++.B \- l
++\- LSB of argument,
+ .BR
+ .br
+-.B - v
+-- vector - 16bit value, relocatable.
++.B \- v
++\- vector \- 16bit value, relocatable.
+ .BR
+ .br
+ \fINOTICE\fR: Relocatable values work only when declared indirectly
+@@ -309,86 +308,86 @@
+ .br
+ Example:
+ .br
+-dta v($1000) - unrelocatable vector value (constant)
++dta v($1000) \- unrelocatable vector value (constant)
+ .br
+-dta v(*) - relocatable vector value
++dta v(*) \- relocatable vector value
+ .br
+-dta v(*+100) - relocatable, if inside a relocatable block.
+-.RS -5
++dta v(*+100) \- relocatable, if inside a relocatable block.
++.RS \-5
+ .PP
+ .B \fImem A,B\fR
+ define(reserve) memory block started at A and size B. Usefull only
+-with \fI-m\fR option (memory checking).
++with \fI\-m\fR option (memory checking).
+ .PP
+ .B \fIopt\fR
+-assembling options. You can use a number, p+ and p- as arguments.
++assembling options. You can use a number, p+ and p\- as arguments.
+ .RS 5
+ .br
+-.B - a number
+-is a value from 0 to 255 (compatible with QA opt -
++.B \- a number
++is a value from 0 to 255 (compatible with QA opt \-
+ but not all bit setups are supported),
+ .BR
+ .br
+-.B - p+, p-
++.B \- p+, p\-
+ source printout on and off.
+ .BR
+ .br
+-.B - h+, h-
++.B \- h+, h\-
+ standard DOS header (FFFF) on and off.
+-.RS -5
++.RS \-5
+ .PP
+ .B \fIorg\fR
+ binary header block generation (interchangable with 'blk').
+ The parameters are:
+ .RS 5
+ .br
+-.B - addr
+-- address (exactly like in QA),
++.B \- addr
++\- address (exactly like in QA),
+ .BR
+ .br
+-.B - n,addr
+-- headerless block, beginning with addr,
++.B \- n,addr
++\- headerless block, beginning with addr,
+ .BR
+ .br
+-.B - d,addr<,addr2>
+-- a generic DOS block with FFFF header.
+-Source is assembled from addr. If addr2 is provided, the block addres is addr2.
++.B \- d,addr<,addr2>
++\- a generic DOS block with FFFF header.
++Source is assembled from addr. If addr2 is provided, the block address is addr2.
+ .BR
+ .br
+-.B - e,[m|e],size
+-- dummy block. Reserves a memory block in lowmem or xms.
++.B \- e,[m|e],size
++\- dummy block. Reserves a memory block in lowmem or xms.
+ Does not contain data, only reserves address space of size 'size',
+ .BR
+ .br
+-.B - s,addr
+-- generic Sparta block with FAFF header. Symbols and jumps
++.B \- s,addr
++\- generic Sparta block with FAFF header. Symbols and jumps
+ to 'r' type block are supported.
+ After using the two, one must use 'u,a' and 'u,s' blocks
+ (using the same rules as apply for 'r' type blocks),
+ .BR
+ .br
+-.B - r,[m|e]
+-- relocatable sparta block with FEFF header.
++.B \- r,[m|e]
++\- relocatable sparta block with FEFF header.
+ After the last 'r' block, you must use 'u,a' block(s).
+-And, if you used symbols - 'u,s' block(s),
++And, if you used symbols \- 'u,s' block(s),
+ .BR
+ .br
+-.B - u,a
+-- address update block (must follow 'r' block - see above),
++.B \- u,a
++\- address update block (must follow 'r' block \- see above),
+ .BR
+ .br
+-.B - u,s
+-- symbol update block (must follow 'r' block - see above),
++.B \- u,s
++\- symbol update block (must follow 'r' block \- see above),
+ .BR
+ .br
+-.B - u,n,'name',addr
+-- symbol declaration block. Defines symbol 'name' (max 8 chars) beginning at addr.
++.B \- u,n,'name',addr
++\- symbol declaration block. Defines symbol 'name' (max 8 chars) beginning at addr.
+ .BR
+ .PP
+-.RS -5
++.RS \-5
+ .B \fIsin A,B[,C]\fR
+ generates a sine table with MAX of A and table length of B.
+-The aplitude level is at 0 or C (if specified).
++The amplitude level is at 0 or C (if specified).
+ .BR
+ .PP
+ .B \fIsmb\fR
+@@ -419,7 +418,7 @@
+ .PP
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111\-1307 USA
+
+ .SH AUTHORS
+ .TP
+@@ -430,12 +429,12 @@
+ Testing and documentation.
+
+ .SH REPORTING BUGS
+-Report bugs to <zooey-devel@lists.sourceforge.net>.
++Report bugs to <zooey\-devel@lists.sourceforge.net>.
+
+ .SH EXIT CODES
+ 0 assembly OK,
+ .br
+-1 warnigs (if displayed),
++1 warnings (if displayed),
+ .br
+ 2 errors,
+ .br
diff --git a/development/zooey/slack-desc b/development/zooey/slack-desc
new file mode 100644
index 0000000000..4f97d18b9a
--- /dev/null
+++ b/development/zooey/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------------------------------------------------------|
+zooey: zooey (6502 cross-assembler for Atari 8-bit systems)
+zooey:
+zooey: ZooEY is a cross assembler designed for 6502 processors. Binaries
+zooey: are generated specially for 8-bit Atari systems (Atari DOS II and
+zooey: SpartaDOS X formats supported). This tool is compatible with Quick
+zooey: Assembler, one of most popular assemblers in Poland.
+zooey:
+zooey: Also included are atari2unix and unix2atari (convert text files
+zooey: between Atari and Unix line-endings) and syntax highlighting for
+zooey: Midnight Commander (mcedit).
+zooey:
diff --git a/development/zooey/zooey.SlackBuild b/development/zooey/zooey.SlackBuild
new file mode 100644
index 0000000000..1f49b82e13
--- /dev/null
+++ b/development/zooey/zooey.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for zooey
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zooey
+VERSION=${VERSION:-1.4}
+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.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Use our CFLAGS and man page path (hate when it's hardcoded).
+sed -i -e "/CFLAGS/s,-O2,$SLKCFLAGS," \
+ -e 's,share/man,man,g' Makefile
+
+# Fix some typos and formatting errors in the man page.
+patch -p1 < $CWD/manpagefixes.diff
+
+# Author's name in the source is hard-coded ISO-8859-2. The Polish
+# l-with-slash in "zooey -h" output displays as a superscript 3 in an
+# ISO-8859-1 (Latin-1 or Windows-1232) terminal, or just gibberish in
+# a UTF-8 terminal. Make it UTF-8 in the source.
+mv $PRGNAM.c $PRGNAM.c.orig
+iconv -f iso-8859-2 -t utf-8 $PRGNAM.c.orig > $PRGNAM.c
+
+make $PRGNAM
+make install PREFIX=$PKG/usr
+# Binary is already stripped.
+gzip -9 $PKG/usr/man/man?/*.?
+
+# mcedit (midnight commander) syntax support, untested by SlackBuild
+# author. Wish there was one for vim...
+mkdir -p $PKG/usr/share/mc/syntax
+install -m0644 asm.syntax $PKG/usr/share/mc/syntax
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+install -m0644 ChangeLog ToDo $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zooey/zooey.info b/development/zooey/zooey.info
new file mode 100644
index 0000000000..cccf83bb57
--- /dev/null
+++ b/development/zooey/zooey.info
@@ -0,0 +1,10 @@
+PRGNAM="zooey"
+VERSION="1.4"
+HOMEPAGE="https://atari8.sourceforge.net/zooey.html"
+DOWNLOAD="https://downloads.sourceforge.net/project/atari8/zooey/Zooey-1.4/zooey-1.4.tgz"
+MD5SUM="a3d78e15f21f6e68fc55e83212c01f72"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/zope.interface/zope.interface.SlackBuild b/development/zope.interface/zope.interface.SlackBuild
index 66025eadbe..901493c9f0 100644
--- a/development/zope.interface/zope.interface.SlackBuild
+++ b/development/zope.interface/zope.interface.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.interface
+# Copyright 2022 Yth | Pont-en-Royans, France | yth@ythogtha.org
# Copyright 2014 Mikko Värri, Finland
# All rights reserved.
#
@@ -22,20 +23,30 @@
# 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=zope.interface
-VERSION=${VERSION:-4.1.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-6.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -46,21 +57,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -73,4 +79,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zope.interface/zope.interface.info b/development/zope.interface/zope.interface.info
index 643431d439..c3a40a6f25 100644
--- a/development/zope.interface/zope.interface.info
+++ b/development/zope.interface/zope.interface.info
@@ -1,10 +1,10 @@
PRGNAM="zope.interface"
-VERSION="4.1.2"
+VERSION="6.3"
HOMEPAGE="https://pypi.python.org/pypi/zope.interface/"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.2.tar.gz"
-MD5SUM="04298faeaa70b4f3b23fa2ae8987262c"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.interface/zope.interface-6.3.tar.gz"
+MD5SUM="257a0a0c2ac412626f84445eecd314ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild b/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild
index e763b7ac93..2c1519a5ac 100644
--- a/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild
+++ b/development/zope.sqlalchemy/zope.sqlalchemy.SlackBuild
@@ -1,46 +1,57 @@
-#!/bin/sh
-# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
-# Copyright 2009 Eric Hameleers <alien@slackware.com>, Eindhoven, Netherlands
+#!/bin/bash
# Slackware build script for zope.sqlalchemy
# Written by Lionel Young <redtricycle@gmail.com>
+# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
+# 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.
-# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zope.sqlalchemy
-VERSION=${VERSION:-0.4}
+VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -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
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -50,25 +61,22 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
-python setup.py build || exit 1
-python setup.py install --root=$PKG || exit 1
+python3 setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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.txt CREDITS.txt README.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zope.sqlalchemy/zope.sqlalchemy.info b/development/zope.sqlalchemy/zope.sqlalchemy.info
index ecb2aa0288..8afd0231c7 100644
--- a/development/zope.sqlalchemy/zope.sqlalchemy.info
+++ b/development/zope.sqlalchemy/zope.sqlalchemy.info
@@ -1,10 +1,10 @@
PRGNAM="zope.sqlalchemy"
-VERSION="0.4"
+VERSION="3.1"
HOMEPAGE="https://pypi.python.org/pypi/zope.sqlalchemy"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.sqlalchemy/zope.sqlalchemy-0.4.tar.gz"
-MD5SUM="245885dc0923fa36216386867cf450ae"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.sqlalchemy/zope.sqlalchemy-3.1.tar.gz"
+MD5SUM="4e67e8a24ecc9fe468e4df144d4ab4e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Lionel Young"
-EMAIL="redtricycle@gmail.com"
+REQUIRES="SQLAlchemy python3-transaction"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/development/zope.testing/zope.testing.SlackBuild b/development/zope.testing/zope.testing.SlackBuild
index c464665e04..01dd6587aa 100644
--- a/development/zope.testing/zope.testing.SlackBuild
+++ b/development/zope.testing/zope.testing.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.testing
# Copyright 2013 Mikko Värri, Finland
+# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,20 +23,30 @@
# 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=zope.testing
-VERSION=${VERSION:-4.1.3}
+VERSION=${VERSION:-5.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -50,12 +61,15 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
@@ -65,5 +79,4 @@ 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:-tgz}
-
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zope.testing/zope.testing.info b/development/zope.testing/zope.testing.info
index 21fa5ebf18..270f2c6774 100644
--- a/development/zope.testing/zope.testing.info
+++ b/development/zope.testing/zope.testing.info
@@ -1,10 +1,10 @@
PRGNAM="zope.testing"
-VERSION="4.1.3"
+VERSION="5.0.1"
HOMEPAGE="https://www.python.org/pypi/zope.testing/"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.testing/zope.testing-4.1.3.tar.gz"
-MD5SUM="6c73c5b668a67fdc116a25b884058ed9"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.testing/zope.testing-5.0.1.tar.gz"
+MD5SUM="891a7b9425f4596e2d55db8164054fef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/development/zulu-openjdk-lts/README b/development/zulu-openjdk-lts/README
deleted file mode 100644
index c2d267ddc8..0000000000
--- a/development/zulu-openjdk-lts/README
+++ /dev/null
@@ -1,10 +0,0 @@
-This is a SlackBuild to repackage the Azul's build of the OpenJDK
-LTS (Long Term Support) that is compliant with the latest Java SE
-standard.
-
-Before installing this package please consider any other jdk's/jre's
-that you have already installed as they may cause conflicts with the
-PATH, JAVA_HOME and MANPATH variables.
-
-After installing the package you will need to logout/reboot your machine
-as it will add files to the /etc/profile.d folder.
diff --git a/development/zulu-openjdk-lts/slack-desc b/development/zulu-openjdk-lts/slack-desc
deleted file mode 100644
index e9c5126d18..0000000000
--- a/development/zulu-openjdk-lts/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------------------------------------------------------|
-zulu-openjdk-lts: zulu-openjdk-lts (Open Implementation of JDK)
-zulu-openjdk-lts:
-zulu-openjdk-lts: Prebuild binary of ZuluOpenJDK LTS (Long Term Support) from Azul
-zulu-openjdk-lts: that is compliant with the latest Java SE standard.
-zulu-openjdk-lts:
-zulu-openjdk-lts: Zulu has been verified by passing all tests in the latest Java
-zulu-openjdk-lts: SE version of the OpenJDK Community TCK (Technology Compatibility
-zulu-openjdk-lts: Kit).
-zulu-openjdk-lts:
-zulu-openjdk-lts: https://www.azul.com/downloads/zulu/zulu-linux/
-zulu-openjdk-lts:
diff --git a/development/zulu-openjdk-lts/zulu-openjdk-lts.SlackBuild b/development/zulu-openjdk-lts/zulu-openjdk-lts.SlackBuild
deleted file mode 100644
index 2f0f7ae980..0000000000
--- a/development/zulu-openjdk-lts/zulu-openjdk-lts.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for zulu-openjdk-lts
-
-# Copyright (c) 2018, Sébastien Ballet <slacker6896 at gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=zulu-openjdk-lts
-VERSION=${VERSION:-11.0.5}
-ZULUVERSION=${ZULUVERSION:-11.35.15}
-
-# SRCNAM is the name (without extension) of the source archive and
-# of the top directory in that archive.
-#
-SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_x64
-
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=${ARCH:-$(uname -m)}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${TMP}/package-${PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ ! "${ARCH}" = "x86_64" ] ; then
- echo "Architecture ${ARCH} is not supported."
- exit 1
-fi
-
-set -e
-
-rm -rf ${PKG}
-mkdir -p ${TMP} ${PKG} ${OUTPUT}
-
-mkdir -p ${PKG}/usr/lib64/
-cd ${PKG}/usr/lib64/
-tar xvf ${CWD}/${SRCNAM}.tar.gz
-mv ${SRCNAM} ${PRGNAM}
-
-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}/etc/profile.d
-for SCRIPT in ${PRGNAM}.sh ${PRGNAM}.csh ; do
- cat ${CWD}/${SCRIPT} > ${PKG}/etc/profile.d/${SCRIPT}
- chmod 755 ${PKG}/etc/profile.d/${SCRIPT}
-done
-
-mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
-
-# move folder demo/ in documentation directory
-#
-mv ${PKG}/usr/lib64/${PRGNAM}/demo ${PKG}/usr/doc/${PRGNAM}-${VERSION}
-
-for CFILE in DISCLAIMER Welcome.html readme.txt ; do
- mv ${PKG}/usr/lib64/${PRGNAM}/${CFILE} ${PKG}/usr/doc/${PRGNAM}-${VERSION}
-done
-
-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:-tgz}
diff --git a/development/zulu-openjdk-lts/zulu-openjdk-lts.csh b/development/zulu-openjdk-lts/zulu-openjdk-lts.csh
deleted file mode 100644
index ffc78c0706..0000000000
--- a/development/zulu-openjdk-lts/zulu-openjdk-lts.csh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/csh
-setenv JAVA_HOME /usr/lib64/zulu-openjdk-lts
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
-setenv PATH ${PATH}:${JAVA_HOME}/bin
-setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server
diff --git a/development/zulu-openjdk-lts/zulu-openjdk-lts.info b/development/zulu-openjdk-lts/zulu-openjdk-lts.info
deleted file mode 100644
index 18b57deeac..0000000000
--- a/development/zulu-openjdk-lts/zulu-openjdk-lts.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="zulu-openjdk-lts"
-VERSION="11.0.5"
-HOMEPAGE="https://www.azul.com/downloads/zulu/zulu-linux/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu11.35.15-ca-jdk11.0.5-linux_x64.tar.gz"
-MD5SUM_x86_64="6a419b594cfd07660656a26898398b74"
-REQUIRES=""
-MAINTAINER="Sébastien Ballet"
-EMAIL="slacker6896@gmail.com"
diff --git a/development/zulu-openjdk-lts/zulu-openjdk-lts.sh b/development/zulu-openjdk-lts/zulu-openjdk-lts.sh
deleted file mode 100644
index 9c4a1d221b..0000000000
--- a/development/zulu-openjdk-lts/zulu-openjdk-lts.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-export JAVA_HOME=/usr/lib64/zulu-openjdk-lts
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
-export PATH="${PATH}:${JAVA_HOME}/bin"
-export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server"
diff --git a/development/zulu-openjdk11/README b/development/zulu-openjdk11/README
new file mode 100644
index 0000000000..472fba34af
--- /dev/null
+++ b/development/zulu-openjdk11/README
@@ -0,0 +1,10 @@
+This is a SlackBuild to repackage the Azul's build of the OpenJDK 11
+LTS (Long Term Support) that is compliant with the latest Java SE
+standard.
+
+Before installing this package please consider any other jdk's/jre's
+that you have already installed as they may cause conflicts with the
+PATH, JAVA_HOME and MANPATH variables.
+
+After installing the package you will need to logout/reboot your machine
+as it will add files to the /etc/profile.d folder.
diff --git a/development/zulu-openjdk11/slack-desc b/development/zulu-openjdk11/slack-desc
new file mode 100644
index 0000000000..cd63735189
--- /dev/null
+++ b/development/zulu-openjdk11/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------------------------------------------------------|
+zulu-openjdk11: zulu-openjdk11 (Open Implementation of JDK)
+zulu-openjdk11:
+zulu-openjdk11: Prebuild binary of ZuluOpenJDK11 LTS (Long Term Support) from Azul
+zulu-openjdk11: that is compliant with the latest Java SE standard.
+zulu-openjdk11:
+zulu-openjdk11: Zulu has been verified by passing all tests in the latest Java
+zulu-openjdk11: SE version of the OpenJDK Community TCK (Technology Compatibility
+zulu-openjdk11: Kit).
+zulu-openjdk11:
+zulu-openjdk11: https://www.azul.com/downloads/
+zulu-openjdk11:
diff --git a/development/zulu-openjdk11/zulu-openjdk11.SlackBuild b/development/zulu-openjdk11/zulu-openjdk11.SlackBuild
new file mode 100644
index 0000000000..0f2813699a
--- /dev/null
+++ b/development/zulu-openjdk11/zulu-openjdk11.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for zulu-openjdk11
+
+# Copyright (c) 2018, Sébastien Ballet <slacker6896 at gmail.com>
+# Copyright (c) 2022-2024, Andrew Clemons, Tokyo Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zulu-openjdk11
+VERSION=${VERSION:-11.0.22}
+ZULUVERSION=${ZULUVERSION:-11.70.15}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=${TMP}/package-${PRGNAM}
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i686" ]; then
+ ZULU_ARCH=i686
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ ZULU_ARCH=x64
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "arm" ]; then
+ ZULU_ARCH=aarch32hf
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "aarch64" ]; then
+ ZULU_ARCH=aarch64
+ LIBDIRSUFFIX="64"
+else
+ echo "Architecture ${ARCH} is not supported."
+ exit 1
+fi
+
+SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ZULU_ARCH
+
+set -e
+
+rm -rf ${PKG}
+mkdir -p ${TMP} ${PKG} ${OUTPUT}
+
+mkdir -p ${PKG}/usr/lib$LIBDIRSUFFIX/
+cd ${PKG}/usr/lib$LIBDIRSUFFIX/
+tar xvf ${CWD}/${SRCNAM}.tar.gz
+mv ${SRCNAM} ${PRGNAM}
+
+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 {} \;
+
+if [ "$ARCH" = "aarch64" ] ; then
+ find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/bin -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs patchelf --set-interpreter /lib64/ld-linux-aarch64.so.1 2> /dev/null || true
+fi
+
+find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM -type f -name "*.so" -exec chmod +x {} \; 2> /dev/null || true
+
+mkdir -p ${PKG}/etc/profile.d
+for SCRIPT in ${PRGNAM}.sh ${PRGNAM}.csh ; do
+ sed -e s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/g ${CWD}/${SCRIPT} > ${PKG}/etc/profile.d/${SCRIPT}
+ chmod 755 ${PKG}/etc/profile.d/${SCRIPT}
+done
+
+mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
+
+# move folder demo/ in documentation directory
+#
+mv ${PKG}/usr/lib$LIBDIRSUFFIX/${PRGNAM}/demo ${PKG}/usr/doc/${PRGNAM}-${VERSION}
+
+for CFILE in DISCLAIMER Welcome.html readme.txt ; do
+ mv ${PKG}/usr/lib$LIBDIRSUFFIX/${PRGNAM}/${CFILE} ${PKG}/usr/doc/${PRGNAM}-${VERSION}
+done
+
+cat ${CWD}/${PRGNAM}.SlackBuild > ${PKG}/usr/doc/${PRGNAM}-${VERSION}/${PRGNAM}.SlackBuild
+
+mkdir -p ${PKG}/install
+cat ${CWD}/slack-desc > ${PKG}/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zulu-openjdk11/zulu-openjdk11.csh b/development/zulu-openjdk11/zulu-openjdk11.csh
new file mode 100644
index 0000000000..b6d831237d
--- /dev/null
+++ b/development/zulu-openjdk11/zulu-openjdk11.csh
@@ -0,0 +1,10 @@
+#!/bin/csh
+setenv JAVA_HOME /usr/lib%LIBDIRSUFFIX%/zulu-openjdk11
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
+setenv PATH ${PATH}:${JAVA_HOME}/bin
+
+if ($?LD_LIBRARY_PATH == 1) then
+ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server
+else
+ setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server
+endif
diff --git a/development/zulu-openjdk11/zulu-openjdk11.info b/development/zulu-openjdk11/zulu-openjdk11.info
new file mode 100644
index 0000000000..cac17e7927
--- /dev/null
+++ b/development/zulu-openjdk11/zulu-openjdk11.info
@@ -0,0 +1,14 @@
+PRGNAM="zulu-openjdk11"
+VERSION="11.0.22"
+HOMEPAGE="https://www.azul.com/downloads/"
+DOWNLOAD="https://cdn.azul.com/zulu-embedded/bin/zulu11.70.15-ca-jdk11.0.22-linux_aarch32hf.tar.gz \
+ https://cdn.azul.com/zulu/bin/zulu11.70.15-ca-jdk11.0.22-linux_i686.tar.gz"
+MD5SUM="5a70b07a02a68c6d58512275a060d254 \
+ 76051cc4586fc9d2f1b2fe4bca0b09cd"
+DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu11.70.15-ca-jdk11.0.22-linux_x64.tar.gz \
+ https://cdn.azul.com/zulu/bin/zulu11.70.15-ca-jdk11.0.22-linux_aarch64.tar.gz"
+MD5SUM_x86_64="f13d179f8e1428a3f0f135a42b9fa75b \
+ 3c914d5d98f64724071a0e3e27d6a83e"
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/zulu-openjdk11/zulu-openjdk11.sh b/development/zulu-openjdk11/zulu-openjdk11.sh
new file mode 100644
index 0000000000..2081a67882
--- /dev/null
+++ b/development/zulu-openjdk11/zulu-openjdk11.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib%LIBDIRSUFFIX%/zulu-openjdk11
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin"
+
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="${JAVA_HOME}/lib/server"
+else
+ export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server"
+fi
diff --git a/development/zulu-openjdk17/README b/development/zulu-openjdk17/README
new file mode 100644
index 0000000000..3256829c02
--- /dev/null
+++ b/development/zulu-openjdk17/README
@@ -0,0 +1,10 @@
+This is a SlackBuild to repackage the Azul's build of the OpenJDK 17
+LTS (Long Term Support) that is compliant with the latest Java SE
+standard.
+
+Before installing this package please consider any other jdk's/jre's
+that you have already installed as they may cause conflicts with the
+PATH, JAVA_HOME and MANPATH variables.
+
+After installing the package you will need to logout/reboot your machine
+as it will add files to the /etc/profile.d folder.
diff --git a/development/zulu-openjdk17/slack-desc b/development/zulu-openjdk17/slack-desc
new file mode 100644
index 0000000000..dd70d5c49c
--- /dev/null
+++ b/development/zulu-openjdk17/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------------------------------------------------------|
+zulu-openjdk17: zulu-openjdk17 (Open Implementation of JDK)
+zulu-openjdk17:
+zulu-openjdk17: Prebuild binary of ZuluOpenJDK17 LTS (Long Term Support) from Azul
+zulu-openjdk17: that is compliant with the latest Java SE standard.
+zulu-openjdk17:
+zulu-openjdk17: Zulu has been verified by passing all tests in the latest Java
+zulu-openjdk17: SE version of the OpenJDK Community TCK (Technology Compatibility
+zulu-openjdk17: Kit).
+zulu-openjdk17:
+zulu-openjdk17: https://www.azul.com/downloads/
+zulu-openjdk17:
diff --git a/development/zulu-openjdk17/zulu-openjdk17.SlackBuild b/development/zulu-openjdk17/zulu-openjdk17.SlackBuild
new file mode 100644
index 0000000000..f1232e0aff
--- /dev/null
+++ b/development/zulu-openjdk17/zulu-openjdk17.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for zulu-openjdk17
+
+# Copyright (c) 2021, Gustavo B. Schenkel <gustavo dot schenkel at gmail.com>
+# Copyright (c) 2022-2024, Andrew Clemons, Tokyo Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zulu-openjdk17
+VERSION=${VERSION:-17.0.10}
+ZULUVERSION=${ZULUVERSION:-17.48.15}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=${TMP}/package-${PRGNAM}
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i686" ]; then
+ ZULU_ARCH=i686
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ ZULU_ARCH=x64
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "arm" ]; then
+ ZULU_ARCH=aarch32hf
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "aarch64" ]; then
+ ZULU_ARCH=aarch64
+ LIBDIRSUFFIX="64"
+else
+ echo "Architecture ${ARCH} is not supported."
+ exit 1
+fi
+
+SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ZULU_ARCH
+
+set -e
+
+rm -rf ${PKG}
+mkdir -p ${TMP} ${PKG} ${OUTPUT}
+
+mkdir -p ${PKG}/usr/lib$LIBDIRSUFFIX/
+cd ${PKG}/usr/lib$LIBDIRSUFFIX/
+tar xvf ${CWD}/${SRCNAM}.tar.gz
+mv ${SRCNAM} ${PRGNAM}
+
+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 {} \;
+
+if [ "$ARCH" = "aarch64" ] ; then
+ find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/bin -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs patchelf --set-interpreter /lib64/ld-linux-aarch64.so.1 2> /dev/null || true
+fi
+
+find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM -type f -name "*.so" -exec chmod +x {} \; 2> /dev/null || true
+
+mkdir -p ${PKG}/etc/profile.d
+for SCRIPT in ${PRGNAM}.sh ${PRGNAM}.csh ; do
+ sed -e s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/g ${CWD}/${SCRIPT} > ${PKG}/etc/profile.d/${SCRIPT}
+ chmod 755 ${PKG}/etc/profile.d/${SCRIPT}
+done
+
+mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
+
+# move folder demo/ in documentation directory
+#
+mv ${PKG}/usr/lib$LIBDIRSUFFIX/${PRGNAM}/demo ${PKG}/usr/doc/${PRGNAM}-${VERSION}
+
+for CFILE in DISCLAIMER Welcome.html readme.txt ; do
+ mv ${PKG}/usr/lib$LIBDIRSUFFIX/${PRGNAM}/${CFILE} ${PKG}/usr/doc/${PRGNAM}-${VERSION}
+done
+
+cat ${CWD}/${PRGNAM}.SlackBuild > ${PKG}/usr/doc/${PRGNAM}-${VERSION}/${PRGNAM}.SlackBuild
+
+mkdir -p ${PKG}/install
+cat ${CWD}/slack-desc > ${PKG}/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zulu-openjdk17/zulu-openjdk17.csh b/development/zulu-openjdk17/zulu-openjdk17.csh
new file mode 100644
index 0000000000..f2ee2498cd
--- /dev/null
+++ b/development/zulu-openjdk17/zulu-openjdk17.csh
@@ -0,0 +1,10 @@
+#!/bin/csh
+setenv JAVA_HOME /usr/lib%LIBDIRSUFFIX%/zulu-openjdk17
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
+setenv PATH ${PATH}:${JAVA_HOME}/bin
+
+if ($?LD_LIBRARY_PATH == 1) then
+ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server
+else
+ setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server
+endif
diff --git a/development/zulu-openjdk17/zulu-openjdk17.info b/development/zulu-openjdk17/zulu-openjdk17.info
new file mode 100644
index 0000000000..70323617f7
--- /dev/null
+++ b/development/zulu-openjdk17/zulu-openjdk17.info
@@ -0,0 +1,14 @@
+PRGNAM="zulu-openjdk17"
+VERSION="17.0.10"
+HOMEPAGE="https://www.azul.com/downloads/"
+DOWNLOAD="https://cdn.azul.com/zulu-embedded/bin/zulu17.48.15-ca-jdk17.0.10-linux_aarch32hf.tar.gz \
+ https://cdn.azul.com/zulu/bin/zulu17.48.15-ca-jdk17.0.10-linux_i686.tar.gz"
+MD5SUM="245db3a3fe85754357ac4d8d5bdd3c1b \
+ aa2d506f61ffe6e220b642abdb31098d"
+DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu17.48.15-ca-jdk17.0.10-linux_x64.tar.gz \
+ https://cdn.azul.com/zulu/bin/zulu17.48.15-ca-jdk17.0.10-linux_aarch64.tar.gz"
+MD5SUM_x86_64="bb826d2598b6ceaaae56a6c938f2030e \
+ 00c68c580e01ba47a406213ace0a7942"
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/zulu-openjdk17/zulu-openjdk17.sh b/development/zulu-openjdk17/zulu-openjdk17.sh
new file mode 100644
index 0000000000..4ca737961c
--- /dev/null
+++ b/development/zulu-openjdk17/zulu-openjdk17.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib%LIBDIRSUFFIX%/zulu-openjdk17
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin"
+
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="${JAVA_HOME}/lib/server"
+else
+ export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server"
+fi
diff --git a/development/zulu-openjdk21/README b/development/zulu-openjdk21/README
new file mode 100644
index 0000000000..f325e0d478
--- /dev/null
+++ b/development/zulu-openjdk21/README
@@ -0,0 +1,10 @@
+This is a SlackBuild to repackage the Azul's build of the OpenJDK 21
+LTS (Long Term Support) that is compliant with the latest Java SE
+standard.
+
+Before installing this package please consider any other jdk's/jre's
+that you have already installed as they may cause conflicts with the
+PATH, JAVA_HOME and MANPATH variables.
+
+After installing the package you will need to logout/reboot your machine
+as it will add files to the /etc/profile.d folder.
diff --git a/development/zulu-openjdk21/slack-desc b/development/zulu-openjdk21/slack-desc
new file mode 100644
index 0000000000..244b67dd9c
--- /dev/null
+++ b/development/zulu-openjdk21/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------------------------------------------------------|
+zulu-openjdk21: zulu-openjdk21 (Open Implementation of JDK)
+zulu-openjdk21:
+zulu-openjdk21: Prebuild binary of ZuluOpenJDK21 LTS (Long Term Support) from Azul
+zulu-openjdk21: that is compliant with the latest Java SE standard.
+zulu-openjdk21:
+zulu-openjdk21: Zulu has been verified by passing all tests in the latest Java
+zulu-openjdk21: SE version of the OpenJDK Community TCK (Technology Compatibility
+zulu-openjdk21: Kit).
+zulu-openjdk21:
+zulu-openjdk21: https://www.azul.com/downloads/
+zulu-openjdk21:
diff --git a/development/zulu-openjdk21/zulu-openjdk21.SlackBuild b/development/zulu-openjdk21/zulu-openjdk21.SlackBuild
new file mode 100644
index 0000000000..53f9416555
--- /dev/null
+++ b/development/zulu-openjdk21/zulu-openjdk21.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for zulu-openjdk21
+
+# Copyright (c) 2024, Andrew Clemons, Tokyo Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zulu-openjdk21
+VERSION=${VERSION:-21.0.2}
+ZULUVERSION=${ZULUVERSION:-21.32.17}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ ZULU_ARCH=x64
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ ZULU_ARCH=aarch64
+ LIBDIRSUFFIX="64"
+else
+ echo "Architecture $ARCH is not supported."
+ exit 1
+fi
+
+SRCNAM=zulu$ZULUVERSION-ca-jdk$VERSION-linux_$ZULU_ARCH
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
+cd $PKG/usr/lib$LIBDIRSUFFIX
+tar xvf $CWD/$SRCNAM.tar.gz
+mv $SRCNAM $PRGNAM
+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 {} \;
+
+if [ "$ARCH" = "aarch64" ] ; then
+ find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/bin -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs patchelf --set-interpreter /lib64/ld-linux-aarch64.so.1 2> /dev/null || true
+fi
+
+find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM -type f -name "*.so" -exec chmod +x {} \; 2> /dev/null || true
+
+mkdir -p $PKG/etc/profile.d
+install -D -m0755 $CWD/$PRGNAM.csh $PKG/etc/profile.d/$PRGNAM.csh
+install -D -m0755 $CWD/$PRGNAM.sh $PKG/etc/profile.d/$PRGNAM.sh
+
+sed -i s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/g $PKG/etc/profile.d/$PRGNAM.*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zulu-openjdk21/zulu-openjdk21.csh b/development/zulu-openjdk21/zulu-openjdk21.csh
new file mode 100644
index 0000000000..f1632d366a
--- /dev/null
+++ b/development/zulu-openjdk21/zulu-openjdk21.csh
@@ -0,0 +1,10 @@
+#!/bin/csh
+setenv JAVA_HOME /usr/lib%LIBDIRSUFFIX%/zulu-openjdk21
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
+setenv PATH ${PATH}:${JAVA_HOME}/bin
+
+if ($?LD_LIBRARY_PATH == 1) then
+ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server
+else
+ setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server
+endif
diff --git a/development/zulu-openjdk21/zulu-openjdk21.info b/development/zulu-openjdk21/zulu-openjdk21.info
new file mode 100644
index 0000000000..09fb8d1d09
--- /dev/null
+++ b/development/zulu-openjdk21/zulu-openjdk21.info
@@ -0,0 +1,12 @@
+PRGNAM="zulu-openjdk21"
+VERSION="21.0.2"
+HOMEPAGE="https://www.azul.com/downloads/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_x64.tar.gz \
+ https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_aarch64.tar.gz"
+MD5SUM_x86_64="871156991c5661a684fa3eb5643f6dd9 \
+ 3edafb39656db548888951b4306e9838"
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/zulu-openjdk21/zulu-openjdk21.sh b/development/zulu-openjdk21/zulu-openjdk21.sh
new file mode 100644
index 0000000000..074fcdf083
--- /dev/null
+++ b/development/zulu-openjdk21/zulu-openjdk21.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib%LIBDIRSUFFIX%/zulu-openjdk21
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin"
+
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="${JAVA_HOME}/lib/server"
+else
+ export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server"
+fi
diff --git a/development/zulu-openjdk6/README b/development/zulu-openjdk6/README
new file mode 100644
index 0000000000..4db7fb7200
--- /dev/null
+++ b/development/zulu-openjdk6/README
@@ -0,0 +1,12 @@
+This is a SlackBuild to repackage the Azul's Zulu build of OpenJDK that
+is compliant with the Java SE 6 standard.
+
+Before installing this package please consider any other jdk's/jre's
+that you have already installed as they may cause conflicts with the
+PATH, JAVA_HOME and MANPATH variables.
+
+After installing the package you will need to logout/reboot your machine
+as it will add files to the /etc/profile.d folder.
+
+Note: zulu-openjdk6 does not have a browser plugin nor support for Java
+ Network Launching Protocol (JNLP).
diff --git a/development/zulu-openjdk6/slack-desc b/development/zulu-openjdk6/slack-desc
new file mode 100644
index 0000000000..9dfbe763bc
--- /dev/null
+++ b/development/zulu-openjdk6/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------------------------------------------------------|
+zulu-openjdk6: zulu-openjdk6 (Open Implementation of JDK)
+zulu-openjdk6:
+zulu-openjdk6: Zulu is a Java Development Kit (JDK), and a compliant implementation
+zulu-openjdk6: of the Java Standard Edition (SE) specification that contains all the
+zulu-openjdk6: Java components needed to build and run Java SE applications. Zulu
+zulu-openjdk6: has been verified by passing all tests in the Java SE 6 version of
+zulu-openjdk6: the OpenJDK Community Technology Compatibility Kit (TCK).
+zulu-openjdk6:
+zulu-openjdk6: https://www.azul.com/downloads
+zulu-openjdk6:
+zulu-openjdk6:
diff --git a/development/zulu-openjdk6/zulu-openjdk6.SlackBuild b/development/zulu-openjdk6/zulu-openjdk6.SlackBuild
new file mode 100644
index 0000000000..668f79d715
--- /dev/null
+++ b/development/zulu-openjdk6/zulu-openjdk6.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for zulu-openjdk6
+
+# Copyright (c) 2017-2019, Sébastien Ballet <slacker6896 at gmail.com>
+# Copyright (c) 2022, Andrew Clemons, Tokyo Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zulu-openjdk6
+VERSION=${VERSION:-6.0.119}
+ZULUVERSION=${ZULUVERSION:-6.22.0.3}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=${TMP}/package-${PRGNAM}
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ ZULU_ARCH=x64
+ LIBDIRSUFFIX="64"
+ JVMLIBARCH="amd64"
+else
+ echo "Architecture ${ARCH} is not supported."
+ exit 1
+fi
+
+SRCNAM=zulu${ZULUVERSION}-jdk${VERSION}-linux_$ZULU_ARCH
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/
+cd $PKG/usr/lib${LIBDIRSUFFIX}/
+tar xvf ${CWD}/${SRCNAM}.tar.gz
+mv ${SRCNAM} ${PRGNAM}
+ln -sf ${PRGNAM} ${SRCNAM}
+
+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 {} \;
+
+# Define whether or not a symlink to libjvm.so library must
+# be created into /usr/lib${LIBDIRSUFFIX}. Can be set to "yes"
+# or "no". Default to "yes"
+#
+if [ "${CREATE_LIBJVM_SYMLINK:-yes}" = "yes" ] ; then
+ (
+ cd $PKG/usr/lib${LIBDIRSUFFIX}/
+ ln -sf $PRGNAM/jre/lib/${JVMLIBARCH}/server/libjvm.so
+ )
+fi
+
+mkdir -p ${PKG}/etc/profile.d
+for SCRIPT in ${PRGNAM}.sh ${PRGNAM}.csh ; do
+ cat ${CWD}/${SCRIPT} \
+ | sed -e "s;lib/${PRGNAM};lib${LIBDIRSUFFIX}/${PRGNAM};" \
+ > ${PKG}/etc/profile.d/${SCRIPT}
+ chmod 755 ${PKG}/etc/profile.d/${SCRIPT}
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+for DOCFILE in \
+ ASSEMBLY_EXCEPTION \
+ LICENSE \
+ Welcome.html \
+ DISCLAIMER \
+ THIRD_PARTY_README \
+ readme.txt ; do
+ cp -a ${PKG}/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/${DOCFILE} \
+ ${PKG}/usr/doc/${PRGNAM}-${VERSION}
+done
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zulu-openjdk6/zulu-openjdk6.csh b/development/zulu-openjdk6/zulu-openjdk6.csh
new file mode 100644
index 0000000000..8ccd3a2c4b
--- /dev/null
+++ b/development/zulu-openjdk6/zulu-openjdk6.csh
@@ -0,0 +1,4 @@
+#!/bin/csh
+setenv JAVA_HOME /usr/lib/zulu-openjdk6
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
+setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
diff --git a/development/zulu-openjdk6/zulu-openjdk6.info b/development/zulu-openjdk6/zulu-openjdk6.info
new file mode 100644
index 0000000000..61a7892ea2
--- /dev/null
+++ b/development/zulu-openjdk6/zulu-openjdk6.info
@@ -0,0 +1,10 @@
+PRGNAM="zulu-openjdk6"
+VERSION="6.0.119"
+HOMEPAGE="https://www.azul.com/downloads"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu6.22.0.3-jdk6.0.119-linux_x64.tar.gz"
+MD5SUM_x86_64="bb8bd2d476e21c60b59fbecee43667ce"
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/zulu-openjdk6/zulu-openjdk6.sh b/development/zulu-openjdk6/zulu-openjdk6.sh
new file mode 100644
index 0000000000..ba234210f2
--- /dev/null
+++ b/development/zulu-openjdk6/zulu-openjdk6.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib/zulu-openjdk6
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
diff --git a/development/zulu-openjdk7/zulu-openjdk7.SlackBuild b/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
index fcbc0227f6..7c9bdd5d76 100644
--- a/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
+++ b/development/zulu-openjdk7/zulu-openjdk7.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zulu-openjdk7
# Copyright (c) 2017-2019, Sébastien Ballet <slacker6896 at gmail.com>
+# Copyright (c) 2022, Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,36 +23,47 @@
# 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=zulu-openjdk7
-VERSION=${VERSION:-7.0.242}
-ZULUVERSION=${ZULUVERSION:-7.34.0.5}
+VERSION=${VERSION:-7.0.352}
+ZULUVERSION=${ZULUVERSION:-7.56.0.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
-# The name of azul's zulu openjdk source archive has the syntax below :
-#
-# zulu<ZULU_VERSION>-jdk<JDK_VERSION>-linux_x64
-#
-# Note: The archive's name is also the name of the top directory found
-# in this archive.
-#
-SRCNAM="zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_x64"
-
-ARCH=${ARCH:-$(uname -m)}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
-if [ "${ARCH}" = "x86_64" ] ; then
- LIB_ARCH=amd64
+if [ "$ARCH" = "i686" ]; then
+ ZULU_ARCH=i686
+ LIBDIRSUFFIX=""
+ JVMLIBARCH="i386"
+elif [ "$ARCH" = "x86_64" ]; then
+ ZULU_ARCH=x64
LIBDIRSUFFIX="64"
+ JVMLIBARCH="amd64"
else
echo "Architecture ${ARCH} is not supported."
exit 1
fi
+SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ZULU_ARCH
+
set -e
rm -rf $PKG
@@ -75,9 +87,10 @@ find -L . \
# or "no". Default to "yes"
#
if [ "${CREATE_LIBJVM_SYMLINK:-yes}" = "yes" ] ; then
- ln -sf \
- ${PRGNAM}/jre/lib/${LIB_ARCH}/server/libjvm.so \
- $PKG/usr/lib${LIBDIRSUFFIX}/libjvm.so
+ (
+ cd $PKG/usr/lib${LIBDIRSUFFIX}/
+ ln -sf $PRGNAM/jre/lib/${JVMLIBARCH}/server/libjvm.so
+ )
fi
mkdir -p ${PKG}/etc/profile.d
@@ -106,4 +119,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zulu-openjdk7/zulu-openjdk7.info b/development/zulu-openjdk7/zulu-openjdk7.info
index e57c1a1f7b..cdcd5e2334 100644
--- a/development/zulu-openjdk7/zulu-openjdk7.info
+++ b/development/zulu-openjdk7/zulu-openjdk7.info
@@ -1,10 +1,10 @@
PRGNAM="zulu-openjdk7"
-VERSION="7.0.242"
-HOMEPAGE="http://zulu.org"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu7.34.0.5-ca-jdk7.0.242-linux_x64.tar.gz"
-MD5SUM_x86_64="1b527411fa48bf37666eeb80098b9ef1"
+VERSION="7.0.352"
+HOMEPAGE="https://www.azul.com/downloads"
+DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu7.56.0.11-ca-jdk7.0.352-linux_i686.tar.gz"
+MD5SUM="22021bddb3f07041cf67a47f3d3cf37c"
+DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu7.56.0.11-ca-jdk7.0.352-linux_x64.tar.gz"
+MD5SUM_x86_64="ffcb957e1d4c701c9fef165812440fb6"
REQUIRES=""
-MAINTAINER="Sébastien Ballet"
-EMAIL="slacker6896@gmail.com"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/zulu-openjdk8/slack-desc b/development/zulu-openjdk8/slack-desc
index 23369c560f..f30b15f956 100644
--- a/development/zulu-openjdk8/slack-desc
+++ b/development/zulu-openjdk8/slack-desc
@@ -14,6 +14,6 @@ zulu-openjdk8: Java components needed to build and run Java SE applications. Zul
zulu-openjdk8: has been verified by passing all tests in the Java SE 8 version of
zulu-openjdk8: the OpenJDK Community Technology Compatibility Kit (TCK).
zulu-openjdk8:
-zulu-openjdk8: http://zulu.org/
+zulu-openjdk8: https://www.azul.com/downloads/
zulu-openjdk8:
zulu-openjdk8:
diff --git a/development/zulu-openjdk8/zulu-openjdk8.SlackBuild b/development/zulu-openjdk8/zulu-openjdk8.SlackBuild
index e57c6ceda7..5d204a8b9d 100644
--- a/development/zulu-openjdk8/zulu-openjdk8.SlackBuild
+++ b/development/zulu-openjdk8/zulu-openjdk8.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zulu-openjdk8
# Copyright (c) 2017-2018, Sébastien Ballet <slacker6896 at gmail.com>
+# Copyright (c) 2022-2024, Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,36 +23,55 @@
# 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=zulu-openjdk8
-VERSION=${VERSION:-8.0.232}
-ZULUVERSION=${ZULUVERSION:-8.42.0.23}
+VERSION=${VERSION:-8.0.402}
+ZULUVERSION=${ZULUVERSION:-8.76.0.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
-# The name of azul's zulu openjdk source archive has the syntax below :
-#
-# zulu<ZULU_VERSION>-jdk<JDK_VERSION>-linux_x64
-#
-# Note: The archive's name is also the name of the top directory found
-# in this archive.
-#
-SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_x64
-
-ARCH=${ARCH:-$(uname -m)}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
-if [ "${ARCH}" = "x86_64" ] ; then
- LIB_ARCH=amd64
+if [ "$ARCH" = "i686" ]; then
+ ZULU_ARCH=i686
+ LIBDIRSUFFIX=""
+ JVMLIBARCH="i386"
+elif [ "$ARCH" = "x86_64" ]; then
+ ZULU_ARCH=x64
+ LIBDIRSUFFIX="64"
+ JVMLIBARCH="amd64"
+elif [ "$ARCH" = "arm" ]; then
+ ZULU_ARCH=aarch32hf
+ LIBDIRSUFFIX=""
+ JVMLIBARCH="aarch32"
+elif [ "$ARCH" = "aarch64" ]; then
+ ZULU_ARCH=aarch64
LIBDIRSUFFIX="64"
+ JVMLIBARCH="aarch64"
else
echo "Architecture ${ARCH} is not supported."
exit 1
fi
+SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ZULU_ARCH
+
set -e
rm -rf $PKG
@@ -70,14 +90,24 @@ 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" = "aarch64" ] ; then
+ find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/bin -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs patchelf --set-interpreter /lib64/ld-linux-aarch64.so.1 2> /dev/null || true
+fi
+
+find $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM -type f -name "*.so" -exec chmod +x {} \; 2> /dev/null || true
+
# Define whether or not a symlink to libjvm.so library must
# be created into /usr/lib${LIBDIRSUFFIX}. Can be set to "yes"
# or "no". Default to "yes"
#
if [ "${CREATE_LIBJVM_SYMLINK:-yes}" = "yes" ] ; then
- ln -sf \
- ${PRGNAM}/jre/lib/${LIB_ARCH}/server/libjvm.so \
- $PKG/usr/lib${LIBDIRSUFFIX}/libjvm.so
+ (
+ cd $PKG/usr/lib${LIBDIRSUFFIX}/
+ if [ -e $PRGNAM/jre/lib/${JVMLIBARCH}/server/libjvm.so ] ; then
+ ln -sf $PRGNAM/jre/lib/${JVMLIBARCH}/server/libjvm.so
+ fi
+ )
fi
mkdir -p ${PKG}/etc/profile.d
@@ -106,4 +136,4 @@ 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zulu-openjdk8/zulu-openjdk8.info b/development/zulu-openjdk8/zulu-openjdk8.info
index 704846ec99..ddf97a512a 100644
--- a/development/zulu-openjdk8/zulu-openjdk8.info
+++ b/development/zulu-openjdk8/zulu-openjdk8.info
@@ -1,10 +1,14 @@
PRGNAM="zulu-openjdk8"
-VERSION="8.0.232"
-HOMEPAGE="http://zulu.org"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu8.42.0.23-ca-jdk8.0.232-linux_x64.tar.gz"
-MD5SUM_x86_64="755a1e9b77f76d4a6012e4d104a59200"
+VERSION="8.0.402"
+HOMEPAGE="https://www.azul.com/download"
+DOWNLOAD="https://cdn.azul.com/zulu-embedded/bin/zulu8.76.0.17-ca-jdk8.0.402-linux_aarch32hf.tar.gz \
+ https://cdn.azul.com/zulu/bin/zulu8.76.0.17-ca-jdk8.0.402-linux_i686.tar.gz"
+MD5SUM="15726d977cc8027102ab53c14dcc7379 \
+ 0cb194ebc3a5394cd065e8e4515f4050"
+DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu8.76.0.17-ca-jdk8.0.402-linux_x64.tar.gz \
+ https://cdn.azul.com/zulu-embedded/bin/zulu8.76.0.17-ca-jdk8.0.402-linux_aarch64.tar.gz"
+MD5SUM_x86_64="3d8073a1e7bc71a0c53bbbbad590dad2 \
+ 31944545b3f34795c245b6023ba6f5f7"
REQUIRES=""
-MAINTAINER="Sébastien Ballet"
-EMAIL="slacker6896@gmail.com"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/development/zulu-openjdk9/README b/development/zulu-openjdk9/README
deleted file mode 100644
index 86ac7187bc..0000000000
--- a/development/zulu-openjdk9/README
+++ /dev/null
@@ -1,12 +0,0 @@
-This is a SlackBuild to repackage the Azul's Zulu build of OpenJDK that
-is compliant with the Java SE 9 standard.
-
-Before installing this package please consider any other jdk's/jre's
-that you have already installed as they may cause conflicts with the
-PATH, JAVA_HOME and MANPATH variables.
-
-After installing the package you will need to logout/reboot your machine
-as it will add files to the /etc/profile.d folder.
-
-Note: zulu-openjdk9 does not have a browser plugin nor support for Java
- Network Launching Protocol (JNLP).
diff --git a/development/zulu-openjdk9/slack-desc b/development/zulu-openjdk9/slack-desc
deleted file mode 100644
index 746111d21c..0000000000
--- a/development/zulu-openjdk9/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------------------------------------------------------|
-zulu-openjdk9: zulu-openjdk9 (Open Implementation of JDK)
-zulu-openjdk9:
-zulu-openjdk9: Zulu is a Java Development Kit (JDK), and a compliant implementation
-zulu-openjdk9: of the Java Standard Edition (SE) specification that contains all the
-zulu-openjdk9: Java components needed to build and run Java SE applications. Zulu
-zulu-openjdk9: has been verified by passing all tests in the Java SE 9 version of
-zulu-openjdk9: the OpenJDK Community Technology Compatibility Kit (TCK).
-zulu-openjdk9:
-zulu-openjdk9: http://zulu.org/
-zulu-openjdk9:
-zulu-openjdk9:
diff --git a/development/zulu-openjdk9/zulu-openjdk9.SlackBuild b/development/zulu-openjdk9/zulu-openjdk9.SlackBuild
deleted file mode 100644
index 5fe86b0e39..0000000000
--- a/development/zulu-openjdk9/zulu-openjdk9.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for zulu-openjdk9
-
-# Copyright (c) 2017-2018, Sébastien Ballet <slacker6896 at gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=zulu-openjdk9
-VERSION=${VERSION:-9u07}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-# The name of azul's zulu openjdk source archive has the syntax below :
-#
-# zulu<ZULU_VERSION>-jdk<JDK_VERSION>-linux_x64
-#
-# Note: The archive's name is also the name of the top directory found
-# in this archive.
-#
-SRCNAM="${SRCNAM:-zulu9.0.7.1-jdk9.0.7-linux_x64}"
-
-ARCH=${ARCH:-$(uname -m)}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${TMP}/package-${PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "${ARCH}" = "x86_64" ] ; then
- LIB_ARCH=amd64
- LIBDIRSUFFIX="64"
-else
- echo "Architecture ${ARCH} is not supported."
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/
-cd $PKG/usr/lib${LIBDIRSUFFIX}/
-tar xvf ${CWD}/${SRCNAM}.tar.gz
-mv ${SRCNAM} ${PRGNAM}
-ln -sf ${PRGNAM} ${SRCNAM}
-
-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 {} \;
-
-# Define whether or not a symlink to libjvm.so library must
-# be created into /usr/lib${LIBDIRSUFFIX}. Can be set to "yes"
-# or "no". Default to "yes"
-#
-if [ "${CREATE_LIBJVM_SYMLINK:-yes}" = "yes" ] ; then
- # Important Note:
- # --------------
- # Since openjdk9, the library libjvm.so is not in directory
- # <jdk-install-path>jre/lib/{LIB_ARCH}/server, but in
- # <jdk-install-path>/lib/server.
- ln -sf \
- ${PRGNAM}/lib/server/libjvm.so \
- ${PKG}/usr/lib${LIBDIRSUFFIX}/libjvm.so
-fi
-
-mkdir -p ${PKG}/etc/profile.d
-for SCRIPT in ${PRGNAM}.sh ${PRGNAM}.csh ; do
- cat ${CWD}/${SCRIPT} \
- | sed -e "s;lib/${PRGNAM};lib${LIBDIRSUFFIX}/${PRGNAM};" \
- > ${PKG}/etc/profile.d/${SCRIPT}
- chmod 755 ${PKG}/etc/profile.d/${SCRIPT}
-done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-for DOCFILE in \
- ASSEMBLY_EXCEPTION \
- LICENSE \
- Welcome.html \
- release \
- DISCLAIMER \
- THIRD_PARTY_README \
- readme.txt \
- ; do
- if [ -e ${PKG}/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/${DOCFILE} ] ; then
- cp -a ${PKG}/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/${DOCFILE} \
- ${PKG}/usr/doc/${PRGNAM}-${VERSION}
- fi
-done
-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:-tgz}
diff --git a/development/zulu-openjdk9/zulu-openjdk9.csh b/development/zulu-openjdk9/zulu-openjdk9.csh
deleted file mode 100644
index 6e6e32541b..0000000000
--- a/development/zulu-openjdk9/zulu-openjdk9.csh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/csh
-setenv JAVA_HOME /usr/lib/zulu-openjdk9
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
-setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
diff --git a/development/zulu-openjdk9/zulu-openjdk9.info b/development/zulu-openjdk9/zulu-openjdk9.info
deleted file mode 100644
index 0acb793af7..0000000000
--- a/development/zulu-openjdk9/zulu-openjdk9.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="zulu-openjdk9"
-VERSION="9u07"
-HOMEPAGE="http://zulu.org"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz"
-MD5SUM_x86_64="cd9bc539700e1046aed2894b4dcc7a93"
-REQUIRES=""
-MAINTAINER="Sébastien Ballet"
-EMAIL="slacker6896@gmail.com"
diff --git a/development/zulu-openjdk9/zulu-openjdk9.sh b/development/zulu-openjdk9/zulu-openjdk9.sh
deleted file mode 100644
index b59665b4b8..0000000000
--- a/development/zulu-openjdk9/zulu-openjdk9.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export JAVA_HOME=/usr/lib/zulu-openjdk9
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
-export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"